X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=jjb%2Fcperf%2Fcirros-upload.yaml.ansible;h=855bb1f3d2e1037f1ebce9db8f6973c04cd0589e;hb=03547cdc309342c56133e4306de76b2e0df79734;hp=83ec1f14cc0f2085af3b5b8c388168708c38f476;hpb=c2b0d72a07c8444cd8cb755308bbf165294ac833;p=releng.git diff --git a/jjb/cperf/cirros-upload.yaml.ansible b/jjb/cperf/cirros-upload.yaml.ansible index 83ec1f14c..855bb1f3d 100644 --- a/jjb/cperf/cirros-upload.yaml.ansible +++ b/jjb/cperf/cirros-upload.yaml.ansible @@ -16,3 +16,24 @@ 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 +