v0.5.2 enlarge vim_tenant_id to allow extra fields. Allow extra datacenter configurat...
[osm/RO.git] / openmano_schemas.py
index e1fc2bd..ffbacd3 100644 (file)
@@ -275,10 +275,11 @@ datacenter_associate_schema={
         "datacenter":{
             "type":"object",
             "properties":{
-                "vim_tenant": id_schema,
-                "vim_tenant_name": nameshort_schema,
+                "vim_tenant": name_schema,
+                "vim_tenant_name": name_schema,
                 "vim_username": nameshort_schema,
                 "vim_password": nameshort_schema,
+                "config": {"type": "object"}
             },
 #            "required": ["vim_tenant"],
             "additionalProperties": True