Interface VlanTpidConfig
- 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
@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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetTpid()Return tpid, ornullif it is not present.Class<? extends VlanTpidConfig>default @NonNull TPIDTYPESReturn tpid, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends VlanTpidConfig> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTpid
TPIDTYPES getTpid()Return tpid, ornullif it is not present.Optionally set the tag protocol identifier field (TPID) that is accepted on the VLAN- Returns:
TPIDTYPEStpid, ornullif it is not present.
-
requireTpid
Return tpid, guaranteed to be non-null.Optionally set the tag protocol identifier field (TPID) that is accepted on the VLAN- Returns:
TPIDTYPEStpid, guaranteed to be non-null.- Throws:
NoSuchElementException- if tpid is not present
-