public class SouthboundMapper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addControllerEntries(List<ControllerEntry> controllerEntries,
Controller controller)
Add the OVSDB
Controller updates to the MDSAL ControllerEntry list. |
static void |
addManagerEntries(List<ManagerEntry> managerEntries,
Manager manager)
Add the OVSDB
Manager updates to the MDSAL ManagerEntry list. |
static ConnectionInfo |
createConnectionInfo(OvsdbClient client) |
static List<ControllerEntry> |
createControllerEntries(Bridge bridge,
Map<UUID,Controller> updatedControllerRows)
|
static List<ControllerEntry> |
createControllerEntries(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode,
Map<UUID,Controller> updatedControllerRows)
|
static DatapathId |
createDatapathId(Bridge bridge) |
static DatapathId |
createDatapathId(Set<String> dpids) |
static DatapathId |
createDatapathId(String dpid) |
static String |
createDatapathType(OvsdbBridgeAugmentation mdsalbridge) |
static Class<? extends DatapathTypeBase> |
createDatapathType(String type) |
static InetAddress |
createInetAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ip) |
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(InstanceIdentifierCodec instanceIdentifierCodec,
OvsdbConnectionInstance client,
Bridge bridge) |
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(InstanceIdentifierCodec instanceIdentifierCodec,
OvsdbConnectionInstance client,
Controller controller,
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.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> |
createInstanceIdentifier(OvsdbConnectionInstance client,
String bridgeName) |
static Class<? extends InterfaceTypeBase> |
createInterfaceType(String type) |
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.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> iid) |
static List<ManagerEntry> |
createManagerEntries(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode,
Map<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri,Manager> updatedManagerRows)
|
static List<ManagerEntry> |
createManagerEntries(OpenVSwitch ovsdbNode,
Map<UUID,Manager> updatedManagerRows)
|
static List<ProtocolEntry> |
createMdsalProtocols(Bridge bridge) |
static Set<String> |
createOvsdbBridgeProtocols(OvsdbBridgeAugmentation ovsdbBridgeNode) |
static Map<UUID,Controller> |
createOvsdbController(OvsdbBridgeAugmentation omn,
DatabaseSchema dbSchema) |
static String |
createOvsdbInterfaceType(Class<? extends InterfaceTypeBase> mdsaltype) |
static String |
createQosType(Class<? extends QosTypeBase> qosTypeClass) |
static Class<? extends QosTypeBase> |
createQosType(String type)
Return the MD-SAL QoS type class corresponding to the QoS type
Qos . |
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology> |
createTopologyInstanceIdentifier() |
static Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject> |
extractTerminationPointConfigurationChanges(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode) |
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> |
getInstanceIdentifier(InstanceIdentifierCodec instanceIdentifierCodec,
OpenVSwitch ovs) |
static String |
getRandomUuid() |
static ConnectionInfo |
suppressLocalIpPort(ConnectionInfo connectionInfo) |
public static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress createIpAddress(InetAddress address)
public static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress createIpAddress(Inet4Address address)
public static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress createIpAddress(Inet6Address address)
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> createTopologyInstanceIdentifier()
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)
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(InstanceIdentifierCodec instanceIdentifierCodec, OvsdbConnectionInstance client, Bridge bridge)
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(InstanceIdentifierCodec instanceIdentifierCodec, OvsdbConnectionInstance client, Controller controller, String bridgeName)
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(OvsdbConnectionInstance client, String bridgeName)
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)
public static InetAddress createInetAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ip) throws UnknownHostException
UnknownHostException
public static DatapathId createDatapathId(Bridge bridge)
public static DatapathId createDatapathId(Set<String> dpids)
public static DatapathId createDatapathId(String dpid)
public static String createDatapathType(OvsdbBridgeAugmentation mdsalbridge)
public static Class<? extends DatapathTypeBase> createDatapathType(String type)
public static Set<String> createOvsdbBridgeProtocols(OvsdbBridgeAugmentation ovsdbBridgeNode)
public static Class<? extends InterfaceTypeBase> createInterfaceType(String type)
public static String createOvsdbInterfaceType(Class<? extends InterfaceTypeBase> mdsaltype)
public static List<ProtocolEntry> createMdsalProtocols(Bridge bridge)
public static List<ControllerEntry> createControllerEntries(Bridge bridge, Map<UUID,Controller> updatedControllerRows)
bridge
- the Bridge
to updateupdatedControllerRows
- the list of Controller
controllers with updatesControllerEntry
entriespublic static List<ControllerEntry> createControllerEntries(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode, Map<UUID,Controller> updatedControllerRows)
bridgeNode
- the Node
to updateupdatedControllerRows
- the list of Controller
controllers with updatesControllerEntry
entriespublic static void addControllerEntries(List<ControllerEntry> controllerEntries, Controller controller)
Controller
updates to the MDSAL ControllerEntry
list.controllerEntries
- the list of ControllerEntry
to updatecontroller
- the updated OVSDB Controller
public static Map<UUID,Controller> createOvsdbController(OvsdbBridgeAugmentation omn, DatabaseSchema dbSchema)
public static String getRandomUuid()
public static ConnectionInfo createConnectionInfo(OvsdbClient client)
public static ConnectionInfo suppressLocalIpPort(ConnectionInfo connectionInfo)
public static List<ManagerEntry> createManagerEntries(OpenVSwitch ovsdbNode, Map<UUID,Manager> updatedManagerRows)
ovsdbNode
- the OpenVSwitch
to updateupdatedManagerRows
- the list of Manager
managers with updatesManagerEntry
entriespublic static List<ManagerEntry> createManagerEntries(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node ovsdbNode, Map<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Uri,Manager> updatedManagerRows)
ovsdbNode
- the Node
to updateupdatedManagerRows
- the list of Manager
managers with updatesManagerEntry
entriespublic static void addManagerEntries(List<ManagerEntry> managerEntries, Manager manager)
Manager
updates to the MDSAL ManagerEntry
list.managerEntries
- the list of ManagerEntry
to updatemanager
- the updated OVSDB Manager
public static Class<? extends QosTypeBase> createQosType(String type)
Qos
.type
- the QoS type to match String
QosTypeBase
public static String createQosType(Class<? extends QosTypeBase> qosTypeClass)
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> getInstanceIdentifier(InstanceIdentifierCodec instanceIdentifierCodec, OpenVSwitch ovs)
public static Map<org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?>,org.opendaylight.yangtools.yang.binding.DataObject> extractTerminationPointConfigurationChanges(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node bridgeNode)
Copyright © 2018 OpenDaylight. All rights reserved.