Interface VlanLogicalDoubleTaggedInnerRangeConfig
-
- 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 VlanLogicalDoubleTaggedInnerRangeConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Specifies double-tagged packets with an inner range and outer exact VLAN identifiers.This class represents the following YANG schema fragment defined in module openconfig-vlan
grouping vlan-logical-double-tagged-inner-range-config { leaf inner-low-vlan-id { type oc-vlan-types:vlan-id; } leaf inner-high-vlan-id { type oc-vlan-types:vlan-id; } leaf-list outer-vlan-id { 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 VlanIdgetInnerHighVlanId()Return innerHighVlanId, ornullif it is not present.VlanIdgetInnerLowVlanId()Return innerLowVlanId, ornullif it is not present.@Nullable Set<VlanId>getOuterVlanId()Return outerVlanId, ornullif it is not present.Class<? extends VlanLogicalDoubleTaggedInnerRangeConfig>implementedInterface()default @NonNull VlanIdrequireInnerHighVlanId()Return innerHighVlanId, guaranteed to be non-null.default @NonNull VlanIdrequireInnerLowVlanId()Return innerLowVlanId, guaranteed to be non-null.default @NonNull Set<VlanId>requireOuterVlanId()Return outerVlanId, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends VlanLogicalDoubleTaggedInnerRangeConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInnerLowVlanId
VlanId getInnerLowVlanId()
Return innerLowVlanId, ornullif it is not present.The low-value inner VLAN identifier in a range for double-tagged packets. The range is matched inclusively.- Returns:
VlanIdinnerLowVlanId, ornullif it is not present.
-
requireInnerLowVlanId
default @NonNull VlanId requireInnerLowVlanId()
Return innerLowVlanId, guaranteed to be non-null.The low-value inner VLAN identifier in a range for double-tagged packets. The range is matched inclusively.- Returns:
VlanIdinnerLowVlanId, guaranteed to be non-null.- Throws:
NoSuchElementException- if innerLowVlanId is not present
-
getInnerHighVlanId
VlanId getInnerHighVlanId()
Return innerHighVlanId, ornullif it is not present.The high-value inner VLAN identifier in a range for double-tagged packets. The range is matched inclusively.- Returns:
VlanIdinnerHighVlanId, ornullif it is not present.
-
requireInnerHighVlanId
default @NonNull VlanId requireInnerHighVlanId()
Return innerHighVlanId, guaranteed to be non-null.The high-value inner VLAN identifier in a range for double-tagged packets. The range is matched inclusively.- Returns:
VlanIdinnerHighVlanId, guaranteed to be non-null.- Throws:
NoSuchElementException- if innerHighVlanId is not present
-
getOuterVlanId
@Nullable Set<VlanId> getOuterVlanId()
Return outerVlanId, ornullif it is not present.Outer VLAN identifier of double-tagged packets.- Returns:
Set<VlanId>outerVlanId, ornullif it is not present.
-
requireOuterVlanId
default @NonNull Set<VlanId> requireOuterVlanId()
Return outerVlanId, guaranteed to be non-null.Outer VLAN identifier of double-tagged packets.- Returns:
Set<VlanId>outerVlanId, guaranteed to be non-null.- Throws:
NoSuchElementException- if outerVlanId is not present
-
-