-
Notifications
You must be signed in to change notification settings - Fork 105
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
Add network_resource plugin to manage resource modules #289
Add network_resource plugin to manage resource modules #289
Conversation
@ganeshrn This is really awesome!!!
Now that we are using the generic plugin, this output doesn't provide much information about :
This is something we could implement either at the individual collection RM level or in this plugin. |
recheck |
* Add resource_module plugin to manage and provide single entry point for all resource modules for higher oder roles. * Example usage ``` - name: get list of resource modules for ansible_network_os ansible.netcommon.resource_module: register: result ``` ``` - name: fetch acl config fos cisco.ios.ios ansible.netcommon.resource_module: name: acls state: gathered ``` ``` - name: manage acl config ansible.netcommon.resource_module: name: acls config: - afi: ipv4 acls: - name: test_acl acl_type: extended aces: - grant: deny protocol_options: tcp: fin: true source: address: 192.0.2.0 wildcard_bits: 0.0.0.255 destination: address: 192.0.3.0 wildcard_bits: 0.0.0.255 port_protocol: eq: www option: traceroute: true ttl: eq: 10 state: merged ```
0516a6e
to
c59a65b
Compare
recheck |
recheck |
|
The PR is good to merge for now after CI issues are fixed. The testcase for network_resource will be added as part of PR #305 |
recheck |
1 similar comment
recheck |
recheck |
1 similar comment
recheck |
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.
LGTM!
recheck |
3 similar comments
recheck |
recheck |
recheck |
recheck |
recheck |
3 similar comments
recheck |
recheck |
recheck |
Fixes ansible-collections/ansible.network#13 (part 1)
SUMMARY
for all resource modules for higher oder roles.
ISSUE TYPE
COMPONENT NAME
resource_module
ADDITIONAL INFORMATION