From: Tim Rozet Date: Tue, 7 Aug 2018 04:00:01 +0000 (-0400) Subject: CPERF: Open CSIT testing ports in overcloud X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=commitdiff_plain;h=09e5f25bcc8a5f8096ca2e2d0cd240de567edcc2 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 --- 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 +