summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaspars Skels <kaspars.skels@gmail.com>2019-01-22 22:45:05 -0600
committerKaspars Skels <kaspars.skels@gmail.com>2019-01-22 22:47:30 -0600
commit58bcb4855b406f4559bad5f21c58e2d1101d78cb (patch)
tree6a3f0f827e925c8253b38212e393813f4a770c7c
parent55b0de164ec4132588849e4f13038e758010f36e (diff)
Align HardwareProfile schema to treasuremap
- Missing cpu_sets/hugepages options Change-Id: I1d905d40d01095f300e4836e41e2b668ca047b20
Notes
Notes (review): Code-Review+1: Georg Kunz <georg.kunz@ericsson.com> Code-Review+2: Aaron Sheffield <ajs@sheffieldfamily.net> Code-Review+1: Kaspars Skels <kaspars.skels@gmail.com> Code-Review+2: Roman Gorshunov <roman.gorshunov@att.com> Workflow+1: Roman Gorshunov <roman.gorshunov@att.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 23 Jan 2019 17:16:58 +0000 Reviewed-on: https://review.openstack.org/632610 Project: openstack/airship-in-a-bottle Branch: refs/heads/master
-rw-r--r--deployment_files/global/v1.0demo/schemas/drydock/HardwareProfile/v1.yaml14
-rw-r--r--deployment_files/global/v1.0dev/schemas/drydock/HardwareProfile/v1.yaml14
2 files changed, 26 insertions, 2 deletions
diff --git a/deployment_files/global/v1.0demo/schemas/drydock/HardwareProfile/v1.yaml b/deployment_files/global/v1.0demo/schemas/drydock/HardwareProfile/v1.yaml
index 9fd110a..e51e274 100644
--- a/deployment_files/global/v1.0demo/schemas/drydock/HardwareProfile/v1.yaml
+++ b/deployment_files/global/v1.0demo/schemas/drydock/HardwareProfile/v1.yaml
@@ -7,7 +7,6 @@ metadata:
7 application: drydock 7 application: drydock
8data: 8data:
9 $schema: 'http://json-schema.org/schema#' 9 $schema: 'http://json-schema.org/schema#'
10 id: 'http://att.com/att-comdev/drydock/hardwareProfile.yaml'
11 type: 'object' 10 type: 'object'
12 properties: 11 properties:
13 vendor: 12 vendor:
@@ -34,4 +33,17 @@ data:
34 device_aliases: 33 device_aliases:
35 type: 'object' 34 type: 'object'
36 additionalProperties: true 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 additionalProperties: false 49 additionalProperties: false
diff --git a/deployment_files/global/v1.0dev/schemas/drydock/HardwareProfile/v1.yaml b/deployment_files/global/v1.0dev/schemas/drydock/HardwareProfile/v1.yaml
index 9fd110a..e51e274 100644
--- a/deployment_files/global/v1.0dev/schemas/drydock/HardwareProfile/v1.yaml
+++ b/deployment_files/global/v1.0dev/schemas/drydock/HardwareProfile/v1.yaml
@@ -7,7 +7,6 @@ metadata:
7 application: drydock 7 application: drydock
8data: 8data:
9 $schema: 'http://json-schema.org/schema#' 9 $schema: 'http://json-schema.org/schema#'
10 id: 'http://att.com/att-comdev/drydock/hardwareProfile.yaml'
11 type: 'object' 10 type: 'object'
12 properties: 11 properties:
13 vendor: 12 vendor:
@@ -34,4 +33,17 @@ data:
34 device_aliases: 33 device_aliases:
35 type: 'object' 34 type: 'object'
36 additionalProperties: true 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 additionalProperties: false 49 additionalProperties: false