Interface Vertex
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Vertex
@Generated("mdsal-binding-generator") public interface Vertex extends org.opendaylight.yangtools.yang.binding.DataObject
Vertex (node) representation for the network topologyThis class represents the following YANG schema fragment defined in module graph
grouping vertex { leaf vertex-id { type uint64; } leaf name { type string; } leaf router-id { type inet:ip-address; } leaf vertex-type { type enumeration { enum standard { value 0; } enum abr { value 1; } enum asbr-in { value 2; } enum asbr-out { value 3; } enum pseudo { value 4; } } default standard; } container srgb { uses srgb; } leaf asn { type uint32; } }
The schema path to identify an instance is graph/vertex
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Vertex.VertexType
-
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 Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint32
getAsn()
Return asn, ornull
if it is not present.String
getName()
Return name, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
getRouterId()
Return routerId, ornull
if it is not present.Srgb
getSrgb()
Return srgb, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
getVertexId()
Return vertexId, ornull
if it is not present.Vertex.VertexType
getVertexType()
Return vertexType, ornull
if it is not present.Class<? extends Vertex>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends Vertex> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getVertexId
org.opendaylight.yangtools.yang.common.Uint64 getVertexId()
Return vertexId, ornull
if it is not present.Identifier of the Vertex
- Returns:
org.opendaylight.yangtools.yang.common.Uint64
vertexId, ornull
if it is not present.
-
getName
String getName()
Return name, ornull
if it is not present.Name of the Vertex when known
- Returns:
java.lang.String
name, ornull
if it is not present.
-
getRouterId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getRouterId()
Return routerId, ornull
if it is not present.Global unique IP Trafic Engineering Router ID
- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
routerId, ornull
if it is not present.
-
getVertexType
Vertex.VertexType getVertexType()
Return vertexType, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev191125.Vertex.VertexType
vertexType, ornull
if it is not present.
-
getSrgb
Srgb getSrgb()
Return srgb, ornull
if it is not present.Segment Routing Global Block
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.graph.rev191125.vertex.Srgb
srgb, ornull
if it is not present.
-
getAsn
org.opendaylight.yangtools.yang.common.Uint32 getAsn()
Return asn, ornull
if it is not present.AS Number
- Returns:
org.opendaylight.yangtools.yang.common.Uint32
asn, ornull
if it is not present.
-
-