@Singleton public class ElanServiceChainHandler extends Object
Constructor and Description |
---|
ElanServiceChainHandler(org.opendaylight.controller.md.sal.binding.api.DataBroker db,
org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalMgr) |
Modifier and Type | Method and Description |
---|---|
void |
programElanScfPipeline(String elanName,
short tableId,
long scfTag,
int elanLportTag,
int addOrRemove)
Programs the needed flows for sending traffic to the SCF pipeline when
it is comming from an L2-GW (ELAN) and also for handing over that
traffic from SCF to ELAN when the packets does not match any Service
Chain.
|
void |
removeElanPseudoPortFlows(String elanName,
int elanLportTag) |
@Inject public ElanServiceChainHandler(org.opendaylight.controller.md.sal.binding.api.DataBroker db, org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalMgr)
public void programElanScfPipeline(String elanName, short tableId, long scfTag, int elanLportTag, int addOrRemove)
elanName
- Name of the ELAN to be consideredtableId
- Table id, in the SCF Pipeline, to which the traffic must
go to.scfTag
- Tag of the ServiceChainelanLportTag
- LPortTag of the ElanPseudoPort that participates in
the ServiceChainaddOrRemove
- States if the flows must be created or removedpublic void removeElanPseudoPortFlows(String elanName, int elanLportTag)
Copyright © 2018 OpenDaylight. All rights reserved.