Add the new feature of deploying the template to the devices using de… #443
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…vices specific details or site specific with filtering parameters as device family, role, tag etc. and write the playbook, examples and update the documentation for the same, fix the issue of deleting the project/template from the progress state. Also add some common helper functions in dnac.py.
Description
— Implement a new feature in the template workflow manager with which you can deploy the template to the devices.
— There will be 2 ways 2 deploy the template to the devices -
- Either provide any of the one device_specific details either device_ips_list, device_hostnames_list, serial_number_list, mac_address_list to deploy template to the devices.
- Provide the site name and other parameters are optional to narrow down the results like to fetch the devices based on device_family, device_role or device tag.
— Write the playbook with the new updated feature of deploying the template to the devices.
— Also write the documentation for each parameters with description and also provide the examples for the ease of users.
— Also fix the issue of deletion of project/template for the intermediate state while deletion in progress but module return success for that.
— Added some common helper functions in dnac.py file like -
get_device_ips_from_hostname
get_device_ips_from_serial_number
get_device_ips_from_mac_address
get_device_ids_from_device_ips
get_device_ips_from_device_ids
get_network_device_tag_id
— Update the inventory workflow manager module with these functions changes.
Type of Change
Checklist
Ansible Best Practices
ansible-vault
or environment variables)Documentation
Notes to Reviewers