Interface VlanLogicalDoubleTaggedConfig
- 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 VlanLogicalDoubleTaggedConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Specifies double-tagged packets with inner exact and outer exact VLAN
identifiers.
This class represents the following YANG schema fragment defined in module openconfig-vlan
grouping vlan-logical-double-tagged-config {
leaf inner-vlan-id {
type oc-vlan-types:vlan-id;
}
leaf outer-vlan-id {
type oc-vlan-types:vlan-id;
}
}
-
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 TypeMethodDescriptionReturn innerVlanId, ornullif it is not present.Return outerVlanId, ornullif it is not present.Class<? extends VlanLogicalDoubleTaggedConfig>default @NonNull VlanIdReturn innerVlanId, guaranteed to be non-null.default @NonNull VlanIdReturn outerVlanId, 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 VlanLogicalDoubleTaggedConfig> 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
-
getInnerVlanId
VlanId getInnerVlanId()Return innerVlanId, ornullif it is not present.Inner VLAN identifier for double-tagged packets.- Returns:
VlanIdinnerVlanId, ornullif it is not present.
-
requireInnerVlanId
Return innerVlanId, guaranteed to be non-null.Inner VLAN identifier for double-tagged packets.- Returns:
VlanIdinnerVlanId, guaranteed to be non-null.- Throws:
NoSuchElementException- if innerVlanId is not present
-
getOuterVlanId
VlanId getOuterVlanId()Return outerVlanId, ornullif it is not present.Outer VLAN identifier for double-tagged packets.- Returns:
VlanIdouterVlanId, ornullif it is not present.
-
requireOuterVlanId
Return outerVlanId, guaranteed to be non-null.Outer VLAN identifier for double-tagged packets.- Returns:
VlanIdouterVlanId, guaranteed to be non-null.- Throws:
NoSuchElementException- if outerVlanId is not present
-