Package | Description |
---|---|
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.path |
API for selecting & paving paths between nodes and devices.
|
Modifier and Type | Method and Description |
---|---|
NodeId |
NodeIdSerializer.deserialize(byte[] serialization) |
static NodeId |
NodeIdSerializer.getId(com.hp.sdn.model.proto.NodeIdProto.NodeId msg) |
NodeId |
Node.id()
Returns the globally-unique identifier of this node.
|
NodeId |
DefaultNode.id() |
NodeId |
DefaultNodeLink.nodeId() |
NodeId |
NodeLink.nodeId()
Returns the identifier of the node.
|
static NodeId |
NodeId.valueOf(IpAddress ip,
SegmentId segmentId)
Returns the value of the given IP address and segment ID as a node ID.
|
Modifier and Type | Method and Description |
---|---|
int |
NodeId.compareTo(NodeId other) |
byte[] |
NodeIdSerializer.serialize(NodeId subject) |
static com.hp.sdn.model.proto.NodeIdProto.NodeId |
NodeIdSerializer.valueOf(NodeId subject) |
Constructor and Description |
---|
DefaultNode(NodeId id)
Constructs a node with all optional values unspecified.
|
DefaultNode(NodeId id,
SupplierId supplierId,
Interface netIntf,
MacAddress mac,
NodeLocation loc,
long timeout)
Constructs a node with the given parameters.
|
DefaultNodeLink(NodeId nodeId,
InterfaceId interfaceId,
NodeLocation location,
boolean direction)
Creates a new node link from Node to DPID when direction is true
Creates a new node link from DPID to Node when direction is false
using the supplied node information.
|
Modifier and Type | Method and Description |
---|---|
Node |
NodeSupplierService.createOrUpdateNode(NodeId id,
NodeInfo info)
Creates a new node or updates an existing node with the given
node-related information.
|
Node |
NodeSupplierServiceAdapter.createOrUpdateNode(NodeId id,
NodeInfo info) |
Node |
NodeServiceAdapter.getNode(NodeId id) |
Node |
NodeService.getNode(NodeId id)
Returns a specific node from the domain, based upon the globally-unique
node ID.
|
DefaultNodeFilter |
DefaultNodeFilter.id(NodeId id)
Modifies the current filter to match the node with the given ID.
|
Node |
NodeSupplierService.removeNode(NodeId id)
Removes a specific node from the data store.
|
Node |
NodeSupplierServiceAdapter.removeNode(NodeId id) |
Modifier and Type | Method and Description |
---|---|
Set<Path> |
PathSelectionService.getPaths(NodeId src,
NodeId dst)
Returns the set of shortest path between the specified source and
destination nodes, measuring link edge weight using hop count.
|
Set<Path> |
PathSelectionService.getPaths(NodeId src,
NodeId dst,
LinkWeight weight)
Returns the set of shortest paths between the specified source and
destination nodes using the supplied link edge weight function.
|
Copyright © 2015. All Rights Reserved.