Route optimization -take 2
[optf/osdf.git] / test / simple_route_opt / AAI.json
1 {
2   "logical-link": [
3     {
4       "link-name": "link-id-1",
5       "in-maint": true,
6       "link-type": "example-link-type-val-16287",
7       "resource-version": "1585009311719",
8       "operational-status": "UP",
9       "relationship-list": {
10         "relationship": [
11           {
12             "related-to": "p-interface",
13             "relationship-label": "tosca.relationships.network.LinksTo",
14             "related-link": "/aai/v16/network/pnfs/pnf/20.20.20.20/p-interfaces/p-interface/p-interface-3",
15             "relationship-data": [
16               {
17                 "relationship-key": "pnf.pnf-name",
18                 "relationship-value": "20.20.20.20"
19               },
20               {
21                 "relationship-key": "p-interface.interface-name",
22                 "relationship-value": "p-interface-3"
23               }
24             ],
25             "related-to-property": [
26               {
27                 "property-key": "p-interface.prov-status"
28               }
29             ]
30           },
31           {
32             "related-to": "p-interface",
33             "relationship-label": "tosca.relationships.network.LinksTo",
34             "related-link": "/aai/v16/network/pnfs/pnf/10.10.10.10/p-interfaces/p-interface/p-interface-2",
35             "relationship-data": [
36               {
37                 "relationship-key": "pnf.pnf-name",
38                 "relationship-value": "10.10.10.10"
39               },
40               {
41                 "relationship-key": "p-interface.interface-name",
42                 "relationship-value": "p-interface-2"
43               }
44             ],
45             "related-to-property": [
46               {
47                 "property-key": "p-interface.prov-status"
48               }
49             ]
50           }
51         ]
52       }
53     },
54     {
55       "link-name": "link-id-2",
56       "in-maint": true,
57       "link-type": "example-link-type-val-16287",
58       "resource-version": "1584943281792",
59       "operational-status": "UP",
60       "relationship-list": {
61         "relationship": [
62           {
63             "related-to": "p-interface",
64             "relationship-label": "tosca.relationships.network.LinksTo",
65             "related-link": "/aai/v16/network/pnfs/pnf/22.22.22.22/p-interfaces/p-interface/p-interface-7",
66             "relationship-data": [
67               {
68                 "relationship-key": "pnf.pnf-name",
69                 "relationship-value": "22.22.22.22"
70               },
71               {
72                 "relationship-key": "p-interface.interface-name",
73                 "relationship-value": "p-interface-7"
74               }
75             ],
76             "related-to-property": [
77               {
78                 "property-key": "p-interface.prov-status"
79               }
80             ]
81           },
82           {
83             "related-to": "p-interface",
84             "relationship-label": "tosca.relationships.network.LinksTo",
85             "related-link": "/aai/v16/network/pnfs/pnf/11.11.11.11/p-interfaces/p-interface/p-interface-6",
86             "relationship-data": [
87               {
88                 "relationship-key": "pnf.pnf-name",
89                 "relationship-value": "11.11.11.11"
90               },
91               {
92                 "relationship-key": "p-interface.interface-name",
93                 "relationship-value": "p-interface-6"
94               }
95             ],
96             "related-to-property": [
97               {
98                 "property-key": "p-interface.prov-status"
99               }
100             ]
101           }
102         ]
103       }
104     },
105     {
106       "link-name": "link-id-3",
107       "in-maint": true,
108       "link-type": "example-link-type-val-16287",
109       "resource-version": "1584943345290",
110       "operational-status": "UP",
111       "relationship-list": {
112         "relationship": [
113           {
114             "related-to": "p-interface",
115             "relationship-label": "tosca.relationships.network.LinksTo",
116             "related-link": "/aai/v16/network/pnfs/pnf/11.11.11.11/p-interfaces/p-interface/p-interface-5",
117             "relationship-data": [
118               {
119                 "relationship-key": "pnf.pnf-name",
120                 "relationship-value": "11.11.11.11"
121               },
122               {
123                 "relationship-key": "p-interface.interface-name",
124                 "relationship-value": "p-interface-5"
125               }
126             ],
127             "related-to-property": [
128               {
129                 "property-key": "p-interface.prov-status"
130               }
131             ]
132           },
133           {
134             "related-to": "p-interface",
135             "relationship-label": "tosca.relationships.network.LinksTo",
136             "related-link": "/aai/v16/network/pnfs/pnf/20.20.20.20/p-interfaces/p-interface/p-interface-4",
137             "relationship-data": [
138               {
139                 "relationship-key": "pnf.pnf-name",
140                 "relationship-value": "20.20.20.20"
141               },
142               {
143                 "relationship-key": "p-interface.interface-name",
144                 "relationship-value": "p-interface-4"
145               }
146             ],
147             "related-to-property": [
148               {
149                 "property-key": "p-interface.prov-status"
150               }
151             ]
152           }
153         ]
154       }
155     },
156     {
157       "link-name": "rahul",
158       "in-maint": true,
159       "link-type": "example-link-type-val-rahul",
160       "resource-version": "1585023629505",
161       "operational-status": "UP"
162     }
163   ]
164 }