Interface VlanLogicalSingleTaggedRangeConfig

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Config, State

    @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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends VlanLogicalSingleTaggedRangeConfig> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getLowVlanId

        VlanId getLowVlanId()
        Return lowVlanId, or null if it is not present.
             
                 The low-value VLAN identifier in a range for single-tagged packets. The range is
                 matched inclusively.
             
         
        Returns:
        VlanId lowVlanId, or null if 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:
        VlanId lowVlanId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if lowVlanId is not present
      • getHighVlanId

        VlanId getHighVlanId()
        Return highVlanId, or null if it is not present.
             
                 The high-value VLAN identifier in a range for single-tagged packets. The range
                 is matched inclusively.
             
         
        Returns:
        VlanId highVlanId, or null if 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:
        VlanId highVlanId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if highVlanId is not present