Class OvsInterfaceStateUpdateHelper


  • @Singleton
    public class OvsInterfaceStateUpdateHelper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleTunnelMonitoringUpdates​(IfTunnel ifTunnel, java.lang.String interfaceName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface.OperStatus operStatus)  
      static boolean isTunnelInterface​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface iface)  
      static boolean modifyOpState​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface iface, boolean opStateModified)  
      static boolean modifyTunnelOpState​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface iface, boolean opStateModified)  
      void updateInterfaceStateOnNodeRemove​(java.lang.String interfaceName, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector flowCapableNodeConnector, TypedWriteTransaction<Datastore.Operational> tx)  
      java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> updateState​(java.lang.String interfaceName, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector flowCapableNodeConnectorNew, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector flowCapableNodeConnectorOld)  
      • Methods inherited from class java.lang.Object

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

      • OvsInterfaceStateUpdateHelper

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

      • updateState

        public java.util.List<com.google.common.util.concurrent.ListenableFuture<java.lang.Void>> updateState​(java.lang.String interfaceName,
                                                                                                              org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector flowCapableNodeConnectorNew,
                                                                                                              org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector flowCapableNodeConnectorOld)
      • updateInterfaceStateOnNodeRemove

        public void updateInterfaceStateOnNodeRemove​(java.lang.String interfaceName,
                                                     org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowCapableNodeConnector flowCapableNodeConnector,
                                                     TypedWriteTransaction<Datastore.Operational> tx)
      • handleTunnelMonitoringUpdates

        public void handleTunnelMonitoringUpdates​(IfTunnel ifTunnel,
                                                  java.lang.String interfaceName,
                                                  org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface.OperStatus operStatus)
      • modifyOpState

        public static boolean modifyOpState​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface iface,
                                            boolean opStateModified)
      • isTunnelInterface

        public static boolean isTunnelInterface​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface iface)
      • modifyTunnelOpState

        public static boolean modifyTunnelOpState​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.Interface iface,
                                                  boolean opStateModified)