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 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()
        Return ethertype, or null 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, or null if it is not present.
      • getProtocol

        Class<? extends ProtocolBase> getProtocol()
        Return protocol, or null 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, or null if it is not present.
      • getSourcePortRangeMin

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

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

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

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

        @Nullable Map<L7ParameterKey,​L7Parameter> getL7Parameter()
        Return l7Parameter, or null if it is not present.
             
                 List of Key-Value pair of L7 matching attributes
             
         
        Returns:
        java.util.Map l7Parameter, or null 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.