Fix for VTN Manager CSIT test failures for Beryllium.
[integration/test.git] / csit / variables / topoprocessing / Requests.py
1 UNIFICATION_NT = '''<topology xmlns="urn:opendaylight:topology:correlation" xmlns:n="urn:TBD:params:xml:ns:yang:network-topology">
2                         <n:topology-id>unif:1</n:topology-id>
3                         <correlations>
4                             <output-model>network-topology-model</output-model>
5                             <correlation>
6                                 <correlation-id>1</correlation-id>
7                                 <type>aggregation-only</type>
8                                 <correlation-item>node</correlation-item>
9                                 <aggregation>
10                                     <aggregation-type>unification</aggregation-type>
11                                     <mapping>
12                                         <input-model>network-topology-model</input-model>
13                                         <underlay-topology>und-topo:1</underlay-topology>
14                                         <target-field>network-topology-pcep:path-computation-client/network-topology-pcep:ip-address</target-field>
15                                         <aggregate-inside>false</aggregate-inside>
16                                     </mapping>
17                                     <mapping>
18                                         <input-model>network-topology-model</input-model>
19                                         <underlay-topology>und-topo:2</underlay-topology>
20                                         <target-field>network-topology-pcep:path-computation-client/network-topology-pcep:ip-address</target-field>
21                                         <aggregate-inside>false</aggregate-inside>
22                                     </mapping>
23                                 </aggregation>
24                             </correlation>
25                         </correlations>
26                     </topology>'''
27
28 UNDERLAY_TOPOLOGY_1 = '''<topology
29                                 xmlns="urn:TBD:params:xml:ns:yang:network-topology"
30                                 xmlns:pcep="urn:opendaylight:params:xml:ns:yang:topology:pcep">
31                             <topology-id>und-topo:1</topology-id>
32                             <topology-types>
33                                 <pcep:topology-pcep></pcep:topology-pcep>
34                             </topology-types>
35                             <node>
36                                 <node-id>pcep:1</node-id>
37                                 <pcep:path-computation-client>
38                                     <pcep:ip-address>192.168.1.1</pcep:ip-address>
39                                 </pcep:path-computation-client>
40                             </node>
41                             <node>
42                                 <node-id>pcep:2</node-id>
43                                 <pcep:path-computation-client>
44                                     <pcep:ip-address>192.168.1.2</pcep:ip-address>
45                                 </pcep:path-computation-client>
46                             </node>
47                             <node>
48                                 <node-id>pcep:3</node-id>
49                                 <pcep:path-computation-client>
50                                     <pcep:ip-address>192.168.2.1</pcep:ip-address>
51                                 </pcep:path-computation-client>
52                             </node>
53                             <node>
54                                 <node-id>pcep:4</node-id>
55                                 <pcep:path-computation-client>
56                                     <pcep:ip-address>192.168.2.2</pcep:ip-address>
57                                 </pcep:path-computation-client>
58                             </node>
59                             <node>
60                                 <node-id>pcep:5</node-id>
61                                 <pcep:path-computation-client>
62                                     <pcep:ip-address>192.168.2.3</pcep:ip-address>
63                                 </pcep:path-computation-client>
64                             </node>
65                         </topology>'''
66
67 UNDERLAY_TOPOLOGY_2 = '''<topology
68                                 xmlns="urn:TBD:params:xml:ns:yang:network-topology"
69                                 xmlns:pcep="urn:opendaylight:params:xml:ns:yang:topology:pcep">
70                             <topology-id>und-topo:2</topology-id>
71                             <topology-types>
72                                 <pcep:topology-pcep></pcep:topology-pcep>
73                             </topology-types>
74                             <node>
75                                 <node-id>pcep:6</node-id>
76                                 <pcep:path-computation-client>
77                                     <pcep:ip-address>192.168.1.3</pcep:ip-address>
78                                 </pcep:path-computation-client>
79                             </node>
80                             <node>
81                                 <node-id>pcep:7</node-id>
82                                 <pcep:path-computation-client>
83                                     <pcep:ip-address>192.168.1.4</pcep:ip-address>
84                                 </pcep:path-computation-client>
85                             </node>
86                             <node>
87                                 <node-id>pcep:8</node-id>
88                                 <pcep:path-computation-client>
89                                     <pcep:ip-address>192.168.2.4</pcep:ip-address>
90                                 </pcep:path-computation-client>
91                             </node>
92                             <node>
93                                 <node-id>pcep:9</node-id>
94                                 <pcep:path-computation-client>
95                                     <pcep:ip-address>192.168.2.5</pcep:ip-address>
96                                 </pcep:path-computation-client>
97                             </node>
98                             <node>
99                                 <node-id>pcep:10</node-id>
100                                 <pcep:path-computation-client>
101                                     <pcep:ip-address>192.168.2.3</pcep:ip-address>
102                                 </pcep:path-computation-client>
103                             </node>
104                         </topology>'''