Interface VlanLogicalDoubleTaggedOuterRangeConfig
- 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 VlanLogicalDoubleTaggedOuterRangeConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Specifies double-tagged packets with an inner exact and an outer range of VLAN
identifiers.
This class represents the following YANG schema fragment defined in module openconfig-vlan
grouping vlan-logical-double-tagged-outer-range-config {
leaf inner-vlan-id {
type oc-vlan-types:vlan-id;
}
leaf outer-low-vlan-id {
type oc-vlan-types:vlan-id;
}
leaf outer-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 innerVlanId, ornullif it is not present.Return outerHighVlanId, ornullif it is not present.Return outerLowVlanId, ornullif it is not present.Class<? extends VlanLogicalDoubleTaggedOuterRangeConfig>default @NonNull VlanIdReturn innerVlanId, guaranteed to be non-null.default @NonNull VlanIdReturn outerHighVlanId, guaranteed to be non-null.default @NonNull VlanIdReturn outerLowVlanId, 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 VlanLogicalDoubleTaggedOuterRangeConfig> 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
-
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
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
-
getOuterLowVlanId
VlanId getOuterLowVlanId()Return outerLowVlanId, ornullif it is not present.The low-value outer VLAN identifier for double-tagged packets. The range is matched inclusively.- Returns:
VlanIdouterLowVlanId, ornullif it is not present.
-
requireOuterLowVlanId
Return outerLowVlanId, guaranteed to be non-null.The low-value outer VLAN identifier for double-tagged packets. The range is matched inclusively.- Returns:
VlanIdouterLowVlanId, guaranteed to be non-null.- Throws:
NoSuchElementException- if outerLowVlanId is not present
-
getOuterHighVlanId
VlanId getOuterHighVlanId()Return outerHighVlanId, ornullif it is not present.The high-value outer VLAN identifier for double-tagged packets. The range is matched inclusively.- Returns:
VlanIdouterHighVlanId, ornullif it is not present.
-
requireOuterHighVlanId
Return outerHighVlanId, guaranteed to be non-null.The high-value outer VLAN identifier for double-tagged packets. The range is matched inclusively.- Returns:
VlanIdouterHighVlanId, guaranteed to be non-null.- Throws:
NoSuchElementException- if outerHighVlanId is not present
-