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:
Config1, State1

@Generated("mdsal-binding-generator") public interface VlanTpidConfig extends org.opendaylight.yangtools.yang.binding.DataObject
TPID configuration for dot1q-enabled interfaces

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

 grouping vlan-tpid-config {
   leaf tpid {
     type identityref {
       base TPID_TYPES;
     }
     default oc-vlan-types:TPID_0X8100;
   }
 }
 
  • 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 tpid, or null if it is not present.
     
    default @NonNull TPIDTYPES
    Return tpid, 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 VlanTpidConfig> 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
    • getTpid

      TPIDTYPES getTpid()
      Return tpid, or null if it is not present.
           
               Optionally set the tag protocol identifier field (TPID) that is accepted on the
               VLAN
           
       
      Returns:
      TPIDTYPES tpid, or null if it is not present.
    • requireTpid

      default @NonNull TPIDTYPES requireTpid()
      Return tpid, guaranteed to be non-null.
           
               Optionally set the tag protocol identifier field (TPID) that is accepted on the
               VLAN
           
       
      Returns:
      TPIDTYPES tpid, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if tpid is not present