Skip to content

Commit

Permalink
Merge pull request #38 from cisco-en-programmability/develop
Browse files Browse the repository at this point in the history
Develop New parameters in pnp_device_claim_to_site
  • Loading branch information
bvargasre authored Jan 31, 2022
2 parents d6ce262 + 02ea62b commit caa4ccb
Show file tree
Hide file tree
Showing 329 changed files with 380 additions and 327 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Other versions of this collection have support for previous Cisco DNA Center ver
|--------------------------|------------------------------|-------------------------------|
| 2.1.1 | 3.0.0 | 2.2.5 |
| 2.2.2.3 | 3.2.3 | 2.3.3 |
| 2.2.3.3 | 4.1.3 | 2.4.2 |
| 2.2.3.3 | 4.2.0 | 2.4.4 |

*Notes*:

Expand Down
7 changes: 7 additions & 0 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -380,3 +380,10 @@ releases:
release_summary: Update documentation link
minor_changes:
- update documentation link in galaxy
4.2.0:
release_date: '2022-01-31'
changes:
release_summary: Parameters were added to pnp_device_claim_to_site
minor_changes:
- pnp_device_claim_to_site - Add hostname, imageInfo and configInfo parameters to module.
- Update dnacentersdk requirement from 2.4.0 to 2.4.4
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: cisco
name: dnac
version: 4.1.3
version: 4.2.0
readme: README.md
authors:
- Rafael Campos <rcampos@altus.cr>
Expand Down
6 changes: 6 additions & 0 deletions plugins/action/pnp_device_claim_to_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
deviceId=dict(type="str"),
siteId=dict(type="str"),
type=dict(type="str"),
imageInfo=dict(type="dict"),
configInfo=dict(type="dict"),
hostname=dict(type="str"),
))

required_if = []
Expand Down Expand Up @@ -68,6 +71,9 @@ def get_object(self, params):
deviceId=params.get("deviceId"),
siteId=params.get("siteId"),
type=params.get("type"),
imageInfo=params.get("imageInfo"),
configInfo=params.get("configInfo"),
hostname=params.get("hostname"),
)
return new_object

Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/app_policy_default_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
description: Additional headers.
type: dict
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/app_policy_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- PolicyScope query parameter. Policy scope name.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/app_policy_intent_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
type: dict
type: list
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/app_policy_queuing_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
type: str
type: list
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/app_policy_queuing_profile_count_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
description: Additional headers.
type: dict
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/app_policy_queuing_profile_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- Name query parameter. Queuing profile name.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/application_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
type: str
type: list
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/application_sets_count_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
description: Additional headers.
type: dict
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/application_sets_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
- Name query parameter.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
type: list
type: list
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/applications_count_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
description: Additional headers.
type: dict
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/applications_health_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
- ApplicationName query parameter. The name of the application to get information on.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/applications_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
- Name query parameter. Application's name.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/associate_site_to_network_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
description: SiteId path parameter. Site Id to be associated.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/authentication_import_certificate.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
description: PkPassword query parameter. Private Key Passsword.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/authentication_import_certificate_p12.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
description: PkPassword query parameter. Private Key Passsword.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/business_sda_hostonboarding_ssid_ippool.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
description: VLAN Name.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
- SiteNameHierarchy query parameter. Site Name Heirarchy.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/business_sda_wireless_controller_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
description: Site Name Hierarchy.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/business_sda_wireless_controller_delete.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
description: Site Name Hierarchy.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/cli_credential.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
description: Cli Credential's username.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/client_detail_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
- MacAddress query parameter. MAC Address of the client.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/client_enrichment_details_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
description: Additional headers.
type: dict
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/client_health_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- Timestamp query parameter. Epoch time(in milliseconds) when the Client health data is required.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/client_proximity_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
with a minimum 5 minutes.
type: int
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/command_runner_run_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
description: Command Runner Run Command's timeout.
type: int
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/compliance_check_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
description: TriggerFull flag.
type: bool
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/compliance_device_by_id_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
- Value query parameter. Extended attribute value.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/compliance_device_details_count_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
'IN_PROGRESS', 'NOT_AVAILABLE', 'NOT_APPLICABLE', 'ERROR'.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/compliance_device_details_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
- Limit query parameter. Number of records to be retrieved.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/compliance_device_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
- Limit query parameter. Number of records to be retrieved.
type: int
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/compliance_device_status_count_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
'IN_PROGRESS', 'NOT_AVAILABLE', 'NOT_APPLICABLE', 'ERROR'.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/configuration_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@
description: Current version of template.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/configuration_template_clone.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
description: TemplateId path parameter. UUID of the template to clone it.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/configuration_template_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@
description: Current version of template.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/configuration_template_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
description: UUID of template to be provisioned.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
- DeploymentId path parameter. UUID of deployment to retrieve template deployment status.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/configuration_template_deploy_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
description: UUID of template to be provisioned.
type: str
requirements:
- dnacentersdk >= 2.4.0
- dnacentersdk >= 2.4.4
- python >= 3.5
notes:
- SDK Method used are
Expand Down
Loading

0 comments on commit caa4ccb

Please sign in to comment.