nailgun: Add NIC vendorid and device id for Cavium NIC
[armband.git] / patches / fuel-web / 0006-nailgun-Add-NIC-vendorid-and-device-id-for-Cavium-NI.patch
1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2017 Enea AB and others.
3 :
4 : All rights reserved. This program and the accompanying materials
5 : are made available under the terms of the Apache License, Version 2.0
6 : which accompanies this distribution, and is available at
7 : http://www.apache.org/licenses/LICENSE-2.0
8 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
9 From: Andrei Varvara <andrei.varvara@enea.com>
10 Date: Thu, 4 May 2017 13:35:32 +0200
11 Subject: [PATCH] nailgun: Add NIC vendorid and device id for Cavium NIC
12
13 In order to enable DPDK and ovs-dpdk in Fuel, a checkbox must be enabled
14 in the interface configuration menu of the nodes.
15
16 This did not work on ThunderX based PODs, because Fuel filters out NICs based
17 on Vendor Id (currently Intel only) and Product Id. This is implemented
18 via a static list of known Vid and Pid pairs in openstack.yaml file.
19
20 Added Cavium NIC to the list of DPDK supported NICs so that fuel will
21 enable the DPDK checkbox.
22
23 Signed-off-by: Andrei Varvara <andrei.varvara@enea.com>
24 ---
25  nailgun/nailgun/fixtures/openstack.yaml | 4 ++--
26  1 file changed, 2 insertions(+), 2 deletions(-)
27
28 diff --git a/nailgun/nailgun/fixtures/openstack.yaml b/nailgun/nailgun/fixtures/openstack.yaml
29 index 0b27611..070004e 100644
30 --- a/nailgun/nailgun/fixtures/openstack.yaml
31 +++ b/nailgun/nailgun/fixtures/openstack.yaml
32 @@ -2293,7 +2293,7 @@
33            "15ad:07b0", "8086:15a5", "1137:0043", "1137:0071", "14e4:168a",
34            "14e4:16a9", "14e4:164f", "14e4:168e", "14e4:16af", "14e4:163d",
35            "14e4:163f", "14e4:168d", "14e4:16a1", "14e4:16a2", "14e4:16ad",
36 -          "14e4:16ae", "14e4:163e", "14e4:16a4", "8086:10f8"
37 +          "14e4:16ae", "14e4:163e", "14e4:16a4", "8086:10f8", "177d:a034"
38          ]
39  - pk: 3
40    extend: *ubuntu_xenial
41 @@ -2635,7 +2635,7 @@
42            "15ad:07b0", "8086:15a5", "1137:0043", "1137:0071", "14e4:168a",
43            "14e4:16a9", "14e4:164f", "14e4:168e", "14e4:16af", "14e4:163d",
44            "14e4:163f", "14e4:168d", "14e4:16a1", "14e4:16a2", "14e4:16ad",
45 -          "14e4:16ae", "14e4:163e", "14e4:16a4"
46 +          "14e4:16ae", "14e4:163e", "14e4:16a4", "177d:a034"
47          ]
48  - pk: 5
49    extend: *ubuntu_aarch64_xenial
50