| 1 | [[PageOutline]] |
| 2 | Navigation: [wiki:GEC21Agenda/ChoiceNet Up] |
| 3 | |
| 4 | = Example Topology = |
| 5 | |
| 6 | == Sample rspec == |
| 7 | |
| 8 | {{{ |
| 9 | <rspec type="request" generated_by="Flack" generated="2014-10-13T17:23:06Z" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/request.xsd " xmlns:flack="http://www.protogeni.net/resources/rspec/ext/flack/1" xmlns:client="http://www.protogeni.net/resources/rspec/ext/client/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.geni.net/resources/rspec/3"> |
| 10 | <node client_id="srcr" exclusive="false" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2"> |
| 11 | <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2"> |
| 12 | <color:xmlblob> |
| 13 | <color:blob> |
| 14 | <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1"> |
| 15 | <gemini:services> |
| 16 | <gemini:active install="no" enable="no"/> |
| 17 | <gemini:passive install="yes" enable="yes"/> |
| 18 | </gemini:services> |
| 19 | </gemini:node> |
| 20 | </color:blob> |
| 21 | </color:xmlblob> |
| 22 | </color:resource_color> |
| 23 | <sliver_type name="emulab-xen"> |
| 24 | <disk_image name="urn:publicid:IDN+lan.sdn.uky.edu+image+emulab-ops:Ubuntu12-64-OVS"/> |
| 25 | </sliver_type> |
| 26 | <services> |
| 27 | <execute command="sudo /tmp/ovs-startup.sh" shell="sh"/> |
| 28 | <install install_path="/tmp" url="http://gemini.netlab.uky.edu/ovs_start.tgz"/> |
| 29 | </services> |
| 30 | <interface client_id="srcr:if1"> |
| 31 | <ip address="10.10.7.1" netmask="255.255.255.0" type=""/> |
| 32 | </interface> |
| 33 | <interface client_id="srcr:if2"> |
| 34 | <ip address="10.10.5.2" netmask="255.255.255.0" type=""/> |
| 35 | </interface> |
| 36 | <interface client_id="srcr:if4"> |
| 37 | <ip address="10.10.2.1" netmask="255.255.255.0" type=""/> |
| 38 | </interface> |
| 39 | <interface client_id="srcr:if0"> |
| 40 | <ip address="10.10.1.2" netmask="255.255.255.0" type=""/> |
| 41 | </interface> |
| 42 | </node> |
| 43 | <node client_id="LB" exclusive="false" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2"> |
| 44 | <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2"> |
| 45 | <color:xmlblob> |
| 46 | <color:blob> |
| 47 | <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1"> |
| 48 | <gemini:services> |
| 49 | <gemini:active install="no" enable="no"/> |
| 50 | <gemini:passive install="yes" enable="yes"/> |
| 51 | </gemini:services> |
| 52 | </gemini:node> |
| 53 | </color:blob> |
| 54 | </color:xmlblob> |
| 55 | </color:resource_color> |
| 56 | <sliver_type name="emulab-xen"> |
| 57 | <disk_image name="urn:publicid:IDN+lan.sdn.uky.edu+image+emulab-ops:Ubuntu12-64-OVS"/> |
| 58 | </sliver_type> |
| 59 | <services> |
| 60 | <execute command="sudo /tmp/ovs-startup.sh" shell="sh"/> |
| 61 | <install install_path="/tmp" url="http://gemini.netlab.uky.edu/ovs_start.tgz"/> |
| 62 | </services> |
| 63 | |
| 64 | <interface client_id="LB:if0"> |
| 65 | <ip address="10.10.5.1" netmask="255.255.255.0" type=""/> |
| 66 | </interface> |
| 67 | <interface client_id="LB:if1"> |
| 68 | <ip address="10.10.6.1" netmask="255.255.255.0" type=""/> |
| 69 | </interface> |
| 70 | </node> |
| 71 | <node client_id="dstr" exclusive="false" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2"> |
| 72 | <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2"> |
| 73 | <color:xmlblob> |
| 74 | <color:blob> |
| 75 | <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1"> |
| 76 | <gemini:services> |
| 77 | <gemini:active install="no" enable="no"/> |
| 78 | <gemini:passive install="yes" enable="yes"/> |
| 79 | </gemini:services> |
| 80 | </gemini:node> |
| 81 | </color:blob> |
| 82 | </color:xmlblob> |
| 83 | </color:resource_color> |
| 84 | <sliver_type name="emulab-xen"> |
| 85 | <disk_image name="urn:publicid:IDN+lan.sdn.uky.edu+image+emulab-ops:Ubuntu12-64-OVS"/> |
| 86 | </sliver_type> |
| 87 | <interface client_id="dstr:if2"> |
| 88 | <ip address="10.10.8.2" netmask="255.255.255.0" type=""/> |
| 89 | </interface> |
| 90 | <interface client_id="dstr:if3"> |
| 91 | <ip address="10.10.6.2" netmask="255.255.255.0" type=""/> |
| 92 | </interface> |
| 93 | <interface client_id="dstr:if4"> |
| 94 | <ip address="10.10.3.1" netmask="255.255.255.0" type=""/> |
| 95 | </interface> |
| 96 | <interface client_id="dstr:if0"> |
| 97 | <ip address="10.10.4.2" netmask="255.255.255.0" type=""/> |
| 98 | </interface> |
| 99 | <services> |
| 100 | <execute command="sudo /tmp/ovs-startup.sh" shell="sh"/> |
| 101 | <install install_path="/tmp" url="http://gemini.netlab.uky.edu/ovs_start.tgz"/> |
| 102 | </services> |
| 103 | |
| 104 | </node> |
| 105 | <node client_id="H2" exclusive="false" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2"> |
| 106 | <emulab:routable_control_ip xmlns="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> |
| 107 | <emulab:routable_control_ip xmlns="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> |
| 108 | <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2"> |
| 109 | <color:xmlblob> |
| 110 | <color:blob> |
| 111 | <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1"> |
| 112 | <gemini:services> |
| 113 | <gemini:active install="no" enable="no"/> |
| 114 | <gemini:passive install="yes" enable="yes"/> |
| 115 | </gemini:services> |
| 116 | </gemini:node> |
| 117 | </color:blob> |
| 118 | </color:xmlblob> |
| 119 | </color:resource_color> |
| 120 | <emulab:routable_control_ip/> |
| 121 | <sliver_type name="emulab-xen"/> |
| 122 | <interface client_id="H2:if0"> |
| 123 | <ip address="10.10.4.1" netmask="255.255.255.0" type=""/> |
| 124 | |
| 125 | </interface> |
| 126 | </node> |
| 127 | <node client_id="H1" exclusive="false" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2"> |
| 128 | <emulab:routable_control_ip xmlns="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> |
| 129 | <emulab:routable_control_ip xmlns="http://www.protogeni.net/resources/rspec/ext/emulab/1"/> |
| 130 | <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2"> |
| 131 | <color:xmlblob> |
| 132 | <color:blob> |
| 133 | <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1"> |
| 134 | <gemini:services> |
| 135 | <gemini:active install="no" enable="no"/> |
| 136 | <gemini:passive install="yes" enable="yes"/> |
| 137 | </gemini:services> |
| 138 | </gemini:node> |
| 139 | </color:blob> |
| 140 | </color:xmlblob> |
| 141 | </color:resource_color> |
| 142 | <emulab:routable_control_ip/> |
| 143 | <sliver_type name="emulab-xen"/> |
| 144 | <interface client_id="H1:if0"> |
| 145 | <ip address="10.10.1.1" netmask="255.255.255.0" type=""/> |
| 146 | </interface> |
| 147 | </node> |
| 148 | <node client_id="HLHB" exclusive="false" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2"> |
| 149 | <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2"> |
| 150 | <color:xmlblob> |
| 151 | <color:blob> |
| 152 | <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1"> |
| 153 | <gemini:services> |
| 154 | <gemini:active install="no" enable="no"/> |
| 155 | <gemini:passive install="yes" enable="yes"/> |
| 156 | </gemini:services> |
| 157 | </gemini:node> |
| 158 | </color:blob> |
| 159 | </color:xmlblob> |
| 160 | </color:resource_color> |
| 161 | <sliver_type name="emulab-xen"> |
| 162 | <disk_image name="urn:publicid:IDN+lan.sdn.uky.edu+image+emulab-ops:Ubuntu12-64-OVS"/> |
| 163 | </sliver_type> |
| 164 | <interface client_id="HLHB:if0"> |
| 165 | <ip address="10.10.2.2" netmask="255.255.255.0" type=""/> |
| 166 | </interface> |
| 167 | <interface client_id="HLHB:if1"> |
| 168 | <ip address="10.10.3.2" netmask="255.255.255.0" type=""/> |
| 169 | </interface> |
| 170 | <services> |
| 171 | <execute command="sudo /tmp/ovs-startup.sh" shell="sh"/> |
| 172 | <install install_path="/tmp" url="http://gemini.netlab.uky.edu/ovs_start.tgz"/> |
| 173 | </services> |
| 174 | |
| 175 | </node> |
| 176 | <node client_id="HB" exclusive="false" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2"> |
| 177 | <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2"> |
| 178 | <color:xmlblob> |
| 179 | <color:blob> |
| 180 | <gemini:node type="mp_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1"> |
| 181 | <gemini:services> |
| 182 | <gemini:active install="no" enable="no"/> |
| 183 | <gemini:passive install="yes" enable="yes"/> |
| 184 | </gemini:services> |
| 185 | </gemini:node> |
| 186 | </color:blob> |
| 187 | </color:xmlblob> |
| 188 | </color:resource_color> |
| 189 | <sliver_type name="emulab-xen"> |
| 190 | <disk_image name="urn:publicid:IDN+lan.sdn.uky.edu+image+emulab-ops:Ubuntu12-64-OVS"/> |
| 191 | </sliver_type> |
| 192 | <interface client_id="HB:if0"> |
| 193 | <ip address="10.10.7.2" netmask="255.255.255.0" type=""/> |
| 194 | </interface> |
| 195 | <interface client_id="HB:if1"> |
| 196 | <ip address="10.10.8.1" netmask="255.255.255.0" type=""/> |
| 197 | </interface> |
| 198 | <services> |
| 199 | <execute command="sudo /tmp/ovs-startup.sh" shell="sh"/> |
| 200 | <install install_path="/tmp" url="http://gemini.netlab.uky.edu/ovs_start.tgz"/> |
| 201 | </services> |
| 202 | |
| 203 | </node> |
| 204 | <node client_id="GN0" exclusive="false" xmlns:color="http://www.geni.net/resources/rspec/ext/color/2" xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1"> |
| 205 | <color:resource_color color="gemini" xmlns:gemini="http://www.geni.net/resources/rspec/ext/gemini/1" xmlns="http://www.geni.net/resources/rspec/ext/color/2"> |
| 206 | <color:xmlblob> |
| 207 | <color:blob> |
| 208 | <gemini:node type="global_node" xmlns="http://www.geni.net/resources/rspec/ext/gemini/1"> |
| 209 | <gemini:monitor_urn name=""/> |
| 210 | </gemini:node> |
| 211 | </color:blob> |
| 212 | </color:xmlblob> |
| 213 | </color:resource_color> |
| 214 | <emulab:routable_control_ip/> |
| 215 | <emulab:routable_control_ip/> |
| 216 | <sliver_type name="emulab-openvz"> |
| 217 | <disk_image url="https://www.lan.sdn.uky.edu/image_metadata.php?uuid=0862ac07-8dba-11e3-9727-000000000000"/> |
| 218 | </sliver_type> |
| 219 | </node> |
| 220 | <link client_id="lan1"> |
| 221 | <component_manager name="urn:publicid:IDN+pks2.sdn.uky.edu+authority+cm"/> |
| 222 | <interface_ref client_id="srcr:if1"/> |
| 223 | <interface_ref client_id="HB:if0"/> |
| 224 | <property source_id="srcr:if1" dest_id="HB:if0" capacity="10000"/> |
| 225 | <property source_id="HB:if0" dest_id="srcr:if1" capacity="10000"/> |
| 226 | <link_type name="lan"/> |
| 227 | </link> |
| 228 | <link client_id="lan2"> |
| 229 | <component_manager name="urn:publicid:IDN+pks2.sdn.uky.edu+authority+cm"/> |
| 230 | <interface_ref client_id="LB:if0"/> |
| 231 | <interface_ref client_id="srcr:if2"/> |
| 232 | <property source_id="LB:if0" dest_id="srcr:if2" capacity="1000"/> |
| 233 | <property source_id="srcr:if2" dest_id="LB:if0" capacity="1000"/> |
| 234 | <link_type name="lan"/> |
| 235 | </link> |
| 236 | <link client_id="lan4"> |
| 237 | <component_manager name="urn:publicid:IDN+pks2.sdn.uky.edu+authority+cm"/> |
| 238 | <interface_ref client_id="srcr:if4"/> |
| 239 | <interface_ref client_id="HLHB:if0"/> |
| 240 | <property source_id="srcr:if4" dest_id="HLHB:if0" capacity="10000" latency="10"/> |
| 241 | <property source_id="HLHB:if0" dest_id="srcr:if4" capacity="10000" latency="10"/> |
| 242 | <link_type name="lan"/> |
| 243 | </link> |
| 244 | <link client_id="lan7"> |
| 245 | <component_manager name="urn:publicid:IDN+pks2.sdn.uky.edu+authority+cm"/> |
| 246 | <interface_ref client_id="HB:if1"/> |
| 247 | <interface_ref client_id="dstr:if2"/> |
| 248 | <property source_id="HB:if1" dest_id="dstr:if2" capacity="10000"/> |
| 249 | <property source_id="dstr:if2" dest_id="HB:if1" capacity="10000"/> |
| 250 | <link_type name="lan"/> |
| 251 | </link> |
| 252 | <link client_id="lan8"> |
| 253 | <component_manager name="urn:publicid:IDN+pks2.sdn.uky.edu+authority+cm"/> |
| 254 | <interface_ref client_id="LB:if1"/> |
| 255 | <interface_ref client_id="dstr:if3"/> |
| 256 | <property source_id="LB:if1" dest_id="dstr:if3" capacity="1000"/> |
| 257 | <property source_id="dstr:if3" dest_id="LB:if1" capacity="1000"/> |
| 258 | <link_type name="lan"/> |
| 259 | </link> |
| 260 | <link client_id="lan9"> |
| 261 | <component_manager name="urn:publicid:IDN+pks2.sdn.uky.edu+authority+cm"/> |
| 262 | <interface_ref client_id="dstr:if4"/> |
| 263 | <interface_ref client_id="HLHB:if1"/> |
| 264 | <property source_id="dstr:if4" dest_id="HLHB:if1" capacity="10000" latency="10"/> |
| 265 | <property source_id="HLHB:if1" dest_id="dstr:if4" capacity="10000" latency="10"/> |
| 266 | <link_type name="lan"/> |
| 267 | </link> |
| 268 | <link client_id="lan0"> |
| 269 | <component_manager name="urn:publicid:IDN+pks2.sdn.uky.edu+authority+cm"/> |
| 270 | <interface_ref client_id="H1:if0"/> |
| 271 | <interface_ref client_id="srcr:if0"/> |
| 272 | <property source_id="H1:if0" dest_id="srcr:if0"/> |
| 273 | <property source_id="srcr:if0" dest_id="H1:if0"/> |
| 274 | <link_type name="lan"/> |
| 275 | </link> |
| 276 | <link client_id="lan3"> |
| 277 | <component_manager name="urn:publicid:IDN+pks2.sdn.uky.edu+authority+cm"/> |
| 278 | <interface_ref client_id="H2:if0"/> |
| 279 | <interface_ref client_id="dstr:if0"/> |
| 280 | <property source_id="H2:if0" dest_id="dstr:if0"/> |
| 281 | <property source_id="dstr:if0" dest_id="H2:if0"/> |
| 282 | <link_type name="lan"/> |
| 283 | </link> |
| 284 | </rspec> |
| 285 | }}} |
| 286 | |
| 287 | [[BR]][[BR]][[BR]] |
| 288 | == FLACK View == |
| 289 | This rspec looks like the below screenshot when loaded into FLACK. |
| 290 | |
| 291 | [[Image(GEMINI/Tutorial/GEC17/GENI_Desktop_and_GEMINI_Example_Topology:GREE13.topo.png)]] |
| 292 | |
| 293 | == Adding GEMINI Extensions == |
| 294 | |
| 295 | To add GEMINI Extensions onto your slice, please follow the steps shown by the arrows in the screenshot below |
| 296 | |
| 297 | [[Image(GEMINI/Tutorial/GEC17/GENI_Desktop_and_GEMINI_Example_Topology:Slide1.png)]] |