Class SouthboundUtils
java.lang.Object
org.opendaylight.ovsdb.utils.southbound.utils.SouthboundUtils
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final short
static final String
static final com.google.common.collect.ImmutableBiMap<String,
InterfaceTypeBase> static final com.google.common.collect.ImmutableBiMap<OvsdbBridgeProtocolBase,
String> static final org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addBridge
(ConnectionInfo connectionInfo, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> bridgeIid, String bridgeName, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId bridgeNodeId, boolean setProtocolEntries, OvsdbFailModeBase failMode, boolean setManagedBy, DatapathTypeBase dpType, Map<BridgeExternalIdsKey, BridgeExternalIds> externalIds, Map<ControllerEntryKey, ControllerEntry> controllerEntries, Map<BridgeOtherConfigsKey, BridgeOtherConfigs> otherConfigs, String dpid, long timeout) boolean
addBridge
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode, String bridgeName, List<String> controllersStr, DatapathTypeBase dpType, String mac) boolean
addBridge
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode, String bridgeName, List<String> controllersStr, DatapathTypeBase dpType, String mac, Long maxBackoff, Long inactivityProbe) boolean
addBridge
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode, String bridgeName, List<String> controllersStr, DatapathTypeBase dpType, List<BridgeOtherConfigs> otherConfigs, org.opendaylight.yangtools.yang.common.Uint32 maxBackoff, org.opendaylight.yangtools.yang.common.Uint32 inactivityProbe) boolean
addOvsdbNode
(ConnectionInfo connectionInfo) boolean
addOvsdbNode
(ConnectionInfo connectionInfo, long timeout) addPatchTerminationPoint
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, String bridgeName, String portName, String peerPortName) addTerminationPoint
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode, String portName, String type) addTerminationPoint
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode, String bridgeName, String portName, String type) addTerminationPoint
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode, String bridgeName, String portName, String type, Map<String, String> options) boolean
addTerminationPoint
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode, String portName, String type, Map<String, String> options, Map<String, String> externalIds) boolean
addTerminationPoint
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode, String portName, String type, Map<String, String> options, Map<String, String> externalIds, org.opendaylight.yangtools.yang.common.Uint32 ofPort) static boolean
compareDbVersionToMinVersion
(String dbVersion, String minVersion) static String
connectionInfoToString
(ConnectionInfo connectionInfo) org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
connectOvsdbNode
(ConnectionInfo connectionInfo) org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
connectOvsdbNode
(ConnectionInfo connectionInfo, long timeout) createControllerEntry
(String controllerTarget) static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>
createInstanceIdentifier
(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ip, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber port) static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>
createInstanceIdentifier
(ConnectionInfo key, String bridgeName) static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>
createInstanceIdentifier
(ConnectionInfo key, OvsdbBridgeName bridgeName) static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>
createInstanceIdentifier
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey ovsdbNodeKey, String bridgeName) static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node>
createInstanceIdentifier
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId) static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
createIpAddress
(Inet4Address address) static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
createIpAddress
(Inet6Address address) static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
createIpAddress
(InetAddress address) static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId
createManagedNodeId
(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ip, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber port, OvsdbBridgeName bridgeName) static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId
createManagedNodeId
(ConnectionInfo key, OvsdbBridgeName bridgeName) static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId
createManagedNodeId
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId ovsdbNodeId, String bridgeName) static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId
createManagedNodeId
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid) static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
createNode
(ConnectionInfo key) static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId
createNodeId
(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ip, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber port) static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey
createNodeKey
(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ip, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber port) static OvsdbNodeAugmentation
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint>
createTerminationPointInstanceIdentifier
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, String portName) boolean
deleteBridge
(ConnectionInfo connectionInfo, String bridgeName) boolean
deleteBridge
(ConnectionInfo connectionInfo, String bridgeName, long timeout) boolean
deleteOvsdbNode
(ConnectionInfo connectionInfo) boolean
deleteOvsdbNode
(ConnectionInfo connectionInfo, long timeout) boolean
disconnectOvsdbNode
(ConnectionInfo connectionInfo) boolean
disconnectOvsdbNode
(ConnectionInfo connectionInfo, long timeout) extractBridgeAugmentation
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) extractBridgeName
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) extractNodeAugmentation
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) extractOvsdbNode
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) extractTerminationPointAugmentation
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode, String portName) extractTerminationPointAugmentations
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) getBridge
(ConnectionInfo connectionInfo, String bridgeName) Extract theLogicalDataStoreType.OPERATIONAL
type data store contents for the particular bridge identified bybridgeName
.getBridge
(ConnectionInfo connectionInfo, String bridgeName, org.opendaylight.mdsal.common.api.LogicalDatastoreType store) Extract thestore
type data store contents for the particular bridge identified bybridgeName
.getBridgeFromConfig
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, String bridge) org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
getBridgeNode
(ConnectionInfo connectionInfo, String bridgeName, org.opendaylight.mdsal.common.api.LogicalDatastoreType store) Extract the node contents fromstore
type data store for the bridge identified bybridgeName
.org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
getBridgeNode
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, String bridgeName) static ConnectionInfo
getConnectionInfo
(String addressStr, String portStr) getConnectionInfo
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode) getControllersFromOvsdbNode
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) getDatapathId
(OvsdbBridgeAugmentation ovsdbBridgeAugmentation) getDatapathId
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) long
getDataPathId
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) getDatapathIdFromNodeInstanceId
(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeInstanceId) getDataPathIdStr
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) static String
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
getNodeByTerminationPointExternalId
(String interfaceName) getOpenvswitchOtherConfig
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, String key) Get OpenvSwitch other-config by key.org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
getOvsdbNode
(ConnectionInfo connectionInfo) Map<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey,
org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> Get all OVSDB nodes from topology.static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint
getTerminationPointByExternalId
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode, String interfaceName) getTerminationPointOfBridge
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, String portName) Extract theOvsdbTerminationPointAugmentation
for the particularnode
identified byportName
.boolean
isBridgeOnOvsdbNode
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode, String bridgeName) boolean
isOvsdbNodeDpdk
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode) org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
readBridgeNode
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, String name) org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node
readOvsdbNode
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode) readTerminationPointAugmentations
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) Read the list ofOvsdbTerminationPointAugmentation
for the particularnode
.boolean
setBridgeController
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode, String bridgeName, List<String> controllers) Set the controllers of an existing bridge node.boolean
setBridgeController
(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode, String bridgeName, List<String> controllers, org.opendaylight.yangtools.yang.common.Uint32 maxBackoff, org.opendaylight.yangtools.yang.common.Uint32 inactivityProbe) Set the controllers of an existing bridge node.
-
Field Details
-
OVSDB_TOPOLOGY_ID
public static final org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.TopologyId OVSDB_TOPOLOGY_ID -
OPENFLOW_CONNECTION_PROTOCOL
- See Also:
-
OPENFLOW_SECURE_PROTOCOL
- See Also:
-
OPENFLOW_PORT
public static final short OPENFLOW_PORT- See Also:
-
OVSDB_URI_PREFIX
- See Also:
-
BRIDGE_URI_PREFIX
- See Also:
-
OVSDB_INTERFACE_TYPE_MAP
public static final com.google.common.collect.ImmutableBiMap<String,InterfaceTypeBase> OVSDB_INTERFACE_TYPE_MAP -
OVSDB_PROTOCOL_MAP
public static final com.google.common.collect.ImmutableBiMap<OvsdbBridgeProtocolBase,String> OVSDB_PROTOCOL_MAP
-
-
Constructor Details
-
SouthboundUtils
-
-
Method Details
-
createNodeId
public static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId createNodeId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ip, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber port) -
createNode
public static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node createNode(ConnectionInfo key) -
createOvsdbAugmentation
-
createInstanceIdentifier
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> createInstanceIdentifier(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId) -
createInstanceIdentifier
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> createInstanceIdentifier(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey ovsdbNodeKey, String bridgeName) -
createInstanceIdentifier
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> createInstanceIdentifier(ConnectionInfo key) -
createInstanceIdentifier
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> createInstanceIdentifier(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ip, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber port) -
createInstanceIdentifier
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> createInstanceIdentifier(ConnectionInfo key, OvsdbBridgeName bridgeName) -
createInstanceIdentifier
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> createInstanceIdentifier(ConnectionInfo key, String bridgeName) -
createTerminationPointInstanceIdentifier
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint> createTerminationPointInstanceIdentifier(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, String portName) -
createNodeKey
public static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey createNodeKey(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ip, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber port) -
createManagedNodeId
public static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId createManagedNodeId(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId ovsdbNodeId, String bridgeName) -
createManagedNodeId
public static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId createManagedNodeId(ConnectionInfo key, OvsdbBridgeName bridgeName) -
createManagedNodeId
public static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId createManagedNodeId(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ip, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.PortNumber port, OvsdbBridgeName bridgeName) -
createManagedNodeId
public static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId createManagedNodeId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid) -
extractOvsdbNode
public OvsdbNodeAugmentation extractOvsdbNode(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) -
createIpAddress
public static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress createIpAddress(InetAddress address) -
createIpAddress
public static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress createIpAddress(Inet4Address address) -
createIpAddress
public static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress createIpAddress(Inet6Address address) -
getConnectionInfo
public ConnectionInfo getConnectionInfo(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode) -
getConnectionInfo
-
connectionInfoToString
-
addOvsdbNode
-
addOvsdbNode
-
getOvsdbNode
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node getOvsdbNode(ConnectionInfo connectionInfo) -
deleteOvsdbNode
-
deleteOvsdbNode
-
connectOvsdbNode
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node connectOvsdbNode(ConnectionInfo connectionInfo) -
connectOvsdbNode
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node connectOvsdbNode(ConnectionInfo connectionInfo, long timeout) -
disconnectOvsdbNode
-
disconnectOvsdbNode
-
createControllerEntry
-
getBridge
public OvsdbBridgeAugmentation getBridge(ConnectionInfo connectionInfo, String bridgeName, org.opendaylight.mdsal.common.api.LogicalDatastoreType store) Extract thestore
type data store contents for the particular bridge identified bybridgeName
.- Parameters:
connectionInfo
- address for the nodebridgeName
- name of the bridgestore
- defined by theLogicalDatastoreType
enumeration- Returns:
store
type data store contents
-
getBridge
Extract theLogicalDataStoreType.OPERATIONAL
type data store contents for the particular bridge identified bybridgeName
.- Parameters:
connectionInfo
- address for the nodebridgeName
- name of the bridge- Returns:
LogicalDatastoreType.OPERATIONAL
type data store contents- See Also:
-
NetvirtIT.getBridge(ConnectionInfo, String, LogicalDatastoreType)
-
getBridgeNode
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node getBridgeNode(ConnectionInfo connectionInfo, String bridgeName, org.opendaylight.mdsal.common.api.LogicalDatastoreType store) Extract the node contents fromstore
type data store for the bridge identified bybridgeName
.- Parameters:
connectionInfo
- address for the nodebridgeName
- name of the bridgestore
- defined by theLogicalDatastoreType
enumeration- Returns:
store
type data store contents
-
getBridgeNode
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node getBridgeNode(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, String bridgeName) -
readBridgeNode
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node readBridgeNode(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, String name) -
extractNodeAugmentation
public OvsdbNodeAugmentation extractNodeAugmentation(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) -
extractBridgeAugmentation
public OvsdbBridgeAugmentation extractBridgeAugmentation(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) -
readOvsdbNode
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node readOvsdbNode(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode) -
deleteBridge
-
deleteBridge
-
createMdsalProtocols
-
addBridge
public boolean addBridge(ConnectionInfo connectionInfo, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> bridgeIid, String bridgeName, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId bridgeNodeId, boolean setProtocolEntries, OvsdbFailModeBase failMode, boolean setManagedBy, DatapathTypeBase dpType, Map<BridgeExternalIdsKey, BridgeExternalIds> externalIds, Map<ControllerEntryKey, throws InterruptedExceptionControllerEntry> controllerEntries, Map<BridgeOtherConfigsKey, BridgeOtherConfigs> otherConfigs, String dpid, long timeout) - Throws:
InterruptedException
-
addBridge
public boolean addBridge(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode, String bridgeName, List<String> controllersStr, DatapathTypeBase dpType, String mac) -
addBridge
-
addBridge
public boolean addBridge(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode, String bridgeName, List<String> controllersStr, DatapathTypeBase dpType, List<BridgeOtherConfigs> otherConfigs, org.opendaylight.yangtools.yang.common.Uint32 maxBackoff, org.opendaylight.yangtools.yang.common.Uint32 inactivityProbe) -
setBridgeController
public boolean setBridgeController(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode, String bridgeName, List<String> controllers) Set the controllers of an existing bridge node.- Parameters:
ovsdbNode
- where the bridge isbridgeName
- Name of the bridgecontrollers
- controller strings- Returns:
- success if the write to md-sal was successful
-
setBridgeController
public boolean setBridgeController(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode, String bridgeName, List<String> controllers, org.opendaylight.yangtools.yang.common.Uint32 maxBackoff, org.opendaylight.yangtools.yang.common.Uint32 inactivityProbe) Set the controllers of an existing bridge node.- Parameters:
ovsdbNode
- where the bridge isbridgeName
- Name of the bridgecontrollers
- controller stringsmaxBackoff
- Max backoff in millisecondsinactivityProbe
- inactivity probe in milliseconds- Returns:
- success if the write to md-sal was successful
-
addTerminationPoint
-
addTerminationPoint
public boolean addTerminationPoint(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode, String portName, String type, Map<String, String> options, Map<String, String> externalIds, org.opendaylight.yangtools.yang.common.Uint32 ofPort) -
addTerminationPoint
-
addTerminationPoint
-
addTerminationPoint
-
addPatchTerminationPoint
-
getControllersFromOvsdbNode
-
getDataPathId
public long getDataPathId(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) -
getDataPathIdStr
public String getDataPathIdStr(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) -
getDatapathId
public String getDatapathId(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) -
getDatapathId
-
extractBridgeName
public String extractBridgeName(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) -
isBridgeOnOvsdbNode
public boolean isBridgeOnOvsdbNode(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode, String bridgeName) -
getBridgeFromConfig
public OvsdbBridgeAugmentation getBridgeFromConfig(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, String bridge) -
isOvsdbNodeDpdk
public boolean isOvsdbNodeDpdk(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode) -
extractTerminationPointAugmentation
public OvsdbTerminationPointAugmentation extractTerminationPointAugmentation(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode, String portName) -
extractTerminationPointAugmentations
public List<OvsdbTerminationPointAugmentation> extractTerminationPointAugmentations(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) -
getTerminationPointOfBridge
public OvsdbTerminationPointAugmentation getTerminationPointOfBridge(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, String portName) Extract theOvsdbTerminationPointAugmentation
for the particularnode
identified byportName
. -
readTerminationPointAugmentations
public List<OvsdbTerminationPointAugmentation> readTerminationPointAugmentations(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node) Read the list ofOvsdbTerminationPointAugmentation
for the particularnode
. -
getOvsdbNodes
public Map<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey,org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> getOvsdbNodes()Get all OVSDB nodes from topology.- Returns:
- a list of nodes or null if the topology could not found
-
getOpenvswitchOtherConfig
public String getOpenvswitchOtherConfig(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node, String key) Get OpenvSwitch other-config by key.- Parameters:
node
- OVSDB nodekey
- key to extract from other-config- Returns:
- the value for key or null if key not found
-
getTerminationPointByExternalId
public static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.node.TerminationPoint getTerminationPointByExternalId(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode, String interfaceName) -
getNodeByTerminationPointExternalId
public org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node getNodeByTerminationPointExternalId(String interfaceName) -
getExternalInterfaceIdValue
-
getDatapathIdFromNodeInstanceId
public String getDatapathIdFromNodeInstanceId(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> nodeInstanceId) -
compareDbVersionToMinVersion
-