Interface VlanRoutedConfig

  • 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 VlanRoutedConfig
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Configuration data for routed vlans (SVI, IRB, etc.)

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

     grouping vlan-routed-config {
       leaf vlan {
         type union {
           type uint16;
           type string;
         }
       }
     }
     
    The schema path to identify an instance is openconfig-vlanvlan-routed-config
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        VlanRoutedConfig.Vlan getVlan()
        Return vlan, or null if it is not present.
             
                 References the VLAN for which this IP interface provides routing services --
                 similar to a switch virtual interface (SVI), or integrated routing and bridging
                 interface (IRB) in some implementations.
             
         
        Returns:
        Vlan vlan, or null if it is not present.
      • requireVlan

        default @NonNull VlanRoutedConfig.Vlan requireVlan()
        Return vlan, guaranteed to be non-null.
             
                 References the VLAN for which this IP interface provides routing services --
                 similar to a switch virtual interface (SVI), or integrated routing and bridging
                 interface (IRB) in some implementations.
             
         
        Returns:
        Vlan vlan, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if vlan is not present