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

nxos_hsrp issues #38409

Closed
saichint opened this issue Apr 6, 2018 · 2 comments · Fixed by #38410
Closed

nxos_hsrp issues #38409

saichint opened this issue Apr 6, 2018 · 2 comments · Fixed by #38410
Assignees
Labels
affects_2.6 This issue/PR affects Ansible v2.6 bug This issue/PR relates to a bug. cisco Cisco technologies module This issue/PR relates to a module. networking Network category nxos Cisco NXOS community support:network This issue/PR relates to code supported by the Ansible Network Team.

Comments

@saichint
Copy link
Contributor

saichint commented Apr 6, 2018

ISSUE TYPE
  • Bug Report
COMPONENT NAME

nxos_hsrp

ANSIBLE VERSION
ansible 2.6.0 (devel fed20b825f) last updated 2018/02/15 12:51:12 (GMT -400)
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /root/agents-ci/ansible/lib/ansible
  executable location = /root/agents-ci/ansible/bin/ansible
  python version = 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4]
OS / ENVIRONMENT
SUMMARY

Ansible Server : Ubuntu 14.04
Device: N9K running 7.0(3)I2(5)

STEPS TO REPRODUCE

There are few issues with nxos_hsrp module

  1. The default hsrp version is 1, the current code assumes it is 2 which is incorrect
  2. There is no way to put virtual ip, priority and authentication to their defaults unless we remove the entire hsrp group
  3. There is no way to configure an md5 authentication key string to be hidden (type 7) although platform supports it. Only we can configure type 0 for md5 now.
  4. vip is an optional parameter as it is correctly mentioned in the documentation, however the code is forcing it to be required.
  5. There are unnecessary range checks and if they are changed on platform side which causes issues in future.

Note: I will open a PR shortly to address the above issues

@ansibot
Copy link
Contributor

ansibot commented Apr 6, 2018

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibot
Copy link
Contributor

ansibot commented Apr 6, 2018

@ansibot ansibot added affects_2.6 This issue/PR affects Ansible v2.6 bug This issue/PR relates to a bug. module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. networking Network category nxos Cisco NXOS community support:network This issue/PR relates to code supported by the Ansible Network Team. labels Apr 6, 2018
@s-hertel s-hertel removed the needs_triage Needs a first human triage before being processed. label Apr 6, 2018
@trishnaguha trishnaguha self-assigned this Apr 9, 2018
@dagwieers dagwieers added the cisco Cisco technologies label Feb 23, 2019
@ansible ansible locked and limited conversation to collaborators Apr 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.6 This issue/PR affects Ansible v2.6 bug This issue/PR relates to a bug. cisco Cisco technologies module This issue/PR relates to a module. networking Network category nxos Cisco NXOS community support:network This issue/PR relates to code supported by the Ansible Network Team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants