From 054d3327c639e753d02d60707cf222d98dca05fe Mon Sep 17 00:00:00 2001 From: "Q.hongtao" <15662728521@163.com> Date: Tue, 29 Sep 2020 14:09:30 +0800 Subject: [PATCH] Add state-config for cetus datasource Implements: blueprint add-cetus-datasource Change-Id: I83ca7166e8cc2017b5ebdc059535ee4183adeb6b --- .../datasources_values/cetus.cluster.yaml | 26 +++++++++++++++++++ etc/vitrage/datasources_values/cetus.pod.yaml | 22 ++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 etc/vitrage/datasources_values/cetus.cluster.yaml create mode 100644 etc/vitrage/datasources_values/cetus.pod.yaml diff --git a/etc/vitrage/datasources_values/cetus.cluster.yaml b/etc/vitrage/datasources_values/cetus.cluster.yaml new file mode 100644 index 000000000..fdea29e6a --- /dev/null +++ b/etc/vitrage/datasources_values/cetus.cluster.yaml @@ -0,0 +1,26 @@ +category: RESOURCE +values: + - aggregated values: + priority: 40 + original values: + - name: INACTIVE + operational_value: ERROR + - aggregated values: + priority: 30 + original values: + - name: INITIALIZING + operational_value: TRANSIENT + - name: UPDATING + operational_value: TRANSIENT + - name: REMOVING + operational_value: TRANSIENT + - aggregated values: + priority: 20 + original values: + - name: PENDING + operational_value: SUBOPTIMAL + - aggregated values: + priority: 10 + original values: + - name: ACTIVE + operational_value: OK diff --git a/etc/vitrage/datasources_values/cetus.pod.yaml b/etc/vitrage/datasources_values/cetus.pod.yaml new file mode 100644 index 000000000..387b94e53 --- /dev/null +++ b/etc/vitrage/datasources_values/cetus.pod.yaml @@ -0,0 +1,22 @@ +category: RESOURCE +values: + - aggregated values: + priority: 40 + original values: + - name: CRASHING + operational_value: ERROR + - aggregated values: + priority: 30 + original values: + - name: WAITING + operational_value: TRANSIENT + - aggregated values: + priority: 20 + original values: + - name: PENDING + operational_value: SUBOPTIMAL + - aggregated values: + priority: 10 + original values: + - name: RUNNING + operational_value: OK