From 967e5a29bcd334cb9b03d80586f24b82c7f5c5d1 Mon Sep 17 00:00:00 2001 From: Bryan Vargas Date: Wed, 12 Oct 2022 22:39:28 -0600 Subject: [PATCH 1/3] New version 2.0.5 ### Fixed - Repaired the request body of the network_access_network_conditions.create_network_access_network_condition request 3.1_patch_1 and 3.1.1 - Repaired the request body of the network_access_network_conditions.update_network_access_network_condition_by_id request 3.1_patch_1 and 3.1.1 --- CHANGELOG.md | 15 ++- .../network_access_network_conditions.py | 91 ++++++++++++++++--- .../network_access_network_conditions.py | 91 ++++++++++++++++--- .../v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py | 65 +------------ .../jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py | 65 +------------ .../jsd_cf65cd559628b26f6eb5ea20f14.py | 65 +------------ .../jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py | 65 +------------ pyproject.toml | 2 +- .../jsd_ab015a9eb6d5f2b91002af068cb4ce2.py | 65 +------------ .../v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py | 65 +------------ .../jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py | 65 +------------ .../jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py | 65 +------------ .../jsd_ab015a9eb6d5f2b91002af068cb4ce2.py | 65 +------------ .../jsd_cf65cd559628b26f6eb5ea20f14.py | 65 +------------ .../jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py | 65 +------------ .../jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py | 65 +------------ 16 files changed, 203 insertions(+), 776 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d1b9240..60ef6628 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,13 +6,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [2.0.4] - 2021-07-11 +## [2.0.5] - 2022-12-10 + +### Fixed + +- Repaired the request body of the network_access_network_conditions.create_network_access_network_condition request 3.1_patch_1 and 3.1.1 +- Repaired the request body of the network_access_network_conditions.update_network_access_network_condition_by_id request 3.1_patch_1 and 3.1.1 + + +## [2.0.4] - 2022-07-11 ### Fixed - Update check_type to pass an instance of a list. -## [2.0.3] - 2021-06-07 +## [2.0.3] - 2022-06-07 ### Changed @@ -355,4 +363,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [2.0.2]: https://github.com/CiscoISE/ciscoisesdk/compare/v2.0.1...v2.0.2 [2.0.3]: https://github.com/CiscoISE/ciscoisesdk/compare/v2.0.2...v2.0.3 [2.0.4]: https://github.com/CiscoISE/ciscoisesdk/compare/v2.0.3...v2.0.4 -[Unreleased]: https://github.com/CiscoISE/ciscoisesdk/compare/v2.0.4...develop +[2.0.5]: https://github.com/CiscoISE/ciscoisesdk/compare/v2.0.4...v2.0.5 +[Unreleased]: https://github.com/CiscoISE/ciscoisesdk/compare/v2.0.5...develop diff --git a/ciscoisesdk/api/v3_1_1/network_access_network_conditions.py b/ciscoisesdk/api/v3_1_1/network_access_network_conditions.py index 467d0ed9..57b5961d 100644 --- a/ciscoisesdk/api/v3_1_1/network_access_network_conditions.py +++ b/ciscoisesdk/api/v3_1_1/network_access_network_conditions.py @@ -46,6 +46,7 @@ class NetworkAccessNetworkConditions(object): API and exposes the API as native Python methods that return native Python objects. + Policy APIs for manage Policy Sets, authorization policies, authentication policies, and policy elements. """ @@ -140,10 +141,12 @@ def get_all(self, def create_network_access_network_condition(self, condition_type=None, - conditions=None, description=None, + device_list=None, id=None, + ip_addr_list=None, link=None, + mac_addr_list=None, name=None, headers=None, payload=None, @@ -158,12 +161,33 @@ def create_network_access_network_condition(self, values are 'DeviceCondition', 'DevicePortCondition' and 'EndstationCondition'. - conditions(list): conditions, property of the request - body (list of objects). description(string): description, property of the request body. + device_list(list): This field should contain Device + Name. The device name must be the same + as the name field in a Network Device + object. Line format Device Name, + property of the request body (list of + strings). id(string): id, property of the request body. + ip_addr_list(list): This field should contain IP address + or subnet. IP address can be IPV4 + format (n.n.n.n) or IPV6 format + (n:n:n:n:n:n:n:n). IP subnet can be + IPV4 format (n.n.n.n/m) or IPV6 format + (n:n:n:n:n:n:n:n/m). Line format IP + Address or subnet, property of the + request body (list of strings). link(object): link, property of the request body. + mac_addr_list(list): This field should contain + Endstation MAC address, comma, and + Destination MAC addresses. Each Max + address must include twelve hexadecimal + digits using formats nn:nn:nn:nn:nn:nn + or nn-nn-nn-nn-nn-nn or nnnn.nnnn.nnnn + or nnnnnnnnnnnn. Line format Endstation + MAC,Destination MAC , property of the + request body (list of strings). name(string): Network Condition name, property of the request body. headers(dict): Dictionary of HTTP Headers to send with the Request @@ -229,8 +253,12 @@ def create_network_access_network_condition(self, link, 'name': name, - 'conditions': - conditions, + 'deviceList': + device_list, + 'ipAddrList': + ip_addr_list, + 'macAddrList': + mac_addr_list, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) @@ -254,10 +282,12 @@ def create_network_access_network_condition(self, def create(self, condition_type=None, - conditions=None, description=None, + device_list=None, id=None, + ip_addr_list=None, link=None, + mac_addr_list=None, name=None, headers=None, payload=None, @@ -269,10 +299,12 @@ def create(self, """ return self.create_network_access_network_condition( condition_type=condition_type, - conditions=conditions, description=description, + device_list=device_list, id=id, + ip_addr_list=ip_addr_list, link=link, + mac_addr_list=mac_addr_list, name=name, payload=payload, active_validation=active_validation, @@ -359,9 +391,11 @@ def get_by_id(self, def update_network_access_network_condition_by_id(self, id, condition_type=None, - conditions=None, description=None, + device_list=None, + ip_addr_list=None, link=None, + mac_addr_list=None, name=None, headers=None, payload=None, @@ -376,12 +410,33 @@ def update_network_access_network_condition_by_id(self, values are 'DeviceCondition', 'DevicePortCondition' and 'EndstationCondition'. - conditions(list): conditions, property of the request - body (list of objects). description(string): description, property of the request body. + device_list(list): This field should contain Device + Name. The device name must be the same + as the name field in a Network Device + object. Line format Device Name, + property of the request body (list of + strings). id(string): id, property of the request body. + ip_addr_list(list): This field should contain IP address + or subnet. IP address can be IPV4 + format (n.n.n.n) or IPV6 format + (n:n:n:n:n:n:n:n). IP subnet can be + IPV4 format (n.n.n.n/m) or IPV6 format + (n:n:n:n:n:n:n:n/m). Line format IP + Address or subnet, property of the + request body (list of strings). link(object): link, property of the request body. + mac_addr_list(list): This field should contain + Endstation MAC address, comma, and + Destination MAC addresses. Each Max + address must include twelve hexadecimal + digits using formats nn:nn:nn:nn:nn:nn + or nn-nn-nn-nn-nn-nn or nnnn.nnnn.nnnn + or nnnnnnnnnnnn. Line format Endstation + MAC,Destination MAC , property of the + request body (list of strings). name(string): Network Condition name, property of the request body. id(basestring): id path parameter. Condition id. @@ -451,8 +506,12 @@ def update_network_access_network_condition_by_id(self, link, 'name': name, - 'conditions': - conditions, + 'deviceList': + device_list, + 'ipAddrList': + ip_addr_list, + 'macAddrList': + mac_addr_list, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) @@ -478,9 +537,11 @@ def update_network_access_network_condition_by_id(self, def update_by_id(self, id, condition_type=None, - conditions=None, description=None, + device_list=None, + ip_addr_list=None, link=None, + mac_addr_list=None, name=None, headers=None, payload=None, @@ -493,9 +554,11 @@ def update_by_id(self, return self.update_network_access_network_condition_by_id( id=id, condition_type=condition_type, - conditions=conditions, description=description, + device_list=device_list, + ip_addr_list=ip_addr_list, link=link, + mac_addr_list=mac_addr_list, name=name, payload=payload, active_validation=active_validation, diff --git a/ciscoisesdk/api/v3_1_patch_1/network_access_network_conditions.py b/ciscoisesdk/api/v3_1_patch_1/network_access_network_conditions.py index f77c2a41..33509915 100644 --- a/ciscoisesdk/api/v3_1_patch_1/network_access_network_conditions.py +++ b/ciscoisesdk/api/v3_1_patch_1/network_access_network_conditions.py @@ -46,6 +46,7 @@ class NetworkAccessNetworkConditions(object): API and exposes the API as native Python methods that return native Python objects. + Policy APIs for manage Policy Sets, authorization policies, authentication policies, and policy elements. """ @@ -140,10 +141,12 @@ def get_all(self, def create_network_access_network_condition(self, condition_type=None, - conditions=None, description=None, + device_list=None, id=None, + ip_addr_list=None, link=None, + mac_addr_list=None, name=None, headers=None, payload=None, @@ -158,12 +161,33 @@ def create_network_access_network_condition(self, values are 'DeviceCondition', 'DevicePortCondition' and 'EndstationCondition'. - conditions(list): conditions, property of the request - body (list of objects). description(string): description, property of the request body. + device_list(list): This field should contain Device + Name. The device name must be the same + as the name field in a Network Device + object. Line format Device Name, + property of the request body (list of + strings). id(string): id, property of the request body. + ip_addr_list(list): This field should contain IP address + or subnet. IP address can be IPV4 + format (n.n.n.n) or IPV6 format + (n:n:n:n:n:n:n:n). IP subnet can be + IPV4 format (n.n.n.n/m) or IPV6 format + (n:n:n:n:n:n:n:n/m). Line format IP + Address or subnet, property of the + request body (list of strings). link(object): link, property of the request body. + mac_addr_list(list): This field should contain + Endstation MAC address, comma, and + Destination MAC addresses. Each Max + address must include twelve hexadecimal + digits using formats nn:nn:nn:nn:nn:nn + or nn-nn-nn-nn-nn-nn or nnnn.nnnn.nnnn + or nnnnnnnnnnnn. Line format Endstation + MAC,Destination MAC , property of the + request body (list of strings). name(string): Network Condition name, property of the request body. headers(dict): Dictionary of HTTP Headers to send with the Request @@ -229,8 +253,12 @@ def create_network_access_network_condition(self, link, 'name': name, - 'conditions': - conditions, + 'deviceList': + device_list, + 'ipAddrList': + ip_addr_list, + 'macAddrList': + mac_addr_list, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) @@ -254,10 +282,12 @@ def create_network_access_network_condition(self, def create(self, condition_type=None, - conditions=None, description=None, + device_list=None, id=None, + ip_addr_list=None, link=None, + mac_addr_list=None, name=None, headers=None, payload=None, @@ -269,10 +299,12 @@ def create(self, """ return self.create_network_access_network_condition( condition_type=condition_type, - conditions=conditions, description=description, + device_list=device_list, id=id, + ip_addr_list=ip_addr_list, link=link, + mac_addr_list=mac_addr_list, name=name, payload=payload, active_validation=active_validation, @@ -359,9 +391,11 @@ def get_by_id(self, def update_network_access_network_condition_by_id(self, id, condition_type=None, - conditions=None, description=None, + device_list=None, + ip_addr_list=None, link=None, + mac_addr_list=None, name=None, headers=None, payload=None, @@ -376,12 +410,33 @@ def update_network_access_network_condition_by_id(self, values are 'DeviceCondition', 'DevicePortCondition' and 'EndstationCondition'. - conditions(list): conditions, property of the request - body (list of objects). description(string): description, property of the request body. + device_list(list): This field should contain Device + Name. The device name must be the same + as the name field in a Network Device + object. Line format Device Name, + property of the request body (list of + strings). id(string): id, property of the request body. + ip_addr_list(list): This field should contain IP address + or subnet. IP address can be IPV4 + format (n.n.n.n) or IPV6 format + (n:n:n:n:n:n:n:n). IP subnet can be + IPV4 format (n.n.n.n/m) or IPV6 format + (n:n:n:n:n:n:n:n/m). Line format IP + Address or subnet, property of the + request body (list of strings). link(object): link, property of the request body. + mac_addr_list(list): This field should contain + Endstation MAC address, comma, and + Destination MAC addresses. Each Max + address must include twelve hexadecimal + digits using formats nn:nn:nn:nn:nn:nn + or nn-nn-nn-nn-nn-nn or nnnn.nnnn.nnnn + or nnnnnnnnnnnn. Line format Endstation + MAC,Destination MAC , property of the + request body (list of strings). name(string): Network Condition name, property of the request body. id(basestring): id path parameter. Condition id. @@ -451,8 +506,12 @@ def update_network_access_network_condition_by_id(self, link, 'name': name, - 'conditions': - conditions, + 'deviceList': + device_list, + 'ipAddrList': + ip_addr_list, + 'macAddrList': + mac_addr_list, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) @@ -478,9 +537,11 @@ def update_network_access_network_condition_by_id(self, def update_by_id(self, id, condition_type=None, - conditions=None, description=None, + device_list=None, + ip_addr_list=None, link=None, + mac_addr_list=None, name=None, headers=None, payload=None, @@ -493,9 +554,11 @@ def update_by_id(self, return self.update_network_access_network_condition_by_id( id=id, condition_type=condition_type, - conditions=conditions, description=description, + device_list=device_list, + ip_addr_list=ip_addr_list, link=link, + mac_addr_list=mac_addr_list, name=name, payload=payload, active_validation=active_validation, diff --git a/ciscoisesdk/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py b/ciscoisesdk/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py index 06a9ae22..e20c6e27 100644 --- a/ciscoisesdk/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py +++ b/ciscoisesdk/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py @@ -48,33 +48,10 @@ def __init__(self): ], "type": "string" }, - "conditions": { - "items": { - "properties": { - "cliDnisList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionType": { - "enum": [ - "DeviceCondition", - "DevicePortCondition", - "EndstationCondition" - ], - "type": "string" - }, "description": { "type": "string" }, - "deviceGroupList": { - "items": { - "type": "string" - }, - "type": "array" - }, "deviceList": { "items": { "type": "string" @@ -82,7 +59,6 @@ def __init__(self): "type": "array" }, "id": { - "readOnly": true, "type": "string" }, "ipAddrList": { @@ -109,6 +85,9 @@ def __init__(self): "type": "string" } }, + "required": [ + "href" + ], "type": "object" }, "macAddrList": { @@ -121,44 +100,6 @@ def __init__(self): "type": "string" } }, - "type": "object" - }, - "type": "array" - }, - "description": - { - "type": "string" - }, - "id": { - "type": "string" - }, - "link": { - "properties": { - "href": { - "type": "string" - }, - "rel": { - "enum": [ - "next", - "previous", - "self", - "status" - ], - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href" - ], - "type": "object" - }, - "name": { - "type": "string" - } - }, "required": [ "conditionType", "name" diff --git a/ciscoisesdk/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py b/ciscoisesdk/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py index 3aa131ef..42fee9ce 100644 --- a/ciscoisesdk/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py +++ b/ciscoisesdk/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py @@ -48,33 +48,10 @@ def __init__(self): ], "type": "string" }, - "conditions": { - "items": { - "properties": { - "cliDnisList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionType": { - "enum": [ - "DeviceCondition", - "DevicePortCondition", - "EndstationCondition" - ], - "type": "string" - }, "description": { "type": "string" }, - "deviceGroupList": { - "items": { - "type": "string" - }, - "type": "array" - }, "deviceList": { "items": { "type": "string" @@ -82,7 +59,6 @@ def __init__(self): "type": "array" }, "id": { - "readOnly": true, "type": "string" }, "ipAddrList": { @@ -109,6 +85,9 @@ def __init__(self): "type": "string" } }, + "required": [ + "href" + ], "type": "object" }, "macAddrList": { @@ -121,44 +100,6 @@ def __init__(self): "type": "string" } }, - "type": "object" - }, - "type": "array" - }, - "description": - { - "type": "string" - }, - "id": { - "type": "string" - }, - "link": { - "properties": { - "href": { - "type": "string" - }, - "rel": { - "enum": [ - "next", - "previous", - "self", - "status" - ], - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href" - ], - "type": "object" - }, - "name": { - "type": "string" - } - }, "required": [ "conditionType", "name" diff --git a/ciscoisesdk/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py b/ciscoisesdk/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py index 06a9ae22..e20c6e27 100644 --- a/ciscoisesdk/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py +++ b/ciscoisesdk/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py @@ -48,33 +48,10 @@ def __init__(self): ], "type": "string" }, - "conditions": { - "items": { - "properties": { - "cliDnisList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionType": { - "enum": [ - "DeviceCondition", - "DevicePortCondition", - "EndstationCondition" - ], - "type": "string" - }, "description": { "type": "string" }, - "deviceGroupList": { - "items": { - "type": "string" - }, - "type": "array" - }, "deviceList": { "items": { "type": "string" @@ -82,7 +59,6 @@ def __init__(self): "type": "array" }, "id": { - "readOnly": true, "type": "string" }, "ipAddrList": { @@ -109,6 +85,9 @@ def __init__(self): "type": "string" } }, + "required": [ + "href" + ], "type": "object" }, "macAddrList": { @@ -121,44 +100,6 @@ def __init__(self): "type": "string" } }, - "type": "object" - }, - "type": "array" - }, - "description": - { - "type": "string" - }, - "id": { - "type": "string" - }, - "link": { - "properties": { - "href": { - "type": "string" - }, - "rel": { - "enum": [ - "next", - "previous", - "self", - "status" - ], - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href" - ], - "type": "object" - }, - "name": { - "type": "string" - } - }, "required": [ "conditionType", "name" diff --git a/ciscoisesdk/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py b/ciscoisesdk/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py index 3aa131ef..42fee9ce 100644 --- a/ciscoisesdk/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py +++ b/ciscoisesdk/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py @@ -48,33 +48,10 @@ def __init__(self): ], "type": "string" }, - "conditions": { - "items": { - "properties": { - "cliDnisList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionType": { - "enum": [ - "DeviceCondition", - "DevicePortCondition", - "EndstationCondition" - ], - "type": "string" - }, "description": { "type": "string" }, - "deviceGroupList": { - "items": { - "type": "string" - }, - "type": "array" - }, "deviceList": { "items": { "type": "string" @@ -82,7 +59,6 @@ def __init__(self): "type": "array" }, "id": { - "readOnly": true, "type": "string" }, "ipAddrList": { @@ -109,6 +85,9 @@ def __init__(self): "type": "string" } }, + "required": [ + "href" + ], "type": "object" }, "macAddrList": { @@ -121,44 +100,6 @@ def __init__(self): "type": "string" } }, - "type": "object" - }, - "type": "array" - }, - "description": - { - "type": "string" - }, - "id": { - "type": "string" - }, - "link": { - "properties": { - "href": { - "type": "string" - }, - "rel": { - "enum": [ - "next", - "previous", - "self", - "status" - ], - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href" - ], - "type": "object" - }, - "name": { - "type": "string" - } - }, "required": [ "conditionType", "name" diff --git a/pyproject.toml b/pyproject.toml index 68e0602e..08f0eb2e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ciscoisesdk" -version = "2.0.4" +version = "2.0.5" description = "Cisco Identity Services Engine Platform SDK" authors = ["Jose Bogarin Solano ", "William Astorga "] license = "MIT" diff --git a/tests/models/validators/v3_1_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py b/tests/models/validators/v3_1_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py index 4f3177b7..0234777a 100644 --- a/tests/models/validators/v3_1_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py +++ b/tests/models/validators/v3_1_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py @@ -50,33 +50,10 @@ def __init__(self): ], "type": "string" }, - "conditions": { - "items": { - "properties": { - "cliDnisList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionType": { - "enum": [ - "DeviceCondition", - "DevicePortCondition", - "EndstationCondition" - ], - "type": "string" - }, "description": { "type": "string" }, - "deviceGroupList": { - "items": { - "type": "string" - }, - "type": "array" - }, "deviceList": { "items": { "type": "string" @@ -84,7 +61,6 @@ def __init__(self): "type": "array" }, "id": { - "readOnly": true, "type": "string" }, "ipAddrList": { @@ -111,6 +87,9 @@ def __init__(self): "type": "string" } }, + "required": [ + "href" + ], "type": "object" }, "macAddrList": { @@ -123,44 +102,6 @@ def __init__(self): "type": "string" } }, - "type": "object" - }, - "type": "array" - }, - "description": - { - "type": "string" - }, - "id": { - "type": "string" - }, - "link": { - "properties": { - "href": { - "type": "string" - }, - "rel": { - "enum": [ - "next", - "previous", - "self", - "status" - ], - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href" - ], - "type": "object" - }, - "name": { - "type": "string" - } - }, "required": [ "conditionType", "name" diff --git a/tests/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py b/tests/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py index 30103de1..c97ba114 100644 --- a/tests/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py +++ b/tests/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py @@ -50,33 +50,10 @@ def __init__(self): ], "type": "string" }, - "conditions": { - "items": { - "properties": { - "cliDnisList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionType": { - "enum": [ - "DeviceCondition", - "DevicePortCondition", - "EndstationCondition" - ], - "type": "string" - }, "description": { "type": "string" }, - "deviceGroupList": { - "items": { - "type": "string" - }, - "type": "array" - }, "deviceList": { "items": { "type": "string" @@ -84,7 +61,6 @@ def __init__(self): "type": "array" }, "id": { - "readOnly": true, "type": "string" }, "ipAddrList": { @@ -111,6 +87,9 @@ def __init__(self): "type": "string" } }, + "required": [ + "href" + ], "type": "object" }, "macAddrList": { @@ -123,44 +102,6 @@ def __init__(self): "type": "string" } }, - "type": "object" - }, - "type": "array" - }, - "description": - { - "type": "string" - }, - "id": { - "type": "string" - }, - "link": { - "properties": { - "href": { - "type": "string" - }, - "rel": { - "enum": [ - "next", - "previous", - "self", - "status" - ], - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href" - ], - "type": "object" - }, - "name": { - "type": "string" - } - }, "required": [ "conditionType", "name" diff --git a/tests/models/validators/v3_1_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py b/tests/models/validators/v3_1_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py index ebe7bcea..b66eb67e 100644 --- a/tests/models/validators/v3_1_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py +++ b/tests/models/validators/v3_1_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py @@ -51,33 +51,10 @@ def __init__(self): ], "type": "string" }, - "conditions": { - "items": { - "properties": { - "cliDnisList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionType": { - "enum": [ - "DeviceCondition", - "DevicePortCondition", - "EndstationCondition" - ], - "type": "string" - }, "description": { "type": "string" }, - "deviceGroupList": { - "items": { - "type": "string" - }, - "type": "array" - }, "deviceList": { "items": { "type": "string" @@ -85,7 +62,6 @@ def __init__(self): "type": "array" }, "id": { - "readOnly": true, "type": "string" }, "ipAddrList": { @@ -112,6 +88,9 @@ def __init__(self): "type": "string" } }, + "required": [ + "href" + ], "type": "object" }, "macAddrList": { @@ -124,44 +103,6 @@ def __init__(self): "type": "string" } }, - "type": "object" - }, - "type": "array" - }, - "description": - { - "type": "string" - }, - "id": { - "type": "string" - }, - "link": { - "properties": { - "href": { - "type": "string" - }, - "rel": { - "enum": [ - "next", - "previous", - "self", - "status" - ], - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href" - ], - "type": "object" - }, - "name": { - "type": "string" - } - }, "required": [ "conditionType", "name" diff --git a/tests/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py b/tests/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py index 22b65048..7130e2f3 100644 --- a/tests/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py +++ b/tests/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py @@ -50,33 +50,10 @@ def __init__(self): ], "type": "string" }, - "conditions": { - "items": { - "properties": { - "cliDnisList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionType": { - "enum": [ - "DeviceCondition", - "DevicePortCondition", - "EndstationCondition" - ], - "type": "string" - }, "description": { "type": "string" }, - "deviceGroupList": { - "items": { - "type": "string" - }, - "type": "array" - }, "deviceList": { "items": { "type": "string" @@ -84,7 +61,6 @@ def __init__(self): "type": "array" }, "id": { - "readOnly": true, "type": "string" }, "ipAddrList": { @@ -111,6 +87,9 @@ def __init__(self): "type": "string" } }, + "required": [ + "href" + ], "type": "object" }, "macAddrList": { @@ -123,44 +102,6 @@ def __init__(self): "type": "string" } }, - "type": "object" - }, - "type": "array" - }, - "description": - { - "type": "string" - }, - "id": { - "type": "string" - }, - "link": { - "properties": { - "href": { - "type": "string" - }, - "rel": { - "enum": [ - "next", - "previous", - "self", - "status" - ], - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href" - ], - "type": "object" - }, - "name": { - "type": "string" - } - }, "required": [ "conditionType", "name" diff --git a/tests/models/validators/v3_1_patch_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py b/tests/models/validators/v3_1_patch_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py index 4f3177b7..0234777a 100644 --- a/tests/models/validators/v3_1_patch_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py +++ b/tests/models/validators/v3_1_patch_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py @@ -50,33 +50,10 @@ def __init__(self): ], "type": "string" }, - "conditions": { - "items": { - "properties": { - "cliDnisList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionType": { - "enum": [ - "DeviceCondition", - "DevicePortCondition", - "EndstationCondition" - ], - "type": "string" - }, "description": { "type": "string" }, - "deviceGroupList": { - "items": { - "type": "string" - }, - "type": "array" - }, "deviceList": { "items": { "type": "string" @@ -84,7 +61,6 @@ def __init__(self): "type": "array" }, "id": { - "readOnly": true, "type": "string" }, "ipAddrList": { @@ -111,6 +87,9 @@ def __init__(self): "type": "string" } }, + "required": [ + "href" + ], "type": "object" }, "macAddrList": { @@ -123,44 +102,6 @@ def __init__(self): "type": "string" } }, - "type": "object" - }, - "type": "array" - }, - "description": - { - "type": "string" - }, - "id": { - "type": "string" - }, - "link": { - "properties": { - "href": { - "type": "string" - }, - "rel": { - "enum": [ - "next", - "previous", - "self", - "status" - ], - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href" - ], - "type": "object" - }, - "name": { - "type": "string" - } - }, "required": [ "conditionType", "name" diff --git a/tests/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py b/tests/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py index 30103de1..c97ba114 100644 --- a/tests/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py +++ b/tests/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py @@ -50,33 +50,10 @@ def __init__(self): ], "type": "string" }, - "conditions": { - "items": { - "properties": { - "cliDnisList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionType": { - "enum": [ - "DeviceCondition", - "DevicePortCondition", - "EndstationCondition" - ], - "type": "string" - }, "description": { "type": "string" }, - "deviceGroupList": { - "items": { - "type": "string" - }, - "type": "array" - }, "deviceList": { "items": { "type": "string" @@ -84,7 +61,6 @@ def __init__(self): "type": "array" }, "id": { - "readOnly": true, "type": "string" }, "ipAddrList": { @@ -111,6 +87,9 @@ def __init__(self): "type": "string" } }, + "required": [ + "href" + ], "type": "object" }, "macAddrList": { @@ -123,44 +102,6 @@ def __init__(self): "type": "string" } }, - "type": "object" - }, - "type": "array" - }, - "description": - { - "type": "string" - }, - "id": { - "type": "string" - }, - "link": { - "properties": { - "href": { - "type": "string" - }, - "rel": { - "enum": [ - "next", - "previous", - "self", - "status" - ], - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href" - ], - "type": "object" - }, - "name": { - "type": "string" - } - }, "required": [ "conditionType", "name" diff --git a/tests/models/validators/v3_1_patch_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py b/tests/models/validators/v3_1_patch_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py index ebe7bcea..b66eb67e 100644 --- a/tests/models/validators/v3_1_patch_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py +++ b/tests/models/validators/v3_1_patch_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py @@ -51,33 +51,10 @@ def __init__(self): ], "type": "string" }, - "conditions": { - "items": { - "properties": { - "cliDnisList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionType": { - "enum": [ - "DeviceCondition", - "DevicePortCondition", - "EndstationCondition" - ], - "type": "string" - }, "description": { "type": "string" }, - "deviceGroupList": { - "items": { - "type": "string" - }, - "type": "array" - }, "deviceList": { "items": { "type": "string" @@ -85,7 +62,6 @@ def __init__(self): "type": "array" }, "id": { - "readOnly": true, "type": "string" }, "ipAddrList": { @@ -112,6 +88,9 @@ def __init__(self): "type": "string" } }, + "required": [ + "href" + ], "type": "object" }, "macAddrList": { @@ -124,44 +103,6 @@ def __init__(self): "type": "string" } }, - "type": "object" - }, - "type": "array" - }, - "description": - { - "type": "string" - }, - "id": { - "type": "string" - }, - "link": { - "properties": { - "href": { - "type": "string" - }, - "rel": { - "enum": [ - "next", - "previous", - "self", - "status" - ], - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href" - ], - "type": "object" - }, - "name": { - "type": "string" - } - }, "required": [ "conditionType", "name" diff --git a/tests/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py b/tests/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py index 22b65048..7130e2f3 100644 --- a/tests/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py +++ b/tests/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py @@ -50,33 +50,10 @@ def __init__(self): ], "type": "string" }, - "conditions": { - "items": { - "properties": { - "cliDnisList": { - "items": { - "type": "string" - }, - "type": "array" - }, - "conditionType": { - "enum": [ - "DeviceCondition", - "DevicePortCondition", - "EndstationCondition" - ], - "type": "string" - }, "description": { "type": "string" }, - "deviceGroupList": { - "items": { - "type": "string" - }, - "type": "array" - }, "deviceList": { "items": { "type": "string" @@ -84,7 +61,6 @@ def __init__(self): "type": "array" }, "id": { - "readOnly": true, "type": "string" }, "ipAddrList": { @@ -111,6 +87,9 @@ def __init__(self): "type": "string" } }, + "required": [ + "href" + ], "type": "object" }, "macAddrList": { @@ -123,44 +102,6 @@ def __init__(self): "type": "string" } }, - "type": "object" - }, - "type": "array" - }, - "description": - { - "type": "string" - }, - "id": { - "type": "string" - }, - "link": { - "properties": { - "href": { - "type": "string" - }, - "rel": { - "enum": [ - "next", - "previous", - "self", - "status" - ], - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "href" - ], - "type": "object" - }, - "name": { - "type": "string" - } - }, "required": [ "conditionType", "name" From dd4cad5394a668f87bf3165640953613b5c376d2 Mon Sep 17 00:00:00 2001 From: Bryan Vargas Date: Thu, 13 Oct 2022 15:33:44 -0600 Subject: [PATCH 2/3] Fixed request and reponse body --- .../network_access_network_conditions.py | 40 +++++++++++++++++++ .../network_access_network_conditions.py | 40 +++++++++++++++++++ .../v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py | 12 ++++++ .../jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py | 12 ++++++ .../jsd_cf65cd559628b26f6eb5ea20f14.py | 12 ++++++ .../jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py | 12 ++++++ .../test_network_access_network_conditions.py | 24 +++++++++-- .../test_network_access_network_conditions.py | 24 +++++++++-- .../jsd_ab015a9eb6d5f2b91002af068cb4ce2.py | 12 ++++++ .../v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py | 12 ++++++ .../jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py | 12 ++++++ .../jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py | 12 ++++++ .../jsd_ab015a9eb6d5f2b91002af068cb4ce2.py | 12 ++++++ .../jsd_cf65cd559628b26f6eb5ea20f14.py | 12 ++++++ .../jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py | 12 ++++++ .../jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py | 12 ++++++ 16 files changed, 264 insertions(+), 8 deletions(-) diff --git a/ciscoisesdk/api/v3_1_1/network_access_network_conditions.py b/ciscoisesdk/api/v3_1_1/network_access_network_conditions.py index 57b5961d..bc955ad0 100644 --- a/ciscoisesdk/api/v3_1_1/network_access_network_conditions.py +++ b/ciscoisesdk/api/v3_1_1/network_access_network_conditions.py @@ -140,8 +140,10 @@ def get_all(self, ) def create_network_access_network_condition(self, + cli_dnis_list=None, condition_type=None, description=None, + device_group_list=None, device_list=None, id=None, ip_addr_list=None, @@ -155,6 +157,11 @@ def create_network_access_network_condition(self, """Network Access Creates network condition. Args: + cli_dnis_list(list): This field should contain a Caller + ID (CLI), comma, and Called ID (DNIS). + Line format Caller ID (CLI), Called ID + (DNIS), property of the request body + (list of strings). condition_type(string): This field determines the content of the conditions field, property of the request body. Available @@ -163,6 +170,11 @@ def create_network_access_network_condition(self, 'EndstationCondition'. description(string): description, property of the request body. + device_group_list(list): This field should contain a + tuple with NDG Root, comma, and an NDG + (that it under the root). Line format + NDG Root Name, NDG, Port, property of + the request body (list of strings). device_list(list): This field should contain Device Name. The device name must be the same as the name field in a Network Device @@ -255,10 +267,14 @@ def create_network_access_network_condition(self, name, 'deviceList': device_list, + 'cliDnisList': + cli_dnis_list, 'ipAddrList': ip_addr_list, 'macAddrList': mac_addr_list, + 'deviceGroupList': + device_group_list, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) @@ -281,8 +297,10 @@ def create_network_access_network_condition(self, return self._object_factory('bpm_f4dbfb874b3b56d7a651d6732f1bd55e_v3_1_1', _api_response) def create(self, + cli_dnis_list=None, condition_type=None, description=None, + device_group_list=None, device_list=None, id=None, ip_addr_list=None, @@ -298,8 +316,10 @@ def create(self, NetworkAccessNetworkConditions.create_network_access_network_condition>`_ """ return self.create_network_access_network_condition( + cli_dnis_list=cli_dnis_list, condition_type=condition_type, description=description, + device_group_list=device_group_list, device_list=device_list, id=id, ip_addr_list=ip_addr_list, @@ -390,8 +410,10 @@ def get_by_id(self, def update_network_access_network_condition_by_id(self, id, + cli_dnis_list=None, condition_type=None, description=None, + device_group_list=None, device_list=None, ip_addr_list=None, link=None, @@ -404,6 +426,11 @@ def update_network_access_network_condition_by_id(self, """Network Access Update network condition. Args: + cli_dnis_list(list): This field should contain a Caller + ID (CLI), comma, and Called ID (DNIS). + Line format Caller ID (CLI), Called ID + (DNIS), property of the request body + (list of strings). condition_type(string): This field determines the content of the conditions field, property of the request body. Available @@ -412,6 +439,11 @@ def update_network_access_network_condition_by_id(self, 'EndstationCondition'. description(string): description, property of the request body. + device_group_list(list): This field should contain a + tuple with NDG Root, comma, and an NDG + (that it under the root). Line format + NDG Root Name, NDG, Port, property of + the request body (list of strings). device_list(list): This field should contain Device Name. The device name must be the same as the name field in a Network Device @@ -508,10 +540,14 @@ def update_network_access_network_condition_by_id(self, name, 'deviceList': device_list, + 'cliDnisList': + cli_dnis_list, 'ipAddrList': ip_addr_list, 'macAddrList': mac_addr_list, + 'deviceGroupList': + device_group_list, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) @@ -536,8 +572,10 @@ def update_network_access_network_condition_by_id(self, def update_by_id(self, id, + cli_dnis_list=None, condition_type=None, description=None, + device_group_list=None, device_list=None, ip_addr_list=None, link=None, @@ -553,8 +591,10 @@ def update_by_id(self, """ return self.update_network_access_network_condition_by_id( id=id, + cli_dnis_list=cli_dnis_list, condition_type=condition_type, description=description, + device_group_list=device_group_list, device_list=device_list, ip_addr_list=ip_addr_list, link=link, diff --git a/ciscoisesdk/api/v3_1_patch_1/network_access_network_conditions.py b/ciscoisesdk/api/v3_1_patch_1/network_access_network_conditions.py index 33509915..e7b30151 100644 --- a/ciscoisesdk/api/v3_1_patch_1/network_access_network_conditions.py +++ b/ciscoisesdk/api/v3_1_patch_1/network_access_network_conditions.py @@ -140,8 +140,10 @@ def get_all(self, ) def create_network_access_network_condition(self, + cli_dnis_list=None, condition_type=None, description=None, + device_group_list=None, device_list=None, id=None, ip_addr_list=None, @@ -155,6 +157,11 @@ def create_network_access_network_condition(self, """Network Access Creates network condition. Args: + cli_dnis_list(list): This field should contain a Caller + ID (CLI), comma, and Called ID (DNIS). + Line format Caller ID (CLI), Called ID + (DNIS), property of the request body + (list of strings). condition_type(string): This field determines the content of the conditions field, property of the request body. Available @@ -163,6 +170,11 @@ def create_network_access_network_condition(self, 'EndstationCondition'. description(string): description, property of the request body. + device_group_list(list): This field should contain a + tuple with NDG Root, comma, and an NDG + (that it under the root). Line format + NDG Root Name, NDG, Port, property of + the request body (list of strings). device_list(list): This field should contain Device Name. The device name must be the same as the name field in a Network Device @@ -255,10 +267,14 @@ def create_network_access_network_condition(self, name, 'deviceList': device_list, + 'cliDnisList': + cli_dnis_list, 'ipAddrList': ip_addr_list, 'macAddrList': mac_addr_list, + 'deviceGroupList': + device_group_list, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) @@ -281,8 +297,10 @@ def create_network_access_network_condition(self, return self._object_factory('bpm_f4dbfb874b3b56d7a651d6732f1bd55e_v3_1_patch_1', _api_response) def create(self, + cli_dnis_list=None, condition_type=None, description=None, + device_group_list=None, device_list=None, id=None, ip_addr_list=None, @@ -298,8 +316,10 @@ def create(self, NetworkAccessNetworkConditions.create_network_access_network_condition>`_ """ return self.create_network_access_network_condition( + cli_dnis_list=cli_dnis_list, condition_type=condition_type, description=description, + device_group_list=device_group_list, device_list=device_list, id=id, ip_addr_list=ip_addr_list, @@ -390,8 +410,10 @@ def get_by_id(self, def update_network_access_network_condition_by_id(self, id, + cli_dnis_list=None, condition_type=None, description=None, + device_group_list=None, device_list=None, ip_addr_list=None, link=None, @@ -404,6 +426,11 @@ def update_network_access_network_condition_by_id(self, """Network Access Update network condition. Args: + cli_dnis_list(list): This field should contain a Caller + ID (CLI), comma, and Called ID (DNIS). + Line format Caller ID (CLI), Called ID + (DNIS), property of the request body + (list of strings). condition_type(string): This field determines the content of the conditions field, property of the request body. Available @@ -412,6 +439,11 @@ def update_network_access_network_condition_by_id(self, 'EndstationCondition'. description(string): description, property of the request body. + device_group_list(list): This field should contain a + tuple with NDG Root, comma, and an NDG + (that it under the root). Line format + NDG Root Name, NDG, Port, property of + the request body (list of strings). device_list(list): This field should contain Device Name. The device name must be the same as the name field in a Network Device @@ -508,10 +540,14 @@ def update_network_access_network_condition_by_id(self, name, 'deviceList': device_list, + 'cliDnisList': + cli_dnis_list, 'ipAddrList': ip_addr_list, 'macAddrList': mac_addr_list, + 'deviceGroupList': + device_group_list, } _payload.update(payload or {}) _payload = dict_from_items_with_values(_payload) @@ -536,8 +572,10 @@ def update_network_access_network_condition_by_id(self, def update_by_id(self, id, + cli_dnis_list=None, condition_type=None, description=None, + device_group_list=None, device_list=None, ip_addr_list=None, link=None, @@ -553,8 +591,10 @@ def update_by_id(self, """ return self.update_network_access_network_condition_by_id( id=id, + cli_dnis_list=cli_dnis_list, condition_type=condition_type, description=description, + device_group_list=device_group_list, device_list=device_list, ip_addr_list=ip_addr_list, link=link, diff --git a/ciscoisesdk/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py b/ciscoisesdk/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py index e20c6e27..a14fbfe8 100644 --- a/ciscoisesdk/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py +++ b/ciscoisesdk/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py @@ -40,6 +40,12 @@ def __init__(self): '''{ "$schema": "http://json-schema.org/draft-04/schema#", "properties": { + "cliDnisList": { + "items": { + "type": "string" + }, + "type": "array" + }, "conditionType": { "enum": [ "DeviceCondition", @@ -52,6 +58,12 @@ def __init__(self): { "type": "string" }, + "deviceGroupList": { + "items": { + "type": "string" + }, + "type": "array" + }, "deviceList": { "items": { "type": "string" diff --git a/ciscoisesdk/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py b/ciscoisesdk/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py index 42fee9ce..1e904697 100644 --- a/ciscoisesdk/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py +++ b/ciscoisesdk/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py @@ -40,6 +40,12 @@ def __init__(self): '''{ "$schema": "http://json-schema.org/draft-04/schema#", "properties": { + "cliDnisList": { + "items": { + "type": "string" + }, + "type": "array" + }, "conditionType": { "enum": [ "DeviceCondition", @@ -52,6 +58,12 @@ def __init__(self): { "type": "string" }, + "deviceGroupList": { + "items": { + "type": "string" + }, + "type": "array" + }, "deviceList": { "items": { "type": "string" diff --git a/ciscoisesdk/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py b/ciscoisesdk/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py index e20c6e27..a14fbfe8 100644 --- a/ciscoisesdk/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py +++ b/ciscoisesdk/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py @@ -40,6 +40,12 @@ def __init__(self): '''{ "$schema": "http://json-schema.org/draft-04/schema#", "properties": { + "cliDnisList": { + "items": { + "type": "string" + }, + "type": "array" + }, "conditionType": { "enum": [ "DeviceCondition", @@ -52,6 +58,12 @@ def __init__(self): { "type": "string" }, + "deviceGroupList": { + "items": { + "type": "string" + }, + "type": "array" + }, "deviceList": { "items": { "type": "string" diff --git a/ciscoisesdk/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py b/ciscoisesdk/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py index 42fee9ce..1e904697 100644 --- a/ciscoisesdk/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py +++ b/ciscoisesdk/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py @@ -40,6 +40,12 @@ def __init__(self): '''{ "$schema": "http://json-schema.org/draft-04/schema#", "properties": { + "cliDnisList": { + "items": { + "type": "string" + }, + "type": "array" + }, "conditionType": { "enum": [ "DeviceCondition", @@ -52,6 +58,12 @@ def __init__(self): { "type": "string" }, + "deviceGroupList": { + "items": { + "type": "string" + }, + "type": "array" + }, "deviceList": { "items": { "type": "string" diff --git a/tests/api/v3_1_1/test_network_access_network_conditions.py b/tests/api/v3_1_1/test_network_access_network_conditions.py index 0869d148..7f64e617 100644 --- a/tests/api/v3_1_1/test_network_access_network_conditions.py +++ b/tests/api/v3_1_1/test_network_access_network_conditions.py @@ -96,11 +96,15 @@ def is_valid_create_network_access_network_condition(json_schema_validate, obj): def create_network_access_network_condition(api): endpoint_result = api.network_access_network_conditions.create_network_access_network_condition( active_validation=False, + cli_dnis_list=['string'], condition_type='string', - conditions=[{'cliDnisList': ['string'], 'conditionType': 'string', 'description': 'string', 'id': 'string', 'ipAddrList': ['string'], 'link': {'href': 'string', 'rel': 'string', 'type': 'string'}, 'macAddrList': ['string'], 'name': 'string', 'deviceGroupList': ['string'], 'deviceList': ['string']}], description='string', + device_group_list=['string'], + device_list=['string'], id='string', + ip_addr_list=['string'], link={'href': 'string', 'rel': 'string', 'type': 'string'}, + mac_addr_list=['string'], name='string', payload=None ) @@ -123,11 +127,15 @@ def test_create_network_access_network_condition(api, validator): def create_network_access_network_condition_default(api): endpoint_result = api.network_access_network_conditions.create_network_access_network_condition( active_validation=False, + cli_dnis_list=None, condition_type=None, - conditions=None, description=None, + device_group_list=None, + device_list=None, id=None, + ip_addr_list=None, link=None, + mac_addr_list=None, name=None, payload=None ) @@ -212,11 +220,15 @@ def is_valid_update_network_access_network_condition_by_id(json_schema_validate, def update_network_access_network_condition_by_id(api): endpoint_result = api.network_access_network_conditions.update_network_access_network_condition_by_id( active_validation=False, + cli_dnis_list=['string'], condition_type='string', - conditions=[{'cliDnisList': ['string'], 'conditionType': 'string', 'description': 'string', 'id': 'string', 'ipAddrList': ['string'], 'link': {'href': 'string', 'rel': 'string', 'type': 'string'}, 'macAddrList': ['string'], 'name': 'string', 'deviceGroupList': ['string'], 'deviceList': ['string']}], description='string', + device_group_list=['string'], + device_list=['string'], id='string', + ip_addr_list=['string'], link={'href': 'string', 'rel': 'string', 'type': 'string'}, + mac_addr_list=['string'], name='string', payload=None ) @@ -240,10 +252,14 @@ def update_network_access_network_condition_by_id_default(api): endpoint_result = api.network_access_network_conditions.update_network_access_network_condition_by_id( active_validation=False, id='string', + cli_dnis_list=None, condition_type=None, - conditions=None, description=None, + device_group_list=None, + device_list=None, + ip_addr_list=None, link=None, + mac_addr_list=None, name=None, payload=None ) diff --git a/tests/api/v3_1_patch_1/test_network_access_network_conditions.py b/tests/api/v3_1_patch_1/test_network_access_network_conditions.py index ff1e9aba..145c7c38 100644 --- a/tests/api/v3_1_patch_1/test_network_access_network_conditions.py +++ b/tests/api/v3_1_patch_1/test_network_access_network_conditions.py @@ -96,11 +96,15 @@ def is_valid_create_network_access_network_condition(json_schema_validate, obj): def create_network_access_network_condition(api): endpoint_result = api.network_access_network_conditions.create_network_access_network_condition( active_validation=False, + cli_dnis_list=['string'], condition_type='string', - conditions=[{'cliDnisList': ['string'], 'conditionType': 'string', 'description': 'string', 'id': 'string', 'ipAddrList': ['string'], 'link': {'href': 'string', 'rel': 'string', 'type': 'string'}, 'macAddrList': ['string'], 'name': 'string', 'deviceGroupList': ['string'], 'deviceList': ['string']}], description='string', + device_group_list=['string'], + device_list=['string'], id='string', + ip_addr_list=['string'], link={'href': 'string', 'rel': 'string', 'type': 'string'}, + mac_addr_list=['string'], name='string', payload=None ) @@ -123,11 +127,15 @@ def test_create_network_access_network_condition(api, validator): def create_network_access_network_condition_default(api): endpoint_result = api.network_access_network_conditions.create_network_access_network_condition( active_validation=False, + cli_dnis_list=None, condition_type=None, - conditions=None, description=None, + device_group_list=None, + device_list=None, id=None, + ip_addr_list=None, link=None, + mac_addr_list=None, name=None, payload=None ) @@ -212,11 +220,15 @@ def is_valid_update_network_access_network_condition_by_id(json_schema_validate, def update_network_access_network_condition_by_id(api): endpoint_result = api.network_access_network_conditions.update_network_access_network_condition_by_id( active_validation=False, + cli_dnis_list=['string'], condition_type='string', - conditions=[{'cliDnisList': ['string'], 'conditionType': 'string', 'description': 'string', 'id': 'string', 'ipAddrList': ['string'], 'link': {'href': 'string', 'rel': 'string', 'type': 'string'}, 'macAddrList': ['string'], 'name': 'string', 'deviceGroupList': ['string'], 'deviceList': ['string']}], description='string', + device_group_list=['string'], + device_list=['string'], id='string', + ip_addr_list=['string'], link={'href': 'string', 'rel': 'string', 'type': 'string'}, + mac_addr_list=['string'], name='string', payload=None ) @@ -240,10 +252,14 @@ def update_network_access_network_condition_by_id_default(api): endpoint_result = api.network_access_network_conditions.update_network_access_network_condition_by_id( active_validation=False, id='string', + cli_dnis_list=None, condition_type=None, - conditions=None, description=None, + device_group_list=None, + device_list=None, + ip_addr_list=None, link=None, + mac_addr_list=None, name=None, payload=None ) diff --git a/tests/models/validators/v3_1_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py b/tests/models/validators/v3_1_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py index 0234777a..b1354a99 100644 --- a/tests/models/validators/v3_1_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py +++ b/tests/models/validators/v3_1_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py @@ -42,6 +42,12 @@ def __init__(self): "properties": { "response": { "properties": { + "cliDnisList": { + "items": { + "type": "string" + }, + "type": "array" + }, "conditionType": { "enum": [ "DeviceCondition", @@ -54,6 +60,12 @@ def __init__(self): { "type": "string" }, + "deviceGroupList": { + "items": { + "type": "string" + }, + "type": "array" + }, "deviceList": { "items": { "type": "string" diff --git a/tests/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py b/tests/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py index c97ba114..5fe0a2db 100644 --- a/tests/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py +++ b/tests/models/validators/v3_1_1/jsd_cf65cd559628b26f6eb5ea20f14.py @@ -42,6 +42,12 @@ def __init__(self): "properties": { "response": { "properties": { + "cliDnisList": { + "items": { + "type": "string" + }, + "type": "array" + }, "conditionType": { "enum": [ "DeviceCondition", @@ -54,6 +60,12 @@ def __init__(self): { "type": "string" }, + "deviceGroupList": { + "items": { + "type": "string" + }, + "type": "array" + }, "deviceList": { "items": { "type": "string" diff --git a/tests/models/validators/v3_1_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py b/tests/models/validators/v3_1_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py index b66eb67e..a0f620ff 100644 --- a/tests/models/validators/v3_1_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py +++ b/tests/models/validators/v3_1_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py @@ -43,6 +43,12 @@ def __init__(self): "response": { "items": { "properties": { + "cliDnisList": { + "items": { + "type": "string" + }, + "type": "array" + }, "conditionType": { "enum": [ "DeviceCondition", @@ -55,6 +61,12 @@ def __init__(self): { "type": "string" }, + "deviceGroupList": { + "items": { + "type": "string" + }, + "type": "array" + }, "deviceList": { "items": { "type": "string" diff --git a/tests/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py b/tests/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py index 7130e2f3..c730c56e 100644 --- a/tests/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py +++ b/tests/models/validators/v3_1_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py @@ -42,6 +42,12 @@ def __init__(self): "properties": { "response": { "properties": { + "cliDnisList": { + "items": { + "type": "string" + }, + "type": "array" + }, "conditionType": { "enum": [ "DeviceCondition", @@ -54,6 +60,12 @@ def __init__(self): { "type": "string" }, + "deviceGroupList": { + "items": { + "type": "string" + }, + "type": "array" + }, "deviceList": { "items": { "type": "string" diff --git a/tests/models/validators/v3_1_patch_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py b/tests/models/validators/v3_1_patch_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py index 0234777a..b1354a99 100644 --- a/tests/models/validators/v3_1_patch_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py +++ b/tests/models/validators/v3_1_patch_1/jsd_ab015a9eb6d5f2b91002af068cb4ce2.py @@ -42,6 +42,12 @@ def __init__(self): "properties": { "response": { "properties": { + "cliDnisList": { + "items": { + "type": "string" + }, + "type": "array" + }, "conditionType": { "enum": [ "DeviceCondition", @@ -54,6 +60,12 @@ def __init__(self): { "type": "string" }, + "deviceGroupList": { + "items": { + "type": "string" + }, + "type": "array" + }, "deviceList": { "items": { "type": "string" diff --git a/tests/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py b/tests/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py index c97ba114..5fe0a2db 100644 --- a/tests/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py +++ b/tests/models/validators/v3_1_patch_1/jsd_cf65cd559628b26f6eb5ea20f14.py @@ -42,6 +42,12 @@ def __init__(self): "properties": { "response": { "properties": { + "cliDnisList": { + "items": { + "type": "string" + }, + "type": "array" + }, "conditionType": { "enum": [ "DeviceCondition", @@ -54,6 +60,12 @@ def __init__(self): { "type": "string" }, + "deviceGroupList": { + "items": { + "type": "string" + }, + "type": "array" + }, "deviceList": { "items": { "type": "string" diff --git a/tests/models/validators/v3_1_patch_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py b/tests/models/validators/v3_1_patch_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py index b66eb67e..a0f620ff 100644 --- a/tests/models/validators/v3_1_patch_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py +++ b/tests/models/validators/v3_1_patch_1/jsd_d43fec9e7dc556cbb9bf0ebd1dcd6aad.py @@ -43,6 +43,12 @@ def __init__(self): "response": { "items": { "properties": { + "cliDnisList": { + "items": { + "type": "string" + }, + "type": "array" + }, "conditionType": { "enum": [ "DeviceCondition", @@ -55,6 +61,12 @@ def __init__(self): { "type": "string" }, + "deviceGroupList": { + "items": { + "type": "string" + }, + "type": "array" + }, "deviceList": { "items": { "type": "string" diff --git a/tests/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py b/tests/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py index 7130e2f3..c730c56e 100644 --- a/tests/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py +++ b/tests/models/validators/v3_1_patch_1/jsd_f4dbfb874b3b56d7a651d6732f1bd55e.py @@ -42,6 +42,12 @@ def __init__(self): "properties": { "response": { "properties": { + "cliDnisList": { + "items": { + "type": "string" + }, + "type": "array" + }, "conditionType": { "enum": [ "DeviceCondition", @@ -54,6 +60,12 @@ def __init__(self): { "type": "string" }, + "deviceGroupList": { + "items": { + "type": "string" + }, + "type": "array" + }, "deviceList": { "items": { "type": "string" From 9a77c5120c771f98ff5d7d9a14aa713841d2a370 Mon Sep 17 00:00:00 2001 From: Bryan Vargas Date: Thu, 13 Oct 2022 15:33:57 -0600 Subject: [PATCH 3/3] Updated changelog to 2.0.5 --- docs/CHANGELOG.rst | 309 ++++++++++++++++++++++++++++++++------------- 1 file changed, 219 insertions(+), 90 deletions(-) diff --git a/docs/CHANGELOG.rst b/docs/CHANGELOG.rst index 38f672e1..e2c2a739 100644 --- a/docs/CHANGELOG.rst +++ b/docs/CHANGELOG.rst @@ -3,12 +3,42 @@ Changelog All notable changes to this project will be documented in this file. -The format is based on `Keep a Changelog `__, and this project adheres to `Semantic Versioning `__. +The format is based on `Keep a +Changelog `__, and this project +adheres to `Semantic +Versioning `__. -`Unreleased `__ +`Unreleased `__ --------------------------------------------------------------------------------- -`2.0.3 `__ - 2021-06-07 +`2.0.5 `__ - 2022-12-10 +---------------------------------------------------------------------------------------- + +Fixed +~~~~~ + +- Repaired the request body of the + network_access_network_conditions.create_network_access_network_condition + request 3.1_patch_1 and 3.1.1 +- Repaired the request body of the + network_access_network_conditions.update_network_access_network_condition_by_id + request 3.1_patch_1 and 3.1.1 + +.. _section-1: + +`2.0.4 `__ - 2022-07-11 +---------------------------------------------------------------------------------------- + +.. _fixed-1: + +Fixed +~~~~~ + +- Update check_type to pass an instance of a list. + +.. _section-2: + +`2.0.3 `__ - 2022-06-07 ---------------------------------------------------------------------------------------- Changed @@ -17,17 +47,21 @@ Changed - Default ISE DEFAULT_VERSION to 3.1_Patch_1 - Update documentation to use ISE v3.1_Patch_1 -.. _section-1: +.. _section-3: `2.0.2 `__ - 2022-05-02 ---------------------------------------------------------------------------------------- +.. _fixed-2: + Fixed ~~~~~ -- Update pagination to capture and ignore 500 Internal server error when they attempt to get_next_page. Previous version only captured and ignored 404 Not Found and 400 Bad Request. +- Update pagination to capture and ignore 500 Internal server error + when they attempt to get_next_page. Previous version only captured + and ignored 404 Not Found and 400 Bad Request. -.. _section-2: +.. _section-4: `2.0.1 `__ - 2022-03-24 ---------------------------------------------------------------------------------------- @@ -35,7 +69,8 @@ Fixed Added ~~~~~ -- Add ``DownloadResponse`` class that wraps the ``urllib3.response.HTTPResponse``. +- Add ``DownloadResponse`` class that wraps the + ``urllib3.response.HTTPResponse``. - Add ``filename`` optional parameter to the following functions: - ciscoisesdk.api.v3_1_0.certificates.Certificates.export_csr @@ -58,7 +93,8 @@ Added Changed ~~~~~~~ -- Change the response of the following funtions from ``urllib3.response.HTTPResponse`` to a wrapper ``DownloadResponse``. +- Change the response of the following funtions from + ``urllib3.response.HTTPResponse`` to a wrapper ``DownloadResponse``. - ciscoisesdk.api.v3_1_0.certificates.Certificates.export_csr - ciscoisesdk.api.v3_1_0.certificates.Certificates.export_system_certificate @@ -75,7 +111,7 @@ Changed - ciscoisesdk.api.v3_1_1.support_bundle_download.SupportBundleDownload.download_support_bundle - ciscoisesdk.api.v3_1_1.support_bundle_download.SupportBundleDownload.download -.. _section-3: +.. _section-5: `2.0.0 `__ - 2022-03-24 ---------------------------------------------------------------------------------------- @@ -83,10 +119,11 @@ Changed Removed ~~~~~~~ -- Removed ``access_token`` property of ``IdentityServicesEngineAPI`` and ``RestSession``. +- Removed ``access_token`` property of ``IdentityServicesEngineAPI`` + and ``RestSession``. - Drop ISE version 3.0.0 support. -.. _section-4: +.. _section-6: `1.5.1 `__ - 2022-02-25 ---------------------------------------------------------------------------------------- @@ -98,7 +135,7 @@ Changed - Update docstring documentation of modules and functions. -.. _section-5: +.. _section-7: `1.5.0 `__ - 2022-02-23 ---------------------------------------------------------------------------------------- @@ -108,30 +145,45 @@ Changed Changed ~~~~~~~ -- Marked ``access_token`` property to be removed in ``IdentityServicesEngineAPI`` and ``RestSession``. -- Changed the way of notifying Deprecation of version 3.0.0 of ISE from print to warning. -- Incremented ``IdentityServicesEngineAPI`` and ``RestSession`` constructor parameter count. -- Changed access method an imports used for environment variables and default values in api/**init**.py. -- Changed ``IdentityServicesEngineAPI``\ ’s inner properties, getters, and setters to handle only the class itself. -- ``RestSession`` to request for a refreshed CSRF token if ``uses_csrf_token`` is enabled. -- Replaced the name of headers checked for ERS methods from “X-CSRF-TOKEN” to “X-CSRF-Token”. -- Changed ``ApiError`` message when status_code is 401 or 403 to include reference to ``additional_data`` property. +- Marked ``access_token`` property to be removed in + ``IdentityServicesEngineAPI`` and ``RestSession``. +- Changed the way of notifying Deprecation of version 3.0.0 of ISE from + print to warning. +- Incremented ``IdentityServicesEngineAPI`` and ``RestSession`` + constructor parameter count. +- Changed access method an imports used for environment variables and + default values in api/**init**.py. +- Changed ``IdentityServicesEngineAPI``\ ’s inner properties, getters, + and setters to handle only the class itself. +- ``RestSession`` to request for a refreshed CSRF token if + ``uses_csrf_token`` is enabled. +- Replaced the name of headers checked for ERS methods from + “X-CSRF-TOKEN” to “X-CSRF-Token”. +- Changed ``ApiError`` message when status_code is 401 or 403 to + include reference to ``additional_data`` property. .. _added-1: Added ~~~~~ -- Support for “CSRF Check for Enhanced Security” for the ISE ERS API (`#20 `__). -- Added ``status_code`` to ``RestResponse`` (`#22 `__). -- Support to have additional_data for ``ApiError`` when HTTP status code are 401 or 403 (`#21 `__). The additional_data returns a string with: +- Support for “CSRF Check for Enhanced Security” for the ISE ERS API + (`#20 `__). +- Added ``status_code`` to ``RestResponse`` + (`#22 `__). +- Support to have additional_data for ``ApiError`` when HTTP status + code are 401 or 403 + (`#21 `__). The + additional_data returns a string with: - Authorization header used. - X-CSRF-Token header used if it was found. - Username used. - Password used. -- Support for managing changes of the ``IdentityServicesEngineAPI``\ ’s properties (`#21 `__): +- Support for managing changes of the ``IdentityServicesEngineAPI``\ ’s + properties + (`#21 `__): - ``initialize_authentication`` function. - ``initialize_sessions`` function. @@ -165,47 +217,61 @@ Added - ``change_password`` utility setter function. - ``change_encoded_auth`` utility setter function. -- Added warnings for changes of the ``IdentityServicesEngineAPI``\ ’s properties. -- Added a test importsdk to verify the behavior between environment variables and module import order. -- New ``perform_initialize`` parameter for ``IdentityServicesEngineAPI`` constructor. -- New ``uses_csrf_token`` parameter for ``IdentityServicesEngineAPI`` constructor. +- Added warnings for changes of the ``IdentityServicesEngineAPI``\ ’s + properties. +- Added a test importsdk to verify the behavior between environment + variables and module import order. +- New ``perform_initialize`` parameter for + ``IdentityServicesEngineAPI`` constructor. +- New ``uses_csrf_token`` parameter for ``IdentityServicesEngineAPI`` + constructor. - New ``get_csrf_token`` function for ``IdentityServicesEngineAPI``. -- New ``uses_csrf_token`` and ``get_csrf_token`` parameters for ``RestSession`` constructor. +- New ``uses_csrf_token`` and ``get_csrf_token`` parameters for + ``RestSession`` constructor. - New ``DEFAULT_USES_CSRF_TOKEN`` value in config.py. -- New ``IDENTITY_SERVICES_ENGINE_USES_CSRF_TOKEN`` environment variable in environment.py. -- New ``initialize_authentication`` function for ``IdentityServicesEngineAPI``. -- New ``initialize_sessions`` function for ``IdentityServicesEngineAPI``. -- New ``initialize_api_wrappers`` function for ``IdentityServicesEngineAPI``. +- New ``IDENTITY_SERVICES_ENGINE_USES_CSRF_TOKEN`` environment variable + in environment.py. +- New ``initialize_authentication`` function for + ``IdentityServicesEngineAPI``. +- New ``initialize_sessions`` function for + ``IdentityServicesEngineAPI``. +- New ``initialize_api_wrappers`` function for + ``IdentityServicesEngineAPI``. - New ``reinitialize`` function for ``IdentityServicesEngineAPI``. - New ``is_password`` function for ``IdentityServicesEngineAPI``. - New ``is_encoded_auth`` function for ``IdentityServicesEngineAPI``. - New ``change_password`` function for ``IdentityServicesEngineAPI``. -- New ``change_encoded_auth`` function for ``IdentityServicesEngineAPI``. +- New ``change_encoded_auth`` function for + ``IdentityServicesEngineAPI``. - New ``debug`` setter funtion for ``RestSession``. -- New ``uses_csrf_token`` getter and setter funtions for ``RestSession``. +- New ``uses_csrf_token`` getter and setter funtions for + ``RestSession``. - New ``additional_data`` property in ``ApiError``. -.. _fixed-1: +.. _fixed-3: Fixed ~~~~~ -- The process that gets the environment variables now can access the variables set after the module is imported, and not only before it. +- The process that gets the environment variables now can access the + variables set after the module is imported, and not only before it. - Fixed the docstring tables of the API modules. -.. _section-6: +.. _section-8: `1.4.2 `__ - 2022-02-18 ---------------------------------------------------------------------------------------- -.. _fixed-2: +.. _fixed-4: Fixed ~~~~~ -- Update pagination to capture and ignore 400 Bad Request in generators when they attempt to get_next_page. Previous version only captured and ignored 404 Not Found. +- Update pagination to capture and ignore 400 Bad Request in generators + when they attempt to get_next_page. Previous version only captured + and ignored 404 Not Found. -.. _section-7: +.. _section-9: `1.4.1 `__ - 2022-01-20 ---------------------------------------------------------------------------------------- @@ -218,7 +284,7 @@ Changed - Update module inner documentation. - Downgrade requirements file to use poetry versions. -.. _section-8: +.. _section-10: `1.4.0 `__ - 2022-01-19 ---------------------------------------------------------------------------------------- @@ -230,14 +296,15 @@ Changed - Update requirements -.. _fixed-3: +.. _fixed-5: Fixed ~~~~~ -- Update pagination, get_next_page inner logic and location from utils to pagination. +- Update pagination, get_next_page inner logic and location from utils + to pagination. -.. _section-9: +.. _section-11: `1.3.1 `__ - 2021-12-13 ---------------------------------------------------------------------------------------- @@ -249,7 +316,7 @@ Changed - Fixes utils.get_next_page generator starting default page -.. _section-10: +.. _section-12: `1.3.0 `__ - 2021-12-13 ---------------------------------------------------------------------------------------- @@ -283,7 +350,7 @@ Removed - Removes replication_status module - Removes sync_ise_node module -.. _section-11: +.. _section-13: `1.2.0 `__ - 2021-11-24 ---------------------------------------------------------------------------------------- @@ -301,7 +368,8 @@ Added Changed ~~~~~~~ -- Fixes paths for Policy endpoints (get_device_admin_profiles, get_network_access_profiles) +- Fixes paths for Policy endpoints (get_device_admin_profiles, + get_network_access_profiles) - Updates ISE version 3.1.0 as separate version .. _removed-2: @@ -311,7 +379,7 @@ Removed - Removes link of 3.1.0 modules to 3.0.0 version -.. _section-12: +.. _section-14: `1.1.0 `__ - 2021-10-22 ---------------------------------------------------------------------------------------- @@ -331,7 +399,7 @@ Changed - Default ISE DEFAULT_VERSION to 3.1.0 - Update documentation to use ISE v3.1.0 -.. _section-13: +.. _section-15: `1.0.1 `__ - 2021-09-14 ---------------------------------------------------------------------------------------- @@ -343,7 +411,7 @@ Changed - Disabled warnings of urllib3 if verify is False -.. _section-14: +.. _section-16: `1.0.0 `__ - 2021-07-21 ---------------------------------------------------------------------------------------- @@ -374,7 +442,9 @@ Added - SupportBundleStatus.get_support_bundle_status_generator - TacacsCommandSets.get_tacacs_command_sets_generator -- Aliases for functions (eg. ``get_all``, ``get_by_id``, ``get_by_name``, ``update_by_id``, ``delete_by_id``, ``create``, and others) +- Aliases for functions (eg. ``get_all``, ``get_by_id``, + ``get_by_name``, ``update_by_id``, ``delete_by_id``, ``create``, and + others) .. _changed-10: @@ -390,60 +460,119 @@ Changed - ``identity_store_sequence`` to ``identity_sequence`` - ``node`` to ``node_details`` - ``endpoint_cert`` to ``endpoint_certificate`` - - ``guest_smtp_notifications`` to ``guest_smtp_notification_configuration`` - - ``session_service_node`` to ``psn_node_details_with_radius_service`` + - ``guest_smtp_notifications`` to + ``guest_smtp_notification_configuration`` + - ``session_service_node`` to + ``psn_node_details_with_radius_service`` - ``sg_acl`` to ``security_groups_acls`` - ``sg_mapping_group`` to ``ip_to_sgt_mapping_group`` - ``sg_mapping`` to ``ip_to_sgt_mapping`` - ``sgt_vn_vlan`` to ``security_group_to_virtual_network`` - ``sgt`` to ``security_groups`` - - ``support_bundle`` to ``support_bundle_download``, ``support_bundle_status`` & ``support_bundle_trigger_configuration`` + - ``support_bundle`` to ``support_bundle_download``, + ``support_bundle_status`` & + ``support_bundle_trigger_configuration`` - ``version_`` to ``version_and_patch`` - Rename function names - - (BackupAndRestore) ``schedule_config_backup`` to ``create_scheduled_config_backup`` + - (BackupAndRestore) ``schedule_config_backup`` to + ``create_scheduled_config_backup`` - (Certificates) ``get_csr`` to ``get_csrs`` - (Certificates) ``get_csr_generator`` to ``get_csrs_generator`` - (Certificates) ``renew_certificate`` to ``renew_certificates`` - - (Certificates) ``export_system_cert`` to ``export_system_certificate`` - - (Certificates) ``export_trusted_cert`` to ``export_trusted_certificate`` - - (DeviceAdministrationAuthenticationRules) ``create_device_admin_authentication_rules`` to ``create_device_admin_authentication_rule`` - - (DeviceAdministrationAuthorizationExceptionRules) ``delete_device_admin_policyset_global_exception_by_id`` to ``delete_device_admin_policy_set_global_exception_by_rule_id`` - - (DeviceAdministrationAuthorizationExceptionRules) ``get_device_admin_policy_set_global_exception`` to ``get_device_admin_policy_set_global_exception_rules`` - - (DeviceAdministrationAuthorizationExceptionRules) ``get_device_admin_policy_set_global_exception_by_id`` to ``get_device_admin_policy_set_global_exception_by_rule_id`` - - (DeviceAdministrationAuthorizationExceptionRules) ``update_device_admin_policyset_global_exception_by_id`` to ``update_device_admin_policy_set_global_exception_by_rule_id`` - - (DeviceAdministrationDictionaryAttributesList) ``get_device_admin_dictionaries_policyset`` to ``get_device_admin_dictionaries_policy_set`` - - (GuestType) ``update_guesttype_by_id`` to ``update_guest_type_by_id`` - - (IdentityStoreSequence) ``create_identity_store_sequence`` to ``create_identity_sequence`` - - (IdentityStoreSequence) ``delete_identity_store_sequence_by_id`` to ``delete_identity_sequence_by_id`` - - (IdentityStoreSequence) ``get_identity_store_sequence`` to ``get_identity_sequence`` - - (IdentityStoreSequence) ``get_identity_store_sequence_by_id`` to ``get_identity_sequence_by_id`` - - (IdentityStoreSequence) ``get_identity_store_sequence_by_name`` to ``get_identity_sequence_by_name`` - - (IdentityStoreSequence) ``get_identity_store_sequence_generator`` to ``get_identity_sequence_generator`` - - (IdentityStoreSequence) ``update_identity_store_sequence_by_id`` to ``update_identity_sequence_by_id`` - - (InternalUser) ``internaluser_by_id`` to ``get_internal_user_by_id`` - - (NetworkAccessAuthorizationGlobalExceptionRules) ``create_network_access_global_exception_rule`` to ``create_network_access_policy_set_global_exception_rule`` - - (NetworkAccessAuthorizationGlobalExceptionRules) ``delete_network_access_global_exception_rule_by_id`` to ``delete_network_access_policy_set_global_exception_rule_by_id`` - - (NetworkAccessAuthorizationGlobalExceptionRules) ``get_network_access_global_exception_rule_by_id`` to ``get_network_access_policy_set_global_exception_rule_by_id`` - - (NetworkAccessAuthorizationGlobalExceptionRules) ``get_network_access_global_exception_rules`` to ``get_network_access_policy_set_global_exception_rules`` - - (NetworkAccessAuthorizationGlobalExceptionRules) ``update_network_access_global_exception_rule_by_id`` to ``update_network_access_policy_set_global_exception_rule_by_id`` - - (DeviceAdministrationConditions) ``get_device_admin_conditions_for_authentication_rule`` to ``get_device_admin_conditions_for_authentication_rules`` - - (DeviceAdministrationConditions) ``get_device_admin_conditions_for_authorization_rule`` to ``get_device_admin_conditions_for_authorization_rules`` - - (DeviceAdministrationConditions) ``get_device_admin_conditions_for_policy_set`` to ``get_device_admin_conditions_for_policy_sets`` - - (NetworkAccessConditions) ``get_network_access_conditions_for_authorization_rule`` to ``get_network_access_conditions_for_authorization_rules`` - - (NetworkAccessConditions) ``get_network_access_conditions_for_policy_set`` to ``get_network_access_conditions_for_policy_sets`` - - (NetworkAccessDictionary) ``delete_network_access_dictionaries_by_name`` to ``delete_network_access_dictionary_by_name`` - - (NetworkAccessDictionary) ``update_network_access_dictionaries_by_name`` to ``update_network_access_dictionary_by_name`` - - (NetworkAccessDictionary) ``create_network_access_dictionary_attribute_for_dictionary`` to ``create_network_access_dictionary_attribute`` - - (NetworkAccessDictionaryAttributesList) ``get_network_access_dictionaries_policyset`` to ``get_network_access_dictionaries_policy_set`` + - (Certificates) ``export_system_cert`` to + ``export_system_certificate`` + - (Certificates) ``export_trusted_cert`` to + ``export_trusted_certificate`` + - (DeviceAdministrationAuthenticationRules) + ``create_device_admin_authentication_rules`` to + ``create_device_admin_authentication_rule`` + - (DeviceAdministrationAuthorizationExceptionRules) + ``delete_device_admin_policyset_global_exception_by_id`` to + ``delete_device_admin_policy_set_global_exception_by_rule_id`` + - (DeviceAdministrationAuthorizationExceptionRules) + ``get_device_admin_policy_set_global_exception`` to + ``get_device_admin_policy_set_global_exception_rules`` + - (DeviceAdministrationAuthorizationExceptionRules) + ``get_device_admin_policy_set_global_exception_by_id`` to + ``get_device_admin_policy_set_global_exception_by_rule_id`` + - (DeviceAdministrationAuthorizationExceptionRules) + ``update_device_admin_policyset_global_exception_by_id`` to + ``update_device_admin_policy_set_global_exception_by_rule_id`` + - (DeviceAdministrationDictionaryAttributesList) + ``get_device_admin_dictionaries_policyset`` to + ``get_device_admin_dictionaries_policy_set`` + - (GuestType) ``update_guesttype_by_id`` to + ``update_guest_type_by_id`` + - (IdentityStoreSequence) ``create_identity_store_sequence`` to + ``create_identity_sequence`` + - (IdentityStoreSequence) ``delete_identity_store_sequence_by_id`` + to ``delete_identity_sequence_by_id`` + - (IdentityStoreSequence) ``get_identity_store_sequence`` to + ``get_identity_sequence`` + - (IdentityStoreSequence) ``get_identity_store_sequence_by_id`` to + ``get_identity_sequence_by_id`` + - (IdentityStoreSequence) ``get_identity_store_sequence_by_name`` to + ``get_identity_sequence_by_name`` + - (IdentityStoreSequence) ``get_identity_store_sequence_generator`` + to ``get_identity_sequence_generator`` + - (IdentityStoreSequence) ``update_identity_store_sequence_by_id`` + to ``update_identity_sequence_by_id`` + - (InternalUser) ``internaluser_by_id`` to + ``get_internal_user_by_id`` + - (NetworkAccessAuthorizationGlobalExceptionRules) + ``create_network_access_global_exception_rule`` to + ``create_network_access_policy_set_global_exception_rule`` + - (NetworkAccessAuthorizationGlobalExceptionRules) + ``delete_network_access_global_exception_rule_by_id`` to + ``delete_network_access_policy_set_global_exception_rule_by_id`` + - (NetworkAccessAuthorizationGlobalExceptionRules) + ``get_network_access_global_exception_rule_by_id`` to + ``get_network_access_policy_set_global_exception_rule_by_id`` + - (NetworkAccessAuthorizationGlobalExceptionRules) + ``get_network_access_global_exception_rules`` to + ``get_network_access_policy_set_global_exception_rules`` + - (NetworkAccessAuthorizationGlobalExceptionRules) + ``update_network_access_global_exception_rule_by_id`` to + ``update_network_access_policy_set_global_exception_rule_by_id`` + - (DeviceAdministrationConditions) + ``get_device_admin_conditions_for_authentication_rule`` to + ``get_device_admin_conditions_for_authentication_rules`` + - (DeviceAdministrationConditions) + ``get_device_admin_conditions_for_authorization_rule`` to + ``get_device_admin_conditions_for_authorization_rules`` + - (DeviceAdministrationConditions) + ``get_device_admin_conditions_for_policy_set`` to + ``get_device_admin_conditions_for_policy_sets`` + - (NetworkAccessConditions) + ``get_network_access_conditions_for_authorization_rule`` to + ``get_network_access_conditions_for_authorization_rules`` + - (NetworkAccessConditions) + ``get_network_access_conditions_for_policy_set`` to + ``get_network_access_conditions_for_policy_sets`` + - (NetworkAccessDictionary) + ``delete_network_access_dictionaries_by_name`` to + ``delete_network_access_dictionary_by_name`` + - (NetworkAccessDictionary) + ``update_network_access_dictionaries_by_name`` to + ``update_network_access_dictionary_by_name`` + - (NetworkAccessDictionary) + ``create_network_access_dictionary_attribute_for_dictionary`` to + ``create_network_access_dictionary_attribute`` + - (NetworkAccessDictionaryAttributesList) + ``get_network_access_dictionaries_policyset`` to + ``get_network_access_dictionaries_policy_set`` - (Node) ``get_node_by_id`` to ``get_node_detail_by_id`` - (Node) ``get_node_by_name`` to ``get_node_detail_by_name`` - (Node) ``get_nodes`` to ``get_node_details`` - - (PxGridSettings) ``autoapprove_px_grid_node`` to ``autoapprove_px_grid_settings`` - - (Repository) ``delete_repository_by_name`` to ``delete_repository`` + - (PxGridSettings) ``autoapprove_px_grid_node`` to + ``autoapprove_px_grid_settings`` + - (Repository) ``delete_repository_by_name`` to + ``delete_repository`` - (Repository) ``get_repository_by_name`` to ``get_repository`` - - (Repository) ``update_repository_by_name`` to ``update_repository`` + - (Repository) ``update_repository_by_name`` to + ``update_repository`` .. _removed-3: