anchor.diff:  quantum security-group-rule-create --protocol icmp --direction ingress default
   quantum security-group-rule-create --protocol tcp --port-range-min 22 \
     --port-range-max 22 --direction ingress default
  -sleep <%= sleep_time %>
  +sleep <%= @sleep_time %>
   ssh $login_user@$floating_ip -i /tmp/id_rsa -o StrictHostKeyChecking=no hostname
   <% end %>
   exit 0
  
positive.code: nova --no-cache keypair-add --pub_key /tmp/id_rsa.pub key_cirros
  
  
  instance_name='<%= image_type %>_test_vm'
  
  <% if quantum -%>
  
  quantum net-create public --router:external=True
  quantum subnet-create --allocation-pool start=172.16.2.128,end=172.16.2.150 public 172.16.2.0/24
  
negative.code: 
  nova --no-cache boot --flavor 1 --image $IMAGE_ID --key_name key_cirros --nic net-id=$quantum_net $instance_name
  <% else -%>
    <% if @floating_ip -%>
  # create a security group so that we can allow ssh, http, and ping traffic
  # when we add a floating IP (assuming you are adding floating IPs)
  nova --no-cache secgroup-create nova_test 'Cirros test security group'
  