org.onap migration
[vid.git] / vid-automation / src / main / resources / registration_to_simulator / pProbe / aai_get_logical_link.json
1 {
2   "simulatorRequest": {
3     "method": "GET",
4     "path": "/aai/v11/network/logical-links/logical-link/SANITY6758cce9:LAG1992|SANITY6785cce9:LAG1961"
5   },
6   "simulatorResponse": {
7     "responseCode": 200,
8     "body": {
9       "link-name": "SANITY6758cce9:LAG1992|SANITY6785cce9:LAG1961",
10       "in-maint": false,
11       "link-type": "LAG",
12       "resource-version": "1508959992399",
13       "purpose": "test1",
14       "relationship-list": {
15         "relationship": [
16           {
17             "related-to": "lag-interface",
18             "related-link": "/aai/v11/network/pnfs/pnf/SANITY6785cce9/lag-interfaces/lag-interface/LAG1961",
19             "relationship-data": [
20               {
21                 "relationship-key": "pnf.pnf-name",
22                 "relationship-value": "SANITY6785cce9"
23               },
24               {
25                 "relationship-key": "lag-interface.interface-name",
26                 "relationship-value": "LAG1961"
27               }
28             ]
29           },
30           {
31             "related-to": "service-instance",
32             "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",
33             "relationship-data": [
34               {
35                 "relationship-key": "customer.global-customer-id",
36                 "relationship-value": "31739f3e-526b-11e6-beb8-9e71128cae77"
37               },
38               {
39                 "relationship-key": "service-subscription.service-type",
40                 "relationship-value": "AIM Transport"
41               },
42               {
43                 "relationship-key": "service-instance.service-instance-id",
44                 "relationship-value": "f36f5734-e9df-4fbf-9f35-61be13f028a1"
45               }
46             ],
47             "related-to-property": [
48               {
49                 "property-key": "service-instance.service-instance-name",
50                 "property-value": "AIM_TRANSPORT_00004"
51               }
52             ]
53           },
54           {
55             "related-to": "lag-interface",
56             "related-link": "/aai/v11/cloud-infrastructure/pservers/pserver/SANITY6758cce9/lag-interfaces/lag-interface/LAG1992",
57             "relationship-data": [
58               {
59                 "relationship-key": "pserver.hostname",
60                 "relationship-value": "SANITY6758cce9"
61               },
62               {
63                 "relationship-key": "lag-interface.interface-name",
64                 "relationship-value": "LAG1992"
65               }
66             ]
67           },
68           {
69             "related-to": "lag-interface",
70             "related-link": "/aai/v11/network/pnfs/pnf/tesai371ve2/lag-interfaces/lag-interface/ae10",
71             "relationship-data": [
72               {
73                 "relationship-key": "pnf.pnf-name",
74                 "relationship-value": "tesai371ve2"
75               },
76               {
77                 "relationship-key": "lag-interface.interface-name",
78                 "relationship-value": "ae10"
79               }
80             ]
81           }
82         ]
83       }
84     }
85   }
86 }