Interface VlanRoutedConfig
- 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
@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 ClassesModifier and TypeInterfaceDescriptionstatic final classThis class represents the following YANG schema fragment defined in module openconfig-vlan -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptiongetVlan()Return vlan, ornullif it is not present.Class<? extends VlanRoutedConfig>default @NonNull VlanRoutedConfig.VlanReturn vlan, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends VlanRoutedConfig> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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
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
-