Class HwvtepSouthboundUtil


  • public final class HwvtepSouthboundUtil
    extends Object
    • Method Detail

      • serializeInstanceIdentifier

        public static String serializeInstanceIdentifier​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)
      • deserializeInstanceIdentifier

        public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> deserializeInstanceIdentifier​(String iidString)
      • readNode

        public static <D extends org.opendaylight.yangtools.yang.binding.DataObject> com.google.common.base.Optional<D> readNode​(org.opendaylight.controller.md.sal.binding.api.ReadWriteTransaction transaction,
                                                                                                                                 org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
      • readNode

        public static <D extends org.opendaylight.yangtools.yang.binding.DataObject> com.google.common.base.Optional<D> readNode​(org.opendaylight.controller.md.sal.binding.api.ReadTransaction transaction,
                                                                                                                                 org.opendaylight.controller.md.sal.common.api.data.LogicalDatastoreType logicalDatastoreType,
                                                                                                                                 org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
      • getManagingNode

        public static com.google.common.base.Optional<HwvtepGlobalAugmentation> getManagingNode​(org.opendaylight.controller.md.sal.binding.api.DataBroker db,
                                                                                                HwvtepGlobalRef ref)
      • connectionInfoToString

        public static String connectionInfoToString​(ConnectionInfo connectionInfo)
      • updateData

        public static <K,​D> void updateData​(Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,​Map<K,​D>> map,
                                                  Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                                  K key,
                                                  D data)
      • getData

        public static <K,​D> D getData​(Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,​Map<K,​D>> map,
                                            Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                            K key)
      • containsKey

        public static <K,​D> boolean containsKey​(Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,​Map<K,​D>> map,
                                                      Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                                      K key)
      • clearData

        public static <K,​D> void clearData​(Map<Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable>,​Map<K,​D>> map,
                                                 Class<? extends org.opendaylight.yangtools.yang.binding.Identifiable> cls,
                                                 K key)
      • isEmpty

        public static <T> boolean isEmpty​(Collection<T> list)
      • isEmptyMap

        public static boolean isEmptyMap​(Map map)
      • getGlobalNodeIid

        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> getGlobalNodeIid​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node> physicalNodeIid)
      • getRemotePort

        public static Integer getRemotePort​(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node)