Explorar el Código

Add OS_TYPE_OTHER

Alessandro Pilotti hace 8 años
padre
commit
4d4d3873b8
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 0
      coriolis/constants.py
  2. 1 1
      coriolis/schemas/vm_instance_info_schema.json

+ 1 - 0
coriolis/constants.py

@@ -74,6 +74,7 @@ OS_TYPE_LINUX = "linux"
 OS_TYPE_OS_X = "osx"
 OS_TYPE_SOLARIS = "solaris"
 OS_TYPE_WINDOWS = "windows"
+OS_TYPE_OTHER = "other"
 
 DEFAULT_OS_TYPE = OS_TYPE_LINUX
 

+ 1 - 1
coriolis/schemas/vm_instance_info_schema.json

@@ -25,7 +25,7 @@
     "os_type": {
       "type": "string",
       "description": "The generic type of the operating system installed on the VM.",
-      "enum": ["bsd", "linux", "osx", "solaris", "windows"]
+      "enum": ["bsd", "linux", "osx", "solaris", "windows", "other"]
     },
     "firmware_type": {
       "type": "string",