Search in sources :

Example 6 with AixSystem

use of com.emc.aix.AixSystem in project coprhd-controller by CoprHD.

the class AixHostDiscoveryAdapter method getVersion.

protected AixVersion getVersion(Host host) {
    AixSystem cli = getCli(host);
    AixVersion version = cli.getVersion();
    if (version == null) {
        error("Could not determine version of aix host %s", host.getLabel());
        return new AixVersion("");
    } else {
        return version;
    }
}
Also used : AixSystem(com.emc.aix.AixSystem) AixVersion(com.emc.aix.model.AixVersion)

Aggregations

AixSystem (com.emc.aix.AixSystem)6 CommandException (com.iwave.ext.command.CommandException)2 URI (java.net.URI)2 AixVersion (com.emc.aix.model.AixVersion)1 HpuxSystem (com.emc.hpux.HpuxSystem)1 ComputeSystemControllerException (com.emc.storageos.computesystemcontroller.exceptions.ComputeSystemControllerException)1 AuthnProvider (com.emc.storageos.db.client.model.AuthnProvider)1 Initiator (com.emc.storageos.db.client.model.Initiator)1 IpInterface (com.emc.storageos.db.client.model.IpInterface)1 Vcenter (com.emc.storageos.db.client.model.Vcenter)1 VcenterDataCenter (com.emc.storageos.db.client.model.VcenterDataCenter)1 DeviceControllerException (com.emc.storageos.exceptions.DeviceControllerException)1 LinuxSystemCLI (com.iwave.ext.linux.LinuxSystemCLI)1 HBAInfo (com.iwave.ext.linux.model.HBAInfo)1 IPInterface (com.iwave.ext.linux.model.IPInterface)1 HostStorageAPI (com.iwave.ext.vmware.HostStorageAPI)1 VCenterAPI (com.iwave.ext.vmware.VCenterAPI)1 JSchException (com.jcraft.jsch.JSchException)1 HostSystem (com.vmware.vim25.mo.HostSystem)1 ArrayList (java.util.ArrayList)1