aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/reclass/scripts/dpdk.sh
blob: 4e4cd0b2ae837d8733eac77ea70f10fb0a64eb3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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