Search in sources :

Example 1 with ControlPlaneMonitorServiceAdaptor

use of org.onosproject.cpman.impl.message.ControlPlaneMonitorServiceAdaptor in project onos by opennetworkinglab.

the class ControlPlaneManagerTest method setUp.

/**
 * Sets up the services required by the CPMan application.
 */
@Before
public void setUp() {
    cpMan = new ControlPlaneManager();
    cpMan.coreService = new CoreServiceAdapter();
    cpMan.messageService = new ControlMessageServiceAdaptor();
    cpMan.monitorService = new ControlPlaneMonitorServiceAdaptor();
    cpMan.activate();
}
Also used : ControlPlaneMonitorServiceAdaptor(org.onosproject.cpman.impl.message.ControlPlaneMonitorServiceAdaptor) CoreServiceAdapter(org.onosproject.core.CoreServiceAdapter) ControlMessageServiceAdaptor(org.onosproject.cpman.impl.message.ControlMessageServiceAdaptor) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 CoreServiceAdapter (org.onosproject.core.CoreServiceAdapter)1 ControlMessageServiceAdaptor (org.onosproject.cpman.impl.message.ControlMessageServiceAdaptor)1 ControlPlaneMonitorServiceAdaptor (org.onosproject.cpman.impl.message.ControlPlaneMonitorServiceAdaptor)1