Interface Interfaces
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Interfaces>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<InterfacesTop>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface Interfaces extends org.opendaylight.yangtools.yang.binding.ChildOf<InterfacesTop>, org.opendaylight.yangtools.yang.binding.Augmentable<Interfaces>
Top level container for interfaces, including configuration and state data.This class represents the following YANG schema fragment defined in module openconfig-interfaces
container interfaces { list interface { key name; leaf name { type leafref { path ../oc-if:config/oc-if:name; } } container config { uses interface-phys-config; } container state { config false; uses interface-phys-config; uses interface-common-state; uses interface-counters-state; } uses interface-phys-holdtime-top; uses subinterfaces-top; } }
The schema path to identify an instance is openconfig-interfaces/interfaces-top/interfacesTo create instances of this class use
InterfacesBuilder
.- See Also:
InterfacesBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable List<Interface>
getInterface()
The list of named interfaces on the device.default Class<Interfaces>
implementedInterface()
default @NonNull List<Interface>
nonnullInterface()
-
-
-
Method Detail
-
implementedInterface
default Class<Interfaces> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInterface
@Nullable List<Interface> getInterface()
The list of named interfaces on the device.- Returns:
java.util.List
interface
, ornull
if not present
-
-