Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.20 #1319

Merged
merged 41 commits into from
Sep 12, 2024
Merged

Release 3.20 #1319

merged 41 commits into from
Sep 12, 2024

Conversation

rodvand
Copy link
Contributor

@rodvand rodvand commented Sep 12, 2024

Release 3.20

dependabot bot and others added 30 commits June 21, 2024 19:52
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.2.1...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix issue 1268
* Fix version added
* Add changelog fragment
* Add newline
* fix: move prefix lookup to lookup secondary

If fetch_all is false, prefix lookup depends on site lookup, so move it
to secondary lookup.
Solves #733

* docs: add changelog fragment
Certain environments may have conflicts with the variables given by
Netbox, and the variables used in the existing Ansible codebase.

With this change, such cases can be worked around by renaming individual
variables, or whole groups of them.

For example, this will rename all `cluster*` variables to have a
`netbox__` prefix instead (e.g., `cluster_group` -> `netbox__cluster_group`):

```yaml
rename_variables:
  - pattern: 'cluster(.*)'
    repl: 'netbox__cluster\1'
```

Uses a list, instead of a dict, to ensure that the order of evaluation
is strictly defined across all Python versions, and to add the ability
to exclude certain variables from being rewritten. For example:

```yaml
rename_variables:
  # Keep cluster_type the same
  - pattern: 'cluster_type'
    repl: 'cluster_type'

  # Rename all other cluster* variables
  - pattern: 'cluster(.*)'
    repl: 'netbox__cluster\1'
```
…#1282)

* feat: Add `status` and `facility` options to `netbox_location` module

This commit adds the `status` and `facility` options to the `netbox_location` module. The `status` option allows specifying the status of the location, while the `facility` option allows specifying the data center provider or facility. These options were added to enhance the functionality of the module and provide more flexibility in managing locations within NetBox.

Fixes #1279, #1280

* remove extra space found in linting
The `netbox_cluster` module now supports the `status` option, allowing users to specify the status of the cluster. This enhancement provides more flexibility in managing clusters within NetBox.

Fixes #1275
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.7.4.
- [Commits](certifi/python-certifi@2024.02.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit updates the endpoint mappings in the `netbox_utils.py` file to include the "tunnels" endpoint. This change ensures that the correct API endpoint is used when interacting with tunnels in NetBox.
This commit adds the `netbox_tunnel.yml` file to the integration tests for targets v3.5, v3.6, v3.7, and v4.0. The file is included using the `ansible.builtin.include_tasks` module with the `netbox_tunnel.yml` file as the source. This change ensures that the `netbox_tunnel` tests are executed as part of the integration test suite.
This commit removes the `netbox_tunnel.yml` file from the integration tests for targets v3.5 and v3.6. The file was previously included using the `ansible.builtin.include_tasks` module, but it is no longer needed. This change ensures that the `netbox_tunnel` tests are no longer executed as part of the integration test suite.
This commit adds `netbox_tunnel` to the `action_groups` list in the `runtime.yml` file. This change ensures that the `netbox_tunnel` action group is included in the NetBox integration tests.
This commit adds support for the "tunnel" attribute in the `netbox_utils.py` file. The attribute is used to query the "name" field for tunnels in NetBox. This change ensures that the correct attribute is used when interacting with tunnels.
Bumps [zipp](https://github.com/jaraco/zipp) from 3.18.1 to 3.19.1.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](jaraco/zipp@v3.18.1...v3.19.1)

---
updated-dependencies:
- dependency-name: zipp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.5 to 3.10.2.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](aio-libs/aiohttp@v3.9.5...v3.10.2)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Adjust docker compose command
* Adjust container name
richbibby and others added 11 commits September 4, 2024 13:38
Add vid_ranges to netbox_vlan_group
* Add netbox_user module

* Add netbox_user_group module

* Add netbox_permission module

* Fix sanity checks in netbox_user.py

* Fix netbox_permission test indentation

* Apply black fixes for netbox_permission.py

* Add netbox_token module

* Run make-docs.sh

* Fix ansible-lint

* Update examples for netbox_token

* Rename all permission test cases correctly

* Fix permission filtering

* Correctly generate query parameters for lists of groups and permissions

* Remove unused import

* Restore group='slug' to QUERY_TYPES

* Always update user password if specified

* Set username as user id in QUERY_TYPES
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.7 to 43.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@42.0.7...43.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix formatting
* Add 4.1 to tests
* Adjust docker-compose
* Adjust waiting-URL
* Update dependencies
* Add new inventories for 4.1
* Adjust python version
* Remove 3.6 from CI
* Adjust CI steps
* Add changelog
* Version check

* Logic

* Linting

* Fix filters

* Adjust for type/form_factor change in netbox_rack

* Adjust for rack type

* Fix sanity test

* Update test for virtual machine

* Update user test

* Adjust user group

* Adjust permission test

* Update netbox_token tests

* Update main.yml

* Add changelog

* Sanity

* pep8
* add hostname_field option

* add hostname_field changelog fragment

* add newline to hostname_field changelog fragment

---------

Co-authored-by: Richard Kearsley <richard@uniquex.com>
@rodvand rodvand merged commit de3ef6c into master Sep 12, 2024
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants