public class StatefulIngressAclServiceImpl extends AbstractIngressAclServiceImpl
Note: Table names used are w.r.t switch. Hence, switch ingress is VM egress and vice versa.
aclDataUtil, aclServiceUtils, dataBroker, mdsalManager, serviceMode
Constructor and Description |
---|
StatefulIngressAclServiceImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager,
AclDataUtil aclDataUtil,
AclServiceUtils aclServiceUtils)
Initialize the member variables.
|
Modifier and Type | Method and Description |
---|---|
void |
bindService(AclInterface aclInterface)
Bind service.
|
protected void |
programSpecificFixedRules(BigInteger dpid,
String dhcpMacAddress,
List<AllowedAddressPairs> allowedAddresses,
int lportTag,
String portId,
AclServiceManager.Action action,
int addOrRemove)
Program conntrack rules.
|
protected String |
syncSpecificAclFlow(BigInteger dpId,
int lportTag,
int addOrRemove,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.Ace ace,
String portId,
Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> flowMap,
String flowName) |
buildLPortTagMatch, getIngressAclFilterTable, getIngressAclRemoteAclTable, getStatefulIngressAclApplyOnExistingTrafficTable, ingressAclDhcpAllowServerTraffic, ingressAclDhcpv6AllowServerTraffic, programAceRule, programAclRules, programArpRule, programBroadcastRules, programGeneralFixedRules, unbindService, updateArpForAllowedAddressPairs, updateRemoteAclTableForPort
applyAce, applyAcl, bindAcl, collectDpns, getAclFlowPriority, getDispatcherTableResubmitInstructions, getIpPrefixOrAddress, getOperAsString, rebindAcl, removeAce, removeAcl, syncFlow, unbindAcl, updateAcl
public StatefulIngressAclServiceImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.genius.mdsalutil.interfaces.IMdsalApiManager mdsalManager, AclDataUtil aclDataUtil, AclServiceUtils aclServiceUtils)
dataBroker
- the data broker instance.mdsalManager
- the mdsal manager.aclDataUtil
- the acl data util.aclServiceUtils
- the acl service util.protected void programSpecificFixedRules(BigInteger dpid, String dhcpMacAddress, List<AllowedAddressPairs> allowedAddresses, int lportTag, String portId, AclServiceManager.Action action, int addOrRemove)
programSpecificFixedRules
in class AbstractIngressAclServiceImpl
dpid
- the dpiddhcpMacAddress
- the dhcp mac address.allowedAddresses
- the allowed addresseslportTag
- the lport tagaddOrRemove
- add or remove the flowportId
- the port idaction
- add/modify/remove actionprotected String syncSpecificAclFlow(BigInteger dpId, int lportTag, int addOrRemove, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.Ace ace, String portId, Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> flowMap, String flowName)
syncSpecificAclFlow
in class AbstractIngressAclServiceImpl
public void bindService(AclInterface aclInterface)
bindService
in class AbstractIngressAclServiceImpl
aclInterface
- the acl interfaceCopyright © 2018 OpenDaylight. All rights reserved.