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
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;
     }
   }
 }
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    This class represents the following YANG schema fragment defined in module openconfig-vlan
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return vlan, or null if it is not present.
     
    default @NonNull VlanRoutedConfig.Vlan
    Return vlan, guaranteed to be non-null.
  • Field Details

    • QNAME

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

    • implementedInterface

      Class<? extends VlanRoutedConfig> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • 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