Search in sources :

Example 1 with Device

use of com.emc.vipr.model.sys.eventhandler.Device in project coprhd-controller by CoprHD.

the class BuildEsrsDevice method build.

/**
 * Build the Device object using the ViPR Controller license information.
 *
 * @return
 * @throws LocalRepositoryException
 * @throws Exception
 */
public Device build() throws Exception {
    Device device = new Device();
    LicenseInfoExt licenseInfo = _licenseManager.getLicenseInfoFromCoordinator(LicenseType.CONTROLLER);
    buildDevice(licenseInfo, device);
    return device;
}
Also used : LicenseInfoExt(com.emc.storageos.systemservices.impl.licensing.LicenseInfoExt) Device(com.emc.vipr.model.sys.eventhandler.Device)

Aggregations

LicenseInfoExt (com.emc.storageos.systemservices.impl.licensing.LicenseInfoExt)1 Device (com.emc.vipr.model.sys.eventhandler.Device)1