Package | Description |
---|---|
com.hp.sdn.adm.dao.model |
Model POJOs implementations used to persist and retrieve information
applicable at the Administrator tier of the SDN Controller.
|
com.hp.sdn.device |
API for accessing & supplying information about network infrastructure devices.
|
com.hp.sdn.dvc |
Device Management
|
com.hp.sdn.dvc.facet |
Device Driver Facet interfaces
|
com.hp.sdn.flow |
API for sending & retrieving flow rules and flow statistics.
|
com.hp.sdn.link |
API for accessing & supplying information about network infrastructure links.
|
com.hp.sdn.model |
Base abstractions used in consuming & producing Network information model.
|
com.hp.sdn.node |
API for accessing & supplying information about network end-stations.
|
com.hp.sdn.topo |
API for retrieving information about network topology & connectivity.
|
Modifier and Type | Method and Description |
---|---|
DeviceId |
DeviceEntity.id() |
Constructor and Description |
---|
DeviceEntity(DeviceId deviceId,
boolean isOnline,
String deviceTypeName,
String deviceInfo,
Set<URI> uris,
String name,
SupplierId supplierId,
String dpid) |
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) |
void |
DeviceSupplierService.createOrUpdateInterface(DeviceId deviceId,
List<InterfaceInfo> netInterfaces)
Create or update the interfaces associated with the device.
|
void |
DeviceSupplierServiceAdapter.createOrUpdateInterface(DeviceId deviceId,
List<InterfaceInfo> netInterfaces) |
Device |
DeviceService.getDevice(DeviceId id)
Returns the device with the specified id.
|
Device |
DeviceServiceAdapter.getDevice(DeviceId id) |
<T extends Facet> |
FacetService.getFacet(DeviceId devId,
Class<T> facetClass)
Returns an implementation of the specified facet class, or null if that
facet is not supported by this device.
|
Interface |
DeviceService.getInterface(DeviceId deviceId,
InterfaceId interfaceId)
Returns the interface requested with the device and interface ids.
|
Interface |
DeviceServiceAdapter.getInterface(DeviceId deviceId,
InterfaceId interfaceId) |
VlanId |
DeviceService.getLinkDiscoveryVlan(DeviceId deviceId)
Get the linkDiscoveryVlan configured for the device.
|
VlanId |
DeviceServiceAdapter.getLinkDiscoveryVlan(DeviceId deviceId) |
void |
DeviceSupplierService.removeDevice(DeviceId deviceId)
Removes the specified device from the inventory.
|
void |
DeviceSupplierServiceAdapter.removeDevice(DeviceId deviceId) |
void |
DeviceFilter.setId(DeviceId id) |
void |
DeviceService.setLinkDiscoveryVlan(DeviceId deviceId,
VlanId linkDiscoveryVlan)
Assign a user provided linkDiscoveryVlan to the device.
|
void |
DeviceServiceAdapter.setLinkDiscoveryVlan(DeviceId deviceId,
VlanId linkDiscoveryVlan) |
void |
DeviceSupplierService.setOnline(DeviceId deviceId,
boolean online)
Marks the device as on/off line.
|
void |
DeviceSupplierServiceAdapter.setOnline(DeviceId deviceId,
boolean online) |
void |
DeviceSupplierService.updateInterface(DeviceId deviceId,
Interface netInterface)
Update a single interface.
|
void |
DeviceSupplierServiceAdapter.updateInterface(DeviceId deviceId,
Interface netInterface) |
Modifier and Type | Method and Description |
---|---|
DeviceId |
SerialDevice.id() |
Modifier and Type | Method and Description |
---|---|
Device |
DeviceStoreAdapter.getDevice(DeviceId id) |
Device |
DeviceStoreService.getDevice(DeviceId id)
Retrieve the device from team map.
|
Interface |
DeviceStoreAdapter.getInterface(DeviceId deviceId,
InterfaceId interfaceId) |
Interface |
DeviceStoreService.getInterface(DeviceId deviceId,
InterfaceId interfaceId)
Get an individual interface.
|
List<Interface> |
DeviceStoreAdapter.getInterfaces(DeviceId deviceId) |
List<Interface> |
DeviceStoreService.getInterfaces(DeviceId deviceId)
Get the interfaces for a specific device.
|
void |
DeviceStoreAdapter.lock(DeviceId deviceId) |
void |
DeviceStoreService.lock(DeviceId deviceId)
Lock the device for modification.
|
void |
DeviceStoreAdapter.removeInterfaces(DeviceId deviceId) |
void |
DeviceStoreService.removeInterfaces(DeviceId deviceId)
Remove the interface attached to the device.
|
void |
InterfaceFilter.setDevice(DeviceId deviceId) |
void |
DeviceStoreAdapter.unlock(DeviceId deviceId) |
void |
DeviceStoreService.unlock(DeviceId deviceId)
Unlock the device for modification.
|
void |
DeviceStoreAdapter.updateInterfaces(DeviceId deviceId,
List<Interface> toAdd,
List<Interface> toUpdate,
List<Interface> toRemove) |
void |
DeviceStoreService.updateInterfaces(DeviceId deviceId,
List<Interface> toAdd,
List<Interface> toUpdate,
List<Interface> toRemove)
Update all interfaces to a device as one operation, but pre-separated
into new, update, and remove.
|
Constructor and Description |
---|
SerialDevice(DeviceId deviceId,
Set<URI> uris,
SupplierId supplierId,
String name,
String deviceTypeName,
String deviceInfo,
String dpid) |
Modifier and Type | Method and Description |
---|---|
VlanId |
LinkDiscoveryVlan.getLinkDiscoveryVlan(DeviceId deviceId)
Parse the device info and provide the link discovery vlan
saved for the given device.
|
Modifier and Type | Method and Description |
---|---|
List<MBodyFlowStats> |
FlowService.getFlows(DeviceId dev)
Gets the list of flows from the given device.
|
void |
FlowService.sendFlowMod(OfmFlowMod fm,
DeviceId dev)
Sends the given flow mod to the given device and updates the associated
list of flows.
|
Modifier and Type | Method and Description |
---|---|
Set<Link> |
LinkServiceAdapter.getLinks(DeviceId device) |
Set<Link> |
LinkService.getLinks(DeviceId device)
Returns the set of all links for which the given device is either
the source or the destination.
|
Set<Link> |
LinkServiceAdapter.getLinks(DeviceId deviceA,
DeviceId deviceB) |
Set<Link> |
LinkService.getLinks(DeviceId deviceA,
DeviceId deviceB)
Returns the set of all links between the two given devices.
|
Set<Link> |
LinkServiceAdapter.getLinksFrom(DeviceId device) |
Set<Link> |
LinkService.getLinksFrom(DeviceId device)
Returns the set of all links for which this device is the source.
|
Set<Link> |
LinkServiceAdapter.getLinksTo(DeviceId device) |
Set<Link> |
LinkService.getLinksTo(DeviceId device)
Returns the set of all links for which this device is
the destination.
|
void |
LinkSupplierService.removeAllLinks(DeviceId device)
Removes all infrastructure links to/from the given device.
|
void |
LinkSupplierServiceAdapter.removeAllLinks(DeviceId device) |
Modifier and Type | Field and Description |
---|---|
static DeviceId |
DeviceId.NONE
A static value used to indicate an unknown/unnecessary device ID.
|
Modifier and Type | Method and Description |
---|---|
DeviceId |
DeviceIdSerializer.deserialize(byte[] serialization) |
DeviceId |
NodeLocation.elementId()
Returns the unique identifier of the connection point device.
|
DeviceId |
DefaultNodeLocation.elementId() |
static DeviceId |
DeviceIdSerializer.getId(com.hp.sdn.model.proto.DeviceIdProto.DeviceId msg) |
DeviceId |
DefaultDevice.id() |
DeviceId |
Device.id()
Returns the device ID for this device.
|
DeviceId |
TopologyCluster.root()
Returns the id of the root device in the cluster.
|
static DeviceId |
DeviceId.valueOf(DataPathId dpid)
Returns the value of the given datapath ID as a device ID.
|
static DeviceId |
DeviceId.valueOf(String fingerprint)
Returns the value of the given fingerprint as a device ID.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
DeviceIdSerializer.serialize(DeviceId subject) |
static com.hp.sdn.model.proto.DeviceIdProto.DeviceId |
DeviceIdSerializer.valueOf(DeviceId subject) |
Constructor and Description |
---|
DefaultDevice(DeviceId deviceId,
Set<URI> uris,
DeviceInfo info,
SupplierId supplierId)
Constructs a device object given information.
|
DefaultNodeLocation(DeviceId id,
InterfaceId intfId)
Constructs a node location at the given device and interface, using
the current system timestamp.
|
DefaultNodeLocation(DeviceId id,
InterfaceId intfId,
long ts)
Constructs a node location for the given device, interface, and
timestamp.
|
Modifier and Type | Method and Description |
---|---|
DefaultNodeFilter |
DefaultNodeFilter.deviceId(DeviceId deviceId)
Modifies the current filter to match nodes with the given device ID.
|
Set<Node> |
NodeServiceAdapter.getNodes(DeviceId device) |
Set<Node> |
NodeService.getNodes(DeviceId device)
Returns all nodes in the domain where the nodes' most recent location
matches a connection point on the given device ID.
|
Modifier and Type | Method and Description |
---|---|
DeviceId |
TopoVertex.deviceId()
Returns the unique id of the device which this vertex represents.
|
Modifier and Type | Method and Description |
---|---|
Set<DeviceId> |
TopologyData.clusterDevices(TopologyCluster cluster)
Returns the set of devices that belong to the cluster.
|
Set<DeviceId> |
TopologyServiceAdapter.getClusterDevices(TopologyCluster cluster) |
Set<DeviceId> |
TopologyService.getClusterDevices(TopologyCluster cluster)
Returns the set of devices contained within the specified cluster.
|
Modifier and Type | Method and Description |
---|---|
Map<Vertex,Set<Edge>> |
TopologyData.broadcastPoints(DeviceId deviceId)
For a given Device Id, get a map of devices and
links on which a packet can be broadcast from the given deviceId.
|
TopologyCluster |
TopologyData.clusterFor(DeviceId deviceId)
Returns the topology cluster data containing the specified device.
|
TopologyCluster |
TopologyServiceAdapter.getCluster(DeviceId deviceId) |
TopologyCluster |
TopologyService.getCluster(DeviceId deviceId)
Retrieves the cluster in which the specified infrastructure devices is
located.
|
Set<Path> |
TopologyData.getPaths(DeviceId src,
DeviceId dst)
Returns the paths from the given source vertex to a given destination
vertex.
|
Set<Path> |
TopologyServiceAdapter.getPaths(DeviceId src,
DeviceId dst) |
Set<Path> |
TopologyService.getPaths(DeviceId src,
DeviceId dst)
Returns all shortest paths between the specified source and destination
infrastructure devices, measuring link edge weight using hop count.
|
Set<Path> |
TopologyData.getPaths(DeviceId src,
DeviceId dst,
LinkWeight weight)
Get the set of shortest paths computed using the supplied edge weight.
|
Set<Path> |
TopologyServiceAdapter.getPaths(DeviceId src,
DeviceId dst,
LinkWeight weight) |
Set<Path> |
TopologyService.getPaths(DeviceId src,
DeviceId dst,
LinkWeight weight)
Returns all shortest paths between the specified source and destination
infrastructure devices using the supplied link edge weight function.
|
boolean |
TopologyServiceAdapter.pathExists(DeviceId src,
DeviceId dst) |
boolean |
TopologyService.pathExists(DeviceId src,
DeviceId dst)
Indicates, whether a path exists or not between two infrastructure devices
|
Constructor and Description |
---|
TopoVertex(DeviceId deviceId)
Creates a new topology vertex repesenting the specified device.
|
Copyright © 2015. All Rights Reserved.