|
@@ -0,0 +1,68 @@
|
|
|
|
|
+{
|
|
|
|
|
+ "$schema": "http://cloudbase.it/coriolis/schemas/import_info#",
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "instance_deployment_info": {
|
|
|
|
|
+ "type": "object"
|
|
|
|
|
+ },
|
|
|
|
|
+ "osmorphing_connection_info": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "ip": {
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "port": {
|
|
|
|
|
+ "type": "integer"
|
|
|
|
|
+ },
|
|
|
|
|
+ "username": {
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "password": {
|
|
|
|
|
+ "$ref": "#/definitions/nullableString"
|
|
|
|
|
+ },
|
|
|
|
|
+ "pkey": {
|
|
|
|
|
+ "$ref": "#/definitions/nullableString"
|
|
|
|
|
+ },
|
|
|
|
|
+ "cert_pem": {
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ },
|
|
|
|
|
+ "cert_key_pem": {
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["ip", "port"]
|
|
|
|
|
+ },
|
|
|
|
|
+ "osmorphing_info": {
|
|
|
|
|
+ "type": "object",
|
|
|
|
|
+ "properties": {
|
|
|
|
|
+ "os_type": {
|
|
|
|
|
+ "enum": ["bsd", "linux", "osx", "solaris", "windows"]
|
|
|
|
|
+ },
|
|
|
|
|
+ "nics_info": {
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "type": "object"
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "ignore_devices": {
|
|
|
|
|
+ "type": "array",
|
|
|
|
|
+ "items": {
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["os_type"],
|
|
|
|
|
+ "additionalProperties": true
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ "required": ["instance_deployment_info", "osmorphing_connection_info", "osmorphing_info"],
|
|
|
|
|
+ "definitions": {
|
|
|
|
|
+ "nullableString": {
|
|
|
|
|
+ "oneOf": [{
|
|
|
|
|
+ "type": "string"
|
|
|
|
|
+ }, {
|
|
|
|
|
+ "type": "null"
|
|
|
|
|
+ }]
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|