Search in sources :

Example 16 with LinuxSystemCLI

use of com.iwave.ext.linux.LinuxSystemCLI in project coprhd-controller by CoprHD.

the class LinuxMountUtils method convertHost.

public static LinuxSystemCLI convertHost(Host host) {
    LinuxSystemCLI cli = new LinuxSystemCLI();
    cli.setHost(host.getHostName());
    cli.setPort(host.getPortNumber());
    cli.setUsername(host.getUsername());
    cli.setPassword(host.getPassword());
    cli.setHostId(host.getId());
    return cli;
}
Also used : LinuxSystemCLI(com.iwave.ext.linux.LinuxSystemCLI)

Aggregations

LinuxSystemCLI (com.iwave.ext.linux.LinuxSystemCLI)16 URI (java.net.URI)5 DeviceControllerException (com.emc.storageos.exceptions.DeviceControllerException)4 Initiator (com.emc.storageos.db.client.model.Initiator)3 ListVPlexPerpetualCSVFileNames (com.emc.storageos.volumecontroller.impl.plugins.metering.vplex.ListVPlexPerpetualCSVFileNames)3 CommandException (com.iwave.ext.command.CommandException)3 HashMap (java.util.HashMap)3 Map (java.util.Map)3 Test (org.junit.Test)3 CompatibilityException (com.emc.storageos.computesystemcontroller.exceptions.CompatibilityException)2 ComputeSystemControllerException (com.emc.storageos.computesystemcontroller.exceptions.ComputeSystemControllerException)2 BlockObject (com.emc.storageos.db.client.model.BlockObject)2 Host (com.emc.storageos.db.client.model.Host)2 ServiceCoded (com.emc.storageos.svcs.errorhandling.model.ServiceCoded)2 ReadAndParseVPlexPerpetualCSVFile (com.emc.storageos.volumecontroller.impl.plugins.metering.vplex.ReadAndParseVPlexPerpetualCSVFile)2 VPlexPerpetualCSVFileData (com.emc.storageos.volumecontroller.impl.plugins.metering.vplex.VPlexPerpetualCSVFileData)2 MultipathException (com.iwave.ext.linux.command.MultipathException)2 PowerPathException (com.iwave.ext.linux.command.powerpath.PowerPathException)2 IPInterface (com.iwave.ext.linux.model.IPInterface)2 JSchException (com.jcraft.jsch.JSchException)2