public class UscDtoUtils extends Object
Constructor and Description |
---|
UscDtoUtils() |
Modifier and Type | Method and Description |
---|---|
static List<Node> |
cloneNodeList(Topology topo)
clone node list form a topology
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Channel> |
getChannelIdentifier(String topologyId,
String ChannelId)
get the Channel identifier belongs to a particular topology
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Node> |
getNodeIdentifier(String topologyId,
String nodeId)
get the node identifier belongs to a particular topology
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Topology> |
getTopologyIdentifier(String topologyId)
get the topology identifier
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<UscTopology> |
getUscTopologyIdentifier()
get USC root topology identifier
|
static Topology |
mergeChannelList(Topology topoA,
Topology topoB)
merge the Channel list of two topology, the first topology will contains the
merging result
|
static Topology |
mergeNodeList(Topology topoA,
Topology topoB)
merge the node list of two topology, the first topology will contains the
merging result
|
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<UscTopology> getUscTopologyIdentifier()
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Topology> getTopologyIdentifier(String topologyId)
topologyId
- topology idpublic static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Channel> getChannelIdentifier(String topologyId, String ChannelId)
topologyId
- topology idChannelId
- Channel idpublic static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Node> getNodeIdentifier(String topologyId, String nodeId)
topologyId
- topology idnodeId
- node idpublic static Topology mergeNodeList(Topology topoA, Topology topoB)
topoA
- the A topologytopoB
- the B topologypublic static List<Node> cloneNodeList(Topology topo)
topo
- topologyCopyright © 2018 OpenDaylight. All rights reserved.