Skip to content

Commit

Permalink
review comments compleated
Browse files Browse the repository at this point in the history
  • Loading branch information
syed-khadeerahmed committed Dec 20, 2024
1 parent 74b9eba commit 35572a9
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions plugins/modules/swim_workflow_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,12 @@
- Added the parameter 'dnac_api_task_timeout', 'dnac_task_poll_interval' options in v6.13.2.
- additional_info |
To achieve the final golden tag status, first unassign the tag from the specified device role.
Once the tag has been removed, assign it to the target device role.
This step ensures the image is correctly tagged for the new role, aligning the configuration as intended.
"""

EXAMPLES = r"""
Expand Down Expand Up @@ -462,7 +468,8 @@
site_name: Global/USA/San Francisco/BGL_18
tagging: True
- name: Remove the golden tag from the specified image for the given device role and assign it to another device role.
# Remove the golden tag from the specified image for the given device role and assign it to another device role.
- name: Update golden tag assignment for image based on device role
cisco.dnac.swim_workflow_manager:
dnac_host: "{{dnac_host}}"
dnac_username: "{{dnac_username}}"
Expand All @@ -472,18 +479,18 @@
dnac_version: "{{dnac_version}}"
dnac_debug: "{{dnac_debug}}"
dnac_log_level: "{{dnac_log_level}}"
dnac_log: True
dnac_log: true
config:
- tagging_details:
image_name: cat9k_iosxe.17.12.01.SPA.bin
device_role: Core
device_role: CORE
device_image_family_name: Cisco Catalyst 9300 Switch
tagging: False
tagging: false
- tagging_details:
image_name: cat9k_iosxe.17.12.01.SPA.bin
device_role: ACCESS
device_image_family_name: Cisco Catalyst 9300 Switch
tagging: True
tagging: true
- name: Tag the specified image as golden for multiple device roles and load it into the device
cisco.dnac.swim_workflow_manager:
Expand Down

0 comments on commit 35572a9

Please sign in to comment.