Interface InstanceInterfacesConfig
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
@Generated("mdsal-binding-generator")
public interface InstanceInterfacesConfig
extends org.opendaylight.yangtools.binding.Grouping
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; } } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn interface, ornull
if it is not present.Return interface, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
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
-