Class HwvtepSouthboundUtil


  • public final class HwvtepSouthboundUtil
    extends Object
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      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)  
      static String connectionInfoToString​(ConnectionInfo connectionInfo)  
      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)  
      static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> deserializeInstanceIdentifier​(String iidString)  
      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)  
      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)  
      static InstanceIdentifierCodec getInstanceIdentifierCodec()  
      static Optional<HwvtepGlobalAugmentation> getManagingNode​(org.opendaylight.mdsal.binding.api.DataBroker db, HwvtepGlobalRef ref)  
      static Optional<HwvtepGlobalAugmentation> getManagingNode​(org.opendaylight.mdsal.binding.api.DataBroker db, HwvtepPhysicalSwitchAttributes node)  
      static Integer getRemotePort​(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node node)  
      static <T> boolean isEmpty​(Collection<T> list)  
      static boolean isEmptyMap​(Map<?,​?> map)  
      static <D extends org.opendaylight.yangtools.yang.binding.DataObject>
      Optional<D>
      readNode​(org.opendaylight.mdsal.binding.api.DataBroker db, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)  
      static <D extends org.opendaylight.yangtools.yang.binding.DataObject>
      Optional<D>
      readNode​(org.opendaylight.mdsal.binding.api.ReadTransaction transaction, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)  
      static <D extends org.opendaylight.yangtools.yang.binding.DataObject>
      Optional<D>
      readNode​(org.opendaylight.mdsal.binding.api.ReadWriteTransaction transaction, org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)  
      static <D extends org.opendaylight.yangtools.yang.binding.DataObject>
      Optional<D>
      readNode​(org.opendaylight.mdsal.binding.api.ReadWriteTransaction transaction, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)  
      static void schemaMismatchLog​(String column, String table, SchemaVersionMismatchException ex)  
      static String serializeInstanceIdentifier​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<?> iid)  
      static void setInstanceIdentifierCodec​(InstanceIdentifierCodec iidc)
      Deprecated.
      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)  
    • 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> Optional<D> readNode​(org.opendaylight.mdsal.binding.api.DataBroker db,
                                                                                                          org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType,
                                                                                                          org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
      • readNode

        public static <D extends org.opendaylight.yangtools.yang.binding.DataObject> Optional<D> readNode​(org.opendaylight.mdsal.binding.api.ReadTransaction transaction,
                                                                                                          org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType,
                                                                                                          org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
      • readNode

        public static <D extends org.opendaylight.yangtools.yang.binding.DataObject> Optional<D> readNode​(org.opendaylight.mdsal.binding.api.ReadWriteTransaction transaction,
                                                                                                          org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
      • readNode

        public static <D extends org.opendaylight.yangtools.yang.binding.DataObject> Optional<D> readNode​(org.opendaylight.mdsal.binding.api.ReadWriteTransaction transaction,
                                                                                                          org.opendaylight.mdsal.common.api.LogicalDatastoreType logicalDatastoreType,
                                                                                                          org.opendaylight.yangtools.yang.binding.InstanceIdentifier<D> connectionIid)
      • 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)