Skip to content

Instantly share code, notes, and snippets.

@xarses
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xarses/04eb4962f560e30533f4 to your computer and use it in GitHub Desktop.
Save xarses/04eb4962f560e30533f4 to your computer and use it in GitHub Desktop.
Tests
. ~/openrc
nova flavor-create flavor 7 64 0 1
nova secgroup-add-default-rule icmp -1 -1 0.0.0.0/0
nova secgroup-add-default-rule tcp 22 22 0.0.0.0/0
nova boot --flavor flavor --image TestVM --nic net-id=$(neutron net-show net04 -c id -f value) test
nova floating-ip-create
nova floating-ip-associate test <ip returned by ip-create>
#in newer versions it may be necessary to replace nova floating-ip* with neutron calls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment