Interface VlanTpidConfig

  • All Superinterfaces:
    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 Detail

      • QNAME

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

      • implementedInterface

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

        Class<? extends 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:
        Class<? extends TPIDTYPES> tpid, or null if it is not present.
      • requireTpid

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