Modifier and Type | Method and Description |
---|---|
Node |
UscTopologyService.getLocalController()
get local controller node
|
Node |
UscTopologyService.getNode(String nodeId)
get node through the id of node
|
Node |
UscTopologyService.removeNode(String nodeId)
remove the node specified by the node id, when the refer number of the
node is more than one,then only minus one refer number.
|
Modifier and Type | Method and Description |
---|---|
void |
UscTopologyService.addNode(Node node)
add a node to local topology, when the node exists in node list of
topology, then only update the refer number of the node
|
boolean |
UscTopologyService.sameNodeId(String id,
Node node)
check the node has same id with the specified id
|
Modifier and Type | Method and Description |
---|---|
static Node |
UscTopologyFactory.createNode(String id,
String type)
Builds a node for the provided id.
|
Modifier and Type | Method and Description |
---|---|
static Channel |
UscTopologyFactory.createChannel(Node source,
Node destination,
String id,
String type,
boolean isCallHome)
Builds a Channel for the provided source, destination, and id.
|
static Channel |
UscTopologyFactory.createChannel(Node source,
Node destination,
String id,
String type,
boolean isCallHome,
long bytesIn,
long bytesOut,
List<ChannelAlarm> alarms,
List<Session> sessions)
Builds a Channel for the provided source, destination, and id.
|
Modifier and Type | Method and Description |
---|---|
static Topology |
UscTopologyFactory.createTopology(String id,
List<Node> nodes,
List<Channel> Channels)
Builds a topology for the provided id, nodes and Channels.
|
Modifier and Type | Method and Description |
---|---|
static List<Node> |
UscDtoUtils.cloneNodeList(Topology topo)
clone node list form a topology
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Node> |
UscDtoUtils.getNodeIdentifier(String topologyId,
String nodeId)
get the node identifier belongs to a particular topology
|
Modifier and Type | Method and Description |
---|---|
List<Node> |
TopologyAttributes.getNode()
The list of nodes defined for the topology.
|
Modifier and Type | Method and Description |
---|---|
<E extends org.opendaylight.yangtools.yang.binding.Augmentation<Node>> |
NodeBuilder.getAugmentation(Class<E> augmentationType) |
Modifier and Type | Method and Description |
---|---|
Node |
NodeBuilder.build() |
Modifier and Type | Method and Description |
---|---|
NodeBuilder |
NodeBuilder.addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Node>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<Node> augmentationValue) |
NodeBuilder |
NodeBuilder.addAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Node>> augmentationType,
org.opendaylight.yangtools.yang.binding.Augmentation<Node> augmentationValue) |
NodeBuilder |
NodeBuilder.removeAugmentation(Class<? extends org.opendaylight.yangtools.yang.binding.Augmentation<Node>> augmentationType) |
Constructor and Description |
---|
NodeBuilder(Node base) |
Modifier and Type | Method and Description |
---|---|
List<Node> |
TopologyBuilder.getNode() |
Modifier and Type | Method and Description |
---|---|
TopologyBuilder |
TopologyBuilder.setNode(List<Node> value) |
Modifier and Type | Method and Description |
---|---|
List<Node> |
TopologyBuilder.getNode() |
Modifier and Type | Method and Description |
---|---|
TopologyBuilder |
TopologyBuilder.setNode(List<Node> value) |
Copyright © 2019 OpenDaylight. All rights reserved.