Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev191125.graph.topology
Interface Graph
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Graph>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<GraphTopology>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<GraphKey>
public interface Graph extends org.opendaylight.yangtools.yang.binding.ChildOf<GraphTopology>, org.opendaylight.yangtools.yang.binding.Augmentable<Graph>, org.opendaylight.yangtools.yang.binding.Identifiable<GraphKey>
Graph representation of the Network TopologyThis class represents the following YANG schema fragment defined in module graph
list graph { key name; leaf name { type string; } leaf domain-scope { type enumeration { enum intra-domain { value 1; } enum inter-domain { value 2; } } default intra-domain; } leaf asn { type uint32; } list vertex { key vertex-id; uses vertex; } list edge { key edge-id; uses edge; } list prefix { key prefix; uses prefix; } }
The schema path to identify an instance is graph/graph-topology/graphTo create instances of this class use
GraphBuilder
.- See Also:
GraphBuilder
,GraphKey
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Graph.DomainScope
-
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 org.opendaylight.yangtools.yang.common.Uint32
getAsn()
AS Number@Nullable Graph.DomainScope
getDomainScope()
Network domain scope: intra or inter domain@Nullable List<Edge>
getEdge()
The list of Edges defined for the Graph.@Nullable String
getName()
@Nullable List<Prefix>
getPrefix()
The list of prefixes for the Graph.@Nullable List<Vertex>
getVertex()
The list of Vertices defined for the Graph.default Class<Graph>
implementedInterface()
GraphKey
key()
default @NonNull List<Edge>
nonnullEdge()
default @NonNull List<Prefix>
nonnullPrefix()
default @NonNull List<Vertex>
nonnullVertex()
-
-
-
Method Detail
-
implementedInterface
default Class<Graph> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getName
@Nullable String getName()
- Returns:
java.lang.String
name
, ornull
if not present
-
getDomainScope
@Nullable Graph.DomainScope getDomainScope()
Network domain scope: intra or inter domain- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev191125.graph.topology.Graph.DomainScope
domainScope
, ornull
if not present
-
getAsn
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getAsn()
AS Number- Returns:
org.opendaylight.yangtools.yang.common.Uint32
asn
, ornull
if not present
-
getVertex
@Nullable List<Vertex> getVertex()
The list of Vertices defined for the Graph.- Returns:
java.util.List
vertex
, ornull
if not present
-
nonnullVertex
default @NonNull List<Vertex> nonnullVertex()
- Returns:
java.util.List
vertex
, or an empty list if it is not present
-
getEdge
@Nullable List<Edge> getEdge()
The list of Edges defined for the Graph.- Returns:
java.util.List
edge
, ornull
if not present
-
nonnullEdge
default @NonNull List<Edge> nonnullEdge()
- Returns:
java.util.List
edge
, or an empty list if it is not present
-
getPrefix
@Nullable List<Prefix> getPrefix()
The list of prefixes for the Graph.- Returns:
java.util.List
prefix
, ornull
if not present
-
nonnullPrefix
default @NonNull List<Prefix> nonnullPrefix()
- Returns:
java.util.List
prefix
, or an empty list if it is not present
-
-