Interface VlanLogicalDoubleTaggedOuterListConfig
-
- 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 VlanLogicalDoubleTaggedOuterListConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Specifies double-tagged packets with an inner exact and outer list of VLAN identifiers.This class represents the following YANG schema fragment defined in module openconfig-vlan
grouping vlan-logical-double-tagged-outer-list-config { leaf inner-vlan-id { type oc-vlan-types:vlan-id; } leaf-list outer-vlan-ids { type oc-vlan-types:vlan-id; } }
-
-
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 VlanIdgetInnerVlanId()Return innerVlanId, ornullif it is not present.@Nullable Set<VlanId>getOuterVlanIds()Return outerVlanIds, ornullif it is not present.Class<? extends VlanLogicalDoubleTaggedOuterListConfig>implementedInterface()default @NonNull VlanIdrequireInnerVlanId()Return innerVlanId, guaranteed to be non-null.default @NonNull Set<VlanId>requireOuterVlanIds()Return outerVlanIds, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends VlanLogicalDoubleTaggedOuterListConfig> 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
-
getOuterVlanIds
@Nullable Set<VlanId> getOuterVlanIds()
Return outerVlanIds, ornullif it is not present.Outer VLAN identifiers for double-tagged packets.- Returns:
Set<VlanId>outerVlanIds, ornullif it is not present.
-
requireOuterVlanIds
default @NonNull Set<VlanId> requireOuterVlanIds()
Return outerVlanIds, guaranteed to be non-null.Outer VLAN identifiers for double-tagged packets.- Returns:
Set<VlanId>outerVlanIds, guaranteed to be non-null.- Throws:
NoSuchElementException- if outerVlanIds is not present
-
-