aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/vFWDT/workflow/templates
diff options
context:
space:
mode:
Diffstat (limited to 'tutorials/vFWDT/workflow/templates')
-rw-r--r--tutorials/vFWDT/workflow/templates/appcDmaapLcm.json2
-rw-r--r--tutorials/vFWDT/workflow/templates/appcRestconfLcm.json38
-rwxr-xr-xtutorials/vFWDT/workflow/templates/cdt-templates/templates/action-template.json2
-rwxr-xr-xtutorials/vFWDT/workflow/templates/cdt-templates/templates/all-actions-content.json2
-rwxr-xr-xtutorials/vFWDT/workflow/templates/cdt-templates/templates/reference-all-actions.json2
-rwxr-xr-xtutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params-list.json2
-rwxr-xr-xtutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params.json2
-rwxr-xr-xtutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params-list.json2
-rwxr-xr-xtutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params.json2
-rwxr-xr-xtutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/traffic.json2
-rwxr-xr-xtutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/upgrade.json2
-rwxr-xr-xtutorials/vFWDT/workflow/templates/cdt-templates/vpgn/traffic.json2
-rw-r--r--tutorials/vFWDT/workflow/templates/hasRequest.json117
-rw-r--r--tutorials/vFWDT/workflow/templates/osdfRequest.json116
14 files changed, 155 insertions, 138 deletions
diff --git a/tutorials/vFWDT/workflow/templates/appcDmaapLcm.json b/tutorials/vFWDT/workflow/templates/appcDmaapLcm.json
index 5be6627b..628cfcdc 100644
--- a/tutorials/vFWDT/workflow/templates/appcDmaapLcm.json
+++ b/tutorials/vFWDT/workflow/templates/appcDmaapLcm.json
@@ -25,4 +25,4 @@
"correlation-id": "c09ac7d1-de62-0016-2000-e63701125557-201",
"version": "2.0",
"type": "request"
-} \ No newline at end of file
+}
diff --git a/tutorials/vFWDT/workflow/templates/appcRestconfLcm.json b/tutorials/vFWDT/workflow/templates/appcRestconfLcm.json
index fa0eb79e..a0151ecd 100644
--- a/tutorials/vFWDT/workflow/templates/appcRestconfLcm.json
+++ b/tutorials/vFWDT/workflow/templates/appcRestconfLcm.json
@@ -1,21 +1,21 @@
{
- "input": {
- "action": "DistributeTraffic",
- "payload": "{\"configuration-parameters\":{\"file_parameter_content\":\"{\\\"fwIp\\\":\\\"192.168.10.100\\\",\\\"sinkIp\\\":\\\"192.168.20.250\\\"}\",\"node_list\":\"[vpkg-1]\"}}",
- "common-header": {
- "api-ver": "2.00",
- "timestamp": "2019-05-20T08:18:07.244Z",
- "flags": {
- "force": "TRUE",
- "mode": "NORMAL",
- "ttl": 36000
- },
- "request-id": "8ac122fd-6261-4e72-ba5c-5384fcd0ab2b",
- "originator-id": "vfw-dt-demo",
- "sub-request-id": "cefe9354-809d-4dd2-ab6d-e1f9d2fa9ea3"
- },
- "action-identifiers": {
- "vnf-id": "2d125b4d-e120-4815-a0c7-4c4bec6c89f9"
+ "input": {
+ "action": "DistributeTraffic",
+ "payload": "{\"configuration-parameters\":{\"file_parameter_content\":\"{\\\"fwIp\\\":\\\"192.168.10.100\\\",\\\"sinkIp\\\":\\\"192.168.20.250\\\"}\",\"node_list\":\"[vpkg-1]\"}}",
+ "common-header": {
+ "api-ver": "2.00",
+ "timestamp": "2019-05-20T08:18:07.244Z",
+ "flags": {
+ "force": "TRUE",
+ "mode": "NORMAL",
+ "ttl": 36000
+ },
+ "request-id": "8ac122fd-6261-4e72-ba5c-5384fcd0ab2b",
+ "originator-id": "vfw-dt-demo",
+ "sub-request-id": "cefe9354-809d-4dd2-ab6d-e1f9d2fa9ea3"
+ },
+ "action-identifiers": {
+ "vnf-id": "2d125b4d-e120-4815-a0c7-4c4bec6c89f9"
+ }
}
- }
-} \ No newline at end of file
+}
diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/action-template.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/action-template.json
index 9e7429a6..60c2b104 100755
--- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/action-template.json
+++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/action-template.json
@@ -6,4 +6,4 @@
"artifact-type": "APPC-CONFIG",
"artifact-version": "0.0.1",
"artifact-contents": "{\r\n \"InventoryNames\": \"VM\",\r\n \"PlaybookName\": \"${book_name}\",\r\n \"AutoNodeList\": True,\r\n \"EnvParameters\": {\r\n \"ConfigFileName\": \"../traffic_distribution_config.json\",\r\n \"vnf_instance\": \"vfwdt\",\r\n },\r\n \"FileParameters\": {\r\n \"traffic_distribution_config.json\": \"${file_parameter_content}\"\r\n },\r\n \"Timeout\": 3600\r\n}"
-} \ No newline at end of file
+}
diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/all-actions-content.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/all-actions-content.json
index 4269f0e1..765e0b1e 100755
--- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/all-actions-content.json
+++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/all-actions-content.json
@@ -74,4 +74,4 @@
"scopeType": "vnf-type"
}
]
-} \ No newline at end of file
+}
diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/reference-all-actions.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/reference-all-actions.json
index c99112ae..21c51733 100755
--- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/reference-all-actions.json
+++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/reference-all-actions.json
@@ -6,4 +6,4 @@
"artifact-type": "APPC-CONFIG",
"artifact-version": "0.1",
"artifact-contents": "{\"reference_data\":[{\"action\":\"DistributeTraffic\",\"action-level\":\"vnf\",\"scope\":{\"vnf-type\":\"vFWDT 2020-02-03 14:40:/vFWDT_vPKG 81793128-bca7 0\",\"vnfc-type-list\":[],\"vnfc-type\":\"\"},\"template\":\"Y\",\"vm\":[],\"device-protocol\":\"ANSIBLE\",\"user-name\":\"admin\",\"port-number\":\"8000\",\"artifact-list\":[{\"artifact-name\":\"template_DistributeTraffic_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.json\",\"artifact-type\":\"config_template\"},{\"artifact-name\":\"pd_DistributeTraffic_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.yaml\",\"artifact-type\":\"parameter_definitions\"},{\"artifact-name\":\"param_DistributeTraffic_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.json\",\"artifact-type\":\"param_values\"}],\"scopeType\":\"vnf-type\"},{\"action\":\"AllAction\",\"action-level\":\"vnf\",\"scope\":{\"vnf-type\":\"vFWDT 2020-02-03 14:40:/vFWDT_vPKG 81793128-bca7 0\",\"vnfc-type-list\":[],\"vnfc-type\":\"\"},\"artifact-list\":[{\"artifact-name\":\"reference_AllAction_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.json\",\"artifact-type\":\"reference_template\"}]},{\"action\":\"DistributeTrafficCheck\",\"action-level\":\"vnf\",\"scope\":{\"vnf-type\":\"vFWDT 2020-02-03 14:40:/vFWDT_vPKG 81793128-bca7 0\",\"vnfc-type-list\":[],\"vnfc-type\":\"\"},\"template\":\"Y\",\"vm\":[],\"device-protocol\":\"ANSIBLE\",\"user-name\":\"admin\",\"port-number\":\"8000\",\"artifact-list\":[{\"artifact-name\":\"template_DistributeTrafficCheck_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.json\",\"artifact-type\":\"config_template\"},{\"artifact-name\":\"pd_DistributeTrafficCheck_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.yaml\",\"artifact-type\":\"parameter_definitions\"},{\"artifact-name\":\"param_DistributeTrafficCheck_vFWDT2020-02-0314:40:_vFWDT_vPKG81793128-bca70_0.0.1V.json\",\"artifact-type\":\"param_values\"}],\"scopeType\":\"vnf-type\"}]}"
-} \ No newline at end of file
+}
diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params-list.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params-list.json
index a0104861..1f364fed 100755
--- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params-list.json
+++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params-list.json
@@ -6,4 +6,4 @@
"artifact-type": "APPC-CONFIG",
"artifact-version": "0.0.1",
"artifact-contents": "[{\"book_name\":\"\",\"file_parameter_content\":\"\"}]"
-} \ No newline at end of file
+}
diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params.json
index 1824592f..737e182e 100755
--- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params.json
+++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/traffic-params.json
@@ -6,4 +6,4 @@
"artifact-type": "APPC-CONFIG",
"artifact-version": "0.0.1",
"artifact-contents": "---\nkind: \"Property Definition\"\nversion: V1\nvnf-parameter-list:\n- name: book_name\n type: null\n description: null\n required: null\n default: null\n source: Manual\n rule-type: null\n request-keys: null\n response-keys: null\n- name: file_parameter_content\n type: null\n description: null\n required: null\n default: null\n source: Manual\n rule-type: null\n request-keys: null\n response-keys: null\n"
-} \ No newline at end of file
+}
diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params-list.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params-list.json
index 5d029269..b3b30163 100755
--- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params-list.json
+++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params-list.json
@@ -6,4 +6,4 @@
"artifact-type": "APPC-CONFIG",
"artifact-version": "0.0.1",
"artifact-contents": "[{\"book_name\":\"\",\"new-software-version\":\"\",\"existing-software-version\":\"\",\"file_parameter_content\":\"\"}]"
-} \ No newline at end of file
+}
diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params.json b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params.json
index cf656f37..968d9658 100755
--- a/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params.json
+++ b/tutorials/vFWDT/workflow/templates/cdt-templates/templates/upgrade-params.json
@@ -6,4 +6,4 @@
"artifact-type": "APPC-CONFIG",
"artifact-version": "0.0.1",
"artifact-contents": "---\nkind: \"Property Definition\"\nversion: V1\nvnf-parameter-list:\n- name: book_name\n type: null\n description: null\n required: null\n default: null\n source: Manual\n rule-type: null\n request-keys: null\n response-keys: null\n- name: new-software-version\n type: null\n description: null\n required: null\n default: null\n source: Manual\n rule-type: null\n request-keys: null\n response-keys: null\n- name: existing-software-version\n type: null\n description: null\n required: null\n default: null\n source: Manual\n rule-type: null\n request-keys: null\n response-keys: null\n- name: file_parameter_content\n type: null\n description: null\n required: null\n default: null\n source: Manual\n rule-type: null\n request-keys: null\n response-keys: null\n"
-} \ No newline at end of file
+}
diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/traffic.json b/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/traffic.json
index 404cd2f5..b249032b 100755
--- a/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/traffic.json
+++ b/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/traffic.json
@@ -10,4 +10,4 @@
"traffic_distribution_config.json": "${()=(file_parameter_content)}"
},
"Timeout": 3600
-} \ No newline at end of file
+}
diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/upgrade.json b/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/upgrade.json
index 49c64d0e..c875f285 100755
--- a/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/upgrade.json
+++ b/tutorials/vFWDT/workflow/templates/cdt-templates/vfw-sink/upgrade.json
@@ -12,4 +12,4 @@
"config.json": "${()=(file_parameter_content)}"
},
"Timeout": 3600
-} \ No newline at end of file
+}
diff --git a/tutorials/vFWDT/workflow/templates/cdt-templates/vpgn/traffic.json b/tutorials/vFWDT/workflow/templates/cdt-templates/vpgn/traffic.json
index 404cd2f5..b249032b 100755
--- a/tutorials/vFWDT/workflow/templates/cdt-templates/vpgn/traffic.json
+++ b/tutorials/vFWDT/workflow/templates/cdt-templates/vpgn/traffic.json
@@ -10,4 +10,4 @@
"traffic_distribution_config.json": "${()=(file_parameter_content)}"
},
"Timeout": 3600
-} \ No newline at end of file
+}
diff --git a/tutorials/vFWDT/workflow/templates/hasRequest.json b/tutorials/vFWDT/workflow/templates/hasRequest.json
index c9d77637..a0c678b6 100644
--- a/tutorials/vFWDT/workflow/templates/hasRequest.json
+++ b/tutorials/vFWDT/workflow/templates/hasRequest.json
@@ -3,7 +3,10 @@
"template": {
"constraints": {
"affinity_vFW_TD": {
- "demands": ["vFW-SINK", "vPGN"],
+ "demands": [
+ "vFW-SINK",
+ "vPGN"
+ ],
"properties": {
"category": "region",
"qualifier": "same"
@@ -32,57 +35,73 @@
}
},
"demands": {
- "vFW-SINK": [{
- "attributes": {
- "global-customer-id": {
- "get_param": "chosen_customer_id"
+ "vFW-SINK": [
+ {
+ "attributes": {
+ "global-customer-id": {
+ "get_param": "chosen_customer_id"
+ },
+ "cloud-region-id": {
+ "get_param": "chosen_region"
+ },
+ "model-version-id": "202d2fd8-a045-4c9a-b767-2a1639c10291",
+ "orchestration-status": [
+ "active"
+ ],
+ "model-invariant-id": "6f3fd439-fd5f-4a2d-95bc-b6bf8787001a",
+ "service_instance_id": {
+ "get_param": "service_id"
+ },
+ "prov-status": "ACTIVE"
},
- "cloud-region-id": {
- "get_param": "chosen_region"
- },
- "model-version-id": "202d2fd8-a045-4c9a-b767-2a1639c10291",
- "orchestration-status": ["active"],
- "model-invariant-id": "6f3fd439-fd5f-4a2d-95bc-b6bf8787001a",
- "service_instance_id": {
- "get_param": "service_id"
- },
- "prov-status": "ACTIVE"
- },
- "inventory_provider": "aai",
- "service_resource_id": "vFW-SINK-XX",
- "inventory_type": "vfmodule",
- "service_type": "vFW-SINK-XX",
- "excluded_candidates": [{
+ "inventory_provider": "aai",
+ "service_resource_id": "vFW-SINK-XX",
"inventory_type": "vfmodule",
- "candidate_id": ["e765d576-8755-4145-8536-0bb6d9b1dc9a"]
- }],
- "required_candidates": [{
- "inventory_type": "vfmodule",
- "candidate_id": ["e765d576-8755-4145-8536-0bb6d9b1dc9a"]
- }]
- }],
- "vPGN": [{
- "attributes": {
- "global-customer-id": {
- "get_param": "chosen_customer_id"
- },
- "cloud-region-id": {
- "get_param": "chosen_region"
- },
- "model-version-id": "6bfe954e-bb00-4111-be3c-33eed9d20a8c",
- "orchestration-status": ["active"],
- "model-invariant-id": "3f356335-7b36-41ee-8f74-72d0a2ec3ebf",
- "service_instance_id": {
- "get_param": "service_id"
+ "service_type": "vFW-SINK-XX",
+ "excluded_candidates": [
+ {
+ "inventory_type": "vfmodule",
+ "candidate_id": [
+ "e765d576-8755-4145-8536-0bb6d9b1dc9a"
+ ]
+ }
+ ],
+ "required_candidates": [
+ {
+ "inventory_type": "vfmodule",
+ "candidate_id": [
+ "e765d576-8755-4145-8536-0bb6d9b1dc9a"
+ ]
+ }
+ ]
+ }
+ ],
+ "vPGN": [
+ {
+ "attributes": {
+ "global-customer-id": {
+ "get_param": "chosen_customer_id"
+ },
+ "cloud-region-id": {
+ "get_param": "chosen_region"
+ },
+ "model-version-id": "6bfe954e-bb00-4111-be3c-33eed9d20a8c",
+ "orchestration-status": [
+ "active"
+ ],
+ "model-invariant-id": "3f356335-7b36-41ee-8f74-72d0a2ec3ebf",
+ "service_instance_id": {
+ "get_param": "service_id"
+ },
+ "prov-status": "ACTIVE"
},
- "prov-status": "ACTIVE"
- },
- "inventory_provider": "aai",
- "service_resource_id": "vPGN-XX",
- "unique": "false",
- "inventory_type": "vfmodule",
- "service_type": "vPGN-XX"
- }]
+ "inventory_provider": "aai",
+ "service_resource_id": "vPGN-XX",
+ "unique": "false",
+ "inventory_type": "vfmodule",
+ "service_type": "vPGN-XX"
+ }
+ ]
},
"homing_template_version": "2017-10-10"
},
diff --git a/tutorials/vFWDT/workflow/templates/osdfRequest.json b/tutorials/vFWDT/workflow/templates/osdfRequest.json
index 1bef055b..1bd2ce5c 100644
--- a/tutorials/vFWDT/workflow/templates/osdfRequest.json
+++ b/tutorials/vFWDT/workflow/templates/osdfRequest.json
@@ -1,65 +1,63 @@
{
- "requestInfo": {
- "transactionId": "e576c75e-7536-4145-a1c0-d60b65bb1bb8",
- "requestId": "de4f04e3-0a65-470b-9d07-8ea6c2fb3e10",
- "callbackUrl": "http://0.0.0.0:9000/osdfCallback/",
- "sourceId": "SO",
- "requestType": "create",
- "numSolutions": 100,
- "optimizers": [
- "placement"
- ],
- "timeout": 1200
- },
- "placementInfo": {
- "requestParameters": {
- "chosenRegion": "RegionOne",
- "chosenCustomerId": "DemoCust_8b908ab3-b9e6-41a9-a4e2-31cc9c5114a2"
- },
- "subscriberInfo": {
- "globalSubscriberId": "dbc2c763-6383-42d6-880a-b7d5c5bc84d9",
- "subscriberName": "oof-so-chm"
+ "requestInfo": {
+ "transactionId": "e576c75e-7536-4145-a1c0-d60b65bb1bb8",
+ "requestId": "de4f04e3-0a65-470b-9d07-8ea6c2fb3e10",
+ "callbackUrl": "http://0.0.0.0:9000/osdfCallback/",
+ "sourceId": "SO",
+ "requestType": "create",
+ "numSolutions": 100,
+ "optimizers": [
+ "placement"
+ ],
+ "timeout": 1200
},
- "placementDemands": [
- {
- "resourceModuleName": "vFW-SINK",
- "serviceResourceId": "vFW-SINK-XX",
- "resourceModelInfo": {
- "modelInvariantId": "fda3c1e8-7653-4acd-80ef-f5755c1d3859",
- "modelVersionId": "a6906768-1cae-4e78-acd1-d753ac61f3e8"
+ "placementInfo": {
+ "requestParameters": {
+ "chosenRegion": "RegionOne",
+ "chosenCustomerId": "DemoCust_8b908ab3-b9e6-41a9-a4e2-31cc9c5114a2"
},
- "excludedCandidates": [
- {
- "identifierType": "vfmodule",
- "identifiers": [
- ]
- }
- ],
- "requiredCandidates": [
- {
- "identifierType": "vfmodule",
- "identifiers": [
- ]
- }
+ "subscriberInfo": {
+ "globalSubscriberId": "dbc2c763-6383-42d6-880a-b7d5c5bc84d9",
+ "subscriberName": "oof-so-chm"
+ },
+ "placementDemands": [
+ {
+ "resourceModuleName": "vFW-SINK",
+ "serviceResourceId": "vFW-SINK-XX",
+ "resourceModelInfo": {
+ "modelInvariantId": "fda3c1e8-7653-4acd-80ef-f5755c1d3859",
+ "modelVersionId": "a6906768-1cae-4e78-acd1-d753ac61f3e8"
+ },
+ "excludedCandidates": [
+ {
+ "identifierType": "vfmodule",
+ "identifiers": []
+ }
+ ],
+ "requiredCandidates": [
+ {
+ "identifierType": "vfmodule",
+ "identifiers": []
+ }
+ ]
+ },
+ {
+ "resourceModuleName": "vPGN",
+ "serviceResourceId": "vPGN-XX",
+ "unique": "false",
+ "resourceModelInfo": {
+ "modelInvariantId": "f2f88e29-d571-49ef-aea3-b8d13900c16f",
+ "modelVersionId": "3ccebc76-66e1-47c8-aee9-98f30d08db97"
+ }
+ }
]
- },
- {
- "resourceModuleName": "vPGN",
- "serviceResourceId": "vPGN-XX",
- "unique": "false",
- "resourceModelInfo": {
- "modelInvariantId": "f2f88e29-d571-49ef-aea3-b8d13900c16f",
- "modelVersionId": "3ccebc76-66e1-47c8-aee9-98f30d08db97"
+ },
+ "serviceInfo": {
+ "serviceInstanceId": "209fb01e-60ca-4325-b074-c5ad4e0499f8",
+ "serviceName": "TD",
+ "modelInfo": {
+ "modelInvariantId": "TD-invariantId",
+ "modelVersionId": "TD-versionId"
}
- }
- ]
- },
- "serviceInfo": {
- "serviceInstanceId": "209fb01e-60ca-4325-b074-c5ad4e0499f8",
- "serviceName": "TD",
- "modelInfo": {
- "modelInvariantId": "TD-invariantId",
- "modelVersionId": "TD-versionId"
}
- }
-} \ No newline at end of file
+}