Skip to content

Commit

Permalink
Changes to alias functions
Browse files Browse the repository at this point in the history
  • Loading branch information
fmunoz committed May 25, 2023
1 parent e1f5bf8 commit 311bffd
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 34 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,6 @@ dmypy.json

# DS Store
.DS_Store

# Custom
test.py
14 changes: 7 additions & 7 deletions dnacentersdk/api/v2_3_3_0/fabric_wireless.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,13 +243,13 @@ def update_ssid_to_ip_pool_mapping(self,
active_validation=True,
**request_parameters):
return self.update_ssid_to_ip_pool_mapping2(self,
scalableGroupName=None,
siteNameHierarchy=None,
ssidNames=None,
vlanName=None,
headers=None,
payload=None,
active_validation=True,
scalableGroupName=scalableGroupName,
siteNameHierarchy=siteNameHierarchy,
ssidNames=ssidNames,
vlanName=vlanName,
headers=headers,
payload=payload,
active_validation=active_validation,
**request_parameters)
def get_ssid_to_ip_pool_mapping(self,
site_name_hierarchy,
Expand Down
1 change: 0 additions & 1 deletion dnacentersdk/api/v2_3_5_3/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,6 @@ def clear_mac_address_table(self,
operation=None,
payload=None,
headers=None,
payload=None,
active_validation=True,
**request_parameters):
"""Clear mac-address on an individual port. In request body, operation needs to be specified as 'ClearMacAddress'.
Expand Down
34 changes: 17 additions & 17 deletions dnacentersdk/api/v2_3_5_3/licenses.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def device_count_details2(self,
MalformedRequest: If the request body created is invalid.
ApiError: If the DNA Center cloud returns an error.
Documentation Link:
https://developer.cisco.com/docs/dna-center/#!device-count-details2
https://developer.cisco.com/docs/dna-center/#!device-count-details
"""
check_type(headers, dict)
check_type(device_type, basestring)
Expand Down Expand Up @@ -152,13 +152,13 @@ def device_count_details(self,
virtual_account_name=None,
headers=None,
**request_parameters):
return self.device_count_details2(self,
device_type=None,
dna_level=None,
registration_status=None,
smart_account_id=None,
virtual_account_name=None,
headers=None,
return self.device_count_details2(
device_type=device_type,
dna_level=dna_level,
registration_status=registration_status,
smart_account_id=smart_account_id,
virtual_account_name=virtual_account_name,
headers=headers,
**request_parameters)

def device_license_summary2(self,
Expand Down Expand Up @@ -283,14 +283,14 @@ def device_license_summary(self,
self.device_license_summary2(limit,
order,
page_number,
device_type=None,
device_uuid=None,
dna_level=None,
registration_status=None,
smart_account_id=None,
sort_by=None,
virtual_account_name=None,
headers=None,
device_type=device_type,
device_uuid=device_uuid,
dna_level=dna_level,
registration_status=registration_status,
smart_account_id=smart_account_id,
sort_by=sort_by,
virtual_account_name=virtual_account_name,
headers=headers,
**request_parameters)

def device_license_details2(self,
Expand Down Expand Up @@ -356,7 +356,7 @@ def device_license_details(self,
**request_parameters):
return self.device_license_details2(self,
device_uuid,
headers=None,
headers=headers,
**request_parameters)

def device_deregistration2(self,
Expand Down
18 changes: 9 additions & 9 deletions dnacentersdk/api/v2_3_5_3/network_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,15 @@ def assign_credential_to_site(self,
active_validation=True,
**request_parameters):
return self.assign_device_credential_to_site(site_id,
cliId=None,
httpRead=None,
httpWrite=None,
snmpV2ReadId=None,
snmpV2WriteId=None,
snmpV3Id=None,
headers=None,
payload=None,
active_validation=True,
cliId=cliId,
httpRead=httpRead,
httpWrite=httpWrite,
snmpV2ReadId=snmpV2ReadId,
snmpV2WriteId=snmpV2WriteId,
snmpV3Id=snmpV3Id,
headers=headers,
payload=payload,
active_validation=active_validation,
**request_parameters)

def create_device_credentials(self,
Expand Down

0 comments on commit 311bffd

Please sign in to comment.