Class OvsdbTepRemoveConfigHelper


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> removeTepReceivedFromOvsdb​(java.lang.String tepIp, java.lang.String strDpnId, java.lang.String tzName, org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, ManagedNewTransactionRunner txRunner)
      Removes the TEP from ITM configuration/operational Datastore in one of the following cases.
      static void removeUnknownTzTepFromTepsNotHosted​(java.lang.String tzName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tepIpAddress, org.opendaylight.yangtools.yang.common.Uint64 dpnId, org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, TypedWriteTransaction<Datastore.Operational> tx)
      Removes the TEP from the not-hosted transport zone in the TepsNotHosted list from ITM Operational Datastore.
      • Methods inherited from class java.lang.Object

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

      • removeTepReceivedFromOvsdb

        public static java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> removeTepReceivedFromOvsdb​(java.lang.String tepIp,
                                                                                                                                    java.lang.String strDpnId,
                                                                                                                                    java.lang.String tzName,
                                                                                                                                    org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
                                                                                                                                    ManagedNewTransactionRunner txRunner)
        Removes the TEP from ITM configuration/operational Datastore in one of the following cases. 1) default transport zone 2) Configured transport zone 3) Unhosted transport zone Function checks for above three cases and calls other sub-function to remove the TEP
        Parameters:
        tepIp - TEP-IP address in string
        strDpnId - bridge datapath ID in string
        tzName - transport zone name in string
        dataBroker - data broker handle to perform operations on config/operational datastore
        txRunner - ManagedNewTransactionRunner object
      • removeUnknownTzTepFromTepsNotHosted

        public static void removeUnknownTzTepFromTepsNotHosted​(java.lang.String tzName,
                                                               org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress tepIpAddress,
                                                               org.opendaylight.yangtools.yang.common.Uint64 dpnId,
                                                               org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
                                                               TypedWriteTransaction<Datastore.Operational> tx)
        Removes the TEP from the not-hosted transport zone in the TepsNotHosted list from ITM Operational Datastore.
        Parameters:
        tzName - transport zone name in string
        tepIpAddress - TEP IP address in IpAddress object
        dpnId - bridge datapath ID
        dataBroker - data broker handle to perform operations on operational datastore
        tx - TypedWriteTransaction object