[PDF] [SPEC] Align interface keys for NIC names 79/50579/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 13 Jan 2018 19:29:16 +0000 (20:29 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sun, 14 Jan 2018 20:58:42 +0000 (21:58 +0100)
Jumpserver and cluster nodes use different keys for defining the NIC
name ('nic' vs 'name'), switch all of them to 'name' for uniformity.

Change-Id: I2d7720f5e5349ef59cf76a0e07749cfbd0d34d0b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
config/pdf/pod1.encrypted.yaml
config/pdf/pod1.yaml

index 8693647..2390ee0 100644 (file)
@@ -77,14 +77,14 @@ jumphost:
   # physical interface list
   interfaces:
     # first interface
-    - nic: {nic#number}
+    - name: {nic#number}
       # ip address of nic
       address: 192.168.100.1
       mac_address: "10:23:45:67:89:AC"
       # vlan tag, may have multiple tags
       vlan: {native|1-4095}
     # second interface
-    - nic: 'nic2'
+    - name: 'nic2'
       address: 10.20.0.1/24
       mac_address: "10:23:45:67:89:5B"
 nodes:
index 03ec9d1..2385d8a 100644 (file)
@@ -58,14 +58,14 @@ jumphost:
   # physical interface list
   interfaces:
     # first interface
-    - nic: {nic#number}
+    - name: {nic#number}
       # ip address of nic
       address: 192.168.100.1
       mac_address: "10:23:45:67:89:AC"
       # vlan tag, may have multiple tags
       vlan: {native|1-4095}
     # second interface
-    - nic: 'nic2'
+    - name: 'nic2'
       address: 10.20.0.1/24
       mac_address: "10:23:45:67:89:5B"
 nodes: