if (type != null)
writeableNode.setType(type);
if (sshport != null || sshnodehost != null ||sshuser != null || sshkeyfile != null){
SshConnector sshC = writeableNode.getSshConnector();
if (sshC == null) {
sshC =writeableNode.createChild(SshConnector.class);
}else
sshC = t.enroll(sshC);
if (sshport != null)
sshC.setSshPort(sshport);