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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends FlowClassifierMatchAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.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, or null 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, or null if not present
      • getSourcePortRangeMin

        org.opendaylight.yangtools.yang.common.Uint16 getSourcePortRangeMin()
        Minimum source protocol port
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 sourcePortRangeMin, or null if not present
      • getSourcePortRangeMax

        org.opendaylight.yangtools.yang.common.Uint16 getSourcePortRangeMax()
        Maximum source protocol port.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 sourcePortRangeMax, or null if not present
      • getDestinationPortRangeMin

        org.opendaylight.yangtools.yang.common.Uint16 getDestinationPortRangeMin()
        Minimum destination protocol port.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 destinationPortRangeMin, or null if not present
      • getDestinationPortRangeMax

        org.opendaylight.yangtools.yang.common.Uint16 getDestinationPortRangeMax()
        Maximum destination protocol port.
        Returns:
        org.opendaylight.yangtools.yang.common.Uint16 destinationPortRangeMax, or null 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, or null 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, or null 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, or null 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, or null if not present
      • getL7Parameter

        @Nullable Map<L7ParameterKey,​L7Parameter> getL7Parameter()
        List of Key-Value pair of L7 matching attributes
        Returns:
        java.util.Map l7Parameter, or null if not present
      • nonnullL7Parameter

        default @NonNull Map<L7ParameterKey,​L7Parameter> nonnullL7Parameter()
        Returns:
        java.util.Map l7Parameter, or an empty list if it is not present