Add restriction to base-os role

Change-Id: I325b5da942c85f42b90f091eeaaa3d9728b52532
Closes-bug: #1619272
Signed-off-by: Illia Polliul <ipolliul@mirantis.com>
This commit is contained in:
Illia Polliul 2016-09-02 16:47:09 +03:00
parent 0b46ed3aa8
commit 87b9cc60ae
1 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,7 @@ contrail-db:
- compute
- ceph-osd
- cinder
- base-os
contrail-config:
name: Contrail - Config
@ -29,6 +30,7 @@ contrail-config:
- compute
- ceph-osd
- cinder
- base-os
contrail-analytics:
name: Contrail - Analytics
@ -45,6 +47,7 @@ contrail-analytics:
- compute
- ceph-osd
- cinder
- base-os
contrail-analytics-db:
name: Contrail - Analytics DB
@ -63,6 +66,7 @@ contrail-analytics-db:
- contrail-db
- contrail-config
- contrail-control
- base-os
restrictions:
- condition: "settings:contrail.dedicated_analytics_db.value == false"
message: "Dedicated Analytics DB should be enabled in plugin settings"
@ -82,6 +86,7 @@ contrail-control:
- compute
- ceph-osd
- cinder
- base-os
contrail-tsn:
name: Contrail - TSN node
@ -99,6 +104,7 @@ contrail-tsn:
- compute
- ceph-osd
- cinder
- base-os
restrictions:
- condition: "settings:contrail.enable_tor_agents.value == false"
message: "Contrail TSN should be enabled and configured in plugin settings"
@ -118,6 +124,7 @@ dpdk:
- contrail-analytics
- ceph-osd
- cinder
- base-os
restrictions:
- condition: "settings:contrail.contrail_global_dpdk.value == false"
action: hide