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>
4 <output-model>network-topology-model</output-model>
6 <correlation-id>1</correlation-id>
7 <type>aggregation-only</type>
8 <correlation-item>node</correlation-item>
10 <aggregation-type>unification</aggregation-type>
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>
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>
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>
33 <pcep:topology-pcep></pcep:topology-pcep>
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>
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>
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>
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>
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>
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>
72 <pcep:topology-pcep></pcep:topology-pcep>
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>
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>
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>
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>
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>