use of com.emc.storageos.volumecontroller.impl.plugins.SMICommunicationInterface in project coprhd-controller by CoprHD.
the class SMICommunicationInterfaceTest method testVNXBlockPlugin.
// Need to start coordinator & DB service, before running this test
@Test
public void testVNXBlockPlugin() {
try {
final SMICommunicationInterface _smiplugin = (SMICommunicationInterface) _context.getBean("block");
Map<String, Object> map1 = new ConcurrentHashMap<String, Object>();
Set<String> idset = new HashSet<String>();
idset.add("SYMMETRIX+000194900404+VOLUME+00000");
map1.put("000194900404-block-Volumes", idset);
_smiplugin.injectCache(map1);
_smiplugin.injectDBClient(new DbClientImpl());
_smiplugin.scan(createAccessProfile());
// sleeptest(_smiplugin);
} catch (Exception e) {
_LOGGER.error(e.getMessage(), e);
}
}
Aggregations