Package | Description |
---|---|
com.hp.sdn.model |
Base abstractions used in consuming & producing Network information model.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultNodeLocation
Default implementation of
NodeLocation . |
Modifier and Type | Method and Description |
---|---|
NodeLocation |
Node.location()
Returns the most recent node location.
|
NodeLocation |
NodeInfo.location()
Returns the most recent node location.
|
NodeLocation |
DefaultNodeInfo.location() |
NodeLocation |
DefaultNode.location() |
Modifier and Type | Method and Description |
---|---|
List<NodeLocation> |
Node.recentLocations()
Returns the list of recent node locations.
|
List<NodeLocation> |
DefaultNode.recentLocations() |
Modifier and Type | Method and Description |
---|---|
DefaultNodeInfo |
DefaultNodeInfo.location(NodeLocation location)
Modifies the current info by specifying the node location.
|
DefaultNode |
DefaultNode.setLocation(NodeLocation loc)
Sets the most recent node location.
|
static com.hp.sdn.model.proto.NodeLocationProto.NodeLocation |
DefaultNodeLocationSerializer.valueOf(NodeLocation subject) |
Constructor and Description |
---|
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.
|
Copyright © 2015. All Rights Reserved.