Interface VlanLogicalSingleTaggedListConfig

  • 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 VlanLogicalSingleTaggedListConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Specifies single-tagged packets with a list of VLAN identifiers.

    This class represents the following YANG schema fragment defined in module openconfig-vlan

     grouping vlan-logical-single-tagged-list-config {
       leaf-list vlan-ids {
         type oc-vlan-types:vlan-id;
       }
     }
     
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

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

        @Nullable Set<VlanId> getVlanIds()
        Return vlanIds, or null if it is not present.
             
                 VLAN identifiers for single-tagged packets.
             
         
        Returns:
        Set<VlanId> vlanIds, or null if it is not present.
      • requireVlanIds

        default @NonNull Set<VlanId> requireVlanIds()
        Return vlanIds, guaranteed to be non-null.
             
                 VLAN identifiers for single-tagged packets.
             
         
        Returns:
        Set<VlanId> vlanIds, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if vlanIds is not present