Search in sources :

Example 1 with TapiTopologyContextHandler

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();
}
Also used : TapiTopologyHandler(org.onosproject.odtn.utils.tapi.TapiTopologyHandler) TapiTopologyContextHandler(org.onosproject.odtn.utils.tapi.TapiTopologyContextHandler)

Aggregations

TapiTopologyContextHandler (org.onosproject.odtn.utils.tapi.TapiTopologyContextHandler)1 TapiTopologyHandler (org.onosproject.odtn.utils.tapi.TapiTopologyHandler)1