Просмотр исходного кода

Move 'public_ip_address' out of the 'devices' list in the VM info schema.

Nashwan Azhari 6 лет назад
Родитель
Сommit
fe5080bdc1
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      coriolis/schemas/vm_export_info_schema.json

+ 4 - 4
coriolis/schemas/vm_export_info_schema.json

@@ -65,6 +65,10 @@
       "type": "string",
       "description": "Name of the exported VM's flavor."
     },
+    "public_ip_address": {
+      "type": "string",
+      "description": "Public IP address of the VM. If there are multiple public IP associations, only the main/preferred one should be returned. Should not be set if no such public IP association exists."
+    },
     "devices": {
       "type": "object",
       "description": "Contains information about all of the VM's devices.",
@@ -172,10 +176,6 @@
             ]
           }
         },
-        "public_ip_address": {
-          "type": "string",
-          "description": "Public IP address of the VM. If there are multiple public IP associations, only the main/preferred one should be returned. Should not be set if no such public IP association exists."
-        },
         "serial_ports": {
           "type": "array",
           "description": "List of additional serial ports attached to the VM.",