wiki:IMInteroperability/GEMINIExtensionExample

Version 1 (modified by Jeanne Ohren, 7 years ago) (diff)

--

Hi All,

Attached is an example of a two aggregate topology with GEMINI extensions as we discussed.  There is also the Flack extension present here just for fun.

We basically have:

    <gemini:node type="mp_node" xmlns="http://geni.net/resources/rspec/ext/gemini/1">
      <gemini:services>
        <gemini:active install="yes" enable="yes"/>
        <gemini:passive install="yes" enable="yes"/>
      </gemini:services>
    </gemini:node>

and

    <gemini:node type="global_node" xmlns="http://geni.net/resources/rspec/ext/gemini/1">
      <gemini:monitor_urn name="urn:publicid:IDN+uky.emulab.net+authority+cm"/>
    </gemini:node>

...specific to the GEMINI "global node".

Let me know if you have any questions.

- ezra

gemini_basic.xml

<rspec type="request" generated_by="Flack" generated="2013-03-06T15:31:46Z" 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">
  <node client_id="VM" component_manager_id="urn:publicid:IDN+uky.emulab.net+authority+cm" exclusive="false" xmlns:gemini="http://geni.net/resources/rspec/ext/gemini/1">
    <gemini:node type="mp_node" xmlns="http://geni.net/resources/rspec/ext/gemini/1">
      <gemini:services>
        <gemini:active install="yes" enable="yes"/>
        <gemini:passive install="yes" enable="yes"/>
      </gemini:services>
    </gemini:node>
    <sliver_type name="emulab-openvz">
      <disk_image name="urn:publicid:IDN+uky.emulab.net+image+uky-emulab-net//GEMINI_MP2"/>
    </sliver_type>
    <interface client_id="VM:if0">
      <ip address="192.168.1.1" netmask="255.255.255.0" type="ipv4"/>
      <flack:interface_info addressBound="true" bound="false"/>
    </interface>
    <flack:node_info x="322" y="89" unbound="true"/>
  </node>
  <node client_id="GNukgenicm0" component_manager_id="urn:publicid:IDN+uky.emulab.net+authority+cm" exclusive="false" xmlns:gemini="http://geni.net/resources/rspec/ext/gemini/1">
    <gemini:node type="global_node" xmlns="http://geni.net/resources/rspec/ext/gemini/1">
      <gemini:monitor_urn name="urn:publicid:IDN+uky.emulab.net+authority+cm"/>
    </gemini:node>
    <emulab:routable_control_ip xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1"/>
    <sliver_type name="emulab-openvz">
      <disk_image name="urn:publicid:IDN+uky.emulab.net+image+uky-emulab-net//GEMINI_GN2"/>
    </sliver_type>
    <flack:node_info x="1076" y="92" unbound="true"/>
  </node>
  <node client_id="VM-0" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" xmlns:gemini="http://geni.net/resources/rspec/ext/gemini/1">
    <gemini:node type="mp_node" xmlns="http://geni.net/resources/rspec/ext/gemini/1">
      <gemini:services>
        <gemini:active install="yes" enable="yes"/>
        <gemini:passive install="yes" enable="yes"/>
      </gemini:services>
    </gemini:node>
    <sliver_type name="emulab-openvz">
      <disk_image url="https://www.uky.emulab.net/image_metadata.php?uuid=dd9e3426-708a-11e2-959f-0013468d3dc8"/>
    </sliver_type>
    <interface client_id="VM-0:if0">
      <ip address="192.168.1.2" netmask="255.255.255.0" type="ipv4"/>
      <flack:interface_info addressBound="true" bound="false"/>
    </interface>
    <flack:node_info x="316" y="322" unbound="true"/>
  </node>
  <node client_id="GNutahgenirackcm0" component_manager_id="urn:publicid:IDN+utah.geniracks.net+authority+cm" exclusive="false" xmlns:gemini="http://geni.net/resources/rspec/ext/gemini/1">
    <gemini:node type="global_node" xmlns="http://geni.net/resources/rspec/ext/gemini/1">
      <gemini:monitor_urn name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
    </gemini:node>
    <emulab:routable_control_ip xmlns:emulab="http://www.protogeni.net/resources/rspec/ext/emulab/1"/>
    <sliver_type name="emulab-openvz">
      <disk_image url="https://www.uky.emulab.net/image_metadata.php?uuid=87c4e070-5c38-11e2-8987-0013468d3dc8"/>
    </sliver_type>
    <flack:node_info x="1079" y="319" unbound="true"/>
  </node>
  <link client_id="gre-tunnel0">
    <component_manager name="urn:publicid:IDN+uky.emulab.net+authority+cm"/>
    <component_manager name="urn:publicid:IDN+utah.geniracks.net+authority+cm"/>
    <interface_ref client_id="VM:if0"/>
    <interface_ref client_id="VM-0:if0"/>
    <property source_id="VM:if0" dest_id="VM-0:if0"/>
    <property source_id="VM-0:if0" dest_id="VM:if0"/>
    <link_type name="gre-tunnel"/>
    <flack:link_info x="384" y="210" unboundVlantag="true"/>
  </link>
  <client:client_info name="Flack" environment="Flash Version: WIN 11,6,602,171, OS: Windows 7, Arch: x86, Screen: 2560x1440 @ 72 DPI with touchscreen type none" version="v14.70" url="https://www.emulab.net/protogeni/flack2/flack.swf"/>
  <history:slice_history backIndex="2" note="Established gre-tunnel0" xmlns:history="http://www.protogeni.net/resources/rspec/ext/history/1">
    <history:state>eNrVVe9r2zAQ/b6/4tDXJpHttElnkrJBtxJos0JHN/bFKIoSi8iSpx9xsr9+suU07bquCQzGIBB8
