Interface FlowClassifierMatchAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
SfcFlowClassifier
@Generated("mdsal-binding-generator") public interface FlowClassifierMatchAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-sfc-flow-classifier
grouping flow-classifier-match-attributes { leaf ethertype { type identityref { base ethertype-base; } } leaf protocol { type identityref { base protocol-base; } } leaf source-port-range-min { type uint16 { range "0 .. 65535"; } } leaf source-port-range-max { type uint16 { range "0 .. 65535"; } } leaf destination-port-range-min { type uint16 { range "0 .. 65535"; } } leaf destination-port-range-max { type uint16 { range "0 .. 65535"; } } leaf source-ip-prefix { type inet:ip-prefix; } leaf destination-ip-prefix { type inet:ip-prefix; } leaf logical-source-port { type yang:uuid; } leaf logical-destination-port { type yang:uuid; } list l7-parameter { key match-parameter; leaf match-parameter { type string; } leaf match-parameter-value { type string; } } }
The schema path to identify an instance is neutron-sfc-flow-classifier/flow-classifier-match-attributes
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
getDestinationIpPrefix()
Return destinationIpPrefix, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getDestinationPortRangeMax()
Return destinationPortRangeMax, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getDestinationPortRangeMin()
Return destinationPortRangeMin, ornull
if it is not present.Class<? extends EthertypeBase>
getEthertype()
Return ethertype, ornull
if it is not present.@Nullable Map<L7ParameterKey,L7Parameter>
getL7Parameter()
Return l7Parameter, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getLogicalDestinationPort()
Return logicalDestinationPort, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getLogicalSourcePort()
Return logicalSourcePort, ornull
if it is not present.Class<? extends ProtocolBase>
getProtocol()
Return protocol, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
getSourceIpPrefix()
Return sourceIpPrefix, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getSourcePortRangeMax()
Return sourcePortRangeMax, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint16
getSourcePortRangeMin()
Return sourcePortRangeMin, ornull
if it is not present.Class<? extends FlowClassifierMatchAttributes>
implementedInterface()
default @NonNull Map<L7ParameterKey,L7Parameter>
nonnullL7Parameter()
Return l7Parameter, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
Class<? extends FlowClassifierMatchAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getEthertype
Class<? extends EthertypeBase> getEthertype()
Return ethertype, ornull
if it is not present.Classify flows based on the provided ethertype.Currently OpenStack SFC only supports IPv4 and IPv6.
- Returns:
java.lang.Class
ethertype, ornull
if it is not present.
-
getProtocol
Class<? extends ProtocolBase> getProtocol()
Return protocol, ornull
if it is not present.Classify flows based on the provided protocol.Currently OpenStack SFC only supports TCP,UDP and ICMP
- Returns:
java.lang.Class
protocol, ornull
if it is not present.
-
getSourcePortRangeMin
org.opendaylight.yangtools.yang.common.Uint16 getSourcePortRangeMin()
Return sourcePortRangeMin, ornull
if it is not present.Minimum source protocol port
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
sourcePortRangeMin, ornull
if it is not present.
-
getSourcePortRangeMax
org.opendaylight.yangtools.yang.common.Uint16 getSourcePortRangeMax()
Return sourcePortRangeMax, ornull
if it is not present.Maximum source protocol port.
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
sourcePortRangeMax, ornull
if it is not present.
-
getDestinationPortRangeMin
org.opendaylight.yangtools.yang.common.Uint16 getDestinationPortRangeMin()
Return destinationPortRangeMin, ornull
if it is not present.Minimum destination protocol port.
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
destinationPortRangeMin, ornull
if it is not present.
-
getDestinationPortRangeMax
org.opendaylight.yangtools.yang.common.Uint16 getDestinationPortRangeMax()
Return destinationPortRangeMax, ornull
if it is not present.Maximum destination protocol port.
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
destinationPortRangeMax, ornull
if it is not present.
-
getSourceIpPrefix
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getSourceIpPrefix()
Return sourceIpPrefix, ornull
if it is not present.Source IPv4 or IPv6 prefix.
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
sourceIpPrefix, ornull
if it is not present.
-
getDestinationIpPrefix
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getDestinationIpPrefix()
Return destinationIpPrefix, ornull
if it is not present.Destination IPv4 or IPv6 prefix.
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
destinationIpPrefix, ornull
if it is not present.
-
getLogicalSourcePort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getLogicalSourcePort()
Return logicalSourcePort, ornull
if it is not present.Neutron source port.
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
logicalSourcePort, ornull
if it is not present.
-
getLogicalDestinationPort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getLogicalDestinationPort()
Return logicalDestinationPort, ornull
if it is not present.Neutron destination port.
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
logicalDestinationPort, ornull
if it is not present.
-
getL7Parameter
@Nullable Map<L7ParameterKey,L7Parameter> getL7Parameter()
Return l7Parameter, ornull
if it is not present.List of Key-Value pair of L7 matching attributes
- Returns:
java.util.Map
l7Parameter, ornull
if it is not present.
-
nonnullL7Parameter
default @NonNull Map<L7ParameterKey,L7Parameter> nonnullL7Parameter()
Return l7Parameter, or an empty list if it is not present.- Returns:
java.util.Map
l7Parameter, or an empty list if it is not present.
-
-