Fix CI Cent OS 8 configuration issue (workaround)
[transportpce.git] / tests / sample_configs / portmapping-3-RDM-221.json
1 {
2     "nodes": [
3         {
4             "node-id": "ROADM-C1",
5             "node-info": {
6                 "node-type": "rdm",
7                 "node-model": "model2",
8                 "openroadm-version": "2.2.1",
9                 "node-clli": "NodeC",
10                 "node-vendor": "vendorA",
11                 "node-ip-address": "127.0.0.13"
12             },
13             "cp-to-degree": [
14                 {
15                     "circuit-pack-name": "1/0/ETH-PLUG",
16                     "interface-name": "1GE-interface-1",
17                     "degree-number": 1
18                 },
19                 {
20                     "circuit-pack-name": "2/0/ETH-PLUG",
21                     "interface-name": "1GE-interface-2",
22                     "degree-number": 2
23                 },
24                 {
25                     "circuit-pack-name": "2/0",
26                     "interface-name": "1GE-interface-2",
27                     "degree-number": 2
28                 },
29                 {
30                     "circuit-pack-name": "1/0",
31                     "interface-name": "1GE-interface-1",
32                     "degree-number": 1
33                 }
34             ],
35             "mapping": [
36                 {
37                     "logical-connection-point": "SRG1-PP3-TXRX",
38                     "port-oper-state": "InService",
39                     "supporting-circuit-pack-name": "3/0",
40                     "port-direction": "bidirectional",
41                     "port-admin-state": "InService",
42                     "supporting-port": "C3"
43                 },
44                 {
45                     "logical-connection-point": "SRG1-PP2-TXRX",
46                     "port-oper-state": "InService",
47                     "supporting-circuit-pack-name": "3/0",
48                     "port-direction": "bidirectional",
49                     "port-admin-state": "InService",
50                     "supporting-port": "C2"
51                 },
52                 {
53                     "logical-connection-point": "SRG1-PP4-TXRX",
54                     "port-oper-state": "InService",
55                     "supporting-circuit-pack-name": "3/0",
56                     "port-direction": "bidirectional",
57                     "port-admin-state": "InService",
58                     "supporting-port": "C4"
59                 },
60                 {
61                     "logical-connection-point": "SRG1-PP1-TXRX",
62                     "port-oper-state": "InService",
63                     "supporting-circuit-pack-name": "3/0",
64                     "port-direction": "bidirectional",
65                     "port-admin-state": "InService",
66                     "supporting-port": "C1"
67                 },
68                 {
69                     "logical-connection-point": "DEG1-TTP-TXRX",
70                     "port-oper-state": "InService",
71                     "supporting-oms": "OMS-DEG1-TTP-TXRX",
72                     "supporting-circuit-pack-name": "1/0",
73                     "supporting-ots": "OTS-DEG1-TTP-TXRX",
74                     "port-direction": "bidirectional",
75                     "port-admin-state": "InService",
76                     "supporting-port": "L1"
77                 },
78                 {
79                     "logical-connection-point": "DEG2-TTP-TXRX",
80                     "port-oper-state": "InService",
81                     "supporting-oms": "OMS-DEG2-TTP-TXRX",
82                     "supporting-circuit-pack-name": "2/0",
83                     "supporting-ots": "OTS-DEG2-TTP-TXRX",
84                     "port-direction": "bidirectional",
85                     "port-admin-state": "InService",
86                     "supporting-port": "L1"
87                 }
88             ],
89             "mc-capabilities": [
90                 {
91                     "mc-node-name": "DEG1-TTP",
92                     "slot-width-granularity": "50.0",
93                     "center-freq-granularity": "50.0"
94                 },
95                 {
96                     "mc-node-name": "DEG2-TTP",
97                     "slot-width-granularity": "50.0",
98                     "center-freq-granularity": "50.0"
99                 },
100                 {
101                     "mc-node-name": "SRG1-PP",
102                     "slot-width-granularity": "50.0",
103                     "center-freq-granularity": "50.0"
104                 }
105             ]
106         },
107         {
108             "node-id": "ROADM-A1",
109             "node-info": {
110                 "node-type": "rdm",
111                 "node-model": "model2",
112                 "openroadm-version": "2.2.1",
113                 "node-clli": "NodeA",
114                 "node-vendor": "vendorA",
115                 "node-ip-address": "127.0.0.11"
116             },
117             "cp-to-degree": [
118                 {
119                     "circuit-pack-name": "1/0/ETH-PLUG",
120                     "interface-name": "1GE-interface-1",
121                     "degree-number": 1
122                 },
123                 {
124                     "circuit-pack-name": "2/0/ETH-PLUG",
125                     "interface-name": "1GE-interface-2",
126                     "degree-number": 2
127                 },
128                 {
129                     "circuit-pack-name": "2/0",
130                     "interface-name": "1GE-interface-2",
131                     "degree-number": 2
132                 },
133                 {
134                     "circuit-pack-name": "1/0",
135                     "interface-name": "1GE-interface-1",
136                     "degree-number": 1
137                 }
138             ],
139             "mapping": [
140                 {
141                     "logical-connection-point": "SRG1-PP2-TXRX",
142                     "port-oper-state": "InService",
143                     "supporting-circuit-pack-name": "3/0",
144                     "port-direction": "bidirectional",
145                     "port-admin-state": "InService",
146                     "supporting-port": "C2"
147                 },
148                 {
149                     "logical-connection-point": "SRG1-PP4-TXRX",
150                     "port-oper-state": "InService",
151                     "supporting-circuit-pack-name": "3/0",
152                     "port-direction": "bidirectional",
153                     "port-admin-state": "InService",
154                     "supporting-port": "C4"
155                 },
156                 {
157                     "logical-connection-point": "SRG3-PP4-TXRX",
158                     "port-oper-state": "InService",
159                     "supporting-circuit-pack-name": "5/0",
160                     "port-direction": "bidirectional",
161                     "port-admin-state": "InService",
162                     "supporting-port": "C4"
163                 },
164                 {
165                     "logical-connection-point": "SRG3-PP3-TXRX",
166                     "port-oper-state": "InService",
167                     "supporting-circuit-pack-name": "5/0",
168                     "port-direction": "bidirectional",
169                     "port-admin-state": "InService",
170                     "supporting-port": "C3"
171                 },
172                 {
173                     "logical-connection-point": "DEG2-TTP-TXRX",
174                     "port-oper-state": "InService",
175                     "supporting-oms": "OMS-DEG2-TTP-TXRX",
176                     "supporting-circuit-pack-name": "2/0",
177                     "supporting-ots": "OTS-DEG2-TTP-TXRX",
178                     "port-direction": "bidirectional",
179                     "port-admin-state": "InService",
180                     "supporting-port": "L1"
181                 },
182                 {
183                     "logical-connection-point": "SRG1-PP3-TXRX",
184                     "port-oper-state": "InService",
185                     "supporting-circuit-pack-name": "3/0",
186                     "port-direction": "bidirectional",
187                     "port-admin-state": "InService",
188                     "supporting-port": "C3"
189                 },
190                 {
191                     "logical-connection-point": "SRG3-PP2-TXRX",
192                     "port-oper-state": "InService",
193                     "supporting-circuit-pack-name": "5/0",
194                     "port-direction": "bidirectional",
195                     "port-admin-state": "InService",
196                     "supporting-port": "C2"
197                 },
198                 {
199                     "logical-connection-point": "SRG1-PP1-TXRX",
200                     "port-oper-state": "InService",
201                     "supporting-circuit-pack-name": "3/0",
202                     "port-direction": "bidirectional",
203                     "port-admin-state": "InService",
204                     "supporting-port": "C1"
205                 },
206                 {
207                     "logical-connection-point": "DEG1-TTP-TXRX",
208                     "port-oper-state": "InService",
209                     "supporting-oms": "OMS-DEG1-TTP-TXRX",
210                     "supporting-circuit-pack-name": "1/0",
211                     "supporting-ots": "OTS-DEG1-TTP-TXRX",
212                     "port-direction": "bidirectional",
213                     "port-admin-state": "InService",
214                     "supporting-port": "L1"
215                 },
216                 {
217                     "logical-connection-point": "SRG3-PP1-TXRX",
218                     "port-oper-state": "InService",
219                     "supporting-circuit-pack-name": "5/0",
220                     "port-direction": "bidirectional",
221                     "port-admin-state": "InService",
222                     "supporting-port": "C1"
223                 }
224             ],
225             "mc-capabilities": [
226                 {
227                     "mc-node-name": "DEG2-TTP",
228                     "slot-width-granularity": "50.0",
229                     "center-freq-granularity": "50.0"
230                 },
231                 {
232                     "mc-node-name": "DEG1-TTP",
233                     "slot-width-granularity": "50.0",
234                     "center-freq-granularity": "50.0"
235                 },
236                 {
237                     "mc-node-name": "SRG3-PP",
238                     "slot-width-granularity": "50.0",
239                     "center-freq-granularity": "50.0"
240                 },
241                 {
242                     "mc-node-name": "SRG1-PP",
243                     "slot-width-granularity": "50.0",
244                     "center-freq-granularity": "50.0"
245                 }
246             ]
247         },
248         {
249             "node-id": "ROADM-B1",
250             "node-info": {
251                 "node-type": "rdm",
252                 "node-model": "model2",
253                 "openroadm-version": "2.2.1",
254                 "node-clli": "NodeB",
255                 "node-vendor": "vendorA",
256                 "node-ip-address": "127.0.0.12"
257             },
258             "cp-to-degree": [
259                 {
260                     "circuit-pack-name": "1/0/ETH-PLUG",
261                     "interface-name": "1GE-interface-1",
262                     "degree-number": 1
263                 },
264                 {
265                     "circuit-pack-name": "2/0/ETH-PLUG",
266                     "interface-name": "1GE-interface-2",
267                     "degree-number": 2
268                 },
269                 {
270                     "circuit-pack-name": "2/0",
271                     "interface-name": "1GE-interface-2",
272                     "degree-number": 2
273                 },
274                 {
275                     "circuit-pack-name": "1/0",
276                     "interface-name": "1GE-interface-1",
277                     "degree-number": 1
278                 }
279             ],
280             "mapping": [
281                 {
282                     "logical-connection-point": "SRG1-PP3-TXRX",
283                     "port-oper-state": "InService",
284                     "supporting-circuit-pack-name": "3/0",
285                     "port-direction": "bidirectional",
286                     "port-admin-state": "InService",
287                     "supporting-port": "C3"
288                 },
289                 {
290                     "logical-connection-point": "SRG1-PP2-TXRX",
291                     "port-oper-state": "InService",
292                     "supporting-circuit-pack-name": "3/0",
293                     "port-direction": "bidirectional",
294                     "port-admin-state": "InService",
295                     "supporting-port": "C2"
296                 },
297                 {
298                     "logical-connection-point": "SRG1-PP4-TXRX",
299                     "port-oper-state": "InService",
300                     "supporting-circuit-pack-name": "3/0",
301                     "port-direction": "bidirectional",
302                     "port-admin-state": "InService",
303                     "supporting-port": "C4"
304                 },
305                 {
306                     "logical-connection-point": "SRG1-PP1-TXRX",
307                     "port-oper-state": "InService",
308                     "supporting-circuit-pack-name": "3/0",
309                     "port-direction": "bidirectional",
310                     "port-admin-state": "InService",
311                     "supporting-port": "C1"
312                 },
313                 {
314                     "logical-connection-point": "DEG1-TTP-TXRX",
315                     "port-oper-state": "InService",
316                     "supporting-oms": "OMS-DEG1-TTP-TXRX",
317                     "supporting-circuit-pack-name": "1/0",
318                     "supporting-ots": "OTS-DEG1-TTP-TXRX",
319                     "port-direction": "bidirectional",
320                     "port-admin-state": "InService",
321                     "supporting-port": "L1"
322                 },
323                 {
324                     "logical-connection-point": "DEG2-TTP-TXRX",
325                     "port-oper-state": "InService",
326                     "supporting-oms": "OMS-DEG2-TTP-TXRX",
327                     "supporting-circuit-pack-name": "2/0",
328                     "supporting-ots": "OTS-DEG2-TTP-TXRX",
329                     "port-direction": "bidirectional",
330                     "port-admin-state": "InService",
331                     "supporting-port": "L1"
332                 }
333             ],
334             "mc-capabilities": [
335                 {
336                     "mc-node-name": "DEG1-TTP",
337                     "slot-width-granularity": "50.0",
338                     "center-freq-granularity": "50.0"
339                 },
340                 {
341                     "mc-node-name": "DEG2-TTP",
342                     "slot-width-granularity": "50.0",
343                     "center-freq-granularity": "50.0"
344                 },
345                 {
346                     "mc-node-name": "SRG1-PP",
347                     "slot-width-granularity": "50.0",
348                     "center-freq-granularity": "50.0"
349                 }
350             ]
351         }
352     ]
353 }