Skip to content

Commit

Permalink
Merge pull request #51 from cisco-en-programmability/develop
Browse files Browse the repository at this point in the history
Develop - fix devel issues
  • Loading branch information
bvargasre authored Mar 22, 2022
2 parents 5c238be + 0878bad commit 479d60c
Show file tree
Hide file tree
Showing 330 changed files with 635 additions and 332 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ 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.3.1 | 2.3.3 |
| 2.2.3.3 | 6.0.0 | 2.4.6 |
| 2.2.3.3 | 6.1.0 | 2.4.7 |

*Notes*:


1. The "Python 'dnacentersdk' version" column has the minimum recommended version used when testing the Ansible collection. This means you could use later versions of the Python "dnacentersdk" than those listed.
2. The "Cisco DNA Center version" column has the value of the `dnac_version` you should use for the Ansible collection.

Expand All @@ -39,7 +40,7 @@ ansible-galaxy collection install cisco.dnac:3.3.1

## Requirements
- Ansible >= 2.9
- [Python DNA Center SDK](https://github.com/cisco-en-programmability/dnacentersdk) v2.4.6 or newer
- [Python DNA Center SDK](https://github.com/cisco-en-programmability/dnacentersdk) v2.4.7 or newer
- Python >= 3.6, as the DNA Center SDK doesn't support Python version 2.x

## Install
Expand Down
12 changes: 11 additions & 1 deletion changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,4 +499,14 @@ releases:
release_summary: Fixes update sda_fabric_border_device for Cisco DNA Center v2.2.3.3
major_changes:
- Update dnacentersdk requirement from 2.4.5 to 2.4.6
- sda_fabric_border_device - changes in externalConnectivitySettings from object to list.
- sda_fabric_border_device - changes in externalConnectivitySettings from object to list.
6.1.0:
release_date: '2022-03-22'
changes:
release_summary: Add new param on pnp_device_claim_to_site request
minor_changes:
- Update dnacentersdk requirement from 2.4.6 to 2.4.7
- Add parameter rfProfile to pnp_device_claim_to_site request.
bugfixes:
- Fixed module documentation to have elements.
- Fixed the type of dnac_port in the documentation from string to int.
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: 6.0.0
version: 6.1.0
readme: README.md
authors:
- Rafael Campos <[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions plugins/action/pnp_device_claim_to_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
imageInfo=dict(type="dict"),
configInfo=dict(type="dict"),
hostname=dict(type="str"),
rfProfile=dict(type="str"),
))

required_if = []
Expand Down Expand Up @@ -74,6 +75,7 @@ def get_object(self, params):
imageInfo=params.get("imageInfo"),
configInfo=params.get("configInfo"),
hostname=params.get("hostname"),
rfProfile=params.get("rfProfile"),
)
return new_object

Expand Down
5 changes: 3 additions & 2 deletions plugins/doc_fragments/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# Copyright (c) 2021, Cisco Systems
# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)

from __future__ import (absolute_import, division, print_function)
from __future__ import absolute_import, division, print_function

__metaclass__ = type


Expand All @@ -21,7 +22,7 @@ class ModuleDocFragment(object):
dnac_port:
description:
- The Cisco DNA Center port.
type: str
type: int
default: 443
dnac_username:
description:
Expand Down
5 changes: 3 additions & 2 deletions plugins/doc_fragments/module_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# Copyright (c) 2021, Cisco Systems
# GNU General Public License v3.0+ (see LICENSE or https://www.gnu.org/licenses/gpl-3.0.txt)

from __future__ import (absolute_import, division, print_function)
from __future__ import absolute_import, division, print_function

__metaclass__ = type


