Class L2GatewayUtils


  • public final class L2GatewayUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void createItmTunnels​(org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rpcs.rev160406.ItmRpcService itmRpcService, java.lang.String hwvtepId, java.lang.String psName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tunnelIp)  
      static void deleteItmTunnels​(org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rpcs.rev160406.ItmRpcService itmRpcService, java.lang.String hwvtepId, java.lang.String psName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tunnelIp)  
      static java.lang.String getConfigDbVersion​(org.opendaylight.mdsal.binding.api.DataBroker broker, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)  
      static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node getHwVtepNode​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType, org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)  
      static boolean isGatewayAssociatedToL2Device​(L2GatewayDevice l2GwDevice)  
      static boolean isItmTunnelsCreatedForL2Device​(L2GatewayDevice l2GwDevice)  
      static boolean isLastL2GatewayBeingDeleted​(L2GatewayDevice l2GwDevice)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isGatewayAssociatedToL2Device

        public static boolean isGatewayAssociatedToL2Device​(L2GatewayDevice l2GwDevice)
      • isLastL2GatewayBeingDeleted

        public static boolean isLastL2GatewayBeingDeleted​(L2GatewayDevice l2GwDevice)
      • isItmTunnelsCreatedForL2Device

        public static boolean isItmTunnelsCreatedForL2Device​(L2GatewayDevice l2GwDevice)
      • deleteItmTunnels

        public static void deleteItmTunnels​(org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rpcs.rev160406.ItmRpcService itmRpcService,
                                            java.lang.String hwvtepId,
                                            java.lang.String psName,
                                            org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tunnelIp)
      • createItmTunnels

        public static void createItmTunnels​(org.opendaylight.yang.gen.v1.urn.opendaylight.genius.itm.rpcs.rev160406.ItmRpcService itmRpcService,
                                            java.lang.String hwvtepId,
                                            java.lang.String psName,
                                            org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tunnelIp)
      • getConfigDbVersion

        public static java.lang.String getConfigDbVersion​(org.opendaylight.mdsal.binding.api.DataBroker broker,
                                                          org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)
      • getHwVtepNode

        public static org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node getHwVtepNode​(org.opendaylight.mdsal.binding.api.DataBroker dataBroker,
                                                                                                                                                      org.opendaylight.mdsal.common.api.LogicalDatastoreType datastoreType,
                                                                                                                                                      org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId nodeId)
                                                                                                                                               throws java.util.concurrent.ExecutionException,
                                                                                                                                                      java.lang.InterruptedException
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException