diff --git a/CHANGELOG.md b/CHANGELOG.md index e059cdaa..0081c096 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [2.4.10] - 2022-05-12 +### Added +- Add following parameters to `delete_ip_pool_from_sda_virtual_network` and `get_ip_pool_from_sda_virtual_network`: + + site_name_hierarchy + ## [2.4.9] - 2022-04-20 ### Added - Add following parameters to `claim_a_device_to_a_site`: @@ -289,4 +295,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [2.4.7]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.4.6...v2.4.7 [2.4.8]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.4.7...v2.4.8 [2.4.9]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.4.8...v2.4.9 -[Unreleased]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.4.9...master +[2.4.10]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.4.9...v2.4.10 +[Unreleased]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.4.10...master diff --git a/dnacentersdk/api/v2_2_3_3/sda.py b/dnacentersdk/api/v2_2_3_3/sda.py index 4b60c17c..b0daf5ff 100644 --- a/dnacentersdk/api/v2_2_3_3/sda.py +++ b/dnacentersdk/api/v2_2_3_3/sda.py @@ -2615,12 +2615,14 @@ def add_vn(self, def get_ip_pool_from_sda_virtual_network(self, ip_pool_name, + site_name_hierarchy, virtual_network_name, headers=None, **request_parameters): """Get IP Pool from SDA Virtual Network . Args: + site_name_hierarchy(basestring): siteNameHierarchy query parameter. ip_pool_name(basestring): ipPoolName query parameter. virtual_network_name(basestring): virtualNetworkName query parameter. headers(dict): Dictionary of HTTP Headers to send with the Request @@ -2638,6 +2640,8 @@ def get_ip_pool_from_sda_virtual_network(self, ApiError: If the DNA Center cloud returns an error. """ check_type(headers, dict) + check_type(site_name_hierarchy, basestring, + may_be_none=False) check_type(ip_pool_name, basestring, may_be_none=False) check_type(virtual_network_name, basestring, @@ -2648,6 +2652,8 @@ def get_ip_pool_from_sda_virtual_network(self, basestring, may_be_none=False) _params = { + 'siteNameHierarchy': + site_name_hierarchy, 'ipPoolName': ip_pool_name, 'virtualNetworkName': @@ -2677,6 +2683,7 @@ def get_ip_pool_from_sda_virtual_network(self, def delete_ip_pool_from_sda_virtual_network(self, ip_pool_name, + site_name_hierarchy, virtual_network_name, headers=None, **request_parameters): @@ -2685,6 +2692,7 @@ def delete_ip_pool_from_sda_virtual_network(self, Args: ip_pool_name(basestring): ipPoolName query parameter. virtual_network_name(basestring): virtualNetworkName query parameter. + site_name_hierarchy(basestring): siteNameHierarchy query parameter. headers(dict): Dictionary of HTTP Headers to send with the Request . **request_parameters: Additional request parameters (provides @@ -2704,6 +2712,8 @@ def delete_ip_pool_from_sda_virtual_network(self, may_be_none=False) check_type(virtual_network_name, basestring, may_be_none=False) + check_type(site_name_hierarchy, basestring, + may_be_none=False) if headers is not None: if 'X-Auth-Token' in headers: check_type(headers.get('X-Auth-Token'), @@ -2714,6 +2724,8 @@ def delete_ip_pool_from_sda_virtual_network(self, ip_pool_name, 'virtualNetworkName': virtual_network_name, + 'siteNameHierarchy': + site_name_hierarchy, } _params.update(request_parameters) _params = dict_from_items_with_values(_params) diff --git a/pyproject.toml b/pyproject.toml index 9b98a9e8..651a454c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dnacentersdk" -version = "2.4.9" +version = "2.4.10" description = "Cisco DNA Center Platform SDK" authors = ["Jose Bogarin Solano ", "William Astorga "] license = "MIT"