vnt3792TNdKmZBTstmRjpNl3x4xFsGSSaWLZPJttx+ijIHT1KDhGSRT3u5H/DT7HZ2k/Svvn3xBs
DE8NzVlBrhUllis5Rrm1ZYpxVVU9X897klmsmVFOU2Zw0xz34aAs3I7X25g5+G6FkCZd1LM9aVNq
ZdWLKGxjcVOD4x0EFZxJeyRGKNqDeO5PEKp+T+klTqIoxl9vru8aWbpcGkskZW3VgfKgizcAI6nm
DELbjPsd3N8goKoolawjBZFkyXTzxmmZlm4mOOXzdHI5PXGrbY8VTpBZ3eCEOJsrze32hBYI2IYK
Z/ja739BhNnNli5ZweWe1B/VCLlejXpSP2t4TpuRg7WKMquffiV+DOoe1zC95j53F9+/IdR6JtDo
LMQYbZnxDCWZCRYe8POakhhzYNEI/3aCh3BNsQ0Z4TF1VrMHSQqPFDbQVSWT6x97TnNuVhkv/Pba
vNfW1+TWwW6LWOuHrz7cTKaT7OY22Y07wo9maEON9ZsxMy4XCjZj1I8HCPwpf3uOwMmZ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155/cnXjEdWIlKI2JlHgz4Trmf
DFuBcVc32Hg6zKzA9y2gz6doYoGKrS58Nl6mbjeOZ9y5X1bbGnq48L4lEm1yvkL5f0ikgjOquEh0
sT3Bd1W2+2n4G5NY8ErVPEowZ0rwPNHYMp0xCjeeusZIF+J+XZbdLz/LshewCr1x2IB14t8K1seF
fQNKFcqaVSJ0CvL/4/4tH/eVyE1nZEuAawi6jVZSEIVSpJBTZuX3VaWnnqYTEgz90B57EbIhJL49
GU3Wtn7XCIZhlAYpjr5gCdhenzXgv701AA2zmnVw8x7QfOnoctM2eBs8+yob4ZXSv82t8KVkjMZ4
SLyxZ49wEBkyRpNo3JuML++KiUE0fPXNJqdse4nojSC2qhgjecfk6TNE/5tV399ZT5ScTwZB1i+8
lfbQaw+uTlMDpiRCHYFByqUzkOr74y1WrdKl3ZVV3f5LnJ3bf1IxA24UTydWNGzm60PvNN/HHDGF
Ntdjrq2a/0y9cVd27ccEbO/mGtZUcFY0F1ktkxl4JELqK3gMfp8vAYSDcBB6/gCO4QD8+qCllKV8
L8F4AH4UOIvBIQoH4AELQrSNPwq9AxwOPfADGPvg/cc52FOVAcUrnMlGCZiyNRgssDOxZtYODp1x
XdRTNl0w6URocxH3zZcj9+u2bNMxTZVuXewo2de9RWVWq0wN99/9Aw7rjYM=</history:state>
  </history:slice_history>
  <flack:slice_info view="graph"/>
</rspec>