use of org.onosproject.store.config.impl.DistributedNetworkConfigStore in project onos by opennetworkinglab.
the class NetworkConfigManagerTest method setUp.
@Before
public void setUp() throws Exception {
configStore = new DistributedNetworkConfigStore();
TestUtils.setField(configStore, "storageService", new TestStorageService());
configStore.activate();
manager = new NetworkConfigManager();
manager.store = configStore;
NetTestTools.injectEventDispatcher(manager, new EventDeliveryServiceAdapter());
manager.clusterService = clusterService;
manager.activate();
registry = manager;
configService = manager;
}
Aggregations