Skip to content
Merged
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ script:

## Execute Tests with Docker
- docker run -t -i -v $(pwd):/project juniper/pyez-ansible:travis ansible-playbook -i ravello.ini pb.junos_ping.yaml
- docker run -t -i -v $(pwd):/project juniper/pyez-ansible:travis ansible-playbook -i ravello.ini pb.junos_pmtud.yaml
- docker run -t -i -v $(pwd):/project juniper/pyez-ansible:travis ansible-playbook -i ravello.ini pb.junos_jsnapy.yaml
5 changes: 5 additions & 0 deletions library/junos_ping
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ options:
- Number of packet to send
required: false
default: 5
size:
description:
- The size of the ICMP payload of the ping.
required: false
default: None (default size)
do_not_fragment:
description:
- Set Don't Fragment bit
Expand Down
4 changes: 2 additions & 2 deletions tests/pb.junos_pmtud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
dest_ip: 8.8.8.8
register: test1
ignore_errors: True
# - debug: var=test1
- debug: var=test1

- name: Check TEST 1
assert:
that:
- 768 <= test1.mtu <= 1500
- 768 <= test1.inet_mtu <= 1500