Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added size param to ios_ping #963

Merged
merged 8 commits into from
Nov 17, 2023
Merged

Conversation

roverflow
Copy link
Member

@roverflow roverflow commented Nov 7, 2023

SUMMARY

Added the size param to ping module which previously did not exist

ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME
  • ios_ping.py

Copy link

codecov bot commented Nov 7, 2023

Codecov Report

Merging #963 (d17bf27) into main (8951167) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #963   +/-   ##
=======================================
  Coverage   86.20%   86.20%           
=======================================
  Files         196      196           
  Lines       12339    12339           
=======================================
  Hits        10637    10637           
  Misses       1702     1702           

see 2 files with indirect coverage changes

Copy link

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/be77bfba0b0c4b15a3c4e20800b3cfc5

✔️ ansible-galaxy-importer SUCCESS in 4m 59s
✔️ build-ansible-collection SUCCESS in 9m 53s
ansible-ee-integration-ios-latest RETRY_LIMIT in 3m 16s (non-voting)
ansible-ee-integration-ios-stable-2.9 FAILURE in 14m 07s (non-voting)
ansible-ee-integration-ios-stable-2.11 RETRY_LIMIT in 5m 43s (non-voting)
ansible-ee-integration-ios-stable-2.12 RETRY_LIMIT in 3m 10s (non-voting)
ansible-ee-integration-ios-libssh-latest RETRY_LIMIT in 3m 20s (non-voting)
ansible-ee-integration-ios-libssh-stable-2.9 FAILURE in 19m 26s (non-voting)
ansible-ee-integration-ios-libssh-stable-2.11 RETRY_LIMIT in 3m 27s (non-voting)
ansible-ee-integration-ios-libssh-stable-2.12 RETRY_LIMIT in 3m 28s (non-voting)
✔️ ansible-tox-linters SUCCESS in 11m 39s

@KB-perByte
Copy link
Collaborator

Hey @roverflow size is a valid parameter

foo#ping ?
  WORD      Ping destination address or hostname
  ancp      ANCP echo
  clns      CLNS echo
  ethernet  Ethernet echo
  ip        IP echo
  ipv6      IPv6 echo
  srb       srb echo
  tag       Tag encapsulated IP echo
  vrf       Select VPN routing instance
  <cr>      <cr>

foo#ping 8.8.8.8 ?
  Extended-data  specify extended data pattern
  data           specify data pattern
  df-bit         enable do not fragment bit in IP header
  dscp           Specify DSCP value in ASCII/Numeric
  egress         Force egress interface bypassing routing
  ingress        LAN source interface for Ingress
  repeat         specify repeat count
  size           specify datagram size
  source         specify source address or name
  timeout        specify timeout interval
  tos            specify type of service value
  validate       validate reply data
  <cr>           <cr>

foo#ping 8.8.8.8 size ?
  <36-18024>  Datagram size

We missed the attribute during our re-write, could you please look into it and consider the missing attribute as an implementation?
Regards

@KB-perByte
Copy link
Collaborator

ref : https://github.com/ansible-collections/cisco.ios/pull/595/files#diff-105f4bb6f132265a3e2f631c29eef96876f4e0a38ff634f9430969f612009191L52
This was missed when ping was re-implemented. We would need to fix it.

@roverflow roverflow changed the title Remove size param from ios_ping doc Added size param to ios_ping Nov 8, 2023
@KB-perByte
Copy link
Collaborator

@roverflow The module documentation needs to change too! :D

Copy link

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/b91f5a0c13da44239b148748ed34403b

✔️ ansible-galaxy-importer SUCCESS in 4m 52s
✔️ build-ansible-collection SUCCESS in 10m 51s
ansible-ee-integration-ios-latest RETRY_LIMIT in 5m 54s (non-voting)
ansible-ee-integration-ios-stable-2.9 FAILURE in 29m 31s (non-voting)
ansible-ee-integration-ios-stable-2.11 RETRY_LIMIT in 5m 16s (non-voting)
ansible-ee-integration-ios-stable-2.12 RETRY_LIMIT in 5m 14s (non-voting)
ansible-ee-integration-ios-libssh-latest RETRY_LIMIT in 5m 19s (non-voting)
ansible-ee-integration-ios-libssh-stable-2.9 FAILURE in 29m 10s (non-voting)
ansible-ee-integration-ios-libssh-stable-2.11 RETRY_LIMIT in 17m 01s (non-voting)
ansible-ee-integration-ios-libssh-stable-2.12 RETRY_LIMIT in 6m 56s (non-voting)
✔️ ansible-tox-linters SUCCESS in 13m 25s

Copy link

Build succeeded.
https://ansible.softwarefactory-project.io/zuul/buildset/ab4c7fcf15af48b0895efe6315eab725

✔️ ansible-galaxy-importer SUCCESS in 6m 04s
✔️ build-ansible-collection SUCCESS in 9m 55s
ansible-ee-integration-ios-latest RETRY_LIMIT in 4m 21s (non-voting)
ansible-ee-integration-ios-stable-2.9 FAILURE in 19m 38s (non-voting)
ansible-ee-integration-ios-stable-2.11 RETRY_LIMIT in 4m 19s (non-voting)
ansible-ee-integration-ios-stable-2.12 RETRY_LIMIT in 4m 23s (non-voting)
ansible-ee-integration-ios-libssh-latest RETRY_LIMIT in 4m 23s (non-voting)
ansible-ee-integration-ios-libssh-stable-2.9 FAILURE in 19m 41s (non-voting)
ansible-ee-integration-ios-libssh-stable-2.11 RETRY_LIMIT in 3m 29s (non-voting)
ansible-ee-integration-ios-libssh-stable-2.12 RETRY_LIMIT in 5m 06s (non-voting)
✔️ ansible-tox-linters SUCCESS in 11m 44s

@roverflow roverflow merged commit 2696e7a into ansible-collections:main Nov 17, 2023
50 of 51 checks passed
@zendritic
Copy link

When could we expect a release that incorporates this change? I will have to revert our collection to a release prior to the rewrite to restore functionality to one of our most used playbooks due to this issue.

@roverflow roverflow deleted the ios_ping branch May 8, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants