Search in sources :

Example 6 with LinuxVersion

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

the class GetRedhatVersionCommandTwo method parseOutput.

@Override
public void parseOutput() {
    String stdOut = getOutput().getStdout();
    results = new LinuxVersion(LinuxVersion.LinuxDistribution.REDHAT, stdOut);
}
Also used : LinuxVersion(com.iwave.ext.linux.model.LinuxVersion)

Example 7 with LinuxVersion

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

the class GetSuSEVersionCommand method parseOutput.

@Override
public void parseOutput() {
    String stdOut = getOutput().getStdout();
    results = new LinuxVersion(LinuxVersion.LinuxDistribution.SUSE, stdOut);
}
Also used : LinuxVersion(com.iwave.ext.linux.model.LinuxVersion)

Aggregations

LinuxVersion (com.iwave.ext.linux.model.LinuxVersion)7 CompatibilityException (com.emc.storageos.computesystemcontroller.exceptions.CompatibilityException)1 CommandException (com.iwave.ext.command.CommandException)1 LinuxSystemCLI (com.iwave.ext.linux.LinuxSystemCLI)1 GetLinuxVersionLSBReleaseCommand (com.iwave.ext.linux.command.version.GetLinuxVersionLSBReleaseCommand)1 GetRedhatVersionCommandOne (com.iwave.ext.linux.command.version.GetRedhatVersionCommandOne)1 GetRedhatVersionCommandThree (com.iwave.ext.linux.command.version.GetRedhatVersionCommandThree)1 GetRedhatVersionCommandTwo (com.iwave.ext.linux.command.version.GetRedhatVersionCommandTwo)1 GetSuSEVersionCommand (com.iwave.ext.linux.command.version.GetSuSEVersionCommand)1 LinuxVersionCommand (com.iwave.ext.linux.command.version.LinuxVersionCommand)1 ArrayList (java.util.ArrayList)1