public interface ICloudServiceChain
Modifier and Type | Method and Description |
---|---|
void |
programElanScfPipeline(String elanName,
short tableId,
int scfTag,
int elanLportTag,
int addOrRemove) |
void |
programElanScfPipeline(String elanName,
short tableId,
long scfTag,
int elanLportTag,
boolean isLastServiceChain,
int addOrRemove)
Programs the needed flows for sending traffic to the SCF pipeline when
it is coming 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 |
programScfToVpnPipeline(String vpnName,
long scfTag,
int servChainTag,
long dpnId,
int lportTag,
boolean isLastServiceChain,
int addOrRemove)
Creates/removes the flows that handover packets from SCF pipeline to a
specific VPN.
|
void |
programVpnToScfPipeline(String vpnName,
short tableId,
long scfTag,
int lportTag,
int addOrRemove)
Creates/removes the flows that send the packets from a VPN to the SCF
domain.
|
void |
removeElanPseudoPortFlows(String elanName,
int elanPseudoLportTag)
Removes all Flow entries (ExtTunnelTable + LPortDispatcher) that are
related to a given ElanPseudoLport.
|
void |
removeVpnPseudoPortFlows(String vpnInstanceName,
int vpnPseudoLportTag)
Removes all Flow entries (LFIB + LPortDispatcher) that are related to a
given VpnPseudoLport.
|
void programVpnToScfPipeline(String vpnName, short tableId, long scfTag, int lportTag, int addOrRemove)
vpnName
- Vpn instance name, typically the UUIDtableId
- Id of the SCF pipeline to where LPortDispatcher must send
the packet. Typically it should by Uplink or Downlink Dynamic
Subs FilterscfTag
- ServiceChainForwarding TaglportTag
- LportTag of the VPN Pseudo Logical PortaddOrRemove
- states if pipeline must be created or removedvoid programScfToVpnPipeline(String vpnName, long scfTag, int servChainTag, long dpnId, int lportTag, boolean isLastServiceChain, int addOrRemove)
vpnName
- Vpn instance name, typically the UUIDscfTag
- ServiceChainForwarding TagservChainTag
- Service Chain TagdpnId
- DPN where the ingress Port of the ScHop is locatedlportTag
- Lport tag of the VpnPseudoPortisLastServiceChain
- Only considered in removal operations. States
if there are no more ServiceChains using the VPNPseudoPort as
egress port.addOrRemove
- States if the flows must be added or removedvoid removeVpnPseudoPortFlows(String vpnInstanceName, int vpnPseudoLportTag)
vpnInstanceName
- Name of the VPN, typically its UUIDvpnPseudoLportTag
- Lport tag of the VpnPseudoPortvoid programElanScfPipeline(String elanName, short tableId, long scfTag, int elanLportTag, boolean isLastServiceChain, int addOrRemove)
elanName
- Elan instance name, typically the UUID. Needed to
retrieve the VNI and the elanTag.scfTag
- ServiceChainForwarding TagelanLportTag
- LPortTag of the Elan Pseudo PortisLastServiceChain
- Only considered in removal operations. States
if there are no more ServiceChains using the ElanPseudoPort as
ingress port.addOrRemove
- States if the flows must be added or removedvoid programElanScfPipeline(String elanName, short tableId, int scfTag, int elanLportTag, int addOrRemove)
void removeElanPseudoPortFlows(String elanName, int elanPseudoLportTag)
elanName
- Name of the Elan InstanceelanPseudoLportTag
- Lport tag of the ElanPseudoPortCopyright © 2018 OpenDaylight. All rights reserved.