Class OvsInterfaceStateUpdateHelper
- java.lang.Object
-
- org.opendaylight.genius.interfacemanager.renderer.ovs.statehelpers.OvsInterfaceStateUpdateHelper
-
@Singleton public class OvsInterfaceStateUpdateHelper extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description OvsInterfaceStateUpdateHelper(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, AlivenessMonitorUtils alivenessMonitorUtils, InterfaceManagerCommonUtils interfaceManagerCommonUtils)
-
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)
-
-
-
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)
-
-