throw new GfacException("Illegal Name value Pairs "
+ host.getHostEnv() + " at parsing " + nameVal,
FaultCode.InvaliedLocalArgumnet);
}
String name = nameVal.substring(0, index);
NameValuePairType nmPair = envMap.get(name);
if (nmPair == null) {
nmPair = hostConf.addNewHostEnv();
}
nmPair.setName(name);
nmPair.setValue(nameVal.substring(index + 1));
}
}
if(host.isSshEnabled()){
hostDesc.getHostConfiguration().setSshEnabled(true);
}