Expand All @@ -21,7 +22,7 @@ class ModuleDocFragment(object):
dnac_port:
description:
- The Cisco DNA Center port.
type: str
type: int
default: 443
dnac_username:
description:
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.6
- dnacentersdk >= 2.4.7
- 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.6
- dnacentersdk >= 2.4.7
- python >= 3.5
notes:
- SDK Method used are
Expand Down
12 changes: 11 additions & 1 deletion plugins/modules/app_policy_intent_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@
options:
createList:
description: App Policy Intent Create's createList.
elements: dict
suboptions:
advancedPolicyScope:
description: App Policy Intent Create's advancedPolicyScope.
suboptions:
advancedPolicyScopeElement:
description: App Policy Intent Create's advancedPolicyScopeElement.
elements: dict
suboptions:
groupId:
description: Group id.
Expand All @@ -43,6 +45,7 @@
suboptions:
scalableGroup:
description: App Policy Intent Create's scalableGroup.
elements: dict
suboptions:
idRef:
description: Id ref to application Scalable group.
Expand All @@ -65,6 +68,7 @@
suboptions:
clause:
description: App Policy Intent Create's clause.
elements: dict
suboptions:
deviceRemovalBehavior:
description: Device eemoval behavior.
Expand Down Expand Up @@ -96,6 +100,7 @@
suboptions:
scalableGroup:
description: App Policy Intent Create's scalableGroup.
elements: dict
suboptions:
idRef:
description: Id ref to application-set or application Scalable group.
Expand All @@ -109,12 +114,14 @@
type: list
updateList:
description: App Policy Intent Create's updateList.
elements: dict
suboptions:
advancedPolicyScope:
description: App Policy Intent Create's advancedPolicyScope.
suboptions:
advancedPolicyScopeElement:
description: App Policy Intent Create's advancedPolicyScopeElement.
elements: dict
suboptions:
groupId:
description: Group id.
Expand Down Expand Up @@ -143,6 +150,7 @@
type: str
scalableGroup:
description: App Policy Intent Create's scalableGroup.
elements: dict
suboptions:
idRef:
description: Id ref to application Scalable group.
Expand All @@ -165,6 +173,7 @@
suboptions:
clause:
description: App Policy Intent Create's clause.
elements: dict
suboptions:
deviceRemovalBehavior:
description: Device removal behavior.
Expand Down Expand Up @@ -208,6 +217,7 @@
type: str
scalableGroup:
description: App Policy Intent Create's scalableGroup.
elements: dict
suboptions:
idRef:
description: Id ref to application-set or application Scalable group.
Expand All @@ -216,7 +226,7 @@
type: dict
type: list
requirements:
- dnacentersdk >= 2.4.6
- dnacentersdk >= 2.4.7
- python >= 3.5
notes:
- SDK Method used are
Expand Down
7 changes: 6 additions & 1 deletion plugins/modules/app_policy_queuing_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,18 @@
type: str
payload:
description: App Policy Queuing Profile's payload.
elements: dict
suboptions:
clause:
description: App Policy Queuing Profile's clause.
elements: dict
suboptions:
instanceId:
description: Instance id.
type: int
interfaceSpeedBandwidthClauses:
description: App Policy Queuing Profile's interfaceSpeedBandwidthClauses.
elements: dict
suboptions:
instanceId:
description: Instance id.
Expand All @@ -41,6 +44,7 @@
type: str
tcBandwidthSettings:
description: App Policy Queuing Profile's tcBandwidthSettings.
elements: dict
suboptions:
bandwidthPercentage:
description: Bandwidth percentage.
Expand All @@ -58,6 +62,7 @@
type: bool
tcDscpSettings:
description: App Policy Queuing Profile's tcDscpSettings.
elements: dict
suboptions:
dscp:
description: Dscp value.
Expand All @@ -84,7 +89,7 @@
type: str
type: list
requirements:
- dnacentersdk >= 2.4.6
- dnacentersdk >= 2.4.7
- 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.6
- dnacentersdk >= 2.4.7
- 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.6
- dnacentersdk >= 2.4.7
- python >= 3.5
notes:
- SDK Method used are
Expand Down
3 changes: 2 additions & 1 deletion plugins/modules/application_sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,14 @@
type: str
payload:
description: Application Sets's payload.
elements: dict
suboptions:
name:
description: Name.
type: str
type: list
requirements:
- dnacentersdk >= 2.4.6
- dnacentersdk >= 2.4.7
- 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.6
- dnacentersdk >= 2.4.7
- 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.6
- dnacentersdk >= 2.4.7
- python >= 3.5
notes:
- SDK Method used are
Expand Down
6 changes: 5 additions & 1 deletion plugins/modules/applications.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
type: str
payload:
description: Applications's payload.
elements: dict
suboptions:
applicationSet:
description: Applications's applicationSet.
Expand All @@ -33,6 +34,7 @@
type: dict
indicativeNetworkIdentity:
description: Applications's indicativeNetworkIdentity.
elements: dict
suboptions:
displayName:
description: DisplayName.
Expand All @@ -58,6 +60,7 @@
type: str
networkApplications:
description: Applications's networkApplications.
elements: dict
suboptions:
appProtocol:
description: App Protocol.
Expand Down Expand Up @@ -110,6 +113,7 @@
type: list
networkIdentity:
description: Applications's networkIdentity.
elements: dict
suboptions:
displayName:
description: Display Name.
Expand All @@ -129,7 +133,7 @@
type: list
type: list
requirements:
- dnacentersdk >= 2.4.6
- dnacentersdk >= 2.4.7
- 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.6
- dnacentersdk >= 2.4.7
- 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.6
- dnacentersdk >= 2.4.7
- 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.6
- dnacentersdk >= 2.4.7
- 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.6
- dnacentersdk >= 2.4.7
- python >= 3.5
notes:
- SDK Method used are
Expand Down
3 changes: 2 additions & 1 deletion plugins/modules/authentication_import_certificate.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
type: str
listOfUsers:
description: ListOfUsers query parameter.
elements: str
type: list
pkFilePath:
description: Pk file absolute path.
Expand All @@ -29,7 +30,7 @@
description: PkPassword query parameter. Private Key Passsword.
type: str
requirements:
- dnacentersdk >= 2.4.6
- dnacentersdk >= 2.4.7
- python >= 3.5
notes:
- SDK Method used are
Expand Down
Loading

0 comments on commit 479d60c

Please sign in to comment.