summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'mcp/reclass/scripts')
-rwxr-xr-xmcp/reclass/scripts/dpdk.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcp/reclass/scripts/dpdk.sh b/mcp/reclass/scripts/dpdk.sh
new file mode 100755
index 000000000..4e4cd0b2a
--- /dev/null
+++ b/mcp/reclass/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