public interface Network extends ChildOf<Networks>, Augmentable<Network>, Identifiable<NetworkKey>
This class represents the following YANG schema fragment defined in module ietf-network
list network { key network-id; leaf network-id { type network-id; } container network-types { } list supporting-network { key network-ref; leaf network-ref { type leafref { path /nw:networks/nw:network/nw:network-id; require-instance false; } } } list node { key node-id; leaf node-id { type node-id; } list supporting-node { key "network-ref node-ref"; leaf network-ref { type leafref { path ../../../nw:supporting-network/nw:network-ref; require-instance false; } } leaf node-ref { type leafref { path /nw:networks/nw:network/nw:node/nw:node-id; require-instance false; } } } } }The schema path to identify an instance is ietf-network/networks/network
To create instances of this class use NetworkBuilder
.
NetworkBuilder
,
NetworkKey
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
@Nullable NetworkId |
getNetworkId()
Identifies a network.
|
@Nullable NetworkTypes |
getNetworkTypes()
Serves as an augmentation target.The network type is indicated through
correspondingpresence containers augmented into this container.
|
@Nullable List<Node> |
getNode()
The inventory of nodes of this network.
|
@Nullable List<SupportingNetwork> |
getSupportingNetwork()
An underlay network, used to represent layered networktopologies.
|
NetworkKey |
key()
Returns an unique key for the object.
|
default @NonNull List<Node> |
nonnullNode() |
default @NonNull List<SupportingNetwork> |
nonnullSupportingNetwork() |
getImplementedInterface
augmentation
@Nullable NetworkId getNetworkId()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.network.rev180226.NetworkId
networkId
, or null
if not present@Nullable NetworkTypes getNetworkTypes()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.network.rev180226.networks.network.NetworkTypes
networkTypes
, or null
if not present@Nullable List<SupportingNetwork> getSupportingNetwork()
java.util.List
supportingNetwork
, or null
if not presentdefault @NonNull List<SupportingNetwork> nonnullSupportingNetwork()
java.util.List
supportingNetwork
, or an empty list if it is not present@Nullable List<Node> getNode()
java.util.List
node
, or null
if not presentdefault @NonNull List<Node> nonnullNode()
java.util.List
node
, or an empty list if it is not presentNetworkKey key()
Identifiable
key
in interface Identifiable<NetworkKey>
Copyright © 2019 OpenDaylight. All rights reserved.