Fed4FIRE VLAN Stitching: Difference between revisions

From Grid5000
Jump to navigation Jump to search
Line 23: Line 23:
  <code class="command">curl</code>  https://api.grid5000.fr/3.0/stitcher/stitchings
  <code class="command">curl</code>  https://api.grid5000.fr/3.0/stitcher/stitchings
* Add a stitching between KaVLAN VLAN 14, and SDX VLAN 1291:  
* Add a stitching between KaVLAN VLAN 14, and SDX VLAN 1291:  
  <code class="command">curl</curl> -d '{"id":"<code class="replace">14</code>", "sdx_vlan_id":"<code class="replace">1291</code>"}' -H "Content-Type: application/json" -X POST https://api.grid5000.fr/3.0/stitcher/stitchings
  <code class="command">curl</code> -d '{"id":"<code class="replace">14</code>", "sdx_vlan_id":"<code class="replace">1291</code>"}' -H "Content-Type: application/json" -X POST https://api.grid5000.fr/3.0/stitcher/stitchings
* Remove the stitching for KaVLAN VLAN 14:
* Remove the stitching for KaVLAN VLAN 14:
  <code class="command">curl</code> -X DELETE https://api.grid5000.fr/3.0/stitcher/stitchings/<code class="replace">14</code>
  <code class="command">curl</code> -X DELETE https://api.grid5000.fr/3.0/stitcher/stitchings/<code class="replace">14</code>

Revision as of 08:45, 23 May 2019


It is possible to connect Grid'5000 resources to resources from other testbeds part of Fed4FIRE or GENI. This is implemented by stitching (bridging together) global KaVLAN vlans to VLANs connected to the imec SDX.

Global picture

SDX Topology.png

This is slide 16 from this presentation.

Grid'5000 is connected to the Iminds SDX (now imec SDX), hosted in Ghent (Belgium). That SDX is also connected to other SDXes, which means that you should be able to connect your Grid'5000 nodes to e.g. Cloudlab nodes. This is implemented using a stitcher service.

Step by step process

On the Fed4FIRE side

  • Get Fed4FIRE credentials. You can request an account as part of the grid5000 project.
  • Use the jFed tool (Fed4FIRE's client) to reserve resources on Fed4FIRE.
  • Include a Dedicated Ext. Network Connection, and choose one of the Grid'5000 VLANs (1290-1294).
  • Start your experiment

On the Grid'5000 side

  • Reserve nodes, and a global KaVLAN. Deploy your nodes.

Stitching the global KaVLAN with the SDX VLAN

You need to interact using the stitcher service API. Example commands are:

  • List all stitchings:
curl  https://api.grid5000.fr/3.0/stitcher/stitchings
  • Add a stitching between KaVLAN VLAN 14, and SDX VLAN 1291:
curl -d '{"id":"14", "sdx_vlan_id":"1291"}' -H "Content-Type: application/json" -X POST https://api.grid5000.fr/3.0/stitcher/stitchings
  • Remove the stitching for KaVLAN VLAN 14:
curl -X DELETE https://api.grid5000.fr/3.0/stitcher/stitchings/14