Interface VlanLogicalSingleTaggedConfig

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 VlanLogicalSingleTaggedConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Specifies single-tagged packets with an exact VLAN identifier.

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

 grouping vlan-logical-single-tagged-config {
   leaf vlan-id {
     type oc-vlan-types:vlan-id;
   }
 }
 
  • 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 vlanId, or null if it is not present.
     
    default @NonNull VlanId
    Return vlanId, guaranteed to be non-null.
  • 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 VlanLogicalSingleTaggedConfig> 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
    • getVlanId

      VlanId getVlanId()
      Return vlanId, or null if it is not present.
           
               VLAN identifier for single-tagged packets.
           
       
      Returns:
      VlanId vlanId, or null if it is not present.
    • requireVlanId

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