From 4da0202a25aa06d36a346a412843d465bb91484f Mon Sep 17 00:00:00 2001 From: rupadhyay Date: Thu, 24 Oct 2024 11:35:56 +0000 Subject: [PATCH] Version 1.12.0 release --- .../f5networks/f5os/CHANGELOG.rst | 13 ++ .../f5os/changelogs/.plugin-cache.yaml | 166 ++++++++++++++++++ .../f5networks/f5os/changelogs/changelog.yaml | 11 ++ .../f5os/changelogs/fragments/lag_bugfix.yaml | 3 - .../tenant_virtual_disk_size_param.yaml | 3 - .../f5networks/f5os/galaxy.yml | 2 +- .../f5os/plugins/module_utils/version.py | 2 +- .../f5networks/f5os/tests/compat/mock.py | 6 +- .../f5networks/f5os/tests/mock/loader.py | 2 +- .../f5networks/f5os/tests/utils/common.py | 2 +- 10 files changed, 196 insertions(+), 14 deletions(-) create mode 100644 ansible_collections/f5networks/f5os/changelogs/.plugin-cache.yaml delete mode 100644 ansible_collections/f5networks/f5os/changelogs/fragments/lag_bugfix.yaml delete mode 100644 ansible_collections/f5networks/f5os/changelogs/fragments/tenant_virtual_disk_size_param.yaml diff --git a/ansible_collections/f5networks/f5os/CHANGELOG.rst b/ansible_collections/f5networks/f5os/CHANGELOG.rst index b17066e..df934d1 100644 --- a/ansible_collections/f5networks/f5os/CHANGELOG.rst +++ b/ansible_collections/f5networks/f5os/CHANGELOG.rst @@ -4,6 +4,19 @@ F5Networks.F5OS Release Notes .. contents:: Topics +v1.12.0 +======= + +Minor Changes +------------- + +- f5os_tenant - added a new parameter, virtual_disk_size, to set the virtual disk size of the tenant + +Bugfixes +-------- + +- f5os_lag - fixed a bug that used to occur while adding trunk or native vlans + v1.11.0 ======= diff --git a/ansible_collections/f5networks/f5os/changelogs/.plugin-cache.yaml b/ansible_collections/f5networks/f5os/changelogs/.plugin-cache.yaml new file mode 100644 index 0000000..db8bbc3 --- /dev/null +++ b/ansible_collections/f5networks/f5os/changelogs/.plugin-cache.yaml @@ -0,0 +1,166 @@ +objects: + role: {} +plugins: + become: {} + cache: {} + callback: {} + cliconf: {} + connection: {} + filter: {} + httpapi: + f5os: + description: HttpApi Plugin for F5OS devices + name: f5os + version_added: 1.0.0 + inventory: {} + lookup: {} + module: + f5os_allowed_ips: + description: Manage allowed IPs using openAPI on F5OS based systems + name: f5os_allowed_ips + namespace: '' + version_added: 1.9.0 + f5os_auth: + description: Manage authentication settings + name: f5os_auth + namespace: '' + version_added: 1.10.0 + f5os_config_backup: + description: Manage F5OS config backups. + name: f5os_config_backup + namespace: '' + version_added: 1.2.0 + f5os_device_info: + description: Collect information from F5OS devices + name: f5os_device_info + namespace: '' + version_added: 1.0.0 + f5os_dns: + description: Manage DNS on F5OS Devices + name: f5os_dns + namespace: '' + version_added: 1.8.0 + f5os_interface: + description: Manage network interfaces on F5OS based systems + name: f5os_interface + namespace: '' + version_added: 1.0.0 + f5os_lag: + description: Manage LAG interfaces on F5OS based systems + name: f5os_lag + namespace: '' + version_added: 1.0.0 + f5os_license: + description: Manage F5OS license activation and deactivation. + name: f5os_license + namespace: '' + version_added: 1.10.0 + f5os_lldp_config: + description: Manage LLDP config + name: f5os_lldp_config + namespace: '' + version_added: 1.8.0 + f5os_logging: + description: Manage logging settings + name: f5os_logging + namespace: '' + version_added: 1.10.0 + f5os_ntp_server: + description: Manage NTP servers on F5OS based systems + name: f5os_ntp_server + namespace: '' + version_added: 1.8.0 + f5os_primarykey: + description: Manage F5OS Devices Primary-key Setting. + name: f5os_primarykey + namespace: '' + version_added: 1.11.0 + f5os_qkview: + description: Manage Generation of qkview file + name: f5os_qkview + namespace: '' + version_added: 1.0.0 + f5os_snmp: + description: Manage SNMP Communities, Users, and Targets using openAPI on F5OS + based systems + name: f5os_snmp + namespace: '' + version_added: 1.9.0 + f5os_stp_config: + description: Manage STP config + name: f5os_stp_config + namespace: '' + version_added: 1.8.0 + f5os_system: + description: Manage generic system settings + name: f5os_system + namespace: '' + version_added: 1.10.0 + f5os_system_image_import: + description: Manage F5OS System image import. + name: f5os_system_image_import + namespace: '' + version_added: 1.11.0 + f5os_system_image_install: + description: Manage F5OS system software installation. + name: f5os_system_image_install + namespace: '' + version_added: 1.11.0 + f5os_tenant: + description: Manage F5OS tenants + name: f5os_tenant + namespace: '' + version_added: 1.0.0 + f5os_tenant_image: + description: Manage F5OS tenant images + name: f5os_tenant_image + namespace: '' + version_added: 1.0.0 + f5os_tenant_wait: + description: Wait for a F5OS tenant condition before continuing + name: f5os_tenant_wait + namespace: '' + version_added: 1.0.0 + f5os_tls_cert_key: + description: Manage TLS certificate and key on F5OS devices. + name: f5os_tls_cert_key + namespace: '' + version_added: 1.11.0 + f5os_user: + description: Manage Users and roles on F5OS based systems + name: f5os_user + namespace: '' + version_added: 1.9.0 + f5os_vlan: + description: Manage VLANs on F5OS based systems + name: f5os_vlan + namespace: '' + version_added: 1.0.0 + velos_partition: + description: Manage VELOS chassis partitions + name: velos_partition + namespace: '' + version_added: 1.0.0 + velos_partition_change_password: + description: Provides access to VELOS chassis partition user authentication + methods + name: velos_partition_change_password + namespace: '' + version_added: 1.0.0 + velos_partition_image: + description: Manage VELOS chassis partition images + name: velos_partition_image + namespace: '' + version_added: 1.0.0 + velos_partition_wait: + description: Wait for a VELOS chassis partition to match a condition before + continuing + name: velos_partition_wait + namespace: '' + version_added: 1.0.0 + netconf: {} + shell: {} + strategy: {} + test: {} + vars: {} +version: 1.12.0 diff --git a/ansible_collections/f5networks/f5os/changelogs/changelog.yaml b/ansible_collections/f5networks/f5os/changelogs/changelog.yaml index 69af6bf..578b4c5 100644 --- a/ansible_collections/f5networks/f5os/changelogs/changelog.yaml +++ b/ansible_collections/f5networks/f5os/changelogs/changelog.yaml @@ -118,6 +118,17 @@ releases: name: f5os_tls_cert_key namespace: '' release_date: '2024-09-10' + 1.12.0: + changes: + bugfixes: + - f5os_lag - fixed a bug that used to occur while adding trunk or native vlans + minor_changes: + - f5os_tenant - added a new parameter, virtual_disk_size, to set the virtual + disk size of the tenant + fragments: + - lag_bugfix.yaml + - tenant_virtual_disk_size_param.yaml + release_date: '2024-10-24' 1.2.0: modules: - description: Manage F5OS config backups. diff --git a/ansible_collections/f5networks/f5os/changelogs/fragments/lag_bugfix.yaml b/ansible_collections/f5networks/f5os/changelogs/fragments/lag_bugfix.yaml deleted file mode 100644 index 9efcfc3..0000000 --- a/ansible_collections/f5networks/f5os/changelogs/fragments/lag_bugfix.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -bugfixes: - - f5os_lag - fixed a bug that used to occur while adding trunk or native vlans diff --git a/ansible_collections/f5networks/f5os/changelogs/fragments/tenant_virtual_disk_size_param.yaml b/ansible_collections/f5networks/f5os/changelogs/fragments/tenant_virtual_disk_size_param.yaml deleted file mode 100644 index 5a845f1..0000000 --- a/ansible_collections/f5networks/f5os/changelogs/fragments/tenant_virtual_disk_size_param.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -minor_changes: - - f5os_tenant - added a new parameter, virtual_disk_size, to set the virtual disk size of the tenant diff --git a/ansible_collections/f5networks/f5os/galaxy.yml b/ansible_collections/f5networks/f5os/galaxy.yml index 8d8f4a9..cd21205 100644 --- a/ansible_collections/f5networks/f5os/galaxy.yml +++ b/ansible_collections/f5networks/f5os/galaxy.yml @@ -30,4 +30,4 @@ tags: - networking - rseries - velos -version: 1.12.0-devel +version: 1.12.0 diff --git a/ansible_collections/f5networks/f5os/plugins/module_utils/version.py b/ansible_collections/f5networks/f5os/plugins/module_utils/version.py index 1446445..4321aa1 100644 --- a/ansible_collections/f5networks/f5os/plugins/module_utils/version.py +++ b/ansible_collections/f5networks/f5os/plugins/module_utils/version.py @@ -4,4 +4,4 @@ # GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # This collection version needs to be updated at each release -CURRENT_COLL_VERSION = "1.12.0-devel" +CURRENT_COLL_VERSION = "1.12.0" diff --git a/ansible_collections/f5networks/f5os/tests/compat/mock.py b/ansible_collections/f5networks/f5os/tests/compat/mock.py index 0972cd2..c7d0183 100644 --- a/ansible_collections/f5networks/f5os/tests/compat/mock.py +++ b/ansible_collections/f5networks/f5os/tests/compat/mock.py @@ -64,8 +64,7 @@ def _iterate_read_data(read_data): # newline that our naive format() added data_as_list[-1] = data_as_list[-1][:-1] - for line in data_as_list: - yield line + yield from data_as_list def mock_open(mock=None, read_data=''): """ @@ -93,8 +92,7 @@ def _readline_side_effect(): if handle.readline.return_value is not None: while True: yield handle.readline.return_value - for line in _data: - yield line + yield from _data global file_spec if file_spec is None: diff --git a/ansible_collections/f5networks/f5os/tests/mock/loader.py b/ansible_collections/f5networks/f5os/tests/mock/loader.py index c41a6ea..edeac45 100644 --- a/ansible_collections/f5networks/f5os/tests/mock/loader.py +++ b/ansible_collections/f5networks/f5os/tests/mock/loader.py @@ -30,7 +30,7 @@ class DictDataLoader(DataLoader): def __init__(self, file_mapping=None): file_mapping = {} if file_mapping is None else file_mapping - assert type(file_mapping) is dict + assert isinstance(file_mapping, dict) super(DictDataLoader, self).__init__() diff --git a/ansible_collections/f5networks/f5os/tests/utils/common.py b/ansible_collections/f5networks/f5os/tests/utils/common.py index 27e4cb1..5809d5b 100644 --- a/ansible_collections/f5networks/f5os/tests/utils/common.py +++ b/ansible_collections/f5networks/f5os/tests/utils/common.py @@ -20,6 +20,6 @@ def connection_response(response, status=200, headers=None): if headers is None: headers = BASE_HEADERS response_mock.getheaders.return_value = headers.items() - response_text = json.dumps(response) if type(response) is dict else response + response_text = json.dumps(response) if isinstance(response, dict) else response response_data = BytesIO(response_text.encode() if response_text else ''.encode()) return response_mock, response_data