public final class AclServiceOFFlowBuilder extends Object
Modifier and Type | Method and Description |
---|---|
static List<org.opendaylight.genius.mdsalutil.MatchInfoBase> |
addDstIpMatches(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
Adds destination ip matches to the flows.
|
static List<org.opendaylight.genius.mdsalutil.MatchInfoBase> |
addLPortTagMatches(int lportTag,
int conntrackState,
int conntrackMask,
Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.servicebinding.rev160406.ServiceModeBase> serviceMode)
Adds LPort matches to the flow.
|
static List<org.opendaylight.genius.mdsalutil.MatchInfoBase> |
addSrcIpMatches(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
Adds source ip matches to the flows.
|
static List<org.opendaylight.genius.mdsalutil.InstructionInfo> |
getDropInstructionInfo()
Returns drop instruction info.
|
static List<org.opendaylight.genius.mdsalutil.InstructionInfo> |
getGotoInstructionInfo(short gotoTableId)
Gets the goto instruction info which specifies goto to the specified
table.
|
static Map<Integer,Integer> |
getLayer4MaskForRange(int portMin,
int portMax)
Converts port range into a set of masked port ranges.
|
static List<org.opendaylight.genius.mdsalutil.InstructionInfo> |
getResubmitInstructionInfo(short tableId)
Returns resubmit instruction info to the given table ID.
|
static Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> |
programEtherFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
Converts ether matches to flows.
|
static Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> |
programIcmpFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
Converts icmp matches to flows.
|
static Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> |
programIpFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.Matches matches)
Converts IP matches into flows.
|
static Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> |
programOtherProtocolFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
Converts generic protocol matches to flows.
|
static Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> |
programTcpFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
Converts TCP matches to flows.
|
static Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> |
programUdpFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
Converts UDP matches to flows.
|
public static Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> programIpFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.Matches matches)
matches
- the matchespublic static Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> programEtherFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
acl
- the access control listpublic static Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> programOtherProtocolFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
acl
- the access control listpublic static Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> programIcmpFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
acl
- the access control listpublic static Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> programTcpFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
acl
- the access control listpublic static Map<String,List<org.opendaylight.genius.mdsalutil.MatchInfoBase>> programUdpFlow(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
acl
- the access control listpublic static List<org.opendaylight.genius.mdsalutil.MatchInfoBase> addSrcIpMatches(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
acl
- the access control listpublic static List<org.opendaylight.genius.mdsalutil.MatchInfoBase> addDstIpMatches(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.ace.matches.ace.type.AceIp acl)
acl
- the access control listpublic static List<org.opendaylight.genius.mdsalutil.MatchInfoBase> addLPortTagMatches(int lportTag, int conntrackState, int conntrackMask, Class<? extends org.opendaylight.yang.gen.v1.urn.opendaylight.genius.interfacemanager.servicebinding.rev160406.ServiceModeBase> serviceMode)
lportTag
- lport tagconntrackState
- conntrack state to be used with matchesconntrackMask
- conntrack mask to be used with matchesserviceMode
- ingress or egress servicepublic static List<org.opendaylight.genius.mdsalutil.InstructionInfo> getDropInstructionInfo()
public static List<org.opendaylight.genius.mdsalutil.InstructionInfo> getResubmitInstructionInfo(short tableId)
tableId
- the table idpublic static List<org.opendaylight.genius.mdsalutil.InstructionInfo> getGotoInstructionInfo(short gotoTableId)
gotoTableId
- the goto table idpublic static Map<Integer,Integer> getLayer4MaskForRange(int portMin, int portMax)
portMin
- the starting port of the range.portMax
- the ending port of the range.Copyright © 2019 OpenDaylight. All rights reserved.