Interface InterfacesTop
- 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
- All Known Subinterfaces:
OpenconfigInterfacesData
@Generated("mdsal-binding-generator")
public interface InterfacesTop
extends org.opendaylight.yangtools.binding.Grouping
Top-level grouping for interface configuration and operational state data
This class represents the following YANG schema fragment defined in module openconfig-interfaces
grouping interfaces-top { 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; } } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn interfaces, ornull
if it is not present.@NonNull Interfaces
Return interfaces, or an empty instance if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getInterfaces
Interfaces getInterfaces()Return interfaces, ornull
if it is not present.Top level container for interfaces, including configuration and state data.
- Returns:
Interfaces
interfaces, ornull
if it is not present.
-
nonnullInterfaces
@NonNull Interfaces nonnullInterfaces()Return interfaces, or an empty instance if it is not present.- Returns:
Interfaces
interfaces, or an empty instance if it is not present.
-