use of org.onosproject.odtn.utils.tapi.TapiTopologyContextHandler in project onos by opennetworkinglab.
the class DcsBasedTapiTopologyManager method initDcsTapiTopology.
/**
* Add Tapi TopologyContext and Topology to Dcs store.
*
* Assumed there is only one topology for ODTN Phase 1.0
*/
private void initDcsTapiTopology() {
TapiTopologyContextHandler topologyContextHandler = TapiTopologyContextHandler.create();
topologyContextHandler.add();
TapiTopologyHandler topologyHandler = TapiTopologyHandler.create();
topologyHandler.add();
topology = topologyHandler.getModelObject();
}
Aggregations