Search in sources :

Example 1 with IPAddressService

use of com.vmware.photon.controller.model.resources.IPAddressService in project photon-model by vmware.

the class IPAddressReleaseTaskServiceTest method startFactoryServices.

private static void startFactoryServices(BaseModelTest test) throws Throwable {
    PhotonModelTaskServices.startServices(test.getHost());
    MockAdapter.startFactories(test);
    test.getHost().startFactory(new IPAddressService());
}
Also used : IPAddressService(com.vmware.photon.controller.model.resources.IPAddressService)

Example 2 with IPAddressService

use of com.vmware.photon.controller.model.resources.IPAddressService in project photon-model by vmware.

the class IPAddressAllocationTaskServiceTest method startFactoryServices.

private static void startFactoryServices(BaseModelTest test) throws Throwable {
    PhotonModelTaskServices.startServices(test.getHost());
    MockAdapter.startFactories(test);
    test.getHost().startFactory(new SubnetRangeService());
    test.getHost().startFactory(new IPAddressService());
    test.getHost().startFactory(new IPAddressAllocationTaskService());
}
Also used : SubnetRangeService(com.vmware.photon.controller.model.resources.SubnetRangeService) IPAddressService(com.vmware.photon.controller.model.resources.IPAddressService)

Aggregations

IPAddressService (com.vmware.photon.controller.model.resources.IPAddressService)2 SubnetRangeService (com.vmware.photon.controller.model.resources.SubnetRangeService)1