Interface Devices
- All Known Implementing Classes:
DevicesImpl
public interface Devices
Client interface for managing Network Edge virtual devices. Provides operations
to list, retrieve, and create devices, as well as manage device types, network
interfaces, and license files.
- Version:
- $Id: $Id
- Author:
- ianjones
-
Method Summary
Modifier and TypeMethodDescriptionReturns an instance of DeviceBuilder for defining a new device.defineSecondary(String secondaryDeviceName, String primaryDeviceUuid) Returns an instance of DeviceBuilderSecondary for defining a secondary device.Gets the specified device.list()Lists available Network Edge devices.list(RequestBuilder.Device requestBuilder) Lists Network Edge devices based on the parameters provided.Lists the available device types.listInterfaces(String uuid) Lists the interfaces for the specified device.postLicenseFile(MetroCode metroCode, String deviceTypeCode, LicenseType licenseType, String fileContents) Posts a new license file.
-
Method Details
-
list
-
list
Lists Network Edge devices based on the parameters provided.- Parameters:
requestBuilder- the desired query parameters.- Returns:
PaginatedList
-
getByUuid
-
listDeviceTypes
PaginatedList<DeviceType> listDeviceTypes()Lists the available device types.- Returns:
PaginatedList
-
listInterfaces
Lists the interfaces for the specified device.- Parameters:
uuid- the unique identifier of the device.- Returns:
List
-
define
Returns an instance of DeviceBuilder for defining a new device.- Parameters:
deviceName- aStringobject.- Returns:
DeviceOperator.DeviceBuilder
-
defineSecondary
DeviceOperator.DeviceBuilderSecondary defineSecondary(String secondaryDeviceName, String primaryDeviceUuid) Returns an instance of DeviceBuilderSecondary for defining a secondary device.- Parameters:
secondaryDeviceName- aStringobject.primaryDeviceUuid- aStringobject.- Returns:
DeviceOperator.DeviceBuilderSecondary
-
postLicenseFile
String postLicenseFile(MetroCode metroCode, String deviceTypeCode, LicenseType licenseType, String fileContents) Posts a new license file.- Parameters:
metroCode- theMetroCodeto associate the license file with.deviceTypeCode- the device type code to associate the license file with.licenseType- theLicenseTypeto associate the license file with.fileContents- the contents of the license file.- Returns:
Stringthe fileId of the uploaded license file.
-