All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
Vlan

@Generated("mdsal-binding-generator") public interface VlanLogicalMatchTop extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration for various VLAN tag matching schemes, including Q-in-Q.

This class represents the following YANG schema fragment defined in module openconfig-vlan

 grouping vlan-logical-match-top {
   container match {
     container single-tagged {
       container config {
         uses vlan-logical-single-tagged-config;
       }
       container state {
         config false;
         uses vlan-logical-single-tagged-config;
       }
     }
     container single-tagged-list {
       container config {
         uses vlan-logical-single-tagged-list-config;
       }
       container state {
         config false;
         uses vlan-logical-single-tagged-list-config;
       }
     }
     container single-tagged-range {
       container config {
         uses vlan-logical-single-tagged-range-config;
       }
       container state {
         config false;
         uses vlan-logical-single-tagged-range-config;
       }
     }
     container double-tagged {
       container config {
         uses vlan-logical-double-tagged-config;
       }
       container state {
         config false;
         uses vlan-logical-double-tagged-config;
       }
     }
     container double-tagged-inner-list {
       container config {
         uses vlan-logical-double-tagged-inner-list-config;
       }
       container state {
         config false;
         uses vlan-logical-double-tagged-inner-list-config;
       }
     }
     container double-tagged-outer-list {
       container config {
         uses vlan-logical-double-tagged-outer-list-config;
       }
       container state {
         config false;
         uses vlan-logical-double-tagged-outer-list-config;
       }
     }
     container double-tagged-inner-range {
       container config {
         uses vlan-logical-double-tagged-inner-range-config;
       }
       container state {
         config false;
         uses vlan-logical-double-tagged-inner-range-config;
       }
     }
     container double-tagged-outer-range {
       container config {
         uses vlan-logical-double-tagged-outer-range-config;
       }
       container state {
         config false;
         uses vlan-logical-double-tagged-outer-range-config;
       }
     }
     container double-tagged-inner-outer-range {
       container config {
         uses vlan-logical-double-tagged-inner-outer-range-config;
       }
       container state {
         config false;
         uses vlan-logical-double-tagged-inner-outer-range-config;
       }
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return match, or null if it is not present.
     
    @NonNull Match
    Return match, or an empty instance if it is not present.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends VlanLogicalMatchTop> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getMatch

      Match getMatch()
      Return match, or null if it is not present.
           
               Configuration for various VLAN tag matching schemes, including single-tagged
               802.1q packets and double-tagged 802.1ad 'Q-in-Q' packets. Typically only one of
               the subordinate containers should be specified. Wildcards may be matched by
               specifying range values of 2-4094. If implementations have a more efficient way
               to match Wildcards then they should recognize this pattern and translate
               accordingly. Implementations are expected to return errors for combinations that
               they do not support, or provide deviations to the same effect. For simple VLAN
               configurations without an 'egress-mapping' then using the 'single-tagged' and
               'double-tagged' VLAN matches that resolve to specific values, these specify the
               VLAN identifiers applied to packets on egress.
           
       
      Returns:
      Match match, or null if it is not present.
    • nonnullMatch

      @NonNull Match nonnullMatch()
      Return match, or an empty instance if it is not present.
      Returns:
      Match match, or an empty instance if it is not present.