f94a949842dbf3a6c91a1e96dd7e65742a4324aa
[laas.git] / src / workflow / tests / constants.py
1 ##############################################################################
2 # Copyright (c) 2018 Parker Berberian, Sawyer Bergeron, and others.
3 #
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9 POD_XML = """<mxGraphModel>
10 <root>
11 <mxCell id="0"/>
12 <mxCell id="1" parent="0"/>
13 <mxCell id="host_null" value="Test profile 0" style="editable=0" vertex="1" connectable="0" parent="1">
14 <mxGeometry x="75" y="150" width="110" height="90" as="geometry"/>
15 </mxCell>
16 <mxCell id="2" value="eno0" style="fillColor=blue;editable=0" vertex="1" parent="host_null">
17 <mxGeometry x="90" y="5" width="20" height="20" as="geometry"/>
18 </mxCell>
19 <mxCell id="3" value="eno1" style="fillColor=blue;editable=0" vertex="1" parent="host_null">
20 <mxGeometry x="90" y="30" width="20" height="20" as="geometry"/>
21 </mxCell>
22 <mxCell id="4" value="eno2" style="fillColor=blue;editable=0" vertex="1" parent="host_null">
23 <mxGeometry x="90" y="55" width="20" height="20" as="geometry"/>
24 </mxCell>
25 <mxCell id="5" value="Test profile 3" style="editable=0" vertex="1" connectable="0" parent="1">
26 <mxGeometry x="75" y="290" width="110" height="90" as="geometry"/>
27 </mxCell>
28 <mxCell id="6" value="eno0" style="fillColor=blue;editable=0" vertex="1" parent="5">
29 <mxGeometry x="90" y="5" width="20" height="20" as="geometry"/>
30 </mxCell>
31 <mxCell id="7" value="eno1" style="fillColor=blue;editable=0" vertex="1" parent="5">
32 <mxGeometry x="90" y="30" width="20" height="20" as="geometry"/>
33 </mxCell>
34 <mxCell id="8" value="eno2" style="fillColor=blue;editable=0" vertex="1" parent="5">
35 <mxGeometry x="90" y="55" width="20" height="20" as="geometry"/>
36 </mxCell>
37 <mxCell id="network_0" value="{&quot;vlan_id&quot;:&quot;500&quot;,&quot;name&quot;:&quot;net&quot;}" style="fillColor=red" vertex="1" parent="1">
38 <mxGeometry x="400" y="-20" width="10" height="2000" as="geometry"/>
39 </mxCell>
40 <mxCell id="9" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
41 <mxGeometry width="10" height="40" relative="1" as="geometry"/>
42 </mxCell>
43 <mxCell id="10" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
44 <mxGeometry y="0.02" width="10" height="40" relative="1" as="geometry"/>
45 </mxCell>
46 <mxCell id="11" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
47 <mxGeometry y="0.04" width="10" height="40" relative="1" as="geometry"/>
48 </mxCell>
49 <mxCell id="12" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
50 <mxGeometry y="0.06" width="10" height="40" relative="1" as="geometry"/>
51 </mxCell>
52 <mxCell id="13" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
53 <mxGeometry y="0.08" width="10" height="40" relative="1" as="geometry"/>
54 </mxCell>
55 <mxCell id="14" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
56 <mxGeometry y="0.1" width="10" height="40" relative="1" as="geometry"/>
57 </mxCell>
58 <mxCell id="15" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
59 <mxGeometry y="0.12" width="10" height="40" relative="1" as="geometry"/>
60 </mxCell>
61 <mxCell id="16" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
62 <mxGeometry y="0.14" width="10" height="40" relative="1" as="geometry"/>
63 </mxCell>
64 <mxCell id="17" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
65 <mxGeometry y="0.16" width="10" height="40" relative="1" as="geometry"/>
66 </mxCell>
67 <mxCell id="18" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
68 <mxGeometry y="0.18" width="10" height="40" relative="1" as="geometry"/>
69 </mxCell>
70 <mxCell id="19" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
71 <mxGeometry y="0.2" width="10" height="40" relative="1" as="geometry"/>
72 </mxCell>
73 <mxCell id="20" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
74 <mxGeometry y="0.22" width="10" height="40" relative="1" as="geometry"/>
75 </mxCell>
76 <mxCell id="21" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
77 <mxGeometry y="0.24" width="10" height="40" relative="1" as="geometry"/>
78 </mxCell>
79 <mxCell id="22" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
80 <mxGeometry y="0.26" width="10" height="40" relative="1" as="geometry"/>
81 </mxCell>
82 <mxCell id="23" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
83 <mxGeometry y="0.28" width="10" height="40" relative="1" as="geometry"/>
84 </mxCell>
85 <mxCell id="24" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
86 <mxGeometry y="0.3" width="10" height="40" relative="1" as="geometry"/>
87 </mxCell>
88 <mxCell id="25" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
89 <mxGeometry y="0.32" width="10" height="40" relative="1" as="geometry"/>
90 </mxCell>
91 <mxCell id="26" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
92 <mxGeometry y="0.34" width="10" height="40" relative="1" as="geometry"/>
93 </mxCell>
94 <mxCell id="27" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
95 <mxGeometry y="0.36" width="10" height="40" relative="1" as="geometry"/>
96 </mxCell>
97 <mxCell id="28" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
98 <mxGeometry y="0.38" width="10" height="40" relative="1" as="geometry"/>
99 </mxCell>
100 <mxCell id="29" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
101 <mxGeometry y="0.4" width="10" height="40" relative="1" as="geometry"/>
102 </mxCell>
103 <mxCell id="30" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
104 <mxGeometry y="0.42" width="10" height="40" relative="1" as="geometry"/>
105 </mxCell>
106 <mxCell id="31" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
107 <mxGeometry y="0.44" width="10" height="40" relative="1" as="geometry"/>
108 </mxCell>
109 <mxCell id="32" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
110 <mxGeometry y="0.46" width="10" height="40" relative="1" as="geometry"/>
111 </mxCell>
112 <mxCell id="33" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
113 <mxGeometry y="0.48" width="10" height="40" relative="1" as="geometry"/>
114 </mxCell>
115 <mxCell id="34" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
116 <mxGeometry y="0.5" width="10" height="40" relative="1" as="geometry"/>
117 </mxCell>
118 <mxCell id="35" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
119 <mxGeometry y="0.52" width="10" height="40" relative="1" as="geometry"/>
120 </mxCell>
121 <mxCell id="36" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
122 <mxGeometry y="0.54" width="10" height="40" relative="1" as="geometry"/>
123 </mxCell>
124 <mxCell id="37" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
125 <mxGeometry y="0.56" width="10" height="40" relative="1" as="geometry"/>
126 </mxCell>
127 <mxCell id="38" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
128 <mxGeometry y="0.58" width="10" height="40" relative="1" as="geometry"/>
129 </mxCell>
130 <mxCell id="39" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
131 <mxGeometry y="0.6" width="10" height="40" relative="1" as="geometry"/>
132 </mxCell>
133 <mxCell id="40" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
134 <mxGeometry y="0.62" width="10" height="40" relative="1" as="geometry"/>
135 </mxCell>
136 <mxCell id="41" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
137 <mxGeometry y="0.64" width="10" height="40" relative="1" as="geometry"/>
138 </mxCell>
139 <mxCell id="42" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
140 <mxGeometry y="0.66" width="10" height="40" relative="1" as="geometry"/>
141 </mxCell>
142 <mxCell id="43" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
143 <mxGeometry y="0.68" width="10" height="40" relative="1" as="geometry"/>
144 </mxCell>
145 <mxCell id="44" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
146 <mxGeometry y="0.7000000000000001" width="10" height="40" relative="1" as="geometry"/>
147 </mxCell>
148 <mxCell id="45" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
149 <mxGeometry y="0.72" width="10" height="40" relative="1" as="geometry"/>
150 </mxCell>
151 <mxCell id="46" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
152 <mxGeometry y="0.74" width="10" height="40" relative="1" as="geometry"/>
153 </mxCell>
154 <mxCell id="47" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
155 <mxGeometry y="0.76" width="10" height="40" relative="1" as="geometry"/>
156 </mxCell>
157 <mxCell id="48" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
158 <mxGeometry y="0.78" width="10" height="40" relative="1" as="geometry"/>
159 </mxCell>
160 <mxCell id="49" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
161 <mxGeometry y="0.8" width="10" height="40" relative="1" as="geometry"/>
162 </mxCell>
163 <mxCell id="50" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
164 <mxGeometry y="0.8200000000000001" width="10" height="40" relative="1" as="geometry"/>
165 </mxCell>
166 <mxCell id="51" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
167 <mxGeometry y="0.84" width="10" height="40" relative="1" as="geometry"/>
168 </mxCell>
169 <mxCell id="52" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
170 <mxGeometry y="0.86" width="10" height="40" relative="1" as="geometry"/>
171 </mxCell>
172 <mxCell id="53" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
173 <mxGeometry y="0.88" width="10" height="40" relative="1" as="geometry"/>
174 </mxCell>
175 <mxCell id="54" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
176 <mxGeometry y="0.9" width="10" height="40" relative="1" as="geometry"/>
177 </mxCell>
178 <mxCell id="55" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
179 <mxGeometry y="0.92" width="10" height="40" relative="1" as="geometry"/>
180 </mxCell>
181 <mxCell id="56" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
182 <mxGeometry y="0.9400000000000001" width="10" height="40" relative="1" as="geometry"/>
183 </mxCell>
184 <mxCell id="57" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
185 <mxGeometry y="0.96" width="10" height="40" relative="1" as="geometry"/>
186 </mxCell>
187 <mxCell id="58" value="" style="fillColor=black;opacity=0" vertex="1" parent="network_0">
188 <mxGeometry y="0.98" width="10" height="40" relative="1" as="geometry"/>
189 </mxCell>
190 <mxCell id="59" value="{&quot;tagged&quot;:true}" style="strokeColor=red" edge="1" parent="1" source="2" target="13">
191 <mxGeometry relative="1" as="geometry"/>
192 </mxCell>
193 <mxCell id="60" value="{&quot;tagged&quot;:false}" style="strokeColor=red" edge="1" parent="1" source="7" target="17">
194 <mxGeometry relative="1" as="geometry"/>
195 </mxCell>
196 </root>
197 </mxGraphModel>
198 """