Interface VlanLogicalDoubleTaggedConfig

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:
Config, State

@Generated("mdsal-binding-generator") public interface VlanLogicalDoubleTaggedConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Specifies double-tagged packets with inner exact and outer exact VLAN identifiers.

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

 grouping vlan-logical-double-tagged-config {
   leaf inner-vlan-id {
     type oc-vlan-types:vlan-id;
   }
   leaf outer-vlan-id {
     type oc-vlan-types:vlan-id;
   }
 }
 
  • 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 VlanLogicalDoubleTaggedConfig> 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
    • getInnerVlanId

      VlanId getInnerVlanId()
      Return innerVlanId, or null if it is not present.
           
               Inner VLAN identifier for double-tagged packets.
           
       
      Returns:
      VlanId innerVlanId, or null if it is not present.
    • requireInnerVlanId

      default @NonNull VlanId requireInnerVlanId()
      Return innerVlanId, guaranteed to be non-null.
           
               Inner VLAN identifier for double-tagged packets.
           
       
      Returns:
      VlanId innerVlanId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if innerVlanId is not present
    • getOuterVlanId

      VlanId getOuterVlanId()
      Return outerVlanId, or null if it is not present.
           
               Outer VLAN identifier for double-tagged packets.
           
       
      Returns:
      VlanId outerVlanId, or null if it is not present.
    • requireOuterVlanId

      default @NonNull VlanId requireOuterVlanId()
      Return outerVlanId, guaranteed to be non-null.
           
               Outer VLAN identifier for double-tagged packets.
           
       
      Returns:
      VlanId outerVlanId, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if outerVlanId is not present