diff options
author | 2018-08-07 00:00:01 -0400 | |
---|---|---|
committer | 2018-08-07 00:00:01 -0400 | |
commit | 09e5f25bcc8a5f8096ca2e2d0cd240de567edcc2 (patch) | |
tree | 3235d917892f0ec7d78447828f47c5494a454272 /jjb/cperf/cirros-upload.yaml.ansible | |
parent | f32a483ea071079587e177f0eb78cc5ffcfd9192 (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>
Diffstat (limited to 'jjb/cperf/cirros-upload.yaml.ansible')
-rw-r--r-- | jjb/cperf/cirros-upload.yaml.ansible | 17 |
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 + |