From b882a60676c1572c7e2378fc0e64cefae5320a4e Mon Sep 17 00:00:00 2001
From: BERARD Benjamin <benjamin.berard@inria.fr>
Date: Mon, 7 Jun 2021 15:14:43 +0200
Subject: [PATCH] [lyon/neowise] Add information of uplink between sneowise and
 gw.lyon

---
 .../sites/lyon/network_equipments/gw.json     |  3 +
 .../lyon/network_equipments/sneowise.json     | 79 +++++++++++++++++++
 .../grid5000/sites/lyon/networks/gw-lyon.yaml |  3 +
 .../sites/lyon/networks/sneowise.yaml         |  3 +
 4 files changed, 88 insertions(+)

diff --git a/data/grid5000/sites/lyon/network_equipments/gw.json b/data/grid5000/sites/lyon/network_equipments/gw.json
index 7bcdaf5bfb8..054a00e4892 100644
--- a/data/grid5000/sites/lyon/network_equipments/gw.json
+++ b/data/grid5000/sites/lyon/network_equipments/gw.json
@@ -55,6 +55,9 @@
         {
         },
         {
+          "kind": "switch",
+          "snmp_name": "ethernet1/1/8",
+          "uid": "sneowise"
         },
         {
         },
diff --git a/data/grid5000/sites/lyon/network_equipments/sneowise.json b/data/grid5000/sites/lyon/network_equipments/sneowise.json
index fbb33971d8c..85c5feddc65 100644
--- a/data/grid5000/sites/lyon/network_equipments/sneowise.json
+++ b/data/grid5000/sites/lyon/network_equipments/sneowise.json
@@ -70,6 +70,85 @@
           "port": "eth1",
           "snmp_name": "1/10",
           "uid": "neowise-10"
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+        },
+        {
+          "kind": "router",
+          "snmp_name": "1/48",
+          "uid": "gw"
         }
       ],
       "rate": 10000000000,
diff --git a/input/grid5000/sites/lyon/networks/gw-lyon.yaml b/input/grid5000/sites/lyon/networks/gw-lyon.yaml
index 95b51eb3356..49edf248418 100644
--- a/input/grid5000/sites/lyon/networks/gw-lyon.yaml
+++ b/input/grid5000/sites/lyon/networks/gw-lyon.yaml
@@ -127,6 +127,9 @@ gw:
         4: pyxis-2
         5: pyxis-3
         6: pyxis-4
+        8:
+         uid: sneowise
+         kind: switch
         11: neowise-1
         12: neowise-2
         13: neowise-3
diff --git a/input/grid5000/sites/lyon/networks/sneowise.yaml b/input/grid5000/sites/lyon/networks/sneowise.yaml
index c0f68cb3bf5..4d5a46218bf 100644
--- a/input/grid5000/sites/lyon/networks/sneowise.yaml
+++ b/input/grid5000/sites/lyon/networks/sneowise.yaml
@@ -27,3 +27,6 @@ sneowise:
         8: neowise-8-eth1
         9: neowise-9-eth1
         10: neowise-10-eth1
+        48:
+          uid: gw
+          kind: router
-- 
GitLab