Interface VlanTpidConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface VlanTpidConfig extends org.opendaylight.yangtools.yang.binding.DataObject
TPID configuration for dot1q-enabled interfacesThis 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 @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Class<? extends TPIDTYPES>getTpid()Return tpid, ornullif it is not present.Class<? extends VlanTpidConfig>implementedInterface()default @NonNull Class<? extends TPIDTYPES>requireTpid()Return tpid, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends VlanTpidConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTpid
Class<? extends TPIDTYPES> getTpid()
Return tpid, ornullif it is not present.Optionally set the tag protocol identifier field (TPID) that is accepted on the VLAN- Returns:
Class<? extends TPIDTYPES>tpid, ornullif 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
-
-