summaryrefslogtreecommitdiffstats
path: root/mcp/scripts/dpdk.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/scripts/dpdk.sh')
-rwxr-xr-xmcp/scripts/dpdk.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcp/scripts/dpdk.sh b/mcp/scripts/dpdk.sh
new file mode 100755
index 000000000..faa4390d3
--- /dev/null
+++ b/mcp/scripts/dpdk.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+#
+# Enable DPDK on compute nodes
+#
+
+ssh ${SSH_OPTS} ubuntu@${SALT_MASTER} bash -s << DPDK_INSTALL_END
+ sudo -i
+
+ salt -C 'I@nova:compute' system.reboot
+ salt -C 'I@nova:compute' test.ping
+
+ salt -C 'I@nova:compute' state.sls linux
+ salt -C 'I@nova:compute' state.sls nova,neutron
+
+ salt -C 'I@keystone:server and *01*' cmd.run ". /root/keystonercv3; nova service-list; openstack network agent list"
+DPDK_INSTALL_END