X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fcperf%2Fcirros-upload.yaml.ansible;h=855bb1f3d2e1037f1ebce9db8f6973c04cd0589e;hb=03547cdc309342c56133e4306de76b2e0df79734;hp=4be2dff05812755c21b3a18355b042c52868c8bb;hpb=83da56224afeed9d0d9f9954e9bfb8e35ab4ab48;p=releng.git diff --git a/jjb/cperf/cirros-upload.yaml.ansible b/jjb/cperf/cirros-upload.yaml.ansible index 4be2dff05..855bb1f3d 100644 --- a/jjb/cperf/cirros-upload.yaml.ansible +++ b/jjb/cperf/cirros-upload.yaml.ansible @@ -12,6 +12,28 @@ - overcloudrc - name: Upload cirros glance image shell: > - source /home/heat-admin/overcloudrc && openstack image create cirros - --public --file /home/heat-admin/cirros-0.3.5-x86_64-disk.img + source /home/heat-admin/overcloudrc && openstack image create + cirros-0.3.5-x86_64-disk --public + --file /home/heat-admin/cirros-0.3.5-x86_64-disk.img --disk-format qcow2 --container-format bare + - name: Create nano flavor + shell: > + source /home/heat-admin/overcloudrc && openstack flavor create + --id 42 --ram 64 --disk 0 --vcpus 1 m1.nano + - name: Open CSIT TCP port for netcat + iptables: + chain: INPUT + action: insert + protocol: tcp + destination_port: 12345 + jump: ACCEPT + become: yes + - name: Open CSIT UDP port for netcat + iptables: + chain: INPUT + action: insert + protocol: udp + destination_port: 12345 + jump: ACCEPT + become: yes +