Class SouthboundMapper


  • public final class SouthboundMapper
    extends Object
    • Field Detail

      • DATAPATH_TYPE_MAP

        public static final com.google.common.collect.ImmutableBiMap<Class<? extends DatapathTypeBase>,​String> DATAPATH_TYPE_MAP
      • OVSDB_INTERFACE_TYPE_MAP

        public static final com.google.common.collect.ImmutableBiMap<String,​Class<? extends InterfaceTypeBase>> OVSDB_INTERFACE_TYPE_MAP
    • Method Detail

      • 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)
      • 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> createTopologyInstanceIdentifier()
      • 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​(InstanceIdentifierCodec instanceIdentifierCodec,
                                                                                                                                                                                                                             OvsdbConnectionInstance client,
                                                                                                                                                                                                                             Bridge bridge)
      • 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​(InstanceIdentifierCodec instanceIdentifierCodec,
                                                                                                                                                                                                                             OvsdbConnectionInstance client,
                                                                                                                                                                                                                             Controller controller,
                                                                                                                                                                                                                             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​(OvsdbConnectionInstance client,
                                                                                                                                                                                                                             String 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)
      • createDatapathId

        public static DatapathId createDatapathId​(Bridge bridge)
      • createControllerEntries

        public 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)
        Create the ControllerEntry list given an MDSAL Node bridge and Controller rows.
        Parameters:
        bridgeNode - the Node to update
        updatedControllerRows - the list of Controller controllers with updates
        Returns:
        list of ControllerEntry entries
      • getRandomUuid

        public static String getRandomUuid()
      • createManagerEntries

        public 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)
        Create the ManagerEntry list given an MDSAL Node ovsdbNode and Manager rows.
        Parameters:
        ovsdbNode - the Node to update
        updatedManagerRows - the list of Manager managers with updates
        Returns:
        list of ManagerEntry entries
      • createQosType

        public static Class<? extends QosTypeBase> createQosType​(String type)
        Return the MD-SAL QoS type class corresponding to the QoS type Qos.
        Parameters:
        type - the QoS type to match String
        Returns:
        class matching the input QoS type QosTypeBase
      • getInstanceIdentifier

        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)
      • extractTerminationPointConfigurationChanges

        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)