diff --git a/plugins/modules/dcnm_image_policy.py b/plugins/modules/dcnm_image_policy.py index c69f6b370..d35b3daf6 100644 --- a/plugins/modules/dcnm_image_policy.py +++ b/plugins/modules/dcnm_image_policy.py @@ -96,8 +96,13 @@ release: description: - The release associated with the image policy. - - Example 10.2.5_nxos64-cs_64bit - - See NDFC API documentation regarding this string + - This is derived from the image name as follows: + - Given image name: nxos64-cs.10.2.5.M.bin + - We need to extract the following: + - version: 10.2.5 + - platform: nxos64-cs (NX-OS 64-bit CloudScale) + - Shuffling the above info, we form the following release string: + - 10.2.5_nxos64-cs_64bit type: str required: true type: