Strasbourg Core-Network XP Infra: Difference between revisions

From Grid5000
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
This document summarizes the work in progress to allow network experimentation: from core networks to edge devices.
The following describes the technical team's projects on the Grid'5000 site of Strasbourg to allow core network experimentations.
 
This is a work in progress.


== Core network topology emulation ==
== Core network topology emulation ==
Goal: Let users design topologies of interconnection between core network experimentation switches and other server nodes.
The goal is to let users design topologies of interconnection between core network experimentation switches and other server nodes.


Thanks to an infrastructure ("mesh") switch, on-demand network links can be created between experimentation switches and server nodes.  
Thanks to an infrastructure switch (''sw-core''), users will be able to create on-demand L2 links between experimentation switches (named "engelbourg-[1-8]" and "ramstein-1") and server nodes (named "fleckenstein-[1-10]" pr "gpucluser-[1-4]").


Below, on the left, is an example of emulated network topology. On the right, is the associated real network topology.
The figure below on the right shows an example of an emulated network topology. On the left, the figure shows the associated real network topology.


[[File:G5k-strasbourg-network-ex3-2.png|400px|alt=example of emulated network topology]]
[[File:G5k-strasbourg-network-v2.png|1500px]]
[[File:G5k-strasbourg-network-ex3-1.png|800px|real network topology]]


Users can fully reinstall/reconfigure all experimental pieces of equipment in the green boxes (fleckenstein server nodes and engelbourg network switch nodes).
Users will be able to fully reinstall/reconfigure all experimental pieces of equipment in the green boxes thanks to Kadeploy.


Users can configure the VLAN topology of the mesh network switch (rose box) thanks to kavlan.
Users will be able to configure VLANs on the "mesh" network switch (rose box) thanks to KaVLAN, thus creating the L2 links between the experimental equipment.


== Edge to cloud network emulation ==
A tool such as distem may be installed on servers to emulate latency/failures.
Experiments may involve edge devices such as the [[jetson|Jetsons nodes of the estats cluster]] and other nodes. For instance, to study the edge-to-cloud continuum, e.g.: federated learning. Interconnection between nodes may be emulated, adding network latency/failures between the network/edge equipments. 
 
This can be achieved using kavlan to interleave nodes in charge of adding latency/failures between edge devices (which in reality are in the same 1 rack U chassis in Toulouse). A tool such as [https://distem.gitlabpages.inria.fr/index.html distem] may be used to emulate latency/failures.


== Instrumentation of the NOS ==
== Instrumentation of the NOS ==
Allowing to change the OS of network equipment is a must-have feature for network experimenters.
The goal of the project is to allow users to master the Operating System of network switches, just like already possible on experimentation servers.


Thus the goal is to let users master the Network Operating System of switches, just like already possible on experimentation servers (with kadeploy).
With the arrival of "white box switches" on the market, the following assumptions can be taken:


* Nowadays, switches (white box switches) run "linux-based" operating systems (e.g., OpenSwitch, Sonic, Cumulus), which are derivatives of classical GNU/Linux server distributions (e.g., Debian).  
* Nowadays, many switches actually run a "GNU/Linux-based" operating system (e.g., OpenSwitch, Sonic, Cumulus), which is a derivative of general-purpose server distributions (e.g., Debian).
* From the hardware viewpoint, they are very server-alike:
* From the hardware viewpoint, they are very server-like, because assembled from standard commodity parts. For example, the engelbourg experimental switches (Edge-core Wedge100BF) have the following specs:
** x86 CPU
** x86 CPU
** Hard drive (SSD)
** Hard-drive (SSD)
** Management NIC is just a classical CPU-attached NIC
** Management NIC is just a classical CPU-attached NIC
** They have a BMC (out-of-band power-on/off, serial console, monitoring, ...)
** They have a BMC (out-of-band power-on/off, serial console, monitoring, ...)
* The only special feature is that they encompass an ASIC for off-loading network functions (switching, possibly routing, ...).
* Of course, they also feature an ASIC (e.g., Tofino) for the offload of network functions:
** That ASIC requires a dedicated Linux driver to enable offloading functions.
** That ASIC requires a dedicated Linux kernel and/or driver.
** That ASIC can in fine be assimilated to an accelerator, just like GPUs or FPGAs installed in servers. Thus it can be managed like other accelerators, with no impact on the baremetal OS deployment.
** But it can be assimilated to any accelerator, just like GPUs or FPGAs installed in servers. Thus, it can be managed like accelerator cards, with no impact on the bare-metal OS deployment mechanism.
 
The conclusion is that a cluster of white-box switches can be managed like a cluster of servers from the operating system and hardware perspective (apart from the network cabling, of course, discussed above).


In the end, the conclusion is that white-box switches can be managed like servers from the OS and hardware perspective (apart from the network cabling of course, discussed above).
In particular, that means that while ONIE is nowadays the standard mechanism to install NOS, it is replaceable by other server installation mechanisms, which allow more flexibility for experimentation (frequent reinstallation, customization, configuration traceability).


That means that ONIE, which is the standard mechanism to install NOS can be replaced by another, more classical, server installation mechanism (typically based on PXE → typically kadeploy), at the price of converting ONIE NOS image to server installer compatible formats (E.g.: kadeploy environments), or of adding ONIE NOS image support in the server installer (E.g: kadeploy installer miniOS).
Grid'5000 uses the Kadeploy software to achieve that role on any hardware of the platform. Work is in progress to allow users to "kadeploy" on-the-shelf NOS images in the ONIE format, thanks to one of the two options:
* using an image converter (E.g, a Kameleon recipe) allowing to create kadeploy environments from ONIE images.
* Adding the ONIE NOS image support in the Kadeploy installer miniOS.


In conclusion, the P4 switches installed in Strasbourg could be managed just like any other SLICES-FR clusters, benefiting from all the powerful features provided by the SLICES-FR stack (bare-metal deployment tool with kadeploy, recipe-based OS image builder with kameleon), hardware reference repository, hardware sanity certification tool (g5k-check), system regression tests, ...).
But right now, it is already possible to deploy a vanilla Debian with Intel P4studio software suite and do some experiments on the Tofino ASIC.


== Todo ==
In conclusion, the engelbourg cluster of experimental switches will be managed just like the other Grid'5000 clusters of servers, benefiting from all the powerful features provided by the Grid'5000 stack (resource reservation, bare-metal parallel deployment tool, recipe-based OS image builder, hardware reference repository, hardware sanity certification, system regression tests, and so on).
* Additional higher-level support for experimenting with P4 programing?

Revision as of 16:07, 4 July 2025

The following describes the technical team's projects on the Grid'5000 site of Strasbourg to allow core network experimentations.

This is a work in progress.

Core network topology emulation

The goal is to let users design topologies of interconnection between core network experimentation switches and other server nodes.

Thanks to an infrastructure switch (sw-core), users will be able to create on-demand L2 links between experimentation switches (named "engelbourg-[1-8]" and "ramstein-1") and server nodes (named "fleckenstein-[1-10]" pr "gpucluser-[1-4]").

The figure below on the right shows an example of an emulated network topology. On the left, the figure shows the associated real network topology.

G5k-strasbourg-network-v2.png

Users will be able to fully reinstall/reconfigure all experimental pieces of equipment in the green boxes thanks to Kadeploy.

Users will be able to configure VLANs on the "mesh" network switch (rose box) thanks to KaVLAN, thus creating the L2 links between the experimental equipment.

A tool such as distem may be installed on servers to emulate latency/failures.

Instrumentation of the NOS

The goal of the project is to allow users to master the Operating System of network switches, just like already possible on experimentation servers.

With the arrival of "white box switches" on the market, the following assumptions can be taken:

  • Nowadays, many switches actually run a "GNU/Linux-based" operating system (e.g., OpenSwitch, Sonic, Cumulus), which is a derivative of general-purpose server distributions (e.g., Debian).
  • From the hardware viewpoint, they are very server-like, because assembled from standard commodity parts. For example, the engelbourg experimental switches (Edge-core Wedge100BF) have the following specs:
    • x86 CPU
    • Hard-drive (SSD)
    • Management NIC is just a classical CPU-attached NIC
    • They have a BMC (out-of-band power-on/off, serial console, monitoring, ...)
  • Of course, they also feature an ASIC (e.g., Tofino) for the offload of network functions:
    • That ASIC requires a dedicated Linux kernel and/or driver.
    • But it can be assimilated to any accelerator, just like GPUs or FPGAs installed in servers. Thus, it can be managed like accelerator cards, with no impact on the bare-metal OS deployment mechanism.

The conclusion is that a cluster of white-box switches can be managed like a cluster of servers from the operating system and hardware perspective (apart from the network cabling, of course, discussed above).

In particular, that means that while ONIE is nowadays the standard mechanism to install NOS, it is replaceable by other server installation mechanisms, which allow more flexibility for experimentation (frequent reinstallation, customization, configuration traceability).

Grid'5000 uses the Kadeploy software to achieve that role on any hardware of the platform. Work is in progress to allow users to "kadeploy" on-the-shelf NOS images in the ONIE format, thanks to one of the two options:

  • using an image converter (E.g, a Kameleon recipe) allowing to create kadeploy environments from ONIE images.
  • Adding the ONIE NOS image support in the Kadeploy installer miniOS.

But right now, it is already possible to deploy a vanilla Debian with Intel P4studio software suite and do some experiments on the Tofino ASIC.

In conclusion, the engelbourg cluster of experimental switches will be managed just like the other Grid'5000 clusters of servers, benefiting from all the powerful features provided by the Grid'5000 stack (resource reservation, bare-metal parallel deployment tool, recipe-based OS image builder, hardware reference repository, hardware sanity certification, system regression tests, and so on).