[fuel] Allow MaaS timeout config via IDF 67/51467/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 1 Feb 2018 16:27:19 +0000 (17:27 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 1 Feb 2018 16:58:25 +0000 (17:58 +0100)
MaaS timeouts should be configurable on per-POD basis, since nodes
in some labs take longer to comission/deploy than our default values.

IDF SCHEMA:
- add new properties to Fuel IDF section;

Change-Id: Ife5ff85faeae683a8c1781cae8b29f09c1f07b82
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
config/pdf/idf-pod1.schema.yaml
labs/arm/idf-pod5.yaml
labs/arm/idf-pod6.yaml
labs/arm/idf-pod7.yaml

index ad680da..0705fcc 100644 (file)
@@ -44,6 +44,15 @@ definitions:
               additionalProperties: false
           required: ['bridges']
           additionalProperties: false
+        maas:
+          type: 'object'
+          properties:
+            timeout_comissioning:
+              type: 'number'
+            timeout_deploying:
+              type: 'number'
+          required: ['timeout_comissioning', 'timeout_deploying']
+          additionalProperties: false
         network:
           type: 'object'
           properties:
index 4e33135..2d754e5 100644 (file)
@@ -53,6 +53,10 @@ idf:
         mgmt: 'mgmt7_br0'
         private: ~
         public: 'public7_br0'
+    maas:
+      # MaaS timeouts (in minutes)
+      timeout_comissioning: 10
+      timeout_deploying: 15
     network:
       node:
         # Ordered-list, index should be in sync with node index in PDF
index 9246c4f..80e49d1 100644 (file)
@@ -50,6 +50,10 @@ idf:
         mgmt: 'mgmt14_br0'
         private: ~
         public: 'public14_br0'
+    maas:
+      # MaaS timeouts (in minutes)
+      timeout_comissioning: 10
+      timeout_deploying: 15
     network:
       node:
         # Ordered-list, index should be in sync with node index in PDF
index 2c2a946..175437f 100644 (file)
@@ -53,6 +53,10 @@ idf:
         mgmt: 'mgmt15_br0'
         private: ~
         public: 'public15_br0'
+    maas:
+      # MaaS timeouts (in minutes)
+      timeout_comissioning: 10
+      timeout_deploying: 15
     network:
       node:
         # Ordered-list, index should be in sync with node index in PDF