use of org.onosproject.net.config.NetworkConfigRegistryAdapter in project onos by opennetworkinglab.
the class VplsConfigManagerTest method setup.
@Before
public void setup() {
vplsConfigManager = new VplsConfigManager();
vplsConfigManager.configService = new TestConfigService();
vplsConfigManager.coreService = new TestCoreService();
vplsConfigManager.interfaceService = new TestInterfaceService();
vplsConfigManager.registry = new NetworkConfigRegistryAdapter();
vplsConfigManager.vpls = new TestVpls();
vplsConfigManager.leadershipService = new TestLeadershipService();
vplsConfigManager.activate();
}
use of org.onosproject.net.config.NetworkConfigRegistryAdapter in project up4 by omec-project.
the class Up4DeviceManagerTest method setUp.
@Before
public void setUp() {
component = new Up4DeviceManager();
component.coreService = new CoreServiceAdapter();
component.flowRuleService = new FlowRuleServiceAdapter();
component.meterService = new MeterServiceAdapter();
component.deviceService = new DeviceServiceAdapter();
component.piPipeconfService = new PiPipeconfServiceAdapter();
component.netCfgService = new NetworkConfigRegistryAdapter();
component.componentConfigService = new ComponentConfigAdapter();
component.up4Store = TestDistributedUp4Store.build();
injectEventDispatcher(component, new TestEventDispatcher());
component.activate();
}
Aggregations