Interface VlanRoutedConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@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 classVlanRoutedConfig.Vlan
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VlanRoutedConfig.VlangetVlan()Return vlan, ornullif it is not present.Class<? extends VlanRoutedConfig>implementedInterface()default @NonNull VlanRoutedConfig.VlanrequireVlan()Return vlan, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends VlanRoutedConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getVlan
VlanRoutedConfig.Vlan getVlan()
Return vlan, ornullif 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:
Vlanvlan, ornullif 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:
Vlanvlan, guaranteed to be non-null.- Throws:
NoSuchElementException- if vlan is not present
-
-