aboutsummaryrefslogtreecommitdiffstats
path: root/vid-automation/src/main/resources/registration_to_simulator/pProbe
diff options
context:
space:
mode:
Diffstat (limited to 'vid-automation/src/main/resources/registration_to_simulator/pProbe')
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_logical_link.json86
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_service_instance_with_logical_links.json185
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf.json33
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf_error.json10
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship.json15
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship_error.json38
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_add_relationship_orch_req.json27
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_remove_relationship_orch_req.json27
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship.json15
-rw-r--r--vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship_error.json9
10 files changed, 445 insertions, 0 deletions
diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_logical_link.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_logical_link.json
new file mode 100644
index 000000000..54d83eb99
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_logical_link.json
@@ -0,0 +1,86 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v11/network/logical-links/logical-link/SANITY6758cce9:LAG1992|SANITY6785cce9:LAG1961"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "link-name": "SANITY6758cce9:LAG1992|SANITY6785cce9:LAG1961",
+ "in-maint": false,
+ "link-type": "LAG",
+ "resource-version": "1508959992399",
+ "purpose": "test1",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "lag-interface",
+ "related-link": "/aai/v11/network/pnfs/pnf/SANITY6785cce9/lag-interfaces/lag-interface/LAG1961",
+ "relationship-data": [
+ {
+ "relationship-key": "pnf.pnf-name",
+ "relationship-value": "SANITY6785cce9"
+ },
+ {
+ "relationship-key": "lag-interface.interface-name",
+ "relationship-value": "LAG1961"
+ }
+ ]
+ },
+ {
+ "related-to": "service-instance",
+ "related-link": "/aai/v11/business/customers/customer/31739f3e-526b-11e6-beb8-9e71128cae77/service-subscriptions/service-subscription/AIM%20Transport/service-instances/service-instance/f36f5734-e9df-4fbf-9f35-61be13f028a1",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "31739f3e-526b-11e6-beb8-9e71128cae77"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "AIM Transport"
+ },
+ {
+ "relationship-key": "service-instance.service-instance-id",
+ "relationship-value": "f36f5734-e9df-4fbf-9f35-61be13f028a1"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "service-instance.service-instance-name",
+ "property-value": "AIM_TRANSPORT_00004"
+ }
+ ]
+ },
+ {
+ "related-to": "lag-interface",
+ "related-link": "/aai/v11/cloud-infrastructure/pservers/pserver/SANITY6758cce9/lag-interfaces/lag-interface/LAG1992",
+ "relationship-data": [
+ {
+ "relationship-key": "pserver.hostname",
+ "relationship-value": "SANITY6758cce9"
+ },
+ {
+ "relationship-key": "lag-interface.interface-name",
+ "relationship-value": "LAG1992"
+ }
+ ]
+ },
+ {
+ "related-to": "lag-interface",
+ "related-link": "/aai/v11/network/pnfs/pnf/tesai371ve2/lag-interfaces/lag-interface/ae10",
+ "relationship-data": [
+ {
+ "relationship-key": "pnf.pnf-name",
+ "relationship-value": "tesai371ve2"
+ },
+ {
+ "relationship-key": "lag-interface.interface-name",
+ "relationship-value": "ae10"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_service_instance_with_logical_links.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_service_instance_with_logical_links.json
new file mode 100644
index 000000000..49cbf9499
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_service_instance_with_logical_links.json
@@ -0,0 +1,185 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v11/business/customers/customer/e433710f-9217-458d-a79d-1c7aff376d89/service-subscriptions/service-subscription/VIRTUAL+USP/service-instances/service-instance/3f93c7cb-2fd0-4557-9514-e189b7b04f9d"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "service-instance-id": "3f93c7cb-2fd0-4557-9514-e189b7b04f9d",
+ "service-instance-name": "vid-test-444",
+ "model-invariant-id": "709d1be4-9a3f-4a29-8c4d-a20465e808a3",
+ "model-version-id": "240376de-870e-48df-915a-31f140eedd2c",
+ "resource-version": "1500789244673",
+ "orchestration-status": "Active",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "generic-vnf",
+ "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/c015cc0f-0f37-4488-aabf-53795fd93cd3",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "c015cc0f-0f37-4488-aabf-53795fd93cd3"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "fsd"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/0846287b-65bf-45a6-88f6-6a1af4149fac",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "0846287b-65bf-45a6-88f6-6a1af4149fac"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "kjkjk"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/9908b762-136f-4b1f-8eb4-ef670ef58bb4",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "9908b762-136f-4b1f-8eb4-ef670ef58bb4"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "uiui"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/543931f5-e50e-45a2-a69f-ab727e4c7f2f",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "543931f5-e50e-45a2-a69f-ab727e4c7f2f"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "sdfsdfdsf"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/25e84884-22d5-44c9-8212-cb459f63e0ba",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "25e84884-22d5-44c9-8212-cb459f63e0ba"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "sdada"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/013fb0ba-977b-496c-9faa-7f8e5f083eec",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "013fb0ba-977b-496c-9faa-7f8e5f083eec"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "gvb"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/06914296-cb46-4b62-9453-329a706a6cbb",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "06914296-cb46-4b62-9453-329a706a6cbb"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "lkllll"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/c55da606-cf38-42c7-bc3c-be8e23b19299",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "c55da606-cf38-42c7-bc3c-be8e23b19299"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "ss"
+ }
+ ]
+ },
+ {
+ "related-to": "generic-vnf",
+ "related-link": "/aai/v11/network/generic-vnfs/generic-vnf/27cc0914-70be-453e-b552-3df6b1d6cda9",
+ "relationship-data": [
+ {
+ "relationship-key": "generic-vnf.vnf-id",
+ "relationship-value": "27cc0914-70be-453e-b552-3df6b1d6cda9"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "generic-vnf.vnf-name",
+ "property-value": "yh"
+ }
+ ]
+ },
+ {
+ "related-to": "logical-link",
+ "related-link": "/aai/v11/network/logical-links/logical-link/tesai372ve2%3Aae10%7Ctesaaisdgrbclz1a1%3Apo100",
+ "relationship-data": [
+ {
+ "relationship-key": "logical-link.link-name",
+ "relationship-value": "tesai372ve2:ae10|tesaaisdgrbclz1a1:po100"
+ }
+ ]
+ },
+ {
+ "related-to": "logical-link",
+ "related-link": "/aai/v11/network/logical-links/logical-link/SANITY6758cce9%3ALAG1992%7CSANITY6785cce9%3ALAG1961",
+ "relationship-data": [
+ {
+ "relationship-key": "logical-link.link-name",
+ "relationship-value": "SANITY6758cce9:LAG1992|SANITY6785cce9:LAG1961"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf.json
new file mode 100644
index 000000000..3afcc3cc4
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf.json
@@ -0,0 +1,33 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v11/network/pnfs/pnf/MX_960-F722"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "pnf-name": "MX_960-F722",
+ "pnf-name2": "MX_960-F722-name-2",
+ "pnf-name2-source": "MX_960-F722-name-2-source",
+ "pnf-id": "MX_960-F722-id",
+ "equip-type": "Switch",
+ "equip-vendor": "Cisco",
+ "equip-model": "ASR1002-X",
+ "resource-version": "1494001797554",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "complex",
+ "related-link": "/aai/v11/cloud-infrastructure/complexes/complex/NAMEAAI2",
+ "relationship-data": [
+ {
+ "relationship-key": "complex.physical-location-id",
+ "relationship-value": "NAMEAAI2"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf_error.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf_error.json
new file mode 100644
index 000000000..0b23cfc2e
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/aai_get_specific_pnf_error.json
@@ -0,0 +1,10 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/aai/v11/network/pnfs/pnf/MX_960-F722"
+ } ,
+ "simulatorResponse": {
+ "responseCode": 500,
+ "body": "ERROR_PAYLOAD"
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship.json
new file mode 100644
index 000000000..6d70d9ce4
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship.json
@@ -0,0 +1,15 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/ecomp/mso/infra/serviceInstances/v6/3f93c7cb-2fd0-4557-9514-e189b7b04f9d/addRelationships"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "requestReferences": {
+ "instanceId": "ba00de9b-3c3e-4b0a-a1ad-0c5489e711fb",
+ "requestId": "311cc766-b673-4a50-b9c5-471f68914586"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship_error.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship_error.json
new file mode 100644
index 000000000..d92db4a16
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_add_pnf_relationship_error.json
@@ -0,0 +1,38 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/ecomp/mso/infra/serviceInstances/v6/3f93c7cb-2fd0-4557-9514-e189b7b04f9d/addRelationships",
+ "body": {
+ "requestDetails": {
+ "modelInfo": {
+ "modelType": "service",
+ "modelInvariantId": "709d1be4-9a3f-4a29-8c4d-a20465e808a3",
+ "modelVersionId": "240376de-870e-48df-915a-31f140eedd2c",
+ "modelName": "vid-test-444",
+ "modelVersion": "1.0"
+ },
+ "requestInfo": {
+ "source": "VID",
+ "requestorId": "1"
+ },
+ "relatedInstanceList": [
+ {
+ "relatedInstance": {
+ "instanceName": "SANITY6785cce8",
+ "modelInfo": {
+ "modelType": "pnf"
+ }
+ }
+ }
+ ],
+ "requestParameters": {
+ "aLaCarte": true
+ }
+ }
+ }
+ },
+ "simulatorResponse": {
+ "responseCode": 500
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_add_relationship_orch_req.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_add_relationship_orch_req.json
new file mode 100644
index 000000000..05517a94a
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_add_relationship_orch_req.json
@@ -0,0 +1,27 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/ecomp/mso/infra/orchestrationRequests/v5/311cc766-b673-4a50-b9c5-471f68914586"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "request": {
+ "requestId": "311cc766-b673-4a50-b9c5-471f68914586",
+ "startTime": "Mon, 23 Oct 2017 23:28:39 GMT",
+ "requestScope": "service",
+ "requestType": "addRelationships",
+ "instanceReferences": {
+ "serviceInstanceId": "3f93c7cb-2fd0-4557-9514-e189b7b04f9d",
+ "requestorId": "1"
+ },
+ "requestStatus": {
+ "requestState": "COMPLETE",
+ "statusMessage": "Success",
+ "percentProgress": 100,
+ "finishTime": "Mon, 23 Oct 2017 23:28:39 GMT"
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_remove_relationship_orch_req.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_remove_relationship_orch_req.json
new file mode 100644
index 000000000..1610b0357
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_get_remove_relationship_orch_req.json
@@ -0,0 +1,27 @@
+{
+ "simulatorRequest": {
+ "method": "GET",
+ "path": "/ecomp/mso/infra/orchestrationRequests/v5/311cc766-b673-4a50-b9c5-471f68914581"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "request": {
+ "requestId": "311cc766-b673-4a50-b9c5-471f68914581",
+ "startTime": "Mon, 23 Oct 2017 23:28:39 GMT",
+ "requestScope": "service",
+ "requestType": "removeRelationships",
+ "instanceReferences": {
+ "serviceInstanceId": "3f93c7cb-2fd0-4557-9514-e189b7b04f9d",
+ "requestorId": "1"
+ },
+ "requestStatus": {
+ "requestState": "COMPLETE",
+ "statusMessage": "Success",
+ "percentProgress": 100,
+ "finishTime": "Mon, 23 Oct 2017 23:28:39 GMT"
+ }
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship.json
new file mode 100644
index 000000000..73cc14c23
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship.json
@@ -0,0 +1,15 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/ecomp/mso/infra/serviceInstances/v6/3f93c7cb-2fd0-4557-9514-e189b7b04f9d/removeRelationships"
+ },
+ "simulatorResponse": {
+ "responseCode": 200,
+ "body": {
+ "requestReferences": {
+ "instanceId": "3f93c7cb-2fd0-4557-9514-e189b7b04f9d",
+ "requestId": "311cc766-b673-4a50-b9c5-471f68914581"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship_error.json b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship_error.json
new file mode 100644
index 000000000..3e85903d4
--- /dev/null
+++ b/vid-automation/src/main/resources/registration_to_simulator/pProbe/mso_remove_pnf_relationship_error.json
@@ -0,0 +1,9 @@
+{
+ "simulatorRequest": {
+ "method": "POST",
+ "path": "/ecomp/mso/infra/serviceInstances/v6/3f93c7cb-2fd0-4557-9514-e189b7b04f9d/removeRelationships"
+ },
+ "simulatorResponse": {
+ "responseCode": 500
+ }
+} \ No newline at end of file