Interface InstanceInterfacesConfig
- 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 InstanceInterfacesConfig
extends org.opendaylight.yangtools.yang.binding.DataObject
Base configuration parameters relating to the interfaces associated with a
network instance
This class represents the following YANG schema fragment defined in module openconfig-network-instance
grouping instance-interfaces-config { leaf-list interface { type leafref { path /ocif:interfaces/ocif:interface/ocif:name; } } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn interface, ornull
if it is not present.Class<? extends InstanceInterfacesConfig>
Return interface, 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 InstanceInterfacesConfig> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInterface
Return interface, ornull
if it is not present.Interfaces that are associated with the network instance
- Returns:
Set<String>
interface, ornull
if it is not present.
-
requireInterface
Return interface, guaranteed to be non-null.Interfaces that are associated with the network instance
- Returns:
Set<String>
interface, guaranteed to be non-null.- Throws:
NoSuchElementException
- if interface is not present
-