use of com.emc.storageos.isilon.restapi.IsilonApiFactory in project coprhd-controller by CoprHD.
the class IsilonSimulatorTest method setUp.
@Before
public void setUp() throws Exception {
// start up simulator server
// Main.main(new String[]{ "/" + getClass().getResource("/simulator-config.xml").getPath() } );
_isi = new IsilonFileStorageDevice();
IsilonApiFactory factory = new IsilonApiFactory();
factory.init();
_isi.setIsilonApiFactory(factory);
// storage device object for tests to use
_device = new StorageSystem();
_device.setSystemType("isilon");
_device.setIpAddress(ip);
_device.setPortNumber(Integer.parseInt(portNumber));
_device.setUsername(userName);
_device.setPassword(password);
_pool = new StoragePool();
}
use of com.emc.storageos.isilon.restapi.IsilonApiFactory in project coprhd-controller by CoprHD.
the class IsilonFileStorageDeviceTest method setUp.
@Before
public void setUp() throws Exception {
_isi = new IsilonFileStorageDevice();
IsilonApiFactory factory = new IsilonApiFactory();
factory.init();
_isi.setIsilonApiFactory(factory);
// storage device object for tests to use
_device = new StorageSystem();
_device.setSystemType("isilon");
_device.setIpAddress(ip);
_device.setPortNumber(Integer.parseInt(portNumber));
_device.setUsername(userName);
_device.setPassword(password);
_pool = new StoragePool();
}
use of com.emc.storageos.isilon.restapi.IsilonApiFactory in project coprhd-controller by CoprHD.
the class BiosCommandResultTest method setUp.
@Before
public void setUp() throws Exception {
_isi = new IsilonFileStorageDevice();
IsilonApiFactory factory = new IsilonApiFactory();
factory.init();
_isi.setIsilonApiFactory(factory);
_isi.setDbClient(new DummyDbClient() {
@Override
public List<URI> queryByConstraint(Constraint constraint) throws DatabaseException {
return new ArrayList<>();
}
});
// storage device object for tests to use
_device = new StorageSystem();
_device.setIpAddress(ip);
_device.setPortNumber(Integer.parseInt(portNumber));
_device.setUsername(userName);
_device.setPassword(password);
_pool = new StoragePool();
}
use of com.emc.storageos.isilon.restapi.IsilonApiFactory in project coprhd-controller by CoprHD.
the class IsilonReplicationTest method setUp.
public static void setUp() {
_isi = new IsilonFileStorageDevice();
IsilonApiFactory factory = new IsilonApiFactory();
factory.init();
_isi.setIsilonApiFactory(factory);
_device = new StorageSystem();
_device.setSystemType("isilon");
_device.setIpAddress(ip);
_device.setPortNumber(8080);
_device.setUsername(userName);
_device.setPassword(password);
}
Aggregations