Interface VlanLogicalDoubleTaggedConfig
-
- 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 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; } }The schema path to identify an instance is openconfig-vlanvlan-logical-double-tagged-config
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VlanIdgetInnerVlanId()Return innerVlanId, ornullif it is not present.VlanIdgetOuterVlanId()Return outerVlanId, ornullif it is not present.Class<? extends VlanLogicalDoubleTaggedConfig>implementedInterface()default @NonNull VlanIdrequireInnerVlanId()Return innerVlanId, guaranteed to be non-null.default @NonNull VlanIdrequireOuterVlanId()Return outerVlanId, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends VlanLogicalDoubleTaggedConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.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
default @NonNull VlanId 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
default @NonNull VlanId 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
-
-