enable the dpdk based on feature request. 91/14791/1
authorNarinder Gupta <narinder.gupta@canonical.com>
Fri, 27 May 2016 21:21:41 +0000 (16:21 -0500)
committerNarinder Gupta <narinder.gupta@canonical.com>
Fri, 27 May 2016 21:22:41 +0000 (16:22 -0500)
Change-Id: I563649af6bdb2d666251e35c1c8f60641bc5c543
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
ci/01-deploybundle.sh
ci/nosdn/juju-deployer/ovs-nosdn-ha.yaml
ci/nosdn/juju-deployer/ovs-nosdn-nonha.yaml
ci/nosdn/juju-deployer/ovs-nosdn-tip.yaml

index 9d11e2f..2d4716f 100755 (executable)
@@ -143,6 +143,10 @@ case "$5" in
     'odl_l3' )
          sed -i -- 's/profile: "openvswitch-odl-Be"/profile: "openvswitch-odl-beryllium-l3"/g' ./bundles.yaml
         ;;
+    'dpdk; )
+         sed -i -- 's/#dpdk_enable: true/dpdk_enable: true/g' ./bundles.yaml
+         sed -i -- 's/#hugepages: '50%'/hugepages: '50%'/g' ./bundles.yaml
+        ;;
 esac
 
 echo "... Deployment Started ...."
index 6ff220c..fb6b8a9 100644 (file)
@@ -130,6 +130,12 @@ openstack-phase2:
         - "nodes=0"
     neutron-openvswitch:
       charm: "local:trusty/neutron-openvswitch"
+      options:
+        #enable-dpdk: true
+        #data-port: ""
+        #default-socket-memory: 1024
+        #defualt-socket-cores: 1
+        #dpdk-driver: uio_pci_generic
     nova-cloud-controller:
       charm: "local:trusty/nova-cloud-controller"
       num_units: 3
@@ -149,6 +155,7 @@ openstack-phase2:
         enable-resize: true
         manage-neutron-plugin-legacy-mode: false
         migration-auth-type: ssh
+        #hugepages: '50%'
       to:
         - "nodes=1"
         - "nodes=2"
index 7b945e3..ba83ab6 100644 (file)
@@ -104,6 +104,12 @@ openstack-phase2:
         - "nodes=0"
     neutron-openvswitch:
       charm: "local:trusty/neutron-openvswitch"
+      options:
+        #enable-dpdk: true
+        #data-port: ""
+        #default-socket-memory: 1024
+        #defualt-socket-cores: 1
+        #dpdk-driver: uio_pci_generic
     nova-cloud-controller:
       charm: "local:trusty/nova-cloud-controller"
       options:
@@ -117,6 +123,7 @@ openstack-phase2:
         enable-resize: true
         manage-neutron-plugin-legacy-mode: false
         migration-auth-type: ssh
+        #hugepages: '50%'
       to:
         - "nodes=1"
     openstack-dashboard:
index 309da77..15ee33e 100644 (file)
@@ -102,6 +102,7 @@ openstack-phase2:
         enable-resize: true
         manage-neutron-plugin-legacy-mode: false
         migration-auth-type: ssh
+        #hugepages: '50%'
       to:
         - "nodes=1"
     nova-cloud-controller:
@@ -141,6 +142,11 @@ openstack-phase2:
       charm: "local:trusty/neutron-openvswitch"
       options:
         openstack-origin-git: include-file://neutron-master.yaml
+        #enable-dpdk: true
+        #data-port: ""
+        #default-socket-memory: 1024
+        #defualt-socket-cores: 1
+        #dpdk-driver: uio_pci_generic
   relations:
     - - neutron-openvswitch:neutron-plugin-api
       - neutron-api:neutron-plugin-api