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
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()
Destination IPv4 or IPv6 prefix.org.opendaylight.yangtools.yang.common.Uint16
getDestinationPortRangeMax()
Maximum destination protocol port.org.opendaylight.yangtools.yang.common.Uint16
getDestinationPortRangeMin()
Minimum destination protocol port.Class<? extends EthertypeBase>
getEthertype()
Classify flows based on the provided ethertype.Currently OpenStack SFC only supports IPv4 and IPv6.@Nullable Map<L7ParameterKey,L7Parameter>
getL7Parameter()
List of Key-Value pair of L7 matching attributesorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getLogicalDestinationPort()
Neutron destination port.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getLogicalSourcePort()
Neutron source port.Class<? extends ProtocolBase>
getProtocol()
Classify flows based on the provided protocol.Currently OpenStack SFC only supports TCP,UDP and ICMPorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
getSourceIpPrefix()
Source IPv4 or IPv6 prefix.org.opendaylight.yangtools.yang.common.Uint16
getSourcePortRangeMax()
Maximum source protocol port.org.opendaylight.yangtools.yang.common.Uint16
getSourcePortRangeMin()
Minimum source protocol portClass<? extends FlowClassifierMatchAttributes>
implementedInterface()
default @NonNull Map<L7ParameterKey,L7Parameter>
nonnullL7Parameter()
-
-
-
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()
Classify flows based on the provided ethertype.Currently OpenStack SFC only supports IPv4 and IPv6.- Returns:
java.lang.Class
ethertype
, ornull
if not present
-
getProtocol
Class<? extends ProtocolBase> getProtocol()
Classify flows based on the provided protocol.Currently OpenStack SFC only supports TCP,UDP and ICMP- Returns:
java.lang.Class
protocol
, ornull
if not present
-
getSourcePortRangeMin
org.opendaylight.yangtools.yang.common.Uint16 getSourcePortRangeMin()
Minimum source protocol port- Returns:
org.opendaylight.yangtools.yang.common.Uint16
sourcePortRangeMin
, ornull
if not present
-
getSourcePortRangeMax
org.opendaylight.yangtools.yang.common.Uint16 getSourcePortRangeMax()
Maximum source protocol port.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
sourcePortRangeMax
, ornull
if not present
-
getDestinationPortRangeMin
org.opendaylight.yangtools.yang.common.Uint16 getDestinationPortRangeMin()
Minimum destination protocol port.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
destinationPortRangeMin
, ornull
if not present
-
getDestinationPortRangeMax
org.opendaylight.yangtools.yang.common.Uint16 getDestinationPortRangeMax()
Maximum destination protocol port.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
destinationPortRangeMax
, ornull
if not present
-
getSourceIpPrefix
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getSourceIpPrefix()
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 not present
-
getDestinationIpPrefix
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getDestinationIpPrefix()
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 not present
-
getLogicalSourcePort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getLogicalSourcePort()
Neutron source port.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
logicalSourcePort
, ornull
if not present
-
getLogicalDestinationPort
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getLogicalDestinationPort()
Neutron destination port.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
logicalDestinationPort
, ornull
if not present
-
getL7Parameter
@Nullable Map<L7ParameterKey,L7Parameter> getL7Parameter()
List of Key-Value pair of L7 matching attributes- Returns:
java.util.Map
l7Parameter
, ornull
if not present
-
nonnullL7Parameter
default @NonNull Map<L7ParameterKey,L7Parameter> nonnullL7Parameter()
- Returns:
java.util.Map
l7Parameter
, or an empty list if it is not present
-
-