Fix minor bugs observed in hw_config files 25/70825/2
authorRihab Banday <rihab.banday@ericsson.com>
Tue, 18 Aug 2020 08:51:24 +0000 (10:51 +0200)
committerRihab Banday <rihab.banday@ericsson.com>
Tue, 18 Aug 2020 09:03:51 +0000 (11:03 +0200)
This patch fixes minor bugs observed in hw_config files:

1. Rename admin network to public in Intel's IDF to have
consistent network naming schemes across IDF's.

2. Remove arbitary/unverified VLAN's from Intel's PDF.

3. Move shebang to top to fix linting error.

Change-Id: Ibad63e80431880ef5558864bf890dd1877400b08
Signed-off-by: Rihab Banday <rihab.banday@ericsson.com>
hw_config/ericsson-pod1/setup_network.sh
hw_config/intel/idf.yaml
hw_config/intel/pdf.yaml

index 022394d..4696f6b 100755 (executable)
@@ -1,8 +1,8 @@
+#!/bin/bash
 # Adapt this script according to your network setup
 # TODO Get networking info from PDF & IDF
 # TODO Add support in infra engine to update nameserver, etc
 # files with correct info
-#!/bin/bash
 
 echo "no additional network setup needed"
 
index a5f9455..328fe09 100644 (file)
@@ -19,10 +19,10 @@ idf:
       mask: 24
       dns:
         - 8.8.8.8
-    admin:  # admin
+    public:
       interface: 1
-      vlan: 191
       network: 10.10.191.0
+      vlan: native
       mask: 24
       bridge: br-name
   kubespray: &idf_kubespray
index ba0c856..86501a0 100644 (file)
@@ -75,7 +75,7 @@ nodes:
         features:
         address: 192.168.11.211
         mac_address: "a4:bf:01:4b:55:f5"
-        vlan: 191
+        vlan: native
       - name: 'nic3'
         speed: 10gb
         features: 'dpdk|sriov'
@@ -131,4 +131,4 @@ nodes:
         features: 'dpdk|sriov'
         address: 10.10.195.3
         mac_address: "00:00:00:00:00:00"
-        vlan: 1193
+        vlan: native