Interface Vertex
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,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 topology
This 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:ipv4-address; } leaf router-id6 { type inet:ipv6-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; } }
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
This class represents the following YANG schema fragment defined in module graph -
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint32
getAsn()
Return asn, ornull
if it is not present.getName()
Return name, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address
Return routerId, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address
Return routerId6, ornull
if it is not present.getSrgb()
Return srgb, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint64
Return vertexId, ornull
if it is not present.Return vertexType, ornull
if it is not present.@NonNull Srgb
Return srgb, or an empty instance if it is not present.default @NonNull org.opendaylight.yangtools.yang.common.Uint32
Return asn, guaranteed to be non-null.default @NonNull String
Return name, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address
Return routerId, guaranteed to be non-null.default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address
Return routerId6, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint64
Return vertexId, guaranteed to be non-null.default @NonNull Vertex.VertexType
Return vertexType, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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:
Uint64
vertexId, ornull
if it is not present.
-
requireVertexId
default @NonNull org.opendaylight.yangtools.yang.common.Uint64 requireVertexId()Return vertexId, guaranteed to be non-null.Identifier of the Vertex
- Returns:
Uint64
vertexId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if vertexId is not present
-
getName
String getName()Return name, ornull
if it is not present.Name of the Vertex when known
- Returns:
String
name, ornull
if it is not present.
-
requireName
Return name, guaranteed to be non-null.Name of the Vertex when known
- Returns:
String
name, guaranteed to be non-null.- Throws:
NoSuchElementException
- if name is not present
-
getRouterId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address getRouterId()Return routerId, ornull
if it is not present.Global unique IPv4 Trafic Engineering Router ID
- Returns:
Ipv4Address
routerId, ornull
if it is not present.
-
requireRouterId
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Address requireRouterId()Return routerId, guaranteed to be non-null.Global unique IPv4 Trafic Engineering Router ID
- Returns:
Ipv4Address
routerId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if routerId is not present
-
getRouterId6
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address getRouterId6()Return routerId6, ornull
if it is not present.Global unique IPv6 Trafic Engineering Router ID
- Returns:
Ipv6Address
routerId6, ornull
if it is not present.
-
requireRouterId6
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Address requireRouterId6()Return routerId6, guaranteed to be non-null.Global unique IPv6 Trafic Engineering Router ID
- Returns:
Ipv6Address
routerId6, guaranteed to be non-null.- Throws:
NoSuchElementException
- if routerId6 is not present
-
getVertexType
Vertex.VertexType getVertexType()Return vertexType, ornull
if it is not present.- Returns:
VertexType
vertexType, ornull
if it is not present.
-
requireVertexType
Return vertexType, guaranteed to be non-null.- Returns:
VertexType
vertexType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if vertexType is not present
-
getSrgb
Srgb getSrgb()Return srgb, ornull
if it is not present.Segment Routing Global Block
- Returns:
Srgb
srgb, ornull
if it is not present.
-
nonnullSrgb
@NonNull Srgb nonnullSrgb()Return srgb, or an empty instance if it is not present.- Returns:
Srgb
srgb, or an empty instance if it is not present.
-
getAsn
org.opendaylight.yangtools.yang.common.Uint32 getAsn()Return asn, ornull
if it is not present.AS Number
- Returns:
Uint32
asn, ornull
if it is not present.
-
requireAsn
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireAsn()Return asn, guaranteed to be non-null.AS Number
- Returns:
Uint32
asn, guaranteed to be non-null.- Throws:
NoSuchElementException
- if asn is not present
-