Browse Source

Support non-dpdk/nsh support

Change-Id: Ic85f15913e4312c12cfe68090d34c79b97429bca
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Guo Ruijing 2 years ago
parent
commit
109c167823
1 changed files with 8 additions and 6 deletions
  1. 8
    6
      deployment_scripts/install.sh

+ 8
- 6
deployment_scripts/install.sh View File

@@ -24,15 +24,17 @@ then
24 24
         dpkg -i dpdk_2.2.0-1_amd64.deb
25 25
         dpkg -i openvswitch-switch-dpdk_2.5.90-1_amd64.deb
26 26
     fi
27
-elif [ $dpdk = 'true' ]
28
-then
27
+else
29 28
     wget  -r -np -nH --cut-dirs=3 http://$host:8080/plugins/fuel-plugin-ovs-0.9/ovs-dpdk/
30
-    dpkg -i libxenstore3.0_4.4.2-0ubuntu0.14.04.5_amd64.deb
31
-    dpkg -i libdpdk0_2.2.0-1_amd64.deb
32
-    dpkg -i dpdk_2.2.0-1_amd64.deb
33 29
     dpkg -i openvswitch-datapath-dkms_2.5.1-1_all.deb
34 30
     dpkg -i openvswitch-common_2.5.1-1_amd64.deb
35 31
     dpkg -i openvswitch-switch_2.5.1-1_amd64.deb
36 32
     dpkg -i python-openvswitch_2.5.1-1_all.deb
37
-    dpkg -i openvswitch-switch-dpdk_2.5.1-1_amd64.deb
33
+    if [ $dpdk = 'true' ]
34
+    then
35
+        dpkg -i libxenstore3.0_4.4.2-0ubuntu0.14.04.5_amd64.deb
36
+        dpkg -i libdpdk0_2.2.0-1_amd64.deb
37
+        dpkg -i dpdk_2.2.0-1_amd64.deb
38
+        dpkg -i openvswitch-switch-dpdk_2.5.1-1_amd64.deb
39
+    fi
38 40
 fi

Loading…
Cancel
Save