Fixed CCVPN closed loop integration issue
[holmes/common.git] / holmes-actions / src / test / resources / ccvpn.data.json
1 {
2   "resource-version": "1536316872154",
3   "link-type": "VL",
4   "logic-link": {
5     "p-interface": {
6       "interface-name": "{ifName}",
7       "network-ref": "some ref",
8       "transparent": "some value",
9       "operational-status ": "{status}",
10       "speed-value": "some speed",
11       "relationship-list": {
12         "relationship": [
13           {
14             "related-to": "logical-link",
15             "related-link": "url of logical-link",
16             "relationship-data": [
17               {
18                 "relationship-key": "logical-link.link-name",
19                 "relationship-value": "logic-link-1"
20               }
21             ]
22           }
23         ]
24       }
25     }
26   },
27   "vpn-binding": {
28     "p-interface": {
29       "interface-name": "{ifName}",
30       "network-ref": "some ref",
31       "transparent": "some value",
32       "operational-status ": "{status}",
33       "speed-value": "some speed",
34       "relationship-list": {
35         "relationship": [
36           {
37             "related-to": "vpn-binding",
38             "related-link": "url of vpn-binding",
39             "relationship-data": [
40               {
41                 "relationship-key": "vpn-binding.vpn-id",
42                 "relationship-value": "some id"
43               }
44             ]
45           }
46         ]
47       }
48     }
49   },
50   "connectivity": {
51     "vpn-binding": {
52       "vpn-id": "{vpnId}",
53       "vpn-name": "some name",
54       "access-provider-id": "provider id",
55       "access-client-id": "client id",
56       "access-topology-id": "topology id",
57       "src-access-node-id": "src node id",
58       "src-access-ltp-id": "src ltp id",
59       "dst-access-node-id": "dst node id",
60       "dst-access-ltp-id": "dst ltp id",
61       "operational-status": "some status",
62       "relationship-list": {
63         "relationship": [
64           {
65             "related-to": "connectivity",
66             "related-link": "url of connectivity",
67             "relationship-data": [
68               {
69                 "relationship-key": "connectivity.connectivity-id",
70                 "relationship-value": "some id"
71               }
72             ]
73           }
74         ]
75       }
76     }
77   },
78   "service-instance-by-connectivity": {
79     "connectivity": {
80       "connectivity-id": "{connectivityId}",
81       "bandwidth-profile-name": "some profile",
82       "vpn-type": "some type",
83       "cir": "cir value",
84       "eir": "eir value",
85       "cbs": "cbs value",
86       "ebs": "ebs value",
87       "color-aware": "color value",
88       "coupling-flag": "flag value",
89       "etht-svc-name": "some name",
90       "access-provider-id": "provider id",
91       "access-client-id": "client id",
92       "access-topology-id": "topology id",
93       "access-node-id": "node id",
94       "access-ltp-id": "ltp id",
95       "connectivity-selflink": "some URL",
96       "cvlan ": "some tag",
97       "operational-status": "some status",
98       "relationship-list": {
99         "relationship": [
100           {
101             "related-to": "service-instance",
102             "related-link": "/aai/v14/business/customers/customer/e151059a-d924-4629-845f-264db19e50b4/service-subscriptions/service-subscription/volte/service-instances/service-instance/service-1",
103             "relationship-data": [
104               {
105                 "relationship-key": "service-instance.service-instance-id",
106                 "relationship-value": "some id"
107               }
108             ]
109           }
110         ]
111       }
112     }
113   },
114   "service-instances-by-service-type": {
115     "service-instance-id": "some id 1",
116     "service-instance-name": "some name 1",
117     "environment-context": "some context 1",
118     "workload-context": "some workload 1",
119     "relationship-list": {
120       "relationship": [
121       ]
122     }
123   },
124   "service-instance": {
125     "service-instance-id": "176d9eba-1662-4289-8396-0097b50fd485",
126     "service-type": "E2E Service",
127     "service-role": "E2E Service",
128     "model-invariant-id": "c22a9483-d2b6-49cc-b1f7-ef34c93572a1",
129     "model-version-id": "71d0e396-e246-4c23-aa57-6da2043d6209",
130     "input-parameters": "This is the service instance recreation input looked up by CL.",
131     "resource-version": "1528975017336",
132     "relationship-list": {
133       "relationship": [
134         {
135           "related-to": "pnf",
136           "related-link": "/aai/v11/network/pnfs/pnf/MME-0001",
137           "relationship-data": [
138             {
139               "relationship-key": "pnf.pnf-id",
140               "relationship-value": "176d9eba-1662-4289-8396-0097b50fd466"
141             }
142           ],
143           "related-to-property": [
144             {
145               "property-key": "pnf.pnf-name",
146               "property-value": "MME-0001"
147             }
148           ]
149         }
150       ]
151     }
152   }
153 }