Add Jerma in blacklist logics
[releng.git] / jjb / cperf / cirros-upload.yaml.ansible
index 4be2dff..855bb1f 100644 (file)
         - 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
+