Interface SrNodeAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Node1
public interface SrNodeAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module network-topology-sr
grouping sr-node-attributes { list segments { leaf segment-id { type segment-id; } key segment-id; choice segment-specification { case adjacency-case { container adjacency { leaf adjacency { type nt:link-ref; } } } case prefix-case { container prefix { leaf prefix { type inet:ip-prefix; } leaf node-sid { type boolean; default false; } } } } } }
The schema path to identify an instance is network-topology-sr/sr-node-attributes
-
-
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<Segments>
getSegments()
Class<? extends SrNodeAttributes>
implementedInterface()
default @NonNull List<Segments>
nonnullSegments()
-
-
-
Method Detail
-
implementedInterface
Class<? extends SrNodeAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSegments
@Nullable List<Segments> getSegments()
- Returns:
java.util.List
segments
, ornull
if not present
-
-