Interface VlanLogicalSingleTaggedRangeConfig
-
- 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 VlanLogicalSingleTaggedRangeConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Specifies single-tagged packets with a range of VLAN identifiers.This class represents the following YANG schema fragment defined in module openconfig-vlan
grouping vlan-logical-single-tagged-range-config { leaf low-vlan-id { type oc-vlan-types:vlan-id; } leaf high-vlan-id { type oc-vlan-types:vlan-id; } }The schema path to identify an instance is openconfig-vlanvlan-logical-single-tagged-range-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 VlanIdgetHighVlanId()Return highVlanId, ornullif it is not present.VlanIdgetLowVlanId()Return lowVlanId, ornullif it is not present.Class<? extends VlanLogicalSingleTaggedRangeConfig>implementedInterface()default @NonNull VlanIdrequireHighVlanId()Return highVlanId, guaranteed to be non-null.default @NonNull VlanIdrequireLowVlanId()Return lowVlanId, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends VlanLogicalSingleTaggedRangeConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getLowVlanId
VlanId getLowVlanId()
Return lowVlanId, ornullif it is not present.The low-value VLAN identifier in a range for single-tagged packets. The range is matched inclusively.- Returns:
VlanIdlowVlanId, ornullif it is not present.
-
requireLowVlanId
default @NonNull VlanId requireLowVlanId()
Return lowVlanId, guaranteed to be non-null.The low-value VLAN identifier in a range for single-tagged packets. The range is matched inclusively.- Returns:
VlanIdlowVlanId, guaranteed to be non-null.- Throws:
NoSuchElementException- if lowVlanId is not present
-
getHighVlanId
VlanId getHighVlanId()
Return highVlanId, ornullif it is not present.The high-value VLAN identifier in a range for single-tagged packets. The range is matched inclusively.- Returns:
VlanIdhighVlanId, ornullif it is not present.
-
requireHighVlanId
default @NonNull VlanId requireHighVlanId()
Return highVlanId, guaranteed to be non-null.The high-value VLAN identifier in a range for single-tagged packets. The range is matched inclusively.- Returns:
VlanIdhighVlanId, guaranteed to be non-null.- Throws:
NoSuchElementException- if highVlanId is not present
-
-