aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/etc/scriptdata
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/resources/etc/scriptdata')
-rw-r--r--src/main/resources/etc/scriptdata/addmanualdata/README17
-rw-r--r--src/main/resources/etc/scriptdata/addmanualdata/tenant_isolation/README1
-rw-r--r--src/main/resources/etc/scriptdata/tenant_isolation/inputFilters.json104
-rw-r--r--src/main/resources/etc/scriptdata/tenant_isolation/inputFiltersAllzones.json78
-rw-r--r--src/main/resources/etc/scriptdata/tenant_isolation/inputFilters_E2E.json78
-rw-r--r--src/main/resources/etc/scriptdata/tenant_isolation/inputFilters_IST.json78
-rw-r--r--src/main/resources/etc/scriptdata/tenant_isolation/inputFilters_PROD.json78
-rw-r--r--src/main/resources/etc/scriptdata/tenant_isolation/nodes.json26
-rw-r--r--src/main/resources/etc/scriptdata/tenant_isolation/nodesAZCloud.json22
-rw-r--r--src/main/resources/etc/scriptdata/tenant_isolation/nodesIncremental.json10
-rw-r--r--src/main/resources/etc/scriptdata/tenant_isolation/nodesNoAZ.json14
11 files changed, 506 insertions, 0 deletions
diff --git a/src/main/resources/etc/scriptdata/addmanualdata/README b/src/main/resources/etc/scriptdata/addmanualdata/README
new file mode 100644
index 0000000..662f35b
--- /dev/null
+++ b/src/main/resources/etc/scriptdata/addmanualdata/README
@@ -0,0 +1,17 @@
+to add manual data, two files will be populated in the release directory under this folder.
+If the release directory does not exist, create it.
+
+The addManualData.sh script requires the release to be passed
+as a parameter. It finds and applies manual data changes under
+the release folder matching the parameter.
+
+This script is expected to be run for each installation. The script uses
+the PutTool, and flags the put to ignore 412 errors produced
+when the resource already exists.
+
+100-<file>.txt will contain the resource to be put.
+100-<file>.json will be the json file passed to the PutTool.
+
+
+bundleconfig/etc/scriptdata/addmanualdata/1610/<file>.txt
+bundleconfig/etc/scriptdata/addmanualdata/1610/<file>.json
diff --git a/src/main/resources/etc/scriptdata/addmanualdata/tenant_isolation/README b/src/main/resources/etc/scriptdata/addmanualdata/tenant_isolation/README
new file mode 100644
index 0000000..16510a0
--- /dev/null
+++ b/src/main/resources/etc/scriptdata/addmanualdata/tenant_isolation/README
@@ -0,0 +1 @@
+The tenant_isolation directory is used to store the payload files created by the dynamic payload generator.
diff --git a/src/main/resources/etc/scriptdata/tenant_isolation/inputFilters.json b/src/main/resources/etc/scriptdata/tenant_isolation/inputFilters.json
new file mode 100644
index 0000000..07ee9c4
--- /dev/null
+++ b/src/main/resources/etc/scriptdata/tenant_isolation/inputFilters.json
@@ -0,0 +1,104 @@
+{
+ "cloud-region" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "2.5|3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "dyh1b|DHY1A|mtn23a|mtn23b|mdt25b|mtn6|au7tx"
+ }
+ ]
+ },
+ "complex" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "2.5|3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "dyh1b|DHY1A|mtn23a|mtn23b|mdt25b|mtn6|au7tx"
+ }
+ ]
+ },
+ "availability-zone" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "2.5|3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "dyh1b|DHY1A|mtn23a|mtn23b|mdt25b|mtn6|au7tx"
+ }
+ ]
+ },
+ "pserver" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "2.5|3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "dyh1b|DHY1A|mtn23a|mtn23b|mdt25b|mtn6|au7tx"
+ }
+ ]
+ },
+ "zone" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "2.5|3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "dyh1b|DHY1A|mtn23a|mtn23b|mdt25b|mtn6|au7tx"
+ }
+ ]
+ },
+ "tenant" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "2.5|3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "dyh1b|DHY1A|mtn23a|mtn23b|mdt25b|mtn6|au7tx"
+ }
+ ]
+ }
+} \ No newline at end of file
diff --git a/src/main/resources/etc/scriptdata/tenant_isolation/inputFiltersAllzones.json b/src/main/resources/etc/scriptdata/tenant_isolation/inputFiltersAllzones.json
new file mode 100644
index 0000000..026759d
--- /dev/null
+++ b/src/main/resources/etc/scriptdata/tenant_isolation/inputFiltersAllzones.json
@@ -0,0 +1,78 @@
+{
+ "cloud-region" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "2.5|3.0"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "m.*"
+ }
+ ]
+ },
+ "complex" : {
+ "filtered-node-type": "complex",
+ "filters": []
+ },
+ "availability-zone" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "2.5|3.0"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "m.*"
+ }
+ ]
+ },
+ "pserver" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "2.5|3.0"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "m.*"
+ }
+ ]
+ },
+ "zone" : {
+ "filtered-node-type": "zone",
+ "filters": []
+ },
+ "tenant" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "2.5|3.0"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "m.*"
+ }
+ ]
+ }
+}
diff --git a/src/main/resources/etc/scriptdata/tenant_isolation/inputFilters_E2E.json b/src/main/resources/etc/scriptdata/tenant_isolation/inputFilters_E2E.json
new file mode 100644
index 0000000..24ee80d
--- /dev/null
+++ b/src/main/resources/etc/scriptdata/tenant_isolation/inputFilters_E2E.json
@@ -0,0 +1,78 @@
+{
+ "cloud-region" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "RDM3|RDM5a|RDM5b|RDM6a|RDM6b|DPA2a|DPA2b"
+ }
+ ]
+ },
+ "complex" : {
+ "filtered-node-type": "complex",
+ "filters": []
+ },
+ "availability-zone" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "RDM3|RDM5a|RDM5b|RDM6a|RDM6b|DPA2a|DPA2b"
+ }
+ ]
+ },
+ "pserver" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "RDM3|RDM5a|RDM5b|RDM6a|RDM6b|DPA2a|DPA2b"
+ }
+ ]
+ },
+ "zone" : {
+ "filtered-node-type": "zone",
+ "filters": []
+ },
+ "tenant" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "RDM3|RDM5a|RDM5b|RDM6a|RDM6b|DPA2a|DPA2b"
+ }
+ ]
+ }
+}
diff --git a/src/main/resources/etc/scriptdata/tenant_isolation/inputFilters_IST.json b/src/main/resources/etc/scriptdata/tenant_isolation/inputFilters_IST.json
new file mode 100644
index 0000000..8ebbf6c
--- /dev/null
+++ b/src/main/resources/etc/scriptdata/tenant_isolation/inputFilters_IST.json
@@ -0,0 +1,78 @@
+{
+ "cloud-region" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "dyh1b|DHY1A|mtn23a|mtn23b|mdt25b|mtn6|au7tx"
+ }
+ ]
+ },
+ "complex" : {
+ "filtered-node-type": "complex",
+ "filters": []
+ },
+ "availability-zone" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "dyh1b|DHY1A|mtn23a|mtn23b|mdt25b|mtn6|au7tx"
+ }
+ ]
+ },
+ "pserver" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "dyh1b|DHY1A|mtn23a|mtn23b|mdt25b|mtn6|au7tx"
+ }
+ ]
+ },
+ "zone" : {
+ "filtered-node-type": "zone",
+ "filters": []
+ },
+ "tenant" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "dyh1b|DHY1A|mtn23a|mtn23b|mdt25b|mtn6|au7tx"
+ }
+ ]
+ }
+}
diff --git a/src/main/resources/etc/scriptdata/tenant_isolation/inputFilters_PROD.json b/src/main/resources/etc/scriptdata/tenant_isolation/inputFilters_PROD.json
new file mode 100644
index 0000000..24ee80d
--- /dev/null
+++ b/src/main/resources/etc/scriptdata/tenant_isolation/inputFilters_PROD.json
@@ -0,0 +1,78 @@
+{
+ "cloud-region" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "RDM3|RDM5a|RDM5b|RDM6a|RDM6b|DPA2a|DPA2b"
+ }
+ ]
+ },
+ "complex" : {
+ "filtered-node-type": "complex",
+ "filters": []
+ },
+ "availability-zone" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "RDM3|RDM5a|RDM5b|RDM6a|RDM6b|DPA2a|DPA2b"
+ }
+ ]
+ },
+ "pserver" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "RDM3|RDM5a|RDM5b|RDM6a|RDM6b|DPA2a|DPA2b"
+ }
+ ]
+ },
+ "zone" : {
+ "filtered-node-type": "zone",
+ "filters": []
+ },
+ "tenant" : {
+ "filtered-node-type": "cloud-region",
+ "filters": [
+ {
+ "property": "cloud-owner",
+ "regex": "att-aic"
+ },
+ {
+ "property": "cloud-region-version",
+ "regex": "3.0|aic3.0|3.6"
+ },
+ {
+ "property": "cloud-region-id",
+ "regex": "RDM3|RDM5a|RDM5b|RDM6a|RDM6b|DPA2a|DPA2b"
+ }
+ ]
+ }
+}
diff --git a/src/main/resources/etc/scriptdata/tenant_isolation/nodes.json b/src/main/resources/etc/scriptdata/tenant_isolation/nodes.json
new file mode 100644
index 0000000..1bfc62b
--- /dev/null
+++ b/src/main/resources/etc/scriptdata/tenant_isolation/nodes.json
@@ -0,0 +1,26 @@
+{
+ "cloud-region": {
+ "cousins" : ["complex","zone"],
+ "parents" : []
+ },
+ "availability-zone": {
+ "cousins" : ["complex"],
+ "parents":["cloud-region"]
+ },
+ "pserver" : {
+ "cousins" : ["zone", "complex", "availability-zone","cloud-region"],
+ "parents":[]
+ },
+ "complex" : {
+ "cousins":[],
+ "parents":[]
+ },
+ "tenant" : {
+ "cousins":[],
+ "parents":["cloud-region"]
+ },
+ "zone" : {
+ "cousins":["complex"],
+ "parents":[]
+ }
+}
diff --git a/src/main/resources/etc/scriptdata/tenant_isolation/nodesAZCloud.json b/src/main/resources/etc/scriptdata/tenant_isolation/nodesAZCloud.json
new file mode 100644
index 0000000..b955757
--- /dev/null
+++ b/src/main/resources/etc/scriptdata/tenant_isolation/nodesAZCloud.json
@@ -0,0 +1,22 @@
+{
+ "cloud-region": {
+ "cousins" : [],
+ "parents":[]
+ },
+ "availability-zone": {
+ "cousins" : [],
+ "parents":["cloud-region"]
+ },
+ "pserver" : {
+ "cousins" : ["zone", "complex", "availability-zone"],
+ "parents":[]
+ },
+ "complex" : {
+ "cousins":[],
+ "parents":[]
+ },
+ "zone" : {
+ "cousins":["complex"],
+ "parents":[]
+ }
+}
diff --git a/src/main/resources/etc/scriptdata/tenant_isolation/nodesIncremental.json b/src/main/resources/etc/scriptdata/tenant_isolation/nodesIncremental.json
new file mode 100644
index 0000000..0816bc4
--- /dev/null
+++ b/src/main/resources/etc/scriptdata/tenant_isolation/nodesIncremental.json
@@ -0,0 +1,10 @@
+{
+ "pserver" : {
+ "cousins" : ["zone", "complex", "availability-zone","cloud-region"],
+ "parents":[]
+ },
+ "tenant" : {
+ "cousins":[],
+ "parents":["cloud-region"]
+ }
+}
diff --git a/src/main/resources/etc/scriptdata/tenant_isolation/nodesNoAZ.json b/src/main/resources/etc/scriptdata/tenant_isolation/nodesNoAZ.json
new file mode 100644
index 0000000..a0dfae5
--- /dev/null
+++ b/src/main/resources/etc/scriptdata/tenant_isolation/nodesNoAZ.json
@@ -0,0 +1,14 @@
+{
+ "pserver" : {
+ "cousins" : ["zone", "complex"],
+ "parents":[]
+ },
+ "complex" : {
+ "cousins":[],
+ "parents":[]
+ },
+ "zone" : {
+ "cousins":["complex"],
+ "parents":[]
+ }
+}