lf-pod2, arm-pod5: Fuel IDF: Add network info 87/45587/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 18 Oct 2017 16:46:11 +0000 (18:46 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 18 Oct 2017 20:01:55 +0000 (20:01 +0000)
Extend Fuel section of IDF with:
- OS interface names, required by MCP reclass model;
- NIC bus addresses, required for DPDK scenarios;

JIRA: FUEL-275

Change-Id: I3e20517ec79bc4ee75e0d5a8f74628d9b1f421a8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
labs/arm/idf-pod5.yaml
labs/lf/idf-pod2.yaml

index bf49c0d..52ea6ed 100644 (file)
@@ -1,3 +1,10 @@
+##############################################################################
+# Copyright (c) 2017 Enea AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
 ---
 ### ARM POD 5 installer descriptor file ###
 
@@ -10,3 +17,22 @@ idf:
         mgmt: 'mgmt7_br0'
         private: ''
         public: 'public7_br0'
+    network:
+      node:
+        # Ordered-list, index should be in sync with node index in PDF
+        - interfaces: &interfaces
+            # Ordered-list, index should be in sync with interface index in PDF
+            - 'eth0'
+            - 'eth1'
+          busaddr: &busaddr
+            # Bus-info reported by `ethtool -i ethX`
+            - 'e0700000.xgmac'
+            - 'e0900000.xgmac'
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
index 7932f88..4ee359f 100644 (file)
@@ -1,3 +1,10 @@
+##############################################################################
+# Copyright (c) 2017 Mirantis Inc., Enea AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
 ---
 ### LF POD 2 installer descriptor file ###
 
@@ -10,3 +17,26 @@ idf:
         mgmt: 'br-ctl'
         private: ''
         public: ''
+    network:
+      node:
+        # Ordered-list, index should be in sync with node index in PDF
+        - interfaces: &interfaces
+            # Ordered-list, index should be in sync with interface index in PDF
+            - 'enp6s0'
+            - 'enp7s0'
+            - 'enp8s0'
+            - 'enp9s0'
+          busaddr: &busaddr
+            # Bus-info reported by `ethtool -i ethX`
+            - '0000:06:00.0'
+            - '0000:07:00.0'
+            - '0000:08:00.0'
+            - '0000:09:00.0'
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr
+        - interfaces: *interfaces
+          busaddr: *busaddr