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

Lenovo cli expansion - Modify command acronyms to full commands #40218

Merged
merged 2 commits into from May 16, 2018
Merged

Lenovo cli expansion - Modify command acronyms to full commands #40218

merged 2 commits into from May 16, 2018

Conversation

amuraleedhar
Copy link
Contributor

@amuraleedhar amuraleedhar commented May 16, 2018

SUMMARY

Starting with our recent CNOS release version 10.7, we have moved certain CLI keywords to match with Industry Standard CLI (ISCLI) keywords. For backward compatibility, old CLI keywords will continue to work for next one or two CNOS releases with a condition that “command acronyms” of old CLI keywords, cannot be used. For eg: Use “display version” instead of “disp ver”. This PR is to expand the acronymns if they are present in the python code

This has to be backported to 2.5 as well.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

lib\ansible\modules\network\cnos\cnos_backup.py
lib\ansible\modules\network\cnos\cnos_bgp.py
lib\ansible\modules\network\cnos\cnos_conditional_command.py
lib\ansible\modules\network\cnos\cnos_conditional_template.py
lib\ansible\modules\network\cnos\cnos_factory.py
lib\ansible\modules\network\cnos\cnos_image.py
lib\ansible\modules\network\cnos\cnos_interface.py
lib\ansible\modules\network\cnos\cnos_portchannel.py
lib\ansible\modules\network\cnos\cnos_reload.py
lib\ansible\modules\network\cnos\cnos_rollback.py
lib\ansible\modules\network\cnos\cnos_save.py
lib\ansible\modules\network\cnos\cnos_showrun.py
lib\ansible\modules\network\cnos\cnos_template.py
lib\ansible\modules\network\cnos\cnos_vlag.py
lib\ansible\modules\network\cnos\cnos_vlan.py

ANSIBLE VERSION

ansible 2.6.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/sha re/ansible/plugins/modules']
ansible python module location = /usr/local/lib/python2.7/dist-packages/ansibl e-2.6.0-py2.7.egg/ansible
executable location = /usr/local/bin/ansible
python version = 2.7.6 (default, Nov 23 2017, 15:49:48) [GCC 4.8.4]

ADDITIONAL INFORMATION

Tried to change the documentation where the user has to use anisble_ssh_user and ansible_user_pass instead of username and password.

@ansibot
Copy link
Contributor

ansibot commented May 16, 2018

@ansibot ansibot added bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. networking Network category support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels May 16, 2018
@gundalow gundalow merged commit f60731e into ansible:devel May 16, 2018
gundalow pushed a commit to gundalow/ansible that referenced this pull request May 16, 2018
…ble#40218)

* Changing Lenovo Inc to Lenovo and update License file to be consistent.

* Editing cli commands to expanded form. Changing username and password fields as per Ansible standards.

(cherry picked from commit f60731e)
@gundalow
Copy link
Contributor

PR for 2.5 #40254

gundalow added a commit that referenced this pull request May 16, 2018
…) (#40254)

* Changing Lenovo Inc to Lenovo and update License file to be consistent.

* Editing cli commands to expanded form. Changing username and password fields as per Ansible standards.

(cherry picked from commit f60731e)
@gundalow
Copy link
Contributor

Merged into devel and cherry-pick for release in 2.5.3

@mkrizek mkrizek removed the needs_triage Needs a first human triage before being processed. label May 18, 2018
jacum pushed a commit to jacum/ansible that referenced this pull request Jun 26, 2018
…ble#40218)

* Changing Lenovo Inc to Lenovo and update License file to be consistent.

* Editing cli commands to expanded form. Changing username and password fields as per Ansible standards.
@amuraleedhar amuraleedhar deleted the lenovo_cli_expansion branch August 9, 2018 10:59
ilicmilan pushed a commit to ilicmilan/ansible that referenced this pull request Nov 7, 2018
…ble#40218)

* Changing Lenovo Inc to Lenovo and update License file to be consistent.

* Editing cli commands to expanded form. Changing username and password fields as per Ansible standards.
@ansible ansible locked and limited conversation to collaborators May 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug. core_review In order to be merged, this PR must follow the core review workflow. module This issue/PR relates to a module. networking Network category support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants