Class OvsInterfaceStateAddHelper


  • @Singleton
    public final class OvsInterfaceStateAddHelper
    extends java.lang.Object
    This worker is responsible for adding the openflow-interfaces/of-port-info container in odl-interface-openflow yang. Where applicable: Create the entries in Interface-State OperDS. Create the entries in Inventory OperDS.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> addState​(java.lang.String interfaceName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface parentInterface)  
      java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> addState​(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorId, java.lang.String interfaceName, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector fcNodeConnectorNew)  
      void handleTunnelMonitoringAddition​(java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> futures, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorId, java.lang.Integer ifIndex, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface interfaceInfo, java.lang.String interfaceName, long portNo)  
      static boolean validateTunnelPortAttributes​(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorId, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface iface)  
      • Methods inherited from class java.lang.Object

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

      • OvsInterfaceStateAddHelper

        @Inject
        public OvsInterfaceStateAddHelper​(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
                                          AlivenessMonitorUtils alivenessMonitorUtils,
                                          InterfaceManagerCommonUtils interfaceManagerCommonUtils)
    • Method Detail

      • addState

        public java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> addState​(java.lang.String interfaceName,
                                                                                                           org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface parentInterface)
      • addState

        public java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> addState​(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorId,
                                                                                                           java.lang.String interfaceName,
                                                                                                           org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector fcNodeConnectorNew)
      • handleTunnelMonitoringAddition

        public void handleTunnelMonitoringAddition​(java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> futures,
                                                   org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorId,
                                                   java.lang.Integer ifIndex,
                                                   org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface interfaceInfo,
                                                   java.lang.String interfaceName,
                                                   long portNo)
      • validateTunnelPortAttributes

        public static boolean validateTunnelPortAttributes​(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnectorId,
                                                           org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface iface)