Browse Source

Align HardwareProfile schema to treasuremap

 - Missing cpu_sets/hugepages options

Change-Id: I1d905d40d01095f300e4836e41e2b668ca047b20
Kaspars Skels 3 months ago
parent
commit
58bcb4855b

+ 13
- 1
deployment_files/global/v1.0demo/schemas/drydock/HardwareProfile/v1.yaml View File

@@ -7,7 +7,6 @@ metadata:
7 7
     application: drydock
8 8
 data:
9 9
   $schema: 'http://json-schema.org/schema#'
10
-  id: 'http://att.com/att-comdev/drydock/hardwareProfile.yaml'
11 10
   type: 'object'
12 11
   properties:
13 12
     vendor:
@@ -34,4 +33,17 @@ data:
34 33
     device_aliases:
35 34
       type: 'object'
36 35
       additionalProperties: true
36
+    cpu_sets:
37
+      type: 'object'
38
+      additionalProperties:
39
+        type: 'string'
40
+    hugepages:
41
+      type: 'object'
42
+      additionalProperties:
43
+        type: 'object'
44
+        propertes:
45
+          size:
46
+            type: 'string'
47
+          count:
48
+            type: 'number'
37 49
   additionalProperties: false

+ 13
- 1
deployment_files/global/v1.0dev/schemas/drydock/HardwareProfile/v1.yaml View File

@@ -7,7 +7,6 @@ metadata:
7 7
     application: drydock
8 8
 data:
9 9
   $schema: 'http://json-schema.org/schema#'
10
-  id: 'http://att.com/att-comdev/drydock/hardwareProfile.yaml'
11 10
   type: 'object'
12 11
   properties:
13 12
     vendor:
@@ -34,4 +33,17 @@ data:
34 33
     device_aliases:
35 34
       type: 'object'
36 35
       additionalProperties: true
36
+    cpu_sets:
37
+      type: 'object'
38
+      additionalProperties:
39
+        type: 'string'
40
+    hugepages:
41
+      type: 'object'
42
+      additionalProperties:
43
+        type: 'object'
44
+        propertes:
45
+          size:
46
+            type: 'string'
47
+          count:
48
+            type: 'number'
37 49
   additionalProperties: false

Loading…
Cancel
Save