Class ItmTunnelAggregationHelper
- java.lang.Object
-
- org.opendaylight.genius.itm.confighelpers.ItmTunnelAggregationHelper
-
@Singleton public class ItmTunnelAggregationHelper extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADD_TUNNEL
static int
DEFAULT_WEIGHT
static int
DEL_TUNNEL
static long
INVALID_ID
static int
MOD_GROUP_TUNNEL
static int
MOD_TUNNEL
-
Constructor Summary
Constructors Constructor Description ItmTunnelAggregationHelper(IInterfaceManager interfaceMngr, IMdsalApiManager mdsalMngr, ItmConfig itmConfig, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createLogicalTunnelSelectGroup(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 srcDpnId, java.lang.String interfaceName, int lportTag)
static boolean
isTunnelAggregationEnabled()
void
updateLogicalTunnelSelectGroup(InterfaceParentEntry entry, org.opendaylight.mdsal.binding.api.DataBroker broker)
void
updateLogicalTunnelState(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifaceState, int tunnelAction, org.opendaylight.mdsal.binding.api.DataBroker broker)
void
updateLogicalTunnelState(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifStateOrigin, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifStateUpdated, int tunnelAction, org.opendaylight.mdsal.binding.api.DataBroker broker)
-
-
-
Field Detail
-
ADD_TUNNEL
public static final int ADD_TUNNEL
- See Also:
- Constant Field Values
-
DEL_TUNNEL
public static final int DEL_TUNNEL
- See Also:
- Constant Field Values
-
MOD_TUNNEL
public static final int MOD_TUNNEL
- See Also:
- Constant Field Values
-
MOD_GROUP_TUNNEL
public static final int MOD_GROUP_TUNNEL
- See Also:
- Constant Field Values
-
DEFAULT_WEIGHT
public static final int DEFAULT_WEIGHT
- See Also:
- Constant Field Values
-
INVALID_ID
public static final long INVALID_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ItmTunnelAggregationHelper
@Inject public ItmTunnelAggregationHelper(IInterfaceManager interfaceMngr, IMdsalApiManager mdsalMngr, ItmConfig itmConfig, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator)
-
-
Method Detail
-
isTunnelAggregationEnabled
public static boolean isTunnelAggregationEnabled()
-
createLogicalTunnelSelectGroup
public void createLogicalTunnelSelectGroup(org.opendaylight.mdsal.binding.util.TypedWriteTransaction<org.opendaylight.mdsal.binding.util.Datastore.Configuration> tx, org.opendaylight.yangtools.yang.common.Uint64 srcDpnId, java.lang.String interfaceName, int lportTag)
-
updateLogicalTunnelSelectGroup
public void updateLogicalTunnelSelectGroup(InterfaceParentEntry entry, org.opendaylight.mdsal.binding.api.DataBroker broker)
-
updateLogicalTunnelState
public void updateLogicalTunnelState(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifaceState, int tunnelAction, org.opendaylight.mdsal.binding.api.DataBroker broker)
-
updateLogicalTunnelState
public void updateLogicalTunnelState(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifStateOrigin, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev140508.interfaces.state.Interface ifStateUpdated, int tunnelAction, org.opendaylight.mdsal.binding.api.DataBroker broker)
-
-