public final class CordVtnNode extends Object
| Modifier and Type | Field and Description |
|---|---|
static Comparator<CordVtnNode> |
CORDVTN_NODE_COMPARATOR |
| Constructor and Description |
|---|
CordVtnNode(String hostname,
NetworkAddress hostMgmtIp,
NetworkAddress localMgmtIp,
NetworkAddress dpIp,
org.onlab.packet.TpPort ovsdbPort,
SshAccessInfo sshInfo,
org.onosproject.net.DeviceId bridgeId,
String dpIntf,
CordVtnNodeState state)
Creates a new node.
|
| Modifier and Type | Method and Description |
|---|---|
String |
dpIntf()
Returns data plane interface name.
|
NetworkAddress |
dpIp()
Returns the data plane network address.
|
boolean |
equals(Object obj) |
static CordVtnNode |
getUpdatedNode(CordVtnNode node,
CordVtnNodeState state)
Returns cordvtn node with new state.
|
int |
hashCode() |
NetworkAddress |
hostMgmtIp()
Returns the host management network address.
|
String |
hostname()
Returns the hostname.
|
org.onosproject.net.DeviceId |
intBrId()
Returns the identifier of the integration bridge.
|
NetworkAddress |
localMgmtIp()
Returns the local management network address.
|
org.onosproject.net.DeviceId |
ovsdbId()
Returns the identifier of the OVSDB device.
|
org.onlab.packet.TpPort |
ovsdbPort()
Returns the port number used for OVSDB connection.
|
SshAccessInfo |
sshInfo()
Returns the SSH access information.
|
CordVtnNodeState |
state()
Returns the state of the node.
|
String |
toString() |
public static final Comparator<CordVtnNode> CORDVTN_NODE_COMPARATOR
public CordVtnNode(String hostname, NetworkAddress hostMgmtIp, NetworkAddress localMgmtIp, NetworkAddress dpIp, org.onlab.packet.TpPort ovsdbPort, SshAccessInfo sshInfo, org.onosproject.net.DeviceId bridgeId, String dpIntf, CordVtnNodeState state)
hostname - hostnamehostMgmtIp - host management network addresslocalMgmtIp - local management network addressdpIp - data plane network addressovsdbPort - port number for OVSDB connectionsshInfo - SSH access informationbridgeId - integration bridge identifierdpIntf - data plane interface namestate - cordvtn node statepublic static CordVtnNode getUpdatedNode(CordVtnNode node, CordVtnNodeState state)
node - cordvtn nodestate - cordvtn node init statepublic String hostname()
public NetworkAddress hostMgmtIp()
public NetworkAddress localMgmtIp()
public NetworkAddress dpIp()
public org.onlab.packet.TpPort ovsdbPort()
public SshAccessInfo sshInfo()
public org.onosproject.net.DeviceId intBrId()
public org.onosproject.net.DeviceId ovsdbId()
public String dpIntf()
public CordVtnNodeState state()
Copyright © 2016. All rights reserved.