summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-08-07 00:00:01 -0400
committerTim Rozet <trozet@redhat.com>2018-08-07 00:00:01 -0400
commit09e5f25bcc8a5f8096ca2e2d0cd240de567edcc2 (patch)
tree3235d917892f0ec7d78447828f47c5494a454272
parentf32a483ea071079587e177f0eb78cc5ffcfd9192 (diff)
CPERF: Open CSIT testing ports in overcloud
Port 12345 needs to be open so that a netcat server can respond to client requests. Change-Id: Iaf6e59bcb16a7afe329d522b80d6678e65f10140 Signed-off-by: Tim Rozet <trozet@redhat.com>
-rw-r--r--jjb/cperf/cirros-upload.yaml.ansible17
1 files changed, 17 insertions, 0 deletions
diff --git a/jjb/cperf/cirros-upload.yaml.ansible b/jjb/cperf/cirros-upload.yaml.ansible
index bd7d78974..855bb1f3d 100644
--- a/jjb/cperf/cirros-upload.yaml.ansible
+++ b/jjb/cperf/cirros-upload.yaml.ansible
@@ -20,3 +20,20 @@
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
+