Interface VlanLogicalDoubleTaggedInnerRangeConfig
- 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 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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn innerHighVlanId, ornullif it is not present.Return innerLowVlanId, ornullif it is not present.Return outerVlanId, ornullif it is not present.Class<? extends VlanLogicalDoubleTaggedInnerRangeConfig>default @NonNull VlanIdReturn innerHighVlanId, guaranteed to be non-null.default @NonNull VlanIdReturn innerLowVlanId, guaranteed to be non-null.Return outerVlanId, 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 VlanLogicalDoubleTaggedInnerRangeConfig> 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
-
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
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
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
Return outerVlanId, ornullif it is not present.Outer VLAN identifier of double-tagged packets.- Returns:
Set<VlanId>outerVlanId, ornullif it is not present.
-
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
-