Interface VlanLogicalSingleTaggedRangeConfig
- 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 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;
}
}
-
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 highVlanId, ornullif it is not present.Return lowVlanId, ornullif it is not present.Class<? extends VlanLogicalSingleTaggedRangeConfig>default @NonNull VlanIdReturn highVlanId, guaranteed to be non-null.default @NonNull VlanIdReturn lowVlanId, 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 VlanLogicalSingleTaggedRangeConfig> 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
-
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
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
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
-