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
Adding dell ome device_info module #53438
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
lib/ansible/module_utils/remote_management/dellemc/dellemc_ome.py
Outdated
Show resolved
Hide resolved
lib/ansible/modules/remote_management/dellemc/ome/dellemc_ome_device_facts.py
Outdated
Show resolved
Hide resolved
lib/ansible/modules/remote_management/dellemc/ome/dellemc_ome_device_facts.py
Outdated
Show resolved
Hide resolved
lib/ansible/module_utils/remote_management/dellemc/dellemc_ome.py
Outdated
Show resolved
Hide resolved
The test
|
@felixfontein We have added unit test support now.Could you please check it and help us in merging this code? |
bot_status |
Componentslib/ansible/module_utils/remote_management/dellemc/ome.py lib/ansible/modules/remote_management/dellemc/ome/init.py lib/ansible/modules/remote_management/dellemc/ome/ome_device_info.py test/units/module_utils/remote_management/init.py test/units/module_utils/remote_management/dellemc/init.py test/units/module_utils/remote_management/dellemc/test_ome.py test/units/modules/remote_management/dellemc/init.py test/units/modules/remote_management/dellemc/ome/init.py test/units/modules/remote_management/dellemc/ome/test_ome_device_info.py Metadatawaiting_on: ansible |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the tests!
shipit
If nobody complains, I'll merge it on Monday. |
Thank you :) |
bot_status |
rebuild_merge |
Componentslib/ansible/module_utils/remote_management/dellemc/ome.py lib/ansible/modules/remote_management/dellemc/ome/init.py lib/ansible/modules/remote_management/dellemc/ome/ome_device_info.py test/units/module_utils/remote_management/init.py test/units/module_utils/remote_management/dellemc/init.py test/units/module_utils/remote_management/dellemc/test_ome.py test/units/modules/remote_management/dellemc/init.py test/units/modules/remote_management/dellemc/ome/init.py test/units/modules/remote_management/dellemc/ome/test_ome_device_info.py Metadatawaiting_on: ansible |
It got merged, and will be available in Ansible 2.9! Congrats @Sajna-Shetty! I'm sorry it took so long... |
Thanks for taking your time to review 👍 and merging it :) |
Thanks @felixfontein, @Sajna-Shetty and Ansible Core Team |
* Adding device_facts module for contribution * changes added for pylint error * Updated code to solve ansible-test compile error * Changes to avoide comile error added * Review Comments changes update * Avoided blank line * pylint error changes * Removed ansible_facts return in error case * Updated description * modules renamed * changing from ansible_facts to device_info * avoide pep8 error * Updated sample output * version changed to 2.9 * Changed Copyright license to BSD * Changed 3-clause BSD license to 2-clause BSD * Added unit test support for ome_device_info * version change * removed pylint error in unit test modules * Avoid Sanity error for unit test modules * updated version
Is there a reason why this module is located inside a separate folder inside of remote_management/dellemc? Just wondering since the developer guide states that modules should not be nested more than two folders deep. |
Just noticed that the documentation page for the remote_management category is not displaying anything under dellemc. Maybe above is the reason for this? |
You're right, I think it should be one level up. I'll create a PR to fix this. |
(Same applies to the iDRAC modules in remote_management/dellemc/idrac.) |
SUMMARY
Submitting dellemc_ome_device_facts module for contribution
ISSUE TYPE
COMPONENT NAME
dellemc_ome_device_facts
ADDITIONAL INFORMATION