Unify ssh_command. Allow remote ssh with paramiko and localhost with subprocess
Get real IP address from name for the vxlan remote_ip
Change-Id: I8363654e6402b81c2e7ac513ab32e6a5aa325b56
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/osm_openvim/vim_schema.py b/osm_openvim/vim_schema.py
index 4689a89..9440872 100644
--- a/osm_openvim/vim_schema.py
+++ b/osm_openvim/vim_schema.py
@@ -298,7 +298,9 @@
"properties": {
"core_id": integer0_schema,
"thread_id": integer0_schema,
- "status": {"type": "string", "enum": ["noteligible"]}
+ "status": {"type": "string", "enum": ["noteligible"]},
+ "instance_id": {"type": "string"}, # ignored, just for compatibility with host-list
+ "v_thread_id": {"type": "integer"} # ignored, just for compatibility with host-list
},
"additionalProperties": False,
"required": ["core_id", "thread_id"]
@@ -344,7 +346,7 @@
}
},
"additionalProperties": False,
- "required": ["name", "ip_name"]
+ "required": ["name", "user", "ip_name"]
}
host_edit_schema={