Package | Description |
---|---|
com.hp.sdn.device |
API for accessing & supplying information about network infrastructure devices.
|
com.hp.sdn.dvc |
Device Management
|
com.hp.sdn.model |
Base abstractions used in consuming & producing Network information model.
|
Modifier and Type | Method and Description |
---|---|
Device |
DeviceSupplierService.createOrUpdateDevice(DeviceId deviceId,
Set<URI> uris,
DeviceInfo info)
Creates, or updates, a device using the supplied discovery URIs and
device information populated with basic device identity data.
|
Device |
DeviceSupplierServiceAdapter.createOrUpdateDevice(DeviceId deviceId,
Set<URI> uris,
DeviceInfo info) |
Device |
DeviceService.getDevice(DataPathId dpid)
Returns the device with the specified management Data Path Id (dpid).
|
Device |
DeviceServiceAdapter.getDevice(DataPathId dpid) |
Device |
DeviceService.getDevice(DeviceId id)
Returns the device with the specified id.
|
Device |
DeviceServiceAdapter.getDevice(DeviceId id) |
Device |
DeviceService.getDevice(URI uri)
Returns the device with the specified URI.
|
Device |
DeviceServiceAdapter.getDevice(URI uri) |
Modifier and Type | Method and Description |
---|---|
Iterator<Device> |
DeviceService.getDevices()
Returns set of all devices known to the system.
|
Iterator<Device> |
DeviceServiceAdapter.getDevices() |
Iterator<Device> |
DeviceService.getDevices(Class<? extends Facet> facetClass)
Returns a list of all devices that support the specified device driver
facet.
|
Iterator<Device> |
DeviceServiceAdapter.getDevices(Class<? extends Facet> facetClass) |
Iterator<Device> |
DeviceService.getDevices(DeviceFilter filter)
Returns set of all devices that match the supplied filter.
|
Iterator<Device> |
DeviceServiceAdapter.getDevices(DeviceFilter filter) |
Set<Device> |
DeviceService.getDevices(IpAddress deviceIp)
Returns the device with the specified management IP address.
|
Set<Device> |
DeviceServiceAdapter.getDevices(IpAddress deviceIp) |
Modifier and Type | Method and Description |
---|---|
List<Interface> |
DeviceService.getInterfaces(Device device)
Returns the list of interfaces hosted on this device.
|
List<Interface> |
DeviceServiceAdapter.getInterfaces(Device device) |
boolean |
DeviceFilter.matches(Device device)
Returns whether the given device matches this filter or not.
|
void |
DeviceService.setName(Device device,
String name)
Assign a user provided friendly name to the device.
|
void |
DeviceServiceAdapter.setName(Device device,
String name) |
Constructor and Description |
---|
DefaultDeviceEvent(DeviceEvent.Type type,
Device subject,
Interface netInterface)
Constructs a device event with the given type, device and optionally
network interface.
|
Modifier and Type | Class and Description |
---|---|
class |
SerialDevice
Serialized instance of Device for serialization and persistence.
|
Modifier and Type | Method and Description |
---|---|
Device |
SerialDevice.expand(DeviceDriverService driverService) |
Device |
DeviceStoreAdapter.getDevice(DeviceId id) |
Device |
DeviceStoreService.getDevice(DeviceId id)
Retrieve the device from team map.
|
Device |
SerialDevice.realizedBy() |
Modifier and Type | Method and Description |
---|---|
Set<Device> |
DeviceStoreAdapter.getDevice(DeviceFilter filter) |
Set<Device> |
DeviceStoreService.getDevice(DeviceFilter filter)
Retrieve the devices from fast lookup cache.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DeviceStoreAdapter.addDevice(Device device) |
boolean |
DeviceStoreService.addDevice(Device device)
Persist and team this device.
|
static SerialDevice |
SerialDevice.compress(Device device) |
boolean |
IpDeviceFilter.matches(Device device) |
boolean |
OfDeviceFilter.matches(Device device) |
void |
DeviceStoreAdapter.removeDevice(Device device) |
void |
DeviceStoreService.removeDevice(Device device)
Remove the device from teaming and persistence
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultDevice
Provides a default implementation of the
Device API. |
Modifier and Type | Method and Description |
---|---|
Device |
DefaultDevice.realizedBy() |
Device |
Device.realizedBy()
Optional reference to a device that is used to realize this one.
|
Constructor and Description |
---|
DefaultDevice(Device device)
Copy constructor
Only need to static value the online value, info and uris to be saved
later.
|
Copyright © 2015. All Rights Reserved.