diff --git a/.github/ISSUE_TEMPLATE/new-issue.md b/.github/ISSUE_TEMPLATE/new-issue.md index 539963e8a..5731995e9 100644 --- a/.github/ISSUE_TEMPLATE/new-issue.md +++ b/.github/ISSUE_TEMPLATE/new-issue.md @@ -25,11 +25,11 @@ Also test if the latest release, and master branch are affected too. ###### Ansible: -###### Netbox: - +###### NetBox: + ###### Collection: - + ##### SUMMARY diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 997a3898f..f802ada61 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,9 +51,9 @@ jobs: - python-version: 3.8 VERSION: "v2.11" INTEGRATION_TESTS: "v2.11" - #- python-version: 3.6 - # VERSION: "v3.0" - # INTEGRATION_TESTS: "v3.0" + - python-version: 3.8 + VERSION: "v3.0" + INTEGRATION_TESTS: "v3.0" steps: - name: Checkout repo uses: actions/checkout@v2 @@ -136,7 +136,7 @@ jobs: run: | docker container ls docker logs netbox-docker_netbox_1 - timeout 300 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:32768)" != "200" ]]; do echo "waiting for Netbox"; sleep 5; done' || false + timeout 300 bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:32768)" != "200" ]]; do echo "waiting for NetBox"; sleep 5; done' || false working-directory: /home/runner/.ansible/collections/ansible_collections/netbox/netbox - name: Pre-populate NetBox run: ./tests/integration/netbox-deploy.py @@ -156,8 +156,8 @@ jobs: # Run regression and integration tests # Run the inventory test first, in case any of the other tests modify the data. run: | - ansible-test integration -v --coverage --python ${{ matrix.python-version }} inventory-${{ matrix.INTEGRATION_TESTS }} - ansible-test integration -v --coverage --python ${{ matrix.python-version }} regression-${{ matrix.INTEGRATION_TESTS }} - ansible-test integration -v --coverage --python ${{ matrix.python-version }} ${{ matrix.INTEGRATION_TESTS }} + ansible-test integration -v --color --coverage --python ${{ matrix.python-version }} inventory-${{ matrix.INTEGRATION_TESTS }} + ansible-test integration -v --color --coverage --python ${{ matrix.python-version }} regression-${{ matrix.INTEGRATION_TESTS }} + ansible-test integration -v --color --coverage --python ${{ matrix.python-version }} ${{ matrix.INTEGRATION_TESTS }} ansible-test coverage report --all --omit "tests/*,hacking/*,docs/*" --show-missing working-directory: /home/runner/.ansible/collections/ansible_collections/netbox/netbox diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 87eb8c298..1a693973c 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,10 +1,38 @@ =========================== -Netbox.Netbox Release Notes +NetBox.NetBox Release Notes =========================== .. contents:: Topics +v3.4.0 +====== + +Minor Changes +------------- + +- nb_inventory - Add documentation for use of inventory plugin in Tower/AWX [#648](https://github.com/netbox-community/ansible_modules/pull/648) +- nb_inventory - Cache OpenAPI locally to speed up inventory [#617](https://github.com/netbox-community/ansible_modules/pull/617) +- nb_lookup - Add missing endpoints to nb_lookup [#655](https://github.com/netbox-community/ansible_modules/pull/655) +- netbox_cable - Improve lookup speed on NetBox versions earlier than 3.0.6 [#645](https://github.com/netbox-community/ansible_modules/pull/645) +- netbox_inventory_item - Add label and custom fields to module [#632](https://github.com/netbox-community/ansible_modules/pull/632) +- netbox_provider_network - Add module for handling provider networks [#653](https://github.com/netbox-community/ansible_modules/pull/653) +- netbox_virtual_chassis - Add custom_fields to netbox_virtual_chassis [#657](https://github.com/netbox-community/ansible_modules/pull/657) +- netbox_vm_interface - Add custom fields to module [#637](https://github.com/netbox-community/ansible_modules/pull/637) + +Bugfixes +-------- + +- nb_lookup - Fix documentation of validate_cert [#629](https://github.com/netbox-community/ansible_modules/pull/629) +- netbox_site - Ensure idempotency between NetBox version 2.11 and 3.00 [#631](https://github.com/netbox-community/ansible_modules/pull/631) +- netbox_virtual_chassis - Fix issue with virtual chassis creation [#657](https://github.com/netbox-community/ansible_modules/pull/657) +- netbox_virtual_machine - Ensure idempotency between NetBox version 2.11 and 3.00 [#633](https://github.com/netbox-community/ansible_modules/pull/633) + +New Modules +----------- + +- netbox.netbox.netbox_provider_network - Create, update or delete Provider Network in NetBox + v3.3.0 ====== @@ -82,7 +110,7 @@ v3.1.0 Release Summary --------------- -This release should fix obvious broken changes between collection and Netbox 2.11, but there is most likely more. Please report as they're encountered. +This release should fix obvious broken changes between collection and NetBox 2.11, but there is most likely more. Please report as they're encountered. **packages** is now a required Python package and is already included in Ansible 2.10, but anyone using Ansible 2.9 or below must manually pip install the library. @@ -164,7 +192,7 @@ Bugfixes New Modules ----------- -- netbox.netbox.netbox_route_target - Creates or removes route targets from Netbox +- netbox.netbox.netbox_route_target - Creates or removes route targets from NetBox v1.2.1 ====== @@ -212,7 +240,7 @@ Bugfixes New Modules ----------- -- netbox.netbox.netbox_tag - Creates or removes tags from Netbox +- netbox.netbox.netbox_tag - Creates or removes tags from NetBox v1.1.0 ====== @@ -328,10 +356,10 @@ Bugfixes New Modules ----------- -- netbox.netbox.netbox_cable - Create, update or delete cables within Netbox -- netbox.netbox.netbox_device_bay_template - Create, update or delete device bay templates within Netbox -- netbox.netbox.netbox_device_interface_template - Creates or removes interfaces on devices from Netbox -- netbox.netbox.netbox_virtual_chassis - Create, update or delete virtual chassis within Netbox +- netbox.netbox.netbox_cable - Create, update or delete cables within NetBox +- netbox.netbox.netbox_device_bay_template - Create, update or delete device bay templates within NetBox +- netbox.netbox.netbox_device_interface_template - Creates or removes interfaces on devices from NetBox +- netbox.netbox.netbox_virtual_chassis - Create, update or delete virtual chassis within NetBox v0.2.3 ====== @@ -355,20 +383,20 @@ Bugfixes New Modules ----------- -- netbox.netbox.netbox_console_port - Create, update or delete console ports within Netbox -- netbox.netbox.netbox_console_port_template - Create, update or delete console port templates within Netbox -- netbox.netbox.netbox_console_server_port - Create, update or delete console server ports within Netbox -- netbox.netbox.netbox_console_server_port_template - Create, update or delete console server port templates within Netbox -- netbox.netbox.netbox_front_port - Create, update or delete front ports within Netbox -- netbox.netbox.netbox_front_port_template - Create, update or delete front port templates within Netbox -- netbox.netbox.netbox_power_feed - Create, update or delete power feeds within Netbox -- netbox.netbox.netbox_power_outlet - Create, update or delete power outlets within Netbox -- netbox.netbox.netbox_power_outlet_template - Create, update or delete power outlet templates within Netbox -- netbox.netbox.netbox_power_panel - Create, update or delete power panels within Netbox -- netbox.netbox.netbox_power_port - Create, update or delete power ports within Netbox -- netbox.netbox.netbox_power_port_template - Create, update or delete power port templates within Netbox -- netbox.netbox.netbox_rear_port - Create, update or delete rear ports within Netbox -- netbox.netbox.netbox_rear_port_template - Create, update or delete rear port templates within Netbox +- netbox.netbox.netbox_console_port - Create, update or delete console ports within NetBox +- netbox.netbox.netbox_console_port_template - Create, update or delete console port templates within NetBox +- netbox.netbox.netbox_console_server_port - Create, update or delete console server ports within NetBox +- netbox.netbox.netbox_console_server_port_template - Create, update or delete console server port templates within NetBox +- netbox.netbox.netbox_front_port - Create, update or delete front ports within NetBox +- netbox.netbox.netbox_front_port_template - Create, update or delete front port templates within NetBox +- netbox.netbox.netbox_power_feed - Create, update or delete power feeds within NetBox +- netbox.netbox.netbox_power_outlet - Create, update or delete power outlets within NetBox +- netbox.netbox.netbox_power_outlet_template - Create, update or delete power outlet templates within NetBox +- netbox.netbox.netbox_power_panel - Create, update or delete power panels within NetBox +- netbox.netbox.netbox_power_port - Create, update or delete power ports within NetBox +- netbox.netbox.netbox_power_port_template - Create, update or delete power port templates within NetBox +- netbox.netbox.netbox_rear_port - Create, update or delete rear ports within NetBox +- netbox.netbox.netbox_rear_port_template - Create, update or delete rear port templates within NetBox v0.2.2 ====== @@ -469,7 +497,7 @@ v0.1.7 Minor Changes ------------- -- Added fetching services for devices in Netbox Inventory Plugin (https://github.com/netbox-community/ansible_modules/issues/58) +- Added fetching services for devices in NetBox Inventory Plugin (https://github.com/netbox-community/ansible_modules/issues/58) - Added option for interfaces and IP addresses of interfaces to be fetched via inventory plugin (https://github.com/netbox-community/ansible_modules/issues/60) - Change lookups to property for subclassing of inventory plugin (https://github.com/netbox-community/ansible_modules/issues/62) @@ -489,13 +517,13 @@ Minor Changes ------------- - Add dns_name to netbox_ip_address (https://github.com/netbox-community/ansible_modules/issues/84) -- Add region and region_id to query_filter for Netbox Inventory plugin (https://github.com/netbox-community/ansible_modules/issues/83) +- Add region and region_id to query_filter for NetBox Inventory plugin (https://github.com/netbox-community/ansible_modules/issues/83) Bugfixes -------- - Fixed vlan searching with vlan_group for netbox_prefix (https://github.com/netbox-community/ansible_modules/issues/85) -- Removed static choices from netbox_utils and now pulls the choices for each endpoint from the Netbox API at call time (https://github.com/netbox-community/ansible_modules/issues/67) +- Removed static choices from netbox_utils and now pulls the choices for each endpoint from the NetBox API at call time (https://github.com/netbox-community/ansible_modules/issues/67) v0.1.5 ====== @@ -506,14 +534,14 @@ Bugfixes - Add argument specs for every module to validate data passed in. Fixes some idempotency issues. POSSIBLE BREAKING CHANGE (https://github.com/netbox-community/ansible_modules/issues/68) - Allow name updates to manufacturers (https://github.com/netbox-community/ansible_modules/issues/76) - Builds slug for netbox_device_type from model which is now required and slug is optional. Model will be slugified if slug is not provided BREAKING CHANGE (https://github.com/netbox-community/ansible_modules/issues/77) -- Fail module with proper exception when connection to Netbox API cannot be established (https://github.com/netbox-community/ansible_modules/issues/80) +- Fail module with proper exception when connection to NetBox API cannot be established (https://github.com/netbox-community/ansible_modules/issues/80) - netbox_device_interface Lag no longer has to be a dictionary and the value of the key can be the name of the LAG (https://github.com/netbox-community/ansible_modules/issues/81) -- netbox_ip_address If no address has no CIDR notation, it will convert it into a /32 and pass to Netbox. Fixes idempotency cidr notation is not provided (https://github.com/netbox-community/ansible_modules/issues/78) +- netbox_ip_address If no address has no CIDR notation, it will convert it into a /32 and pass to NetBox. Fixes idempotency cidr notation is not provided (https://github.com/netbox-community/ansible_modules/issues/78) New Modules ----------- -- netbox.netbox.netbox_service - Creates or removes service from Netbox +- netbox.netbox.netbox_service - Creates or removes service from NetBox v0.1.3 ====== @@ -559,30 +587,30 @@ Breaking Changes / Porting Guide New Modules ----------- -- netbox.netbox.netbox_aggregate - Creates or removes aggregates from Netbox -- netbox.netbox.netbox_circuit - Create, update or delete circuits within Netbox -- netbox.netbox.netbox_circuit_termination - Create, update or delete circuit terminations within Netbox -- netbox.netbox.netbox_circuit_type - Create, update or delete circuit types within Netbox -- netbox.netbox.netbox_cluster - Create, update or delete clusters within Netbox -- netbox.netbox.netbox_cluster_group - Create, update or delete cluster groups within Netbox -- netbox.netbox.netbox_cluster_type - Create, update or delete cluster types within Netbox -- netbox.netbox.netbox_device_bay - Create, update or delete device bays within Netbox -- netbox.netbox.netbox_device_role - Create, update or delete devices roles within Netbox -- netbox.netbox.netbox_device_type - Create, update or delete device types within Netbox -- netbox.netbox.netbox_inventory_item - Creates or removes inventory items from Netbox -- netbox.netbox.netbox_ipam_role - Creates or removes ipam roles from Netbox -- netbox.netbox.netbox_manufacturer - Create or delete manufacturers within Netbox -- netbox.netbox.netbox_platform - Create or delete platforms within Netbox -- netbox.netbox.netbox_provider - Create, update or delete providers within Netbox -- netbox.netbox.netbox_rack - Create, update or delete racks within Netbox -- netbox.netbox.netbox_rack_group - Create, update or delete racks groups within Netbox -- netbox.netbox.netbox_rack_role - Create, update or delete racks roles within Netbox -- netbox.netbox.netbox_region - Creates or removes regions from Netbox -- netbox.netbox.netbox_rir - Create, update or delete RIRs within Netbox -- netbox.netbox.netbox_tenant - Creates or removes tenants from Netbox -- netbox.netbox.netbox_tenant_group - Creates or removes tenant groups from Netbox -- netbox.netbox.netbox_virtual_machine - Create, update or delete virtual_machines within Netbox -- netbox.netbox.netbox_vlan - Create, update or delete vlans within Netbox -- netbox.netbox.netbox_vlan_group - Create, update or delete vlans groups within Netbox -- netbox.netbox.netbox_vm_interface - Creates or removes interfaces from virtual machines in Netbox -- netbox.netbox.netbox_vrf - Create, update or delete vrfs within Netbox +- netbox.netbox.netbox_aggregate - Creates or removes aggregates from NetBox +- netbox.netbox.netbox_circuit - Create, update or delete circuits within NetBox +- netbox.netbox.netbox_circuit_termination - Create, update or delete circuit terminations within NetBox +- netbox.netbox.netbox_circuit_type - Create, update or delete circuit types within NetBox +- netbox.netbox.netbox_cluster - Create, update or delete clusters within NetBox +- netbox.netbox.netbox_cluster_group - Create, update or delete cluster groups within NetBox +- netbox.netbox.netbox_cluster_type - Create, update or delete cluster types within NetBox +- netbox.netbox.netbox_device_bay - Create, update or delete device bays within NetBox +- netbox.netbox.netbox_device_role - Create, update or delete devices roles within NetBox +- netbox.netbox.netbox_device_type - Create, update or delete device types within NetBox +- netbox.netbox.netbox_inventory_item - Creates or removes inventory items from NetBox +- netbox.netbox.netbox_ipam_role - Creates or removes ipam roles from NetBox +- netbox.netbox.netbox_manufacturer - Create or delete manufacturers within NetBox +- netbox.netbox.netbox_platform - Create or delete platforms within NetBox +- netbox.netbox.netbox_provider - Create, update or delete providers within NetBox +- netbox.netbox.netbox_rack - Create, update or delete racks within NetBox +- netbox.netbox.netbox_rack_group - Create, update or delete racks groups within NetBox +- netbox.netbox.netbox_rack_role - Create, update or delete racks roles within NetBox +- netbox.netbox.netbox_region - Creates or removes regions from NetBox +- netbox.netbox.netbox_rir - Create, update or delete RIRs within NetBox +- netbox.netbox.netbox_tenant - Creates or removes tenants from NetBox +- netbox.netbox.netbox_tenant_group - Creates or removes tenant groups from NetBox +- netbox.netbox.netbox_virtual_machine - Create, update or delete virtual_machines within NetBox +- netbox.netbox.netbox_vlan - Create, update or delete vlans within NetBox +- netbox.netbox.netbox_vlan_group - Create, update or delete vlans groups within NetBox +- netbox.netbox.netbox_vm_interface - Creates or removes interfaces from virtual machines in NetBox +- netbox.netbox.netbox_vrf - Create, update or delete vrfs within NetBox diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3943742df..e5bccebb3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,7 +2,7 @@ ## Modules -The structure of the Netbox modules attempts to follow the layout of the Netbox API by having a module_util for each application (`dcim, ipam, tenancy, etc`) that inherits from a base module (`NetboxModule - netbox_utils.py`) and then implements the specific endpoints within the correct application module. +The structure of the NetBox modules attempts to follow the layout of the NetBox API by having a module_util for each application (`dcim, ipam, tenancy, etc`) that inherits from a base module (`NetboxModule - netbox_utils.py`) and then implements the specific endpoints within the correct application module. e.g. Add logic for adding devices under netbox_dcim.py or ip addresses under netbox_ipam.py @@ -10,9 +10,9 @@ In turn when creating the actual modules, we're just calling a single function a (Ansible Module) netbox_{{ endpoint }} -> (Module Util) netbox_{{ application }} -> (Module Util) netbox_utils -These modules are built using the pynetbox Python library which allows you to interact with Netbox using objects. Most of this is abstracted away when creating more modules, but something to be aware of. The reasoning for using underscores within the endpoint names is so the endpoints work with pynetbox. +These modules are built using the pynetbox Python library which allows you to interact with NetBox using objects. Most of this is abstracted away when creating more modules, but something to be aware of. The reasoning for using underscores within the endpoint names is so the endpoints work with pynetbox. -An example of connecting to a Netbox instance and then choosing the application, endpoint, and operation: +An example of connecting to a NetBox instance and then choosing the application, endpoint, and operation: ```python import pynetbox @@ -122,7 +122,7 @@ ENDPOINT_NAME_MAPPING = { } ``` -Log into your Netbox instance and navigate to `/api/docs` and searching for the **POST** documents for the given endpoint you're looking to create. +Log into your NetBox instance and navigate to `/api/docs` and searching for the **POST** documents for the given endpoint you're looking to create. ![POST Results](docs/media/postresults.PNG) The module should implement all available fields that are not the **id** or **readOnly** such as the **created, last_updated, device_count** in the example above. @@ -239,7 +239,7 @@ def _convert_identical_keys(self, data): """ Used to change non-clashing keys for each module into identical keys that are required to be passed to pynetbox - ex. rack_role back into role to pass to Netbox + ex. rack_role back into role to pass to NetBox Returns data :params data (dict): Data dictionary after _find_ids method ran """ @@ -293,7 +293,7 @@ Copying an existing module that has close to the same options is typically the p ``` - Check each test above to see which `test_data` it uses and edit the corresponding data.json file -- Please add or update an existing play to test the new Netbox module for integration testing within `tests/integration/integration-tests.yml`. Make sure to test creation, duplicate, update (if possible), and deletion along with any other conditions that may want to be tested. +- Please add or update an existing play to test the new NetBox module for integration testing within `tests/integration/integration-tests.yml`. Make sure to test creation, duplicate, update (if possible), and deletion along with any other conditions that may want to be tested. - Run `pytest -vv` to make sure all unit tests pass - Run `black .` within the base directory for black formatting as it's required for tests to pass - Run `ansible-lint integration-tests.yml` it's required for tests to pass @@ -306,7 +306,7 @@ Integration tests are run by comparing `ansible-inventory --list` against known When the inventory plugin is updated in a way that changes this output (or `netbox-deploy.py` is changed), the test data used for comparison will need to be updated. There is a script `./hacking/update_test_inventories.sh` to do this. -Run from the root project working directory, and make sure you have a clean test instance of Netbox set up with test data loaded into it from `./tests/integration/netbox-deploy.py` +Run from the root project working directory, and make sure you have a clean test instance of NetBox set up with test data loaded into it from `./tests/integration/netbox-deploy.py` ``` ./hacking/update_test_inventories.sh @@ -319,7 +319,7 @@ After running the script, to prevent introducing a regression you'll need to man You can see the specific details of what happens in CI in `.travis.yml`. An overview of what you need to do is: -* Run a test instance of Netbox on port 32768. The `netbox-docker` project makes this easy. +* Run a test instance of NetBox on port 32768. The `netbox-docker` project makes this easy. ``` git clone git@github.com:netbox-community/netbox-docker.git diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 59ee6661f..eaf989ee8 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -10,85 +10,85 @@ releases: minor_changes: - Add ``primary_ip4/6`` to ``netbox_ip_address`` (https://github.com/netbox-community/ansible_modules/issues/10) modules: - - description: Creates or removes aggregates from Netbox + - description: Creates or removes aggregates from NetBox name: netbox_aggregate namespace: '' - - description: Create, update or delete circuits within Netbox + - description: Create, update or delete circuits within NetBox name: netbox_circuit namespace: '' - - description: Create, update or delete circuit terminations within Netbox + - description: Create, update or delete circuit terminations within NetBox name: netbox_circuit_termination namespace: '' - - description: Create, update or delete circuit types within Netbox + - description: Create, update or delete circuit types within NetBox name: netbox_circuit_type namespace: '' - - description: Create, update or delete clusters within Netbox + - description: Create, update or delete clusters within NetBox name: netbox_cluster namespace: '' - - description: Create, update or delete cluster groups within Netbox + - description: Create, update or delete cluster groups within NetBox name: netbox_cluster_group namespace: '' - - description: Create, update or delete cluster types within Netbox + - description: Create, update or delete cluster types within NetBox name: netbox_cluster_type namespace: '' - - description: Create, update or delete device bays within Netbox + - description: Create, update or delete device bays within NetBox name: netbox_device_bay namespace: '' - - description: Create, update or delete devices roles within Netbox + - description: Create, update or delete devices roles within NetBox name: netbox_device_role namespace: '' - - description: Create, update or delete device types within Netbox + - description: Create, update or delete device types within NetBox name: netbox_device_type namespace: '' - - description: Creates or removes inventory items from Netbox + - description: Creates or removes inventory items from NetBox name: netbox_inventory_item namespace: '' - - description: Creates or removes ipam roles from Netbox + - description: Creates or removes ipam roles from NetBox name: netbox_ipam_role namespace: '' - - description: Create or delete manufacturers within Netbox + - description: Create or delete manufacturers within NetBox name: netbox_manufacturer namespace: '' - - description: Create or delete platforms within Netbox + - description: Create or delete platforms within NetBox name: netbox_platform namespace: '' - - description: Create, update or delete providers within Netbox + - description: Create, update or delete providers within NetBox name: netbox_provider namespace: '' - - description: Create, update or delete racks within Netbox + - description: Create, update or delete racks within NetBox name: netbox_rack namespace: '' - - description: Create, update or delete racks groups within Netbox + - description: Create, update or delete racks groups within NetBox name: netbox_rack_group namespace: '' - - description: Create, update or delete racks roles within Netbox + - description: Create, update or delete racks roles within NetBox name: netbox_rack_role namespace: '' - - description: Creates or removes regions from Netbox + - description: Creates or removes regions from NetBox name: netbox_region namespace: '' - - description: Create, update or delete RIRs within Netbox + - description: Create, update or delete RIRs within NetBox name: netbox_rir namespace: '' - - description: Creates or removes tenants from Netbox + - description: Creates or removes tenants from NetBox name: netbox_tenant namespace: '' - - description: Creates or removes tenant groups from Netbox + - description: Creates or removes tenant groups from NetBox name: netbox_tenant_group namespace: '' - - description: Create, update or delete virtual_machines within Netbox + - description: Create, update or delete virtual_machines within NetBox name: netbox_virtual_machine namespace: '' - - description: Create, update or delete vlans within Netbox + - description: Create, update or delete vlans within NetBox name: netbox_vlan namespace: '' - - description: Create, update or delete vlans groups within Netbox + - description: Create, update or delete vlans groups within NetBox name: netbox_vlan_group namespace: '' - - description: Creates or removes interfaces from virtual machines in Netbox + - description: Creates or removes interfaces from virtual machines in NetBox name: netbox_vm_interface namespace: '' - - description: Create, update or delete vrfs within Netbox + - description: Create, update or delete vrfs within NetBox name: netbox_vrf namespace: '' 0.1.1: @@ -121,15 +121,15 @@ releases: - Builds slug for netbox_device_type from model which is now required and slug is optional. Model will be slugified if slug is not provided BREAKING CHANGE (https://github.com/netbox-community/ansible_modules/issues/77) - - Fail module with proper exception when connection to Netbox API cannot be + - Fail module with proper exception when connection to NetBox API cannot be established (https://github.com/netbox-community/ansible_modules/issues/80) - netbox_device_interface Lag no longer has to be a dictionary and the value of the key can be the name of the LAG (https://github.com/netbox-community/ansible_modules/issues/81) - netbox_ip_address If no address has no CIDR notation, it will convert it into - a /32 and pass to Netbox. Fixes idempotency cidr notation is not provided + a /32 and pass to NetBox. Fixes idempotency cidr notation is not provided (https://github.com/netbox-community/ansible_modules/issues/78) modules: - - description: Creates or removes service from Netbox + - description: Creates or removes service from NetBox name: netbox_service namespace: '' 0.1.6: @@ -137,10 +137,10 @@ releases: bugfixes: - Fixed vlan searching with vlan_group for netbox_prefix (https://github.com/netbox-community/ansible_modules/issues/85) - Removed static choices from netbox_utils and now pulls the choices for each - endpoint from the Netbox API at call time (https://github.com/netbox-community/ansible_modules/issues/67) + endpoint from the NetBox API at call time (https://github.com/netbox-community/ansible_modules/issues/67) minor_changes: - Add dns_name to netbox_ip_address (https://github.com/netbox-community/ansible_modules/issues/84) - - Add region and region_id to query_filter for Netbox Inventory plugin (https://github.com/netbox-community/ansible_modules/issues/83) + - Add region and region_id to query_filter for NetBox Inventory plugin (https://github.com/netbox-community/ansible_modules/issues/83) 0.1.7: changes: bugfixes: @@ -154,7 +154,7 @@ releases: - Properly create interface on correct device when in a VC (https://github.com/netbox-community/ansible_modules/issues/105) - Updated _to_slug to follow same constructs NetBox uses (https://github.com/netbox-community/ansible_modules/issues/95) minor_changes: - - Added fetching services for devices in Netbox Inventory Plugin (https://github.com/netbox-community/ansible_modules/issues/58) + - Added fetching services for devices in NetBox Inventory Plugin (https://github.com/netbox-community/ansible_modules/issues/58) - Added option for interfaces and IP addresses of interfaces to be fetched via inventory plugin (https://github.com/netbox-community/ansible_modules/issues/60) - Change lookups to property for subclassing of inventory plugin (https://github.com/netbox-community/ansible_modules/issues/62) @@ -259,46 +259,46 @@ releases: - Better error handling if read-only token is provided for modules. Updated README as well to say that a ``write-enabled`` token is required (https://github.com/netbox-community/ansible_modules/pull/238) modules: - - description: Create, update or delete console ports within Netbox + - description: Create, update or delete console ports within NetBox name: netbox_console_port namespace: '' - - description: Create, update or delete console port templates within Netbox + - description: Create, update or delete console port templates within NetBox name: netbox_console_port_template namespace: '' - - description: Create, update or delete console server ports within Netbox + - description: Create, update or delete console server ports within NetBox name: netbox_console_server_port namespace: '' - - description: Create, update or delete console server port templates within Netbox + - description: Create, update or delete console server port templates within NetBox name: netbox_console_server_port_template namespace: '' - - description: Create, update or delete front ports within Netbox + - description: Create, update or delete front ports within NetBox name: netbox_front_port namespace: '' - - description: Create, update or delete front port templates within Netbox + - description: Create, update or delete front port templates within NetBox name: netbox_front_port_template namespace: '' - - description: Create, update or delete power feeds within Netbox + - description: Create, update or delete power feeds within NetBox name: netbox_power_feed namespace: '' - - description: Create, update or delete power outlets within Netbox + - description: Create, update or delete power outlets within NetBox name: netbox_power_outlet namespace: '' - - description: Create, update or delete power outlet templates within Netbox + - description: Create, update or delete power outlet templates within NetBox name: netbox_power_outlet_template namespace: '' - - description: Create, update or delete power panels within Netbox + - description: Create, update or delete power panels within NetBox name: netbox_power_panel namespace: '' - - description: Create, update or delete power ports within Netbox + - description: Create, update or delete power ports within NetBox name: netbox_power_port namespace: '' - - description: Create, update or delete power port templates within Netbox + - description: Create, update or delete power port templates within NetBox name: netbox_power_port_template namespace: '' - - description: Create, update or delete rear ports within Netbox + - description: Create, update or delete rear ports within NetBox name: netbox_rear_port namespace: '' - - description: Create, update or delete rear port templates within Netbox + - description: Create, update or delete rear port templates within NetBox name: netbox_rear_port_template namespace: '' 0.3.0: @@ -343,16 +343,16 @@ releases: - Add ``virtual_chassis``, ``vc_position``, ``vc_priority`` to ``netbox_device`` options (https://github.com/netbox-community/ansible_modules/pull/251) modules: - - description: Create, update or delete cables within Netbox + - description: Create, update or delete cables within NetBox name: netbox_cable namespace: '' - - description: Create, update or delete device bay templates within Netbox + - description: Create, update or delete device bay templates within NetBox name: netbox_device_bay_template namespace: '' - - description: Creates or removes interfaces on devices from Netbox + - description: Creates or removes interfaces on devices from NetBox name: netbox_device_interface_template namespace: '' - - description: Create, update or delete virtual chassis within Netbox + - description: Create, update or delete virtual chassis within NetBox name: netbox_virtual_chassis namespace: '' 0.3.1: @@ -442,7 +442,7 @@ releases: fragments: - release1.2.0.yml modules: - - description: Creates or removes tags from Netbox + - description: Creates or removes tags from NetBox name: netbox_tag namespace: '' release_date: '2020-12-27' @@ -465,7 +465,7 @@ releases: fragments: - 2.0.0.yml modules: - - description: Creates or removes route targets from Netbox + - description: Creates or removes route targets from NetBox name: netbox_route_target namespace: '' release_date: '2021-01-20' @@ -515,7 +515,7 @@ releases: - netbox_vlan_group - Add scope option. - netbox_vlan_group - Add scope_type option. release_summary: 'This release should fix obvious broken changes between collection - and Netbox 2.11, but there is most likely more. Please report as they''re + and NetBox 2.11, but there is most likely more. Please report as they''re encountered. **packages** is now a required Python package and is already included in Ansible @@ -583,3 +583,24 @@ releases: name: netbox_config_context namespace: '' release_date: '2021-10-25' + 3.4.0: + changes: + minor_changes: + - netbox_inventory_item - Add label and custom fields to module [#632](https://github.com/netbox-community/ansible_modules/pull/632) + - nb_inventory - Cache OpenAPI locally to speed up inventory [#617](https://github.com/netbox-community/ansible_modules/pull/617) + - netbox_vm_interface - Add custom fields to module [#637](https://github.com/netbox-community/ansible_modules/pull/637) + - netbox_provider_network - Add module for handling provider networks [#653](https://github.com/netbox-community/ansible_modules/pull/653) + - nb_lookup - Add missing endpoints to nb_lookup [#655](https://github.com/netbox-community/ansible_modules/pull/655) + - netbox_virtual_chassis - Add custom_fields to netbox_virtual_chassis [#657](https://github.com/netbox-community/ansible_modules/pull/657) + - nb_inventory - Add documentation for use of inventory plugin in Tower/AWX [#648](https://github.com/netbox-community/ansible_modules/pull/648) + - netbox_cable - Improve lookup speed on NetBox versions earlier than 3.0.6 [#645](https://github.com/netbox-community/ansible_modules/pull/645) + bugfixes: + - netbox_site - Ensure idempotency between NetBox version 2.11 and 3.00 [#631](https://github.com/netbox-community/ansible_modules/pull/631) + - netbox_virtual_machine - Ensure idempotency between NetBox version 2.11 and 3.00 [#633](https://github.com/netbox-community/ansible_modules/pull/633) + - nb_lookup - Fix documentation of validate_cert [#629](https://github.com/netbox-community/ansible_modules/pull/629) + - netbox_virtual_chassis - Fix issue with virtual chassis creation [#657](https://github.com/netbox-community/ansible_modules/pull/657) + modules: + - description: Create, update or delete Provider Network in NetBox + name: netbox_provider_network + namespace: '' + release_date: '2021-11-28' diff --git a/changelogs/config.yaml b/changelogs/config.yaml index 90d6f2d9d..9f564cc36 100644 --- a/changelogs/config.yaml +++ b/changelogs/config.yaml @@ -26,6 +26,6 @@ sections: - Bugfixes - - known_issues - Known Issues -title: Netbox.Netbox +title: NetBox.NetBox trivial_section_name: trivial use_fqcn: true diff --git a/changelogs/fragments/619-v3.0-ci-fixes.yml b/changelogs/fragments/619-v3.0-ci-fixes.yml new file mode 100644 index 000000000..97d10b9e9 --- /dev/null +++ b/changelogs/fragments/619-v3.0-ci-fixes.yml @@ -0,0 +1,3 @@ +--- +minor_changes: + - netbox.netbox - Fixed integration tests with v3.0 diff --git a/docs/getting_started/contributing/modules/architecture.rst b/docs/getting_started/contributing/modules/architecture.rst index 5fe223151..cc3f46de9 100644 --- a/docs/getting_started/contributing/modules/architecture.rst +++ b/docs/getting_started/contributing/modules/architecture.rst @@ -253,7 +253,7 @@ The ``NetboxModule`` is the cornerstone of this collection and contains most of class NetboxModule(object): """ - Initialize connection to Netbox, sets AnsibleModule passed in to + Initialize connection to NetBox, sets AnsibleModule passed in to self.module to be used throughout the class :params module (obj): Ansible Module object :params endpoint (str): Used to tell class which endpoint the logic needs to follow @@ -280,12 +280,12 @@ We set several instance attributes that are used within other methods throughout class NetboxModule(object): ... - # These should not be required after making connection to Netbox + # These should not be required after making connection to NetBox url = self.module.params["netbox_url"] token = self.module.params["netbox_token"] ssl_verify = self.module.params["validate_certs"] - # Attempt to initiate connection to Netbox + # Attempt to initiate connection to NetBox if nb_client is None: self.nb = self._connect_netbox_api(url, token, ssl_verify) else: diff --git a/docs/getting_started/contributing/modules/new_module.rst b/docs/getting_started/contributing/modules/new_module.rst index fd3c07bd1..073984aab 100644 --- a/docs/getting_started/contributing/modules/new_module.rst +++ b/docs/getting_started/contributing/modules/new_module.rst @@ -44,7 +44,7 @@ Open ``plugins/module_utils/netbox_ipam.py`` file and update the following. These should be all the changes we need within this file for the time being. -Update Netbox Utils +Update NetBox Utils ------------------------------- Open ``plugins/module_utils/netbox_utils.py`` and update the following. @@ -112,9 +112,9 @@ Now we need to update the ``DOCUMENTATION`` variable to match the module we're c DOCUMENTATION = r""" --- module: netbox_route_target - short_description: Creates or removes route targets from Netbox + short_description: Creates or removes route targets from NetBox description: - - Creates or removes route targets from Netbox + - Creates or removes route targets from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -153,7 +153,7 @@ Now we need to update the ``DOCUMENTATION`` variable to match the module we're c elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict required: true @@ -230,7 +230,7 @@ The only update to the ``RETURN`` variable should be the name of the object retu RETURN = r""" route_targets: - description: Serialized object as created/existent/updated/deleted within Netbox + description: Serialized object as created/existent/updated/deleted within NetBox returned: always type: dict msg: diff --git a/docs/plugins/index.rst b/docs/plugins/index.rst old mode 100755 new mode 100644 index fe0842120..2ad5b5557 --- a/docs/plugins/index.rst +++ b/docs/plugins/index.rst @@ -5,7 +5,7 @@ Netbox.Netbox ============= -Collection version 3.3.0 +Collection version 3.4.0 .. toctree:: :maxdepth: 1 @@ -24,67 +24,68 @@ Inventory Plugins Lookup Plugins ~~~~~~~~~~~~~~ -* :ref:`nb_lookup ` -- Queries and returns elements from Netbox +* :ref:`nb_lookup ` -- Queries and returns elements from NetBox Modules ~~~~~~~ -* :ref:`netbox_aggregate ` -- Creates or removes aggregates from Netbox -* :ref:`netbox_cable ` -- Create, update or delete cables within Netbox -* :ref:`netbox_circuit ` -- Create, update or delete circuits within Netbox -* :ref:`netbox_circuit_termination ` -- Create, update or delete circuit terminations within Netbox -* :ref:`netbox_circuit_type ` -- Create, update or delete circuit types within Netbox -* :ref:`netbox_cluster ` -- Create, update or delete clusters within Netbox -* :ref:`netbox_cluster_group ` -- Create, update or delete cluster groups within Netbox -* :ref:`netbox_cluster_type ` -- Create, update or delete cluster types within Netbox -* :ref:`netbox_config_context ` -- Creates, updates or deletes configuration contexts within Netbox -* :ref:`netbox_console_port ` -- Create, update or delete console ports within Netbox -* :ref:`netbox_console_port_template ` -- Create, update or delete console port templates within Netbox -* :ref:`netbox_console_server_port ` -- Create, update or delete console server ports within Netbox -* :ref:`netbox_console_server_port_template ` -- Create, update or delete console server port templates within Netbox -* :ref:`netbox_device ` -- Create, update or delete devices within Netbox -* :ref:`netbox_device_bay ` -- Create, update or delete device bays within Netbox -* :ref:`netbox_device_bay_template ` -- Create, update or delete device bay templates within Netbox -* :ref:`netbox_device_interface ` -- Creates or removes interfaces on devices from Netbox -* :ref:`netbox_device_interface_template ` -- Creates or removes interfaces on devices from Netbox -* :ref:`netbox_device_role ` -- Create, update or delete devices roles within Netbox -* :ref:`netbox_device_type ` -- Create, update or delete device types within Netbox -* :ref:`netbox_front_port ` -- Create, update or delete front ports within Netbox -* :ref:`netbox_front_port_template ` -- Create, update or delete front port templates within Netbox -* :ref:`netbox_inventory_item ` -- Creates or removes inventory items from Netbox -* :ref:`netbox_ip_address ` -- Creates or removes IP addresses from Netbox -* :ref:`netbox_ipam_role ` -- Creates or removes ipam roles from Netbox +* :ref:`netbox_aggregate ` -- Creates or removes aggregates from NetBox +* :ref:`netbox_cable ` -- Create, update or delete cables within NetBox +* :ref:`netbox_circuit ` -- Create, update or delete circuits within NetBox +* :ref:`netbox_circuit_termination ` -- Create, update or delete circuit terminations within NetBox +* :ref:`netbox_circuit_type ` -- Create, update or delete circuit types within NetBox +* :ref:`netbox_cluster ` -- Create, update or delete clusters within NetBox +* :ref:`netbox_cluster_group ` -- Create, update or delete cluster groups within NetBox +* :ref:`netbox_cluster_type ` -- Create, update or delete cluster types within NetBox +* :ref:`netbox_config_context ` -- Creates, updates or deletes configuration contexts within NetBox +* :ref:`netbox_console_port ` -- Create, update or delete console ports within NetBox +* :ref:`netbox_console_port_template ` -- Create, update or delete console port templates within NetBox +* :ref:`netbox_console_server_port ` -- Create, update or delete console server ports within NetBox +* :ref:`netbox_console_server_port_template ` -- Create, update or delete console server port templates within NetBox +* :ref:`netbox_device ` -- Create, update or delete devices within NetBox +* :ref:`netbox_device_bay ` -- Create, update or delete device bays within NetBox +* :ref:`netbox_device_bay_template ` -- Create, update or delete device bay templates within NetBox +* :ref:`netbox_device_interface ` -- Creates or removes interfaces on devices from NetBox +* :ref:`netbox_device_interface_template ` -- Creates or removes interfaces on devices from NetBox +* :ref:`netbox_device_role ` -- Create, update or delete devices roles within NetBox +* :ref:`netbox_device_type ` -- Create, update or delete device types within NetBox +* :ref:`netbox_front_port ` -- Create, update or delete front ports within NetBox +* :ref:`netbox_front_port_template ` -- Create, update or delete front port templates within NetBox +* :ref:`netbox_inventory_item ` -- Creates or removes inventory items from NetBox +* :ref:`netbox_ip_address ` -- Creates or removes IP addresses from NetBox +* :ref:`netbox_ipam_role ` -- Creates or removes ipam roles from NetBox * :ref:`netbox_location ` -- Create, update or delete locations within NetBox -* :ref:`netbox_manufacturer ` -- Create or delete manufacturers within Netbox -* :ref:`netbox_platform ` -- Create or delete platforms within Netbox -* :ref:`netbox_power_feed ` -- Create, update or delete power feeds within Netbox -* :ref:`netbox_power_outlet ` -- Create, update or delete power outlets within Netbox -* :ref:`netbox_power_outlet_template ` -- Create, update or delete power outlet templates within Netbox -* :ref:`netbox_power_panel ` -- Create, update or delete power panels within Netbox -* :ref:`netbox_power_port ` -- Create, update or delete power ports within Netbox -* :ref:`netbox_power_port_template ` -- Create, update or delete power port templates within Netbox -* :ref:`netbox_prefix ` -- Creates or removes prefixes from Netbox -* :ref:`netbox_provider ` -- Create, update or delete providers within Netbox -* :ref:`netbox_rack ` -- Create, update or delete racks within Netbox -* :ref:`netbox_rack_group ` -- Create, update or delete racks groups within Netbox -* :ref:`netbox_rack_role ` -- Create, update or delete racks roles within Netbox -* :ref:`netbox_rear_port ` -- Create, update or delete rear ports within Netbox -* :ref:`netbox_rear_port_template ` -- Create, update or delete rear port templates within Netbox -* :ref:`netbox_region ` -- Creates or removes regions from Netbox -* :ref:`netbox_rir ` -- Create, update or delete RIRs within Netbox -* :ref:`netbox_route_target ` -- Creates or removes route targets from Netbox -* :ref:`netbox_service ` -- Creates or removes service from Netbox -* :ref:`netbox_site ` -- Creates or removes sites from Netbox +* :ref:`netbox_manufacturer ` -- Create or delete manufacturers within NetBox +* :ref:`netbox_platform ` -- Create or delete platforms within NetBox +* :ref:`netbox_power_feed ` -- Create, update or delete power feeds within NetBox +* :ref:`netbox_power_outlet ` -- Create, update or delete power outlets within NetBox +* :ref:`netbox_power_outlet_template ` -- Create, update or delete power outlet templates within NetBox +* :ref:`netbox_power_panel ` -- Create, update or delete power panels within NetBox +* :ref:`netbox_power_port ` -- Create, update or delete power ports within NetBox +* :ref:`netbox_power_port_template ` -- Create, update or delete power port templates within NetBox +* :ref:`netbox_prefix ` -- Creates or removes prefixes from NetBox +* :ref:`netbox_provider ` -- Create, update or delete providers within NetBox +* :ref:`netbox_provider_network ` -- Create, update or delete provider networks within NetBox +* :ref:`netbox_rack ` -- Create, update or delete racks within NetBox +* :ref:`netbox_rack_group ` -- Create, update or delete racks groups within NetBox +* :ref:`netbox_rack_role ` -- Create, update or delete racks roles within NetBox +* :ref:`netbox_rear_port ` -- Create, update or delete rear ports within NetBox +* :ref:`netbox_rear_port_template ` -- Create, update or delete rear port templates within NetBox +* :ref:`netbox_region ` -- Creates or removes regions from NetBox +* :ref:`netbox_rir ` -- Create, update or delete RIRs within NetBox +* :ref:`netbox_route_target ` -- Creates or removes route targets from NetBox +* :ref:`netbox_service ` -- Creates or removes service from NetBox +* :ref:`netbox_site ` -- Creates or removes sites from NetBox * :ref:`netbox_site_group ` -- Create, update, or delete site groups within NetBox -* :ref:`netbox_tag ` -- Creates or removes tags from Netbox -* :ref:`netbox_tenant ` -- Creates or removes tenants from Netbox -* :ref:`netbox_tenant_group ` -- Creates or removes tenant groups from Netbox -* :ref:`netbox_virtual_chassis ` -- Create, update or delete virtual chassis within Netbox -* :ref:`netbox_virtual_machine ` -- Create, update or delete virtual_machines within Netbox -* :ref:`netbox_vlan ` -- Create, update or delete vlans within Netbox -* :ref:`netbox_vlan_group ` -- Create, update or delete vlans groups within Netbox -* :ref:`netbox_vm_interface ` -- Creates or removes interfaces from virtual machines in Netbox -* :ref:`netbox_vrf ` -- Create, update or delete vrfs within Netbox +* :ref:`netbox_tag ` -- Creates or removes tags from NetBox +* :ref:`netbox_tenant ` -- Creates or removes tenants from NetBox +* :ref:`netbox_tenant_group ` -- Creates or removes tenant groups from NetBox +* :ref:`netbox_virtual_chassis ` -- Create, update or delete virtual chassis within NetBox +* :ref:`netbox_virtual_machine ` -- Create, update or delete virtual_machines within NetBox +* :ref:`netbox_vlan ` -- Create, update or delete vlans within NetBox +* :ref:`netbox_vlan_group ` -- Create, update or delete vlans groups within NetBox +* :ref:`netbox_vm_interface ` -- Creates or removes interfaces from virtual machines in NetBox +* :ref:`netbox_vrf ` -- Create, update or delete vrfs within NetBox .. seealso:: diff --git a/docs/plugins/nb_inventory_inventory.rst b/docs/plugins/nb_inventory_inventory.rst old mode 100755 new mode 100644 index 5053031c5..9c8623251 --- a/docs/plugins/nb_inventory_inventory.rst +++ b/docs/plugins/nb_inventory_inventory.rst @@ -20,7 +20,7 @@ netbox.netbox.nb_inventory -- NetBox inventory source .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -400,7 +400,7 @@ Parameters
By default, fetching interfaces and services will get all of the contents of NetBox regardless of query_filters applied to devices and VMs.
When set to False, separate requests will be made fetching interfaces, services, and IP addresses for each device_id and virtual_machine_id.
-
If you are using the various query_filters options to reduce the number of devices, you may find querying Netbox faster with fetch_all set to False.
+
If you are using the various query_filters options to reduce the number of devices, you may find querying NetBox faster with fetch_all set to False.
For efficiency, when False, these requests will be batched, for example /api/dcim/interfaces?limit=0&device_id=1&device_id=2&device_id=3
These GET request URIs can become quite large for a large number of devices. If you run into HTTP 414 errors, you can adjust the max_uri_length option to suit your web server.
@@ -831,7 +831,7 @@ Parameters -
Timeout for Netbox requests in seconds
+
Timeout for NetBox requests in seconds
@@ -1016,6 +1016,28 @@ Examples - prefix: status key: status.value + # For use in Ansible Tower (AWX), please see this blog from RedHat: https://www.ansible.com/blog/using-an-inventory-plugin-from-a-collection-in-ansible-tower + # The credential for NetBox will need to expose NETBOX_API and NETBOX_TOKEN as environment variables. + # Example Ansible Tower credential Input Configuration: + + fields: + - id: NETBOX_API + type: string + label: NetBox Host URL + - id: NETBOX_TOKEN + type: string + label: NetBox API Token + secret: true + required: + - NETBOX_API + - NETBOX_TOKEN + + # Example Ansible Tower credential Injector Configuration: + + env: + NETBOX_API: '{{ NETBOX_API }}' + NETBOX_TOKEN: '{{ NETBOX_TOKEN }}' + diff --git a/docs/plugins/nb_lookup_lookup.rst b/docs/plugins/nb_lookup_lookup.rst old mode 100755 new mode 100644 index d87f482e4..55a5027dd --- a/docs/plugins/nb_lookup_lookup.rst +++ b/docs/plugins/nb_lookup_lookup.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.nb_lookup -- Queries and returns elements from Netbox +netbox.netbox.nb_lookup -- Queries and returns elements from NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Queries Netbox via its API to return virtually any information capable of being held in Netbox. +- Queries NetBox via its API to return virtually any information capable of being held in NetBox. - If wanting to obtain the plaintext attribute of a secret, *private_key* or *key_file* must be provided. @@ -86,7 +86,7 @@ Parameters -
The Netbox object type to query
+
The NetBox object type to query
@@ -109,7 +109,7 @@ Parameters -
The URL to the Netbox instance to query
+
The URL to the NetBox instance to query
@@ -160,7 +160,7 @@ Parameters -
The Netbox plugin to query
+
The NetBox plugin to query
@@ -221,8 +221,8 @@ Parameters -
The API token created through Netbox
-
This may not be required depending on the Netbox setup.
+
The API token created through NetBox
+
This may not be required depending on the NetBox setup.
@@ -262,7 +262,7 @@ Examples tasks: # query a list of devices - - name: Obtain list of devices from Netbox + - name: Obtain list of devices from NetBox debug: msg: > "Device {{ item.value.display_name }} (ID: {{ item.key }}) was @@ -275,7 +275,7 @@ Examples tasks: # query a list of devices - - name: Obtain list of devices from Netbox + - name: Obtain list of devices from NetBox debug: msg: > "Device {{ item.value.display_name }} (ID: {{ item.key }}) was diff --git a/docs/plugins/netbox_aggregate_module.rst b/docs/plugins/netbox_aggregate_module.rst old mode 100755 new mode 100644 index 076fb6b5c..8eeb12287 --- a/docs/plugins/netbox_aggregate_module.rst +++ b/docs/plugins/netbox_aggregate_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_aggregate -- Creates or removes aggregates from Netbox +netbox.netbox.netbox_aggregate -- Creates or removes aggregates from NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes aggregates from Netbox +- Creates or removes aggregates from NetBox .. Aliases @@ -113,7 +113,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -209,7 +209,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -224,7 +224,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -239,7 +240,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -260,7 +261,7 @@ Parameters -
The state of the aggregate
+
The state of the object.
@@ -276,7 +277,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -302,13 +304,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox aggregate module" + - name: "Test NetBox aggregate module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create aggregate within Netbox with only required information + - name: Create aggregate within NetBox with only required information netbox_aggregate: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -369,7 +371,7 @@ Common return values are documented :ref:`here `, the foll on creation -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_cable_module.rst b/docs/plugins/netbox_cable_module.rst old mode 100755 new mode 100644 index ce1f47a4d..e09ac707a --- a/docs/plugins/netbox_cable_module.rst +++ b/docs/plugins/netbox_cable_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_cable -- Create, update or delete cables within Netbox +netbox.netbox.netbox_cable -- Create, update or delete cables within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes cables from Netbox +- Creates, updates or removes cables from NetBox .. Aliases @@ -344,7 +344,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -359,7 +359,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -374,7 +375,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -390,12 +391,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -411,7 +412,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -437,13 +439,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create cable within Netbox with only required information + - name: Create cable within NetBox with only required information netbox_cable: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -527,7 +529,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_circuit_module.rst b/docs/plugins/netbox_circuit_module.rst old mode 100755 new mode 100644 index 3643c920a..276546324 --- a/docs/plugins/netbox_circuit_module.rst +++ b/docs/plugins/netbox_circuit_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_circuit -- Create, update or delete circuits within Netbox +netbox.netbox.netbox_circuit -- Create, update or delete circuits within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes circuits from Netbox +- Creates, updates or removes circuits from NetBox .. Aliases @@ -177,7 +177,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -289,7 +289,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -304,7 +304,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -319,7 +320,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -335,12 +336,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -356,7 +357,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -382,13 +384,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create circuit within Netbox with only required information + - name: Create circuit within NetBox with only required information netbox_circuit: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -453,7 +455,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_circuit_termination_module.rst b/docs/plugins/netbox_circuit_termination_module.rst old mode 100755 new mode 100644 index dc68d0734..0c8a035af --- a/docs/plugins/netbox_circuit_termination_module.rst +++ b/docs/plugins/netbox_circuit_termination_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_circuit_termination -- Create, update or delete circuit terminations within Netbox +netbox.netbox.netbox_circuit_termination -- Create, update or delete circuit terminations within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes circuit terminations from Netbox +- Creates, updates or removes circuit terminations from NetBox .. Aliases @@ -163,6 +163,22 @@ Parameters
Patch panel information
+ + + + +
+ provider_network + +
+ raw +
+ + + + +
The provider_network the circuit termination will be assigned to
+ @@ -245,7 +261,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -260,7 +276,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -275,7 +292,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -291,12 +308,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -312,7 +329,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -338,13 +356,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create circuit termination within Netbox with only required information + - name: Create circuit termination within NetBox with only required information netbox_circuit_termination: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -408,7 +426,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_circuit_type_module.rst b/docs/plugins/netbox_circuit_type_module.rst old mode 100755 new mode 100644 index a1bade42a..ef3584207 --- a/docs/plugins/netbox_circuit_type_module.rst +++ b/docs/plugins/netbox_circuit_type_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_circuit_type -- Create, update or delete circuit types within Netbox +netbox.netbox.netbox_circuit_type -- Create, update or delete circuit types within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes circuit types from Netbox +- Creates, updates or removes circuit types from NetBox .. Aliases @@ -146,7 +146,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -161,7 +161,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -176,7 +177,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -192,12 +193,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -213,7 +214,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -239,13 +241,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create type within Netbox with only required information + - name: Create type within NetBox with only required information netbox_circuit_type: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -292,7 +294,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_cluster_group_module.rst b/docs/plugins/netbox_cluster_group_module.rst old mode 100755 new mode 100644 index 1269f63bb..82bb0bcc8 --- a/docs/plugins/netbox_cluster_group_module.rst +++ b/docs/plugins/netbox_cluster_group_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_cluster_group -- Create, update or delete cluster groups within Netbox +netbox.netbox.netbox_cluster_group -- Create, update or delete cluster groups within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes cluster groups from Netbox +- Creates, updates or removes cluster groups from NetBox .. Aliases @@ -146,7 +146,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -161,7 +161,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -176,7 +177,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -192,12 +193,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -213,7 +214,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -239,13 +241,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create cluster group within Netbox with only required information + - name: Create cluster group within NetBox with only required information netbox_cluster_group: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -292,7 +294,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_cluster_module.rst b/docs/plugins/netbox_cluster_module.rst old mode 100755 new mode 100644 index 2d4e2fc9d..b5528fae8 --- a/docs/plugins/netbox_cluster_module.rst +++ b/docs/plugins/netbox_cluster_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_cluster -- Create, update or delete clusters within Netbox +netbox.netbox.netbox_cluster -- Create, update or delete clusters within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes clusters from Netbox +- Creates, updates or removes clusters from NetBox .. Aliases @@ -161,7 +161,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -241,7 +241,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -256,7 +256,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -271,7 +272,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -287,12 +288,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -308,7 +309,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -334,13 +336,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create cluster within Netbox with only required information + - name: Create cluster within NetBox with only required information netbox_cluster: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -410,7 +412,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_cluster_type_module.rst b/docs/plugins/netbox_cluster_type_module.rst old mode 100755 new mode 100644 index 6951c4e1e..13f569531 --- a/docs/plugins/netbox_cluster_type_module.rst +++ b/docs/plugins/netbox_cluster_type_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_cluster_type -- Create, update or delete cluster types within Netbox +netbox.netbox.netbox_cluster_type -- Create, update or delete cluster types within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes cluster types from Netbox +- Creates, updates or removes cluster types from NetBox .. Aliases @@ -162,7 +162,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -177,7 +177,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -192,7 +193,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -208,12 +209,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -229,7 +230,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -255,13 +257,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create cluster type within Netbox with only required information + - name: Create cluster type within NetBox with only required information netbox_cluster_type: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -308,7 +310,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_config_context_module.rst b/docs/plugins/netbox_config_context_module.rst index fa0b418b1..d508c0c76 100644 --- a/docs/plugins/netbox_config_context_module.rst +++ b/docs/plugins/netbox_config_context_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_config_context -- Creates, updates or deletes configuration contexts within Netbox +netbox.netbox.netbox_config_context -- Creates, updates or deletes configuration contexts within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes configuration contexts from Netbox +- Creates, updates or removes configuration contexts from NetBox .. Aliases @@ -357,7 +357,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -372,7 +372,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -387,7 +388,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -403,12 +404,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -424,8 +425,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -451,7 +452,7 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox config_context module" + - name: "Test NetBox config_context module" connection: local hosts: localhost gather_facts: False @@ -515,7 +516,7 @@ Common return values are documented :ref:`here `, the foll always -
Serialized object as created/existent/updated/deleted within Netbox
+
Serialized object as created/existent/updated/deleted within NetBox

diff --git a/docs/plugins/netbox_console_port_module.rst b/docs/plugins/netbox_console_port_module.rst old mode 100755 new mode 100644 index bdf527a38..212a048e1 --- a/docs/plugins/netbox_console_port_module.rst +++ b/docs/plugins/netbox_console_port_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_console_port -- Create, update or delete console ports within Netbox +netbox.netbox.netbox_console_port -- Create, update or delete console ports within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes console ports from Netbox +- Creates, updates or removes console ports from NetBox .. Aliases @@ -208,7 +208,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -223,7 +223,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -238,7 +239,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -254,12 +255,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -275,7 +276,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -301,13 +303,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create console port within Netbox with only required information + - name: Create console port within NetBox with only required information netbox_console_port: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -367,7 +369,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_console_port_template_module.rst b/docs/plugins/netbox_console_port_template_module.rst old mode 100755 new mode 100644 index 17b2ab600..acfa354cc --- a/docs/plugins/netbox_console_port_template_module.rst +++ b/docs/plugins/netbox_console_port_template_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_console_port_template -- Create, update or delete console port templates within Netbox +netbox.netbox.netbox_console_port_template -- Create, update or delete console port templates within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes console port templates from Netbox +- Creates, updates or removes console port templates from NetBox .. Aliases @@ -176,7 +176,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -191,7 +191,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -206,7 +207,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -222,12 +223,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -243,7 +244,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -269,13 +271,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create console port template within Netbox with only required information + - name: Create console port template within NetBox with only required information netbox_console_port_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -334,7 +336,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_console_server_port_module.rst b/docs/plugins/netbox_console_server_port_module.rst old mode 100755 new mode 100644 index f7046b075..db61fc40e --- a/docs/plugins/netbox_console_server_port_module.rst +++ b/docs/plugins/netbox_console_server_port_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_console_server_port -- Create, update or delete console server ports within Netbox +netbox.netbox.netbox_console_server_port -- Create, update or delete console server ports within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes console server ports from Netbox +- Creates, updates or removes console server ports from NetBox .. Aliases @@ -208,7 +208,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -223,7 +223,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -238,7 +239,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -254,12 +255,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -275,7 +276,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -301,13 +303,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create console server port within Netbox with only required information + - name: Create console server port within NetBox with only required information netbox_console_server_port: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -367,7 +369,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_console_server_port_template_module.rst b/docs/plugins/netbox_console_server_port_template_module.rst old mode 100755 new mode 100644 index c27ab5e4a..1f444d552 --- a/docs/plugins/netbox_console_server_port_template_module.rst +++ b/docs/plugins/netbox_console_server_port_template_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_console_server_port_template -- Create, update or delete console server port templates within Netbox +netbox.netbox.netbox_console_server_port_template -- Create, update or delete console server port templates within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes console server port templates from Netbox +- Creates, updates or removes console server port templates from NetBox .. Aliases @@ -176,7 +176,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -191,7 +191,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -206,7 +207,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -222,12 +223,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -243,7 +244,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -269,13 +271,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create console server port template within Netbox with only required information + - name: Create console server port template within NetBox with only required information netbox_console_server_port_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -334,7 +336,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_device_bay_module.rst b/docs/plugins/netbox_device_bay_module.rst old mode 100755 new mode 100644 index 44cb7d423..da9e8ca70 --- a/docs/plugins/netbox_device_bay_module.rst +++ b/docs/plugins/netbox_device_bay_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_device_bay -- Create, update or delete device bays within Netbox +netbox.netbox.netbox_device_bay -- Create, update or delete device bays within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes device bays from Netbox +- Creates, updates or removes device bays from NetBox .. Aliases @@ -113,7 +113,7 @@ Parameters -
The description of the device bay. This is supported on v2.6+ of Netbox
+
The description of the device bay. This is supported on v2.6+ of NetBox
@@ -193,7 +193,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -208,7 +208,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -223,7 +224,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -239,12 +240,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -260,7 +261,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -286,13 +288,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create device bay within Netbox with only required information + - name: Create device bay within NetBox with only required information netbox_device_bay: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -352,7 +354,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_device_bay_template_module.rst b/docs/plugins/netbox_device_bay_template_module.rst old mode 100755 new mode 100644 index 1e462d60f..a38a32529 --- a/docs/plugins/netbox_device_bay_template_module.rst +++ b/docs/plugins/netbox_device_bay_template_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_device_bay_template -- Create, update or delete device bay templates within Netbox +netbox.netbox.netbox_device_bay_template -- Create, update or delete device bay templates within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes device bay templates from Netbox +- Creates, updates or removes device bay templates from NetBox .. Aliases @@ -145,7 +145,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -160,7 +160,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -175,7 +176,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -191,12 +192,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -212,7 +213,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -238,13 +240,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create device bay template within Netbox with only required information + - name: Create device bay template within NetBox with only required information netbox_device_bay_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -294,7 +296,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_device_interface_module.rst b/docs/plugins/netbox_device_interface_module.rst old mode 100755 new mode 100644 index 3e60f12fc..68e8153bd --- a/docs/plugins/netbox_device_interface_module.rst +++ b/docs/plugins/netbox_device_interface_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_device_interface -- Creates or removes interfaces on devices from Netbox +netbox.netbox.netbox_device_interface -- Creates or removes interfaces on devices from NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes interfaces from Netbox +- Creates or removes interfaces from NetBox .. Aliases @@ -113,7 +113,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -420,7 +420,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -435,7 +435,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -450,7 +451,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -466,12 +467,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -507,8 +508,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -534,12 +535,12 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox interface module" + - name: "Test NetBox interface module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create interface within Netbox with only required information + - name: Create interface within NetBox with only required information netbox_device_interface: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -653,7 +654,7 @@ Common return values are documented :ref:`here `, the foll on creation -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_device_interface_template_module.rst b/docs/plugins/netbox_device_interface_template_module.rst old mode 100755 new mode 100644 index be29bab75..57b614765 --- a/docs/plugins/netbox_device_interface_template_module.rst +++ b/docs/plugins/netbox_device_interface_template_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_device_interface_template -- Creates or removes interfaces on devices from Netbox +netbox.netbox.netbox_device_interface_template -- Creates or removes interfaces on devices from NetBox ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes interfaces from Netbox +- Creates or removes interfaces from NetBox .. Aliases @@ -183,7 +183,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -198,7 +198,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -213,7 +214,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -229,12 +230,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -250,8 +251,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -277,12 +278,12 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox interface template module" + - name: "Test NetBox interface template module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create interface template within Netbox with only required information + - name: Create interface template within NetBox with only required information netbox_device_interface_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -332,7 +333,7 @@ Common return values are documented :ref:`here `, the foll on creation -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_device_module.rst b/docs/plugins/netbox_device_module.rst old mode 100755 new mode 100644 index 40b1b7f5d..5c4686ee4 --- a/docs/plugins/netbox_device_module.rst +++ b/docs/plugins/netbox_device_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_device -- Create, update or delete devices within Netbox +netbox.netbox.netbox_device -- Create, update or delete devices within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes devices from Netbox +- Creates, updates or removes devices from NetBox .. Aliases @@ -161,7 +161,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -490,7 +490,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -505,7 +505,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -520,7 +521,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -536,12 +537,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -557,7 +558,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -583,13 +585,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create device within Netbox with only required information + - name: Create device within NetBox with only required information netbox_device: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -600,7 +602,7 @@ Examples site: Main state: present - - name: Create device within Netbox with empty string name to generate UUID + - name: Create device within NetBox with empty string name to generate UUID netbox_device: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -676,7 +678,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_device_role_module.rst b/docs/plugins/netbox_device_role_module.rst old mode 100755 new mode 100644 index e9efb79f2..120fcc777 --- a/docs/plugins/netbox_device_role_module.rst +++ b/docs/plugins/netbox_device_role_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_device_role -- Create, update or delete devices roles within Netbox +netbox.netbox.netbox_device_role -- Create, update or delete devices roles within NetBox ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes devices roles from Netbox +- Creates, updates or removes devices roles from NetBox .. Aliases @@ -198,7 +198,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -213,7 +213,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -228,7 +229,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -244,12 +245,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -265,7 +266,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -291,13 +293,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create device role within Netbox with only required information + - name: Create device role within NetBox with only required information netbox_device_role: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -345,7 +347,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_device_type_module.rst b/docs/plugins/netbox_device_type_module.rst old mode 100755 new mode 100644 index b0a6420ee..8bc51ab38 --- a/docs/plugins/netbox_device_type_module.rst +++ b/docs/plugins/netbox_device_type_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_device_type -- Create, update or delete device types within Netbox +netbox.netbox.netbox_device_type -- Create, update or delete device types within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes device types from Netbox +- Creates, updates or removes device types from NetBox .. Aliases @@ -129,7 +129,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -285,7 +285,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -300,7 +300,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -315,7 +316,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -331,12 +332,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -352,7 +353,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -378,13 +380,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create device type within Netbox with only required information + - name: Create device type within NetBox with only required information netbox_device_type: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -394,7 +396,7 @@ Examples manufacturer: Test Manufacturer state: present - - name: Create device type within Netbox with only required information + - name: Create device type within NetBox with only required information netbox_device_type: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -447,7 +449,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_front_port_module.rst b/docs/plugins/netbox_front_port_module.rst old mode 100755 new mode 100644 index 61c071c9c..c4a4069e5 --- a/docs/plugins/netbox_front_port_module.rst +++ b/docs/plugins/netbox_front_port_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_front_port -- Create, update or delete front ports within Netbox +netbox.netbox.netbox_front_port -- Create, update or delete front ports within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes front ports from Netbox +- Creates, updates or removes front ports from NetBox .. Aliases @@ -241,7 +241,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -256,7 +256,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -271,7 +272,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -287,12 +288,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -308,7 +309,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -334,13 +336,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create front port within Netbox with only required information + - name: Create front port within NetBox with only required information netbox_front_port: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -406,7 +408,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_front_port_template_module.rst b/docs/plugins/netbox_front_port_template_module.rst old mode 100755 new mode 100644 index e17d254a3..6843858ec --- a/docs/plugins/netbox_front_port_template_module.rst +++ b/docs/plugins/netbox_front_port_template_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_front_port_template -- Create, update or delete front port templates within Netbox +netbox.netbox.netbox_front_port_template -- Create, update or delete front port templates within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes front port templates from Netbox +- Creates, updates or removes front port templates from NetBox .. Aliases @@ -209,7 +209,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -224,7 +224,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -239,7 +240,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -255,12 +256,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -276,7 +277,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -302,13 +304,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create front port template within Netbox with only required information + - name: Create front port template within NetBox with only required information netbox_front_port_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -373,7 +375,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_inventory_item_module.rst b/docs/plugins/netbox_inventory_item_module.rst old mode 100755 new mode 100644 index 1d2e279d1..d3de485d7 --- a/docs/plugins/netbox_inventory_item_module.rst +++ b/docs/plugins/netbox_inventory_item_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_inventory_item -- Creates or removes inventory items from Netbox +netbox.netbox.netbox_inventory_item -- Creates or removes inventory items from NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes inventory items from Netbox +- Creates or removes inventory items from NetBox .. Aliases @@ -115,6 +115,25 @@ Parameters
The asset tag of the inventory item
+ + + + +
+ custom_fields + +
+ dictionary +
+
+ added in 3.4.0 of netbox.netbox +
+ + + + +
must exist in Netbox
+ @@ -167,6 +186,25 @@ Parameters
Set the discovery flag for the inventory item
+ + + + +
+ label + +
+ string +
+
+ added in 3.4.0 of netbox.netbox +
+ + + + +
The physical label of the inventory item
+ @@ -261,7 +299,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -276,7 +314,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -291,7 +330,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -307,12 +346,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -328,8 +367,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -355,12 +394,12 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox inventory_item module" + - name: "Test NetBox inventory_item module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create inventory item within Netbox with only required information + - name: Create inventory item within NetBox with only required information netbox_inventory_item: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -423,7 +462,7 @@ Common return values are documented :ref:`here `, the foll on creation -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_ip_address_module.rst b/docs/plugins/netbox_ip_address_module.rst old mode 100755 new mode 100644 index 948dfb55e..34ccc6ff9 --- a/docs/plugins/netbox_ip_address_module.rst +++ b/docs/plugins/netbox_ip_address_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_ip_address -- Creates or removes IP addresses from Netbox +netbox.netbox.netbox_ip_address -- Creates or removes IP addresses from NetBox ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes IP addresses from Netbox +- Creates or removes IP addresses from NetBox .. Aliases @@ -197,7 +197,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -413,7 +413,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -428,7 +428,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -443,7 +444,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -484,7 +485,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -510,13 +512,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox IP address module" + - name: "Test NetBox IP address module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create IP address within Netbox with only required information + - name: Create IP address within NetBox with only required information netbox_ip_address: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -636,7 +638,7 @@ Common return values are documented :ref:`here `, the foll on creation -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_ipam_role_module.rst b/docs/plugins/netbox_ipam_role_module.rst old mode 100755 new mode 100644 index 04eae6a81..56ab2102a --- a/docs/plugins/netbox_ipam_role_module.rst +++ b/docs/plugins/netbox_ipam_role_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_ipam_role -- Creates or removes ipam roles from Netbox +netbox.netbox.netbox_ipam_role -- Creates or removes ipam roles from NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes ipam roles from Netbox +- Creates or removes ipam roles from NetBox .. Aliases @@ -178,7 +178,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -193,7 +193,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -208,7 +209,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -224,12 +225,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -245,8 +246,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -272,12 +273,12 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox module" + - name: "Test NetBox module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create ipam role within Netbox with only required information + - name: Create ipam role within NetBox with only required information netbox_ipam_role: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -339,7 +340,7 @@ Common return values are documented :ref:`here `, the foll on creation -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_location_module.rst b/docs/plugins/netbox_location_module.rst index a62cd3ea5..3c0eecadd 100644 --- a/docs/plugins/netbox_location_module.rst +++ b/docs/plugins/netbox_location_module.rst @@ -20,7 +20,7 @@ netbox.netbox.netbox_location -- Create, update or delete locations within NetBo .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -194,7 +194,7 @@ Parameters -
The token created within NetBox to authorize API access
+
The NetBox API token.
@@ -209,7 +209,8 @@ Parameters -
URL of the NetBox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -224,7 +225,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -240,12 +241,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -261,7 +262,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
diff --git a/docs/plugins/netbox_manufacturer_module.rst b/docs/plugins/netbox_manufacturer_module.rst old mode 100755 new mode 100644 index 60d1d9d84..058a005a9 --- a/docs/plugins/netbox_manufacturer_module.rst +++ b/docs/plugins/netbox_manufacturer_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_manufacturer -- Create or delete manufacturers within Netbox +netbox.netbox.netbox_manufacturer -- Create or delete manufacturers within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes manufacturers from Netbox +- Creates or removes manufacturers from NetBox .. Aliases @@ -162,7 +162,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -177,7 +177,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -192,7 +193,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -208,12 +209,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -229,7 +230,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -255,13 +257,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create manufacturer within Netbox with only required information + - name: Create manufacturer within NetBox with only required information netbox_manufacturer: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -308,7 +310,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_platform_module.rst b/docs/plugins/netbox_platform_module.rst old mode 100755 new mode 100644 index cbf1b0896..37ed85745 --- a/docs/plugins/netbox_platform_module.rst +++ b/docs/plugins/netbox_platform_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_platform -- Create or delete platforms within Netbox +netbox.netbox.netbox_platform -- Create or delete platforms within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes platforms from Netbox +- Creates or removes platforms from NetBox .. Aliases @@ -210,7 +210,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -225,7 +225,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -240,7 +241,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -256,12 +257,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -277,7 +278,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -303,13 +305,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create platform within Netbox with only required information + - name: Create platform within NetBox with only required information netbox_platform: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -317,7 +319,7 @@ Examples name: Test Platform state: present - - name: Create platform within Netbox with only required information + - name: Create platform within NetBox with only required information netbox_platform: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -383,7 +385,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_power_feed_module.rst b/docs/plugins/netbox_power_feed_module.rst old mode 100755 new mode 100644 index 3bd29c898..1e048eb6f --- a/docs/plugins/netbox_power_feed_module.rst +++ b/docs/plugins/netbox_power_feed_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_power_feed -- Create, update or delete power feeds within Netbox +netbox.netbox.netbox_power_feed -- Create, update or delete power feeds within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes power feeds from Netbox +- Creates, updates or removes power feeds from NetBox .. Aliases @@ -145,7 +145,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -339,7 +339,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -354,7 +354,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -369,7 +370,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -385,12 +386,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -406,7 +407,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -432,13 +434,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create power feed within Netbox with only required information + - name: Create power feed within NetBox with only required information netbox_power_feed: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -519,7 +521,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_power_outlet_module.rst b/docs/plugins/netbox_power_outlet_module.rst old mode 100755 new mode 100644 index 2bed6ae33..7ac0f4ad9 --- a/docs/plugins/netbox_power_outlet_module.rst +++ b/docs/plugins/netbox_power_outlet_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_power_outlet -- Create, update or delete power outlets within Netbox +netbox.netbox.netbox_power_outlet -- Create, update or delete power outlets within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes power outlets from Netbox +- Creates, updates or removes power outlets from NetBox .. Aliases @@ -286,7 +286,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -301,7 +301,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -316,7 +317,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -332,12 +333,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -353,7 +354,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -379,13 +381,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create power port within Netbox with only required information + - name: Create power port within NetBox with only required information netbox_power_outlet: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -462,7 +464,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_power_outlet_template_module.rst b/docs/plugins/netbox_power_outlet_template_module.rst old mode 100755 new mode 100644 index c0bd5927a..b85b26e85 --- a/docs/plugins/netbox_power_outlet_template_module.rst +++ b/docs/plugins/netbox_power_outlet_template_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_power_outlet_template -- Create, update or delete power outlet templates within Netbox +netbox.netbox.netbox_power_outlet_template -- Create, update or delete power outlet templates within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes power outlet templates from Netbox +- Creates, updates or removes power outlet templates from NetBox .. Aliases @@ -254,7 +254,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -269,7 +269,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -284,7 +285,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -300,12 +301,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -321,7 +322,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -347,13 +349,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create power outlet template within Netbox with only required information + - name: Create power outlet template within NetBox with only required information netbox_power_outlet_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -429,7 +431,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_power_panel_module.rst b/docs/plugins/netbox_power_panel_module.rst old mode 100755 new mode 100644 index 5e6830cae..436abcc20 --- a/docs/plugins/netbox_power_panel_module.rst +++ b/docs/plugins/netbox_power_panel_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_power_panel -- Create, update or delete power panels within Netbox +netbox.netbox.netbox_power_panel -- Create, update or delete power panels within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes power panels from Netbox +- Creates, updates or removes power panels from NetBox .. Aliases @@ -181,7 +181,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -196,7 +196,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -211,7 +212,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -227,12 +228,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -248,7 +249,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -274,13 +276,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create power panel within Netbox with only required information + - name: Create power panel within NetBox with only required information netbox_power_panel: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -299,7 +301,7 @@ Examples rack_group: Test Rack Group state: present - - name: Create power panel within Netbox with only required information - Post 2.11 + - name: Create power panel within NetBox with only required information - Post 2.11 netbox_power_panel: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -364,7 +366,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_power_port_module.rst b/docs/plugins/netbox_power_port_module.rst old mode 100755 new mode 100644 index 14d96acfd..dfc4e3fcb --- a/docs/plugins/netbox_power_port_module.rst +++ b/docs/plugins/netbox_power_port_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_power_port -- Create, update or delete power ports within Netbox +netbox.netbox.netbox_power_port -- Create, update or delete power ports within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes power ports from Netbox +- Creates, updates or removes power ports from NetBox .. Aliases @@ -281,7 +281,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -296,7 +296,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -311,7 +312,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -327,12 +328,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -348,7 +349,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -374,13 +376,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create power port within Netbox with only required information + - name: Create power port within NetBox with only required information netbox_power_port: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -457,7 +459,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_power_port_template_module.rst b/docs/plugins/netbox_power_port_template_module.rst old mode 100755 new mode 100644 index 5d64b11fc..925615f5a --- a/docs/plugins/netbox_power_port_template_module.rst +++ b/docs/plugins/netbox_power_port_template_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_power_port_template -- Create, update or delete power port templates within Netbox +netbox.netbox.netbox_power_port_template -- Create, update or delete power port templates within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes power port templates from Netbox +- Creates, updates or removes power port templates from NetBox .. Aliases @@ -249,7 +249,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -264,7 +264,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -279,7 +280,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -295,12 +296,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -316,7 +317,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -342,13 +344,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create power port within Netbox with only required information + - name: Create power port within NetBox with only required information netbox_power_port_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -424,7 +426,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_prefix_module.rst b/docs/plugins/netbox_prefix_module.rst old mode 100755 new mode 100644 index 48b15686f..8163b9482 --- a/docs/plugins/netbox_prefix_module.rst +++ b/docs/plugins/netbox_prefix_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_prefix -- Creates or removes prefixes from Netbox +netbox.netbox.netbox_prefix -- Creates or removes prefixes from NetBox ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes prefixes from Netbox +- Creates or removes prefixes from NetBox .. Aliases @@ -113,7 +113,7 @@ Parameters -
Must exist in Netbox and in key/value format
+
Must exist in NetBox and in key/value format
@@ -361,7 +361,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -376,7 +376,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -391,7 +392,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -407,12 +408,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -428,7 +429,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -454,13 +456,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox prefix module" + - name: "Test NetBox prefix module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create prefix within Netbox with only required information + - name: Create prefix within NetBox with only required information netbox_prefix: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -499,7 +501,7 @@ Examples - Schnozzberry state: present - - name: Get a new /24 inside 10.156.0.0/19 within Netbox - Parent doesn't exist + - name: Get a new /24 inside 10.156.0.0/19 within NetBox - Parent doesn't exist netbox_prefix: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -509,7 +511,7 @@ Examples state: present first_available: yes - - name: Create prefix within Netbox with only required information + - name: Create prefix within NetBox with only required information netbox_prefix: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -517,7 +519,7 @@ Examples prefix: 10.156.0.0/19 state: present - - name: Get a new /24 inside 10.156.0.0/19 within Netbox + - name: Get a new /24 inside 10.156.0.0/19 within NetBox netbox_prefix: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -527,7 +529,7 @@ Examples state: present first_available: yes - - name: Get a new /24 inside 10.157.0.0/19 within Netbox with additional values + - name: Get a new /24 inside 10.157.0.0/19 within NetBox with additional values netbox_prefix: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -585,7 +587,7 @@ Common return values are documented :ref:`here `, the foll on creation -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_provider_module.rst b/docs/plugins/netbox_provider_module.rst old mode 100755 new mode 100644 index fb9a5b2b5..bd0eafe94 --- a/docs/plugins/netbox_provider_module.rst +++ b/docs/plugins/netbox_provider_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_provider -- Create, update or delete providers within Netbox +netbox.netbox.netbox_provider -- Create, update or delete providers within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes providers from Netbox +- Creates, updates or removes providers from NetBox .. Aliases @@ -177,7 +177,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -257,7 +257,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -272,7 +272,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -287,7 +288,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -303,12 +304,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -324,7 +325,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -350,13 +352,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create provider within Netbox with only required information + - name: Create provider within NetBox with only required information netbox_provider: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -432,7 +434,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_provider_network_module.rst b/docs/plugins/netbox_provider_network_module.rst new file mode 100644 index 000000000..85f13e309 --- /dev/null +++ b/docs/plugins/netbox_provider_network_module.rst @@ -0,0 +1,408 @@ +.. Document meta + +:orphan: + +.. Anchors + +.. _ansible_collections.netbox.netbox.netbox_provider_network_module: + +.. Anchors: short name for ansible.builtin + +.. Anchors: aliases + + + +.. Title + +netbox.netbox.netbox_provider_network -- Create, update or delete provider networks within NetBox ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +.. Collection note + +.. note:: + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). + + To install it use: :code:`ansible-galaxy collection install netbox.netbox`. + + To use it in a playbook, specify: :code:`netbox.netbox.netbox_provider_network`. + +.. version_added + +.. versionadded:: 3.4.0 of netbox.netbox + +.. contents:: + :local: + :depth: 1 + +.. Deprecated + + +Synopsis +-------- + +.. Description + +- Creates, updates or removes provider networks from NetBox + + +.. Aliases + + +.. Requirements + +Requirements +------------ +The below requirements are needed on the host that executes this module. + +- pynetbox + + +.. Options + +Parameters +---------- + +.. raw:: html + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ParameterChoices/DefaultsComments
+
+ cert + +
+ raw +
+
+ +
Certificate path
+
+
+ data + +
+ dictionary + / required
+
+ +
Defines the provider network configuration
+
+
+ comments + +
+ string +
+
+ +
Comments related to the provider network
+
+
+ custom_fields + +
+ dictionary +
+
+ +
must exist in NetBox
+
+
+ description + +
+ string +
+
+ +
Description related to the provider network
+
+
+ name + +
+ string + / required
+
+ +
The name of the provider network
+
+
+ provider + +
+ raw + / required
+
+ +
The name of the provider
+
+
+ tags + +
+ list + / elements=raw
+
+ +
Any tags that the provdier_network may need to be associated with
+
+
+ netbox_token + +
+ string + / required
+
+ +
The NetBox API token.
+
+
+ netbox_url + +
+ string + / required
+
+ +
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
+
+
+ query_params + +
+ list + / elements=string
+
+ +
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
+
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
+
an object unique in their environment.
+
+
+ state + +
+ string +
+
+
    Choices: +
  • present ←
  • +
  • absent
  • +
+
+
The state of the object.
+
+
+ validate_certs + +
+ raw +
+
+ Default:
"yes"
+
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
+
+
+ +.. Notes + +Notes +----- + +.. note:: + - Tags should be defined as a YAML list + - This should be ran with connection ``local`` and hosts ``localhost`` + +.. Seealso + + +.. Examples + +Examples +-------- + +.. code-block:: yaml+jinja + + + - name: "Test NetBox modules" + connection: local + hosts: localhost + gather_facts: False + + tasks: + - name: Create provider network within NetBox with only required information + netbox_provider_network: + netbox_url: http://netbox.local + netbox_token: thisIsMyToken + data: + provider: Test Provider + name: Test Provider Network + state: present + + - name: Update provider with other fields + netbox_provider_network: + netbox_url: http://netbox.local + netbox_token: thisIsMyToken + data: + provider: Test Provider + name: Test Provider Network + description: Describe a Provider Network + comments: "A Provider Network" + state: present + + - name: Delete provider within netbox + netbox_provider_network: + netbox_url: http://netbox.local + netbox_token: thisIsMyToken + data: + provider: test Provider + name: Test Provider Network + state: absent + + + + +.. Facts + + +.. Return values + +Return Values +------------- +Common return values are documented :ref:`here `, the following are the fields unique to this module: + +.. raw:: html + + + + + + + + + + + + + + + + + +
KeyReturnedDescription
+
+ msg + +
+ string +
+
always +
Message indicating failure or info about what has been achieved
+
+
+
+ provider_network + +
+ dictionary +
+
success (when state=present) +
Serialized object as created or already existent within NetBox
+
+
+

+ +.. Status (Presently only deprecated) + + +.. Authors + +Authors +~~~~~~~ + +- Martin Rødvand (@rodvand) + + + +.. Parsing errors + diff --git a/docs/plugins/netbox_rack_group_module.rst b/docs/plugins/netbox_rack_group_module.rst old mode 100755 new mode 100644 index 8c92c8e11..c389444f9 --- a/docs/plugins/netbox_rack_group_module.rst +++ b/docs/plugins/netbox_rack_group_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_rack_group -- Create, update or delete racks groups within Netbox +netbox.netbox.netbox_rack_group -- Create, update or delete racks groups within NetBox ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes racks groups from Netbox +- Creates, updates or removes racks groups from NetBox .. Aliases @@ -162,7 +162,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -177,7 +177,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -192,7 +193,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -208,12 +209,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -229,7 +230,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -255,13 +257,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create rack group within Netbox with only required information + - name: Create rack group within NetBox with only required information netbox_rack_group: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -325,7 +327,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_rack_module.rst b/docs/plugins/netbox_rack_module.rst old mode 100755 new mode 100644 index 9e2f57570..b0e129007 --- a/docs/plugins/netbox_rack_module.rst +++ b/docs/plugins/netbox_rack_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_rack -- Create, update or delete racks within Netbox +netbox.netbox.netbox_rack -- Create, update or delete racks within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes racks from Netbox +- Creates, updates or removes racks from NetBox .. Aliases @@ -145,7 +145,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -458,7 +458,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -473,7 +473,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -488,7 +489,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -504,12 +505,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -525,7 +526,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -551,13 +553,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create rack within Netbox with only required information + - name: Create rack within NetBox with only required information netbox_rack: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -566,7 +568,7 @@ Examples site: Test Site state: present - - name: Create rack within Netbox with only required information - Pre 2.11 + - name: Create rack within NetBox with only required information - Pre 2.11 netbox_rack: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -576,7 +578,7 @@ Examples rack_group: Test Rack Group state: present - - name: Create rack within Netbox with only required information - Post 2.11 + - name: Create rack within NetBox with only required information - Post 2.11 netbox_rack: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -640,7 +642,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_rack_role_module.rst b/docs/plugins/netbox_rack_role_module.rst old mode 100755 new mode 100644 index 2e1505285..d77d19002 --- a/docs/plugins/netbox_rack_role_module.rst +++ b/docs/plugins/netbox_rack_role_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_rack_role -- Create, update or delete racks roles within Netbox +netbox.netbox.netbox_rack_role -- Create, update or delete racks roles within NetBox ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes racks roles from Netbox +- Creates, updates or removes racks roles from NetBox .. Aliases @@ -162,7 +162,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -177,7 +177,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -192,7 +193,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -208,12 +209,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -229,7 +230,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -255,13 +257,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create rack role within Netbox with only required information + - name: Create rack role within NetBox with only required information netbox_rack_role: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -324,7 +326,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_rear_port_module.rst b/docs/plugins/netbox_rear_port_module.rst old mode 100755 new mode 100644 index 2c1ede7cc..73e57bf9c --- a/docs/plugins/netbox_rear_port_module.rst +++ b/docs/plugins/netbox_rear_port_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_rear_port -- Create, update or delete rear ports within Netbox +netbox.netbox.netbox_rear_port -- Create, update or delete rear ports within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes rear ports from Netbox +- Creates, updates or removes rear ports from NetBox .. Aliases @@ -225,7 +225,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -240,7 +240,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -255,7 +256,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -271,12 +272,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -292,7 +293,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -318,13 +320,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create rear port within Netbox with only required information + - name: Create rear port within NetBox with only required information netbox_rear_port: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -402,7 +404,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_rear_port_template_module.rst b/docs/plugins/netbox_rear_port_template_module.rst old mode 100755 new mode 100644 index 0c3a7cf75..7adce84b2 --- a/docs/plugins/netbox_rear_port_template_module.rst +++ b/docs/plugins/netbox_rear_port_template_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_rear_port_template -- Create, update or delete rear port templates within Netbox +netbox.netbox.netbox_rear_port_template -- Create, update or delete rear port templates within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes rear port templates from Netbox +- Creates, updates or removes rear port templates from NetBox .. Aliases @@ -193,7 +193,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -208,7 +208,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -223,7 +224,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -239,12 +240,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -260,7 +261,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -286,13 +288,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create rear port template within Netbox with only required information + - name: Create rear port template within NetBox with only required information netbox_rear_port_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -369,7 +371,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_region_module.rst b/docs/plugins/netbox_region_module.rst old mode 100755 new mode 100644 index 551e17f2f..488ab7291 --- a/docs/plugins/netbox_region_module.rst +++ b/docs/plugins/netbox_region_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_region -- Creates or removes regions from Netbox +netbox.netbox.netbox_region -- Creates or removes regions from NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes regions from Netbox +- Creates or removes regions from NetBox .. Aliases @@ -162,7 +162,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -177,7 +177,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -192,7 +193,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -208,12 +209,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -229,8 +230,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -256,12 +257,12 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox region module" + - name: "Test NetBox region module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create region within Netbox with only required information + - name: Create region within NetBox with only required information netbox.netbox.netbox_region: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -323,7 +324,7 @@ Common return values are documented :ref:`here `, the foll on creation -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_rir_module.rst b/docs/plugins/netbox_rir_module.rst old mode 100755 new mode 100644 index e176d68c0..5d04af160 --- a/docs/plugins/netbox_rir_module.rst +++ b/docs/plugins/netbox_rir_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_rir -- Create, update or delete RIRs within Netbox +netbox.netbox.netbox_rir -- Create, update or delete RIRs within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes RIRs from Netbox +- Creates, updates or removes RIRs from NetBox .. Aliases @@ -182,7 +182,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -197,7 +197,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -212,7 +213,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -228,12 +229,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -249,7 +250,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -275,13 +277,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create RIR within Netbox with only required information + - name: Create RIR within NetBox with only required information netbox_rir: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -352,7 +354,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_route_target_module.rst b/docs/plugins/netbox_route_target_module.rst old mode 100755 new mode 100644 index b3ec86257..b8379d470 --- a/docs/plugins/netbox_route_target_module.rst +++ b/docs/plugins/netbox_route_target_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_route_target -- Creates or removes route targets from Netbox +netbox.netbox.netbox_route_target -- Creates or removes route targets from NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes route targets from Netbox +- Creates or removes route targets from NetBox .. Aliases @@ -113,7 +113,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -193,7 +193,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -208,7 +208,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -223,7 +224,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -239,12 +240,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -260,8 +261,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -376,7 +377,7 @@ Common return values are documented :ref:`here `, the foll always -
Serialized object as created/existent/updated/deleted within Netbox
+
Serialized object as created/existent/updated/deleted within NetBox

diff --git a/docs/plugins/netbox_service_module.rst b/docs/plugins/netbox_service_module.rst old mode 100755 new mode 100644 index ed2ee1cf4..3f345e80f --- a/docs/plugins/netbox_service_module.rst +++ b/docs/plugins/netbox_service_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_service -- Creates or removes service from Netbox +netbox.netbox.netbox_service -- Creates or removes service from NetBox ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes service from Netbox +- Creates or removes service from NetBox .. Aliases @@ -113,7 +113,7 @@ Parameters -
Must exist in Netbox and in key/value format
+
Must exist in NetBox and in key/value format
@@ -273,7 +273,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -288,7 +288,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -303,7 +304,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -319,12 +320,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -340,7 +341,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
diff --git a/docs/plugins/netbox_site_group_module.rst b/docs/plugins/netbox_site_group_module.rst index e9acf737d..a2bba0c93 100644 --- a/docs/plugins/netbox_site_group_module.rst +++ b/docs/plugins/netbox_site_group_module.rst @@ -20,7 +20,7 @@ netbox.netbox.netbox_site_group -- Create, update, or delete site groups within .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -178,7 +178,7 @@ Parameters -
The token created within NetBox to authorize API access
+
The NetBox API token.
@@ -193,7 +193,8 @@ Parameters -
URL of the NetBox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -208,7 +209,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -224,12 +225,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -245,8 +246,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
diff --git a/docs/plugins/netbox_site_module.rst b/docs/plugins/netbox_site_module.rst old mode 100755 new mode 100644 index 703c1fb42..b4c9f3a1d --- a/docs/plugins/netbox_site_module.rst +++ b/docs/plugins/netbox_site_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_site -- Creates or removes sites from Netbox +netbox.netbox.netbox_site -- Creates or removes sites from NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes sites from Netbox +- Creates or removes sites from NetBox .. Aliases @@ -193,7 +193,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -235,7 +235,7 @@ Parameters latitude
- string + float
@@ -251,7 +251,7 @@ Parameters longitude
- string + float
@@ -436,7 +436,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -451,7 +451,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -466,7 +467,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -482,12 +483,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -503,8 +504,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -530,12 +531,12 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox site module" + - name: "Test NetBox site module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create site within Netbox with only required information + - name: Create site within NetBox with only required information netbox_site: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -622,7 +623,7 @@ Common return values are documented :ref:`here `, the foll on creation -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_tag_module.rst b/docs/plugins/netbox_tag_module.rst old mode 100755 new mode 100644 index acd9a206f..8a93476fc --- a/docs/plugins/netbox_tag_module.rst +++ b/docs/plugins/netbox_tag_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_tag -- Creates or removes tags from Netbox +netbox.netbox.netbox_tag -- Creates or removes tags from NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes tags from Netbox +- Creates or removes tags from NetBox .. Aliases @@ -178,7 +178,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -193,7 +193,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -208,7 +209,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -224,12 +225,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -245,8 +246,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -345,7 +346,7 @@ Common return values are documented :ref:`here `, the foll always -
Serialized object as created/existent/updated/deleted within Netbox
+
Serialized object as created/existent/updated/deleted within NetBox

diff --git a/docs/plugins/netbox_tenant_group_module.rst b/docs/plugins/netbox_tenant_group_module.rst old mode 100755 new mode 100644 index 04a2f7743..d02cd1731 --- a/docs/plugins/netbox_tenant_group_module.rst +++ b/docs/plugins/netbox_tenant_group_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_tenant_group -- Creates or removes tenant groups from Netbox +netbox.netbox.netbox_tenant_group -- Creates or removes tenant groups from NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes tenant groups from Netbox +- Creates or removes tenant groups from NetBox .. Aliases @@ -177,7 +177,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -192,7 +192,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -207,7 +208,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -223,12 +224,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -244,8 +245,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -271,12 +272,12 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox tenant group module" + - name: "Test NetBox tenant group module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create tenant within Netbox with only required information + - name: Create tenant within NetBox with only required information netbox_tenant_group: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -340,7 +341,7 @@ Common return values are documented :ref:`here `, the foll on creation -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_tenant_module.rst b/docs/plugins/netbox_tenant_module.rst old mode 100755 new mode 100644 index e5dcc9b59..391cf4428 --- a/docs/plugins/netbox_tenant_module.rst +++ b/docs/plugins/netbox_tenant_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_tenant -- Creates or removes tenants from Netbox +netbox.netbox.netbox_tenant -- Creates or removes tenants from NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes tenants from Netbox +- Creates or removes tenants from NetBox .. Aliases @@ -129,7 +129,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -225,7 +225,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -240,7 +240,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -255,7 +256,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -271,12 +272,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -292,8 +293,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -319,12 +320,12 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox module" + - name: "Test NetBox module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create tenant within Netbox with only required information + - name: Create tenant within NetBox with only required information netbox_tenant: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -402,7 +403,7 @@ Common return values are documented :ref:`here `, the foll on creation -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_virtual_chassis_module.rst b/docs/plugins/netbox_virtual_chassis_module.rst old mode 100755 new mode 100644 index 415bd11d0..088edda15 --- a/docs/plugins/netbox_virtual_chassis_module.rst +++ b/docs/plugins/netbox_virtual_chassis_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_virtual_chassis -- Create, update or delete virtual chassis within Netbox +netbox.netbox.netbox_virtual_chassis -- Create, update or delete virtual chassis within NetBox ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes virtual chassis from Netbox +- Creates, updates or removes virtual chassis from NetBox .. Aliases @@ -103,6 +103,22 @@ Parameters +
+ custom_fields + +
+ dictionary +
+ + + + +
must exist in NetBox
+ + + + +
domain @@ -177,7 +193,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -192,7 +208,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -207,7 +224,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -223,12 +240,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -244,7 +261,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -270,13 +288,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create virtual chassis within Netbox with only required information + - name: Create virtual chassis within NetBox with only required information netbox_virtual_chassis: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -290,7 +308,7 @@ Examples netbox_url: http://netbox.local netbox_token: thisIsMyToken data: - master: Test Device + name: "Virtual Chassis 1" domain: Domain Text state: present @@ -299,7 +317,7 @@ Examples netbox_url: http://netbox.local netbox_token: thisIsMyToken data: - master: Test Device + name: "Virtual Chassis 1" state: absent @@ -348,7 +366,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_virtual_machine_module.rst b/docs/plugins/netbox_virtual_machine_module.rst old mode 100755 new mode 100644 index d4857fb92..c7d764785 --- a/docs/plugins/netbox_virtual_machine_module.rst +++ b/docs/plugins/netbox_virtual_machine_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_virtual_machine -- Create, update or delete virtual_machines within Netbox +netbox.netbox.netbox_virtual_machine -- Create, update or delete virtual_machines within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes virtual_machines from Netbox +- Creates, updates or removes virtual_machines from NetBox .. Aliases @@ -145,7 +145,7 @@ Parameters -
Must exist in Netbox
+
Must exist in NetBox
@@ -369,7 +369,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -384,7 +384,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -399,7 +400,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -415,12 +416,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -436,7 +437,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -462,12 +464,12 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create virtual machine within Netbox with only required information + - name: Create virtual machine within NetBox with only required information netbox_virtual_machine: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -554,7 +556,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_vlan_group_module.rst b/docs/plugins/netbox_vlan_group_module.rst old mode 100755 new mode 100644 index 7e66d8e99..aa6d7ac88 --- a/docs/plugins/netbox_vlan_group_module.rst +++ b/docs/plugins/netbox_vlan_group_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_vlan_group -- Create, update or delete vlans groups within Netbox +netbox.netbox.netbox_vlan_group -- Create, update or delete vlans groups within NetBox ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes vlans groups from Netbox +- Creates, updates or removes vlans groups from NetBox .. Aliases @@ -116,7 +116,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -248,7 +248,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -263,7 +263,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -278,7 +279,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -294,12 +295,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -315,7 +316,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -341,13 +343,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create vlan group within Netbox with only required information - Pre 2.11 + - name: Create vlan group within NetBox with only required information - Pre 2.11 netbox_vlan_group: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -356,7 +358,7 @@ Examples site: Test Site state: present - - name: Create vlan group within Netbox with only required information - Post 2.11 + - name: Create vlan group within NetBox with only required information - Post 2.11 netbox_vlan_group: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -420,7 +422,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_vlan_module.rst b/docs/plugins/netbox_vlan_module.rst old mode 100755 new mode 100644 index abcc1df52..33bee3fd2 --- a/docs/plugins/netbox_vlan_module.rst +++ b/docs/plugins/netbox_vlan_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_vlan -- Create, update or delete vlans within Netbox +netbox.netbox.netbox_vlan -- Create, update or delete vlans within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes vlans from Netbox +- Creates, updates or removes vlans from NetBox .. Aliases @@ -113,7 +113,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -273,7 +273,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -288,7 +288,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -303,7 +304,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -319,12 +320,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -340,7 +341,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -366,13 +368,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create vlan within Netbox with only required information + - name: Create vlan within NetBox with only required information netbox_vlan: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -453,7 +455,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_vm_interface_module.rst b/docs/plugins/netbox_vm_interface_module.rst old mode 100755 new mode 100644 index 8bb8df352..6216c4c88 --- a/docs/plugins/netbox_vm_interface_module.rst +++ b/docs/plugins/netbox_vm_interface_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_vm_interface -- Creates or removes interfaces from virtual machines in Netbox +netbox.netbox.netbox_vm_interface -- Creates or removes interfaces from virtual machines in NetBox ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates or removes interfaces from virtual machines in Netbox +- Creates or removes interfaces from virtual machines in NetBox .. Aliases @@ -103,6 +103,25 @@ Parameters +
+ custom_fields + +
+ dictionary +
+
+ added in 3.4.0 of netbox.netbox +
+ + + + +
Must exist in NetBox
+ + + + +
description @@ -296,7 +315,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -311,7 +330,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -326,7 +346,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -342,12 +362,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -363,8 +383,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -390,12 +410,12 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox interface module" + - name: "Test NetBox interface module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create interface within Netbox with only required information + - name: Create interface within NetBox with only required information netbox_vm_interface: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -464,7 +484,7 @@ Common return values are documented :ref:`here `, the foll on creation -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/docs/plugins/netbox_vrf_module.rst b/docs/plugins/netbox_vrf_module.rst old mode 100755 new mode 100644 index 7bdeef2b1..dbce5611e --- a/docs/plugins/netbox_vrf_module.rst +++ b/docs/plugins/netbox_vrf_module.rst @@ -14,13 +14,13 @@ .. Title -netbox.netbox.netbox_vrf -- Create, update or delete vrfs within Netbox +netbox.netbox.netbox_vrf -- Create, update or delete vrfs within NetBox +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. Collection note .. note:: - This plugin is part of the `netbox.netbox collection `_ (version 3.3.0). + This plugin is part of the `netbox.netbox collection `_ (version 3.4.0). To install it use: :code:`ansible-galaxy collection install netbox.netbox`. @@ -42,7 +42,7 @@ Synopsis .. Description -- Creates, updates or removes vrfs from Netbox +- Creates, updates or removes vrfs from NetBox .. Aliases @@ -113,7 +113,7 @@ Parameters -
must exist in Netbox
+
must exist in NetBox
@@ -267,7 +267,7 @@ Parameters -
The token created within Netbox to authorize API access
+
The NetBox API token.
@@ -282,7 +282,8 @@ Parameters -
URL of the Netbox instance resolvable by Ansible control host
+
The URL of the NetBox instance.
+
Must be accessible by the Ansible control host.
@@ -297,7 +298,7 @@ Parameters -
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined
+
This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined
in plugins/module_utils/netbox_utils.py and provides control to users on what may make
an object unique in their environment.
@@ -313,12 +314,12 @@ Parameters
    Choices: -
  • absent
  • -
  • present ←
  • +
  • present ←
  • +
  • absent
-
Use present or absent for adding or removing.
+
The state of the object.
@@ -334,7 +335,8 @@ Parameters Default:
"yes"
-
If no, SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
+
If no, SSL certificates will not be validated.
+
This should only be used on personally controlled sites using a self-signed certificates.
@@ -360,13 +362,13 @@ Examples .. code-block:: yaml+jinja - - name: "Test Netbox modules" + - name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create vrf within Netbox with only required information + - name: Create vrf within NetBox with only required information netbox_vrf: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -446,7 +448,7 @@ Common return values are documented :ref:`here `, the foll success (when state=present) -
Serialized object as created or already existent within Netbox
+
Serialized object as created or already existent within NetBox

diff --git a/galaxy.yml b/galaxy.yml index a45d6aad1..1d7e2068e 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -9,7 +9,7 @@ namespace: netbox name: netbox # The version of the collection. Must be compatible with semantic versioning -version: 3.3.0 +version: 3.4.0 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md diff --git a/plugins/doc_fragments/common.py b/plugins/doc_fragments/common.py new file mode 100644 index 000000000..47a7895d9 --- /dev/null +++ b/plugins/doc_fragments/common.py @@ -0,0 +1,53 @@ +# -*- coding: utf-8 -*- + +# Copyright: (c) 2021, Devon Mar (@devon-mar) +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) + +from __future__ import absolute_import, division, print_function + +__metaclass__ = type + + +class ModuleDocFragment(object): + DOCUMENTATION = r""" +--- +options: + netbox_url: + description: + - The URL of the NetBox instance. + - Must be accessible by the Ansible control host. + required: true + type: str + netbox_token: + description: + - The NetBox API token. + required: true + type: str + state: + description: + - The state of the object. + choices: + - present + - absent + default: present + type: str + query_params: + description: + - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that are defined + - in plugins/module_utils/netbox_utils.py and provides control to users on what may make + - an object unique in their environment. + required: false + type: list + elements: str + validate_certs: + description: + - If C(no), SSL certificates will not be validated. + - This should only be used on personally controlled sites using a self-signed certificates. + default: true + type: raw + cert: + description: + - Certificate path + required: false + type: raw +""" diff --git a/plugins/inventory/nb_inventory.py b/plugins/inventory/nb_inventory.py index 1e6a2a974..8ac893b6e 100644 --- a/plugins/inventory/nb_inventory.py +++ b/plugins/inventory/nb_inventory.py @@ -114,7 +114,7 @@ description: - By default, fetching interfaces and services will get all of the contents of NetBox regardless of query_filters applied to devices and VMs. - When set to False, separate requests will be made fetching interfaces, services, and IP addresses for each device_id and virtual_machine_id. - - If you are using the various query_filters options to reduce the number of devices, you may find querying Netbox faster with fetch_all set to False. + - If you are using the various query_filters options to reduce the number of devices, you may find querying NetBox faster with fetch_all set to False. - For efficiency, when False, these requests will be batched, for example /api/dcim/interfaces?limit=0&device_id=1&device_id=2&device_id=3 - These GET request URIs can become quite large for a large number of devices. If you run into HTTP 414 errors, you can adjust the max_uri_length option to suit your web server. default: True @@ -172,7 +172,7 @@ type: list default: [] timeout: - description: Timeout for Netbox requests in seconds + description: Timeout for NetBox requests in seconds type: int default: 60 max_uri_length: @@ -253,11 +253,34 @@ keyed_groups: - prefix: status key: status.value + +# For use in Ansible Tower (AWX), please see this blog from RedHat: https://www.ansible.com/blog/using-an-inventory-plugin-from-a-collection-in-ansible-tower +# The credential for NetBox will need to expose NETBOX_API and NETBOX_TOKEN as environment variables. +# Example Ansible Tower credential Input Configuration: + +fields: + - id: NETBOX_API + type: string + label: NetBox Host URL + - id: NETBOX_TOKEN + type: string + label: NetBox API Token + secret: true +required: + - NETBOX_API + - NETBOX_TOKEN + +# Example Ansible Tower credential Injector Configuration: + +env: + NETBOX_API: '{{ NETBOX_API }}' + NETBOX_TOKEN: '{{ NETBOX_TOKEN }}' """ import json import uuid import math +import os from copy import deepcopy from functools import partial from sys import version as python_version @@ -268,6 +291,7 @@ from ipaddress import ip_interface from packaging import specifiers, version +from ansible.constants import DEFAULT_LOCAL_TMP from ansible.plugins.inventory import BaseInventoryPlugin, Constructable, Cacheable from ansible.module_utils.ansible_release import __version__ as ansible_version from ansible.errors import AnsibleError @@ -394,7 +418,7 @@ def query_string(value, separator="&"): # Issue netbox-community/netbox#3507 was fixed in v2.7.5 # If using NetBox v2.7.0-v2.7.4 will have to manually set max_uri_length to 0, # but it's probably faster to keep fetch_all: True - # (You should really just upgrade your Netbox install) + # (You should really just upgrade your NetBox install) chunk_size = 1 resources = [] @@ -662,10 +686,10 @@ def extract_tags(self, host): try: tag_zero = host["tags"][0] # Check the type of the first element in the "tags" array. - # If a dictionary (Netbox >= 2.9), return an array of tags' slugs. + # If a dictionary (NetBox >= 2.9), return an array of tags' slugs. if isinstance(tag_zero, dict): return list(sub["slug"] for sub in host["tags"]) - # If a string (Netbox <= 2.8), return the original "tags" array. + # If a string (NetBox <= 2.8), return the original "tags" array. elif isinstance(tag_zero, str): return host["tags"] # If tag_zero fails definition (no tags), return the empty array. @@ -809,7 +833,7 @@ def refresh_sites_lookup(self): self.sites_lookup = dict((site["id"], site["slug"]) for site in sites) def get_region_for_site(site): - # Will fail if site does not have a region defined in Netbox + # Will fail if site does not have a region defined in NetBox try: return (site["id"], site["region"]["id"]) except Exception: @@ -1194,9 +1218,30 @@ def wrapper(): thread_exceptions = None def fetch_api_docs(self): - openapi = self._fetch_information( - self.api_endpoint + "/api/docs/?format=openapi" - ) + try: + status = self._fetch_information(self.api_endpoint + "/api/status") + netbox_api_version = ".".join(status["netbox-version"].split(".")[:2]) + except: + netbox_api_version = 0 + + tmp_dir = os.path.split(DEFAULT_LOCAL_TMP)[0] + tmp_file = os.path.join(tmp_dir, "netbox_api_dump.json") + + try: + with open(tmp_file) as file: + openapi = json.load(file) + except: + openapi = {} + + cached_api_version = openapi.get("info", {}).get("version") + + if netbox_api_version != cached_api_version: + openapi = self._fetch_information( + self.api_endpoint + "/api/docs/?format=openapi" + ) + + with open(tmp_file, "w") as file: + json.dump(openapi, file) self.api_version = version.parse(openapi["info"]["version"]) self.allowed_device_query_parameters = [ @@ -1618,7 +1663,7 @@ def parse(self, inventory, loader, path, cache=True): self._read_config_data(path=path) self.use_cache = cache - # Netbox access + # NetBox access token = self.get_option("token") # Handle extra "/" from api_endpoint configuration and trim if necessary, see PR#49943 self.api_endpoint = self.get_option("api_endpoint").strip("/") diff --git a/plugins/lookup/nb_lookup.py b/plugins/lookup/nb_lookup.py index e35d41ba2..9b8be1314 100644 --- a/plugins/lookup/nb_lookup.py +++ b/plugins/lookup/nb_lookup.py @@ -6,7 +6,7 @@ """ netbox.py -A lookup function designed to return data from the Netbox application +A lookup function designed to return data from the NetBox application """ from __future__ import absolute_import, division, print_function @@ -42,19 +42,19 @@ lookup: nb_lookup author: Chris Mills (@cpmills1975) version_added: "2.9" - short_description: Queries and returns elements from Netbox + short_description: Queries and returns elements from NetBox description: - - Queries Netbox via its API to return virtually any information - capable of being held in Netbox. + - Queries NetBox via its API to return virtually any information + capable of being held in NetBox. - If wanting to obtain the plaintext attribute of a secret, I(private_key) or I(key_file) must be provided. options: _terms: description: - - The Netbox object type to query + - The NetBox object type to query required: True api_endpoint: description: - - The URL to the Netbox instance to query + - The URL to the NetBox instance to query env: # in order of precendence - name: NETBOX_API @@ -66,12 +66,12 @@ required: False plugin: description: - - The Netbox plugin to query + - The NetBox plugin to query required: False token: description: - - The API token created through Netbox - - This may not be required depending on the Netbox setup. + - The API token created through NetBox + - This may not be required depending on the NetBox setup. env: # in order of precendence - name: NETBOX_TOKEN @@ -102,7 +102,7 @@ EXAMPLES = """ tasks: # query a list of devices - - name: Obtain list of devices from Netbox + - name: Obtain list of devices from NetBox debug: msg: > "Device {{ item.value.display_name }} (ID: {{ item.key }}) was @@ -115,7 +115,7 @@ tasks: # query a list of devices - - name: Obtain list of devices from Netbox + - name: Obtain list of devices from NetBox debug: msg: > "Device {{ item.value.display_name }} (ID: {{ item.key }}) was @@ -156,13 +156,14 @@ def get_endpoint(netbox, term): """ get_endpoint(netbox, term) netbox: a predefined pynetbox.api() pointing to a valid instance - of Netbox + of NetBox term: the term passed to the lookup function upon which the api call will be identified """ netbox_endpoint_map = { "aggregates": {"endpoint": netbox.ipam.aggregates}, + "asns": {"endpoint": netbox.ipam.asns}, "circuit-terminations": {"endpoint": netbox.circuits.circuit_terminations}, "circuit-types": {"endpoint": netbox.circuits.circuit_types}, "circuits": {"endpoint": netbox.circuits.circuits}, @@ -171,40 +172,59 @@ def get_endpoint(netbox, term): "cluster-groups": {"endpoint": netbox.virtualization.cluster_groups}, "cluster-types": {"endpoint": netbox.virtualization.cluster_types}, "clusters": {"endpoint": netbox.virtualization.clusters}, + "config": {"endpoint": netbox.users.config}, "config-contexts": {"endpoint": netbox.extras.config_contexts}, "connected-device": {"endpoint": netbox.dcim.connected_device}, + "contact-assignments": {"endpoint": netbox.tenancy.contact_assignments}, + "contact-groups": {"endpoint": netbox.tenancy.contact_groups}, + "contact-roles": {"endpoint": netbox.tenancy.contact_roles}, + "contacts": {"endpoint": netbox.tenancy.contacts}, "console-connections": {"endpoint": netbox.dcim.console_connections}, + "console-port-templates": {"endpoint": netbox.dcim.console_port_templates}, "console-ports": {"endpoint": netbox.dcim.console_ports}, "console-server-port-templates": { "endpoint": netbox.dcim.console_server_port_templates }, "console-server-ports": {"endpoint": netbox.dcim.console_server_ports}, + "content-types": {"endpoint": netbox.extras.content_types}, + "custom-fields": {"endpoint": netbox.extras.custom_fields}, + "custom-links": {"endpoint": netbox.extras.custom_links}, "device-bay-templates": {"endpoint": netbox.dcim.device_bay_templates}, "device-bays": {"endpoint": netbox.dcim.device_bays}, "device-roles": {"endpoint": netbox.dcim.device_roles}, "device-types": {"endpoint": netbox.dcim.device_types}, "devices": {"endpoint": netbox.dcim.devices}, "export-templates": {"endpoint": netbox.dcim.export_templates}, + "fhrp-group-assignments": {"endpoint": netbox.ipam.fhrp_group_assignments}, + "fhrp-groups": {"endpoint": netbox.ipam.fhrp_groups}, "front-port-templates": {"endpoint": netbox.dcim.front_port_templates}, "front-ports": {"endpoint": netbox.dcim.front_ports}, "graphs": {"endpoint": netbox.extras.graphs}, + "groups": {"endpoint": netbox.users.groups}, "image-attachments": {"endpoint": netbox.extras.image_attachments}, "interface-connections": {"endpoint": netbox.dcim.interface_connections}, "interface-templates": {"endpoint": netbox.dcim.interface_templates}, "interfaces": {"endpoint": netbox.dcim.interfaces}, "inventory-items": {"endpoint": netbox.dcim.inventory_items}, "ip-addresses": {"endpoint": netbox.ipam.ip_addresses}, + "ip-ranges": {"endpoint": netbox.ipam.ip_ranges}, + "job-results": {"endpoint": netbox.extras.job_results}, + "journal-entries": {"endpoint": netbox.extras.journal_entries}, "locations": {"endpoint": netbox.dcim.locations}, "manufacturers": {"endpoint": netbox.dcim.manufacturers}, "object-changes": {"endpoint": netbox.extras.object_changes}, + "permissions": {"endpoint": netbox.users.permissions}, "platforms": {"endpoint": netbox.dcim.platforms}, "power-panels": {"endpoint": netbox.dcim.power_panels}, "power-connections": {"endpoint": netbox.dcim.power_connections}, + "power-feeds": {"endpoint": netbox.dcim.power_feeds}, "power-outlet-templates": {"endpoint": netbox.dcim.power_outlet_templates}, "power-outlets": {"endpoint": netbox.dcim.power_outlets}, "power-port-templates": {"endpoint": netbox.dcim.power_port_templates}, "power-ports": {"endpoint": netbox.dcim.power_ports}, "prefixes": {"endpoint": netbox.ipam.prefixes}, + "provider-networks": {"endpoint": netbox.circuits.provider_networks}, + "providers": {"endpoint": netbox.circuits.providers}, "rack-groups": {"endpoint": netbox.dcim.rack_groups}, "rack-reservations": {"endpoint": netbox.dcim.rack_reservations}, "rack-roles": {"endpoint": netbox.dcim.rack_roles}, @@ -215,20 +235,25 @@ def get_endpoint(netbox, term): "reports": {"endpoint": netbox.extras.reports}, "rirs": {"endpoint": netbox.ipam.rirs}, "roles": {"endpoint": netbox.ipam.roles}, + "route-targets": {"endpoint": netbox.ipam.route_targets}, "secret-roles": {"endpoint": netbox.secrets.secret_roles}, "secrets": {"endpoint": netbox.secrets.secrets}, "services": {"endpoint": netbox.ipam.services}, + "site-groups": {"endpoint": netbox.dcim.site_groups}, "sites": {"endpoint": netbox.dcim.sites}, "tags": {"endpoint": netbox.extras.tags}, "tenant-groups": {"endpoint": netbox.tenancy.tenant_groups}, "tenants": {"endpoint": netbox.tenancy.tenants}, + "tokens": {"endpoint": netbox.users.tokens}, "topology-maps": {"endpoint": netbox.extras.topology_maps}, + "users": {"endpoint": netbox.users.users}, "virtual-chassis": {"endpoint": netbox.dcim.virtual_chassis}, "virtual-machines": {"endpoint": netbox.virtualization.virtual_machines}, "virtualization-interfaces": {"endpoint": netbox.virtualization.interfaces}, "vlan-groups": {"endpoint": netbox.ipam.vlan_groups}, "vlans": {"endpoint": netbox.ipam.vlans}, "vrfs": {"endpoint": netbox.ipam.vrfs}, + "webhooks": {"endpoint": netbox.extras.webhooks}, } return netbox_endpoint_map[term]["endpoint"] @@ -262,7 +287,7 @@ def get_plugin_endpoint(netbox, plugin, term): """ get_plugin_endpoint(netbox, plugin, term) netbox: a predefined pynetbox.api() pointing to a valid instance - of Netbox + of NetBox plugin: a string referencing the plugin name term: the term passed to the lookup function upon which the api call will be identified @@ -374,7 +399,7 @@ def run(self, terms, variables=None, **kwargs): ) Display().vvvv( - u"Netbox lookup for %s to %s using token %s filter %s" + u"NetBox lookup for %s to %s using token %s filter %s" % (term, netbox_api_endpoint, netbox_api_token, netbox_api_filter) ) diff --git a/plugins/module_utils/netbox_circuits.py b/plugins/module_utils/netbox_circuits.py index 91cb63736..b1834277c 100644 --- a/plugins/module_utils/netbox_circuits.py +++ b/plugins/module_utils/netbox_circuits.py @@ -13,6 +13,7 @@ NB_PROVIDERS = "providers" +NB_PROVIDER_NETWORKS = "provider_networks" NB_CIRCUIT_TYPES = "circuit_types" NB_CIRCUIT_TERMINATIONS = "circuit_terminations" NB_CIRCUITS = "circuits" @@ -31,6 +32,7 @@ def run(self): - circuit_terminations - circuits - providers + - provider_networks """ # Used to dynamically set key when returning results endpoint_name = ENDPOINT_NAME_MAPPING[self.endpoint] diff --git a/plugins/module_utils/netbox_dcim.py b/plugins/module_utils/netbox_dcim.py index b3ba5d4c4..953ecef31 100644 --- a/plugins/module_utils/netbox_dcim.py +++ b/plugins/module_utils/netbox_dcim.py @@ -160,14 +160,18 @@ def run(self): ) ] else: - cables = [ - cable - for cable in nb_endpoint.all() - if cable.termination_a_type == data["termination_a_type"] - and cable.termination_a_id == data["termination_a_id"] - and cable.termination_b_type == data["termination_b_type"] - and cable.termination_b_id == data["termination_b_id"] - ] + # Attempt to find the exact cable via the interface + # relationship + interface_a = self.nb.dcim.interfaces.get(data["termination_a_id"]) + interface_b = self.nb.dcim.interfaces.get(data["termination_b_id"]) + if ( + interface_a.cable + and interface_b.cable + and interface_a.cable.id == interface_b.cable.id + ): + cables = [self.nb.dcim.cables.get(interface_a.cable.id)] + else: + cables = [] if len(cables) == 0: self.nb_object = None elif len(cables) == 1: diff --git a/plugins/module_utils/netbox_utils.py b/plugins/module_utils/netbox_utils.py index 516ca932b..8233dcfef 100644 --- a/plugins/module_utils/netbox_utils.py +++ b/plugins/module_utils/netbox_utils.py @@ -33,7 +33,13 @@ # Used to map endpoints to applications dynamically API_APPS_ENDPOINTS = dict( - circuits=["circuits", "circuit_types", "circuit_terminations", "providers"], + circuits=[ + "circuits", + "circuit_types", + "circuit_terminations", + "providers", + "provider_networks", + ], dcim=[ "cables", "console_ports", @@ -120,6 +126,7 @@ primary_ip4="address", primary_ip6="address", provider="slug", + provider_network="name", rack="name", rack_group="slug", rack_role="slug", @@ -197,6 +204,7 @@ "primary_ip4": "ip_addresses", "primary_ip6": "ip_addresses", "provider": "providers", + "provider_network": "provider_networks", "rack": "racks", "rack_group": "rack_groups", "rack_role": "rack_roles", @@ -267,6 +275,7 @@ "power_port_templates": "power_port_template", "prefixes": "prefix", "providers": "provider", + "provider_networks": "provider_network", "racks": "rack", "rack_groups": "rack_group", "rack_roles": "rack_role", @@ -362,6 +371,7 @@ "primary_ip4": set(["address", "vrf"]), "primary_ip6": set(["address", "vrf"]), "provider": set(["slug"]), + "provider_network": set(["name"]), "rack": set(["name", "site"]), "rack_group": set(["slug"]), "rack_role": set(["slug"]), @@ -435,7 +445,7 @@ "vlans": set(["status"]), } -# This is used to map non-clashing keys to Netbox API compliant keys to prevent bad logic in code for similar keys but different modules +# This is used to map non-clashing keys to NetBox API compliant keys to prevent bad logic in code for similar keys but different modules CONVERT_KEYS = { "assigned_object": "assigned_object_id", "scope": "scope_id", @@ -510,7 +520,7 @@ class NetboxModule(object): """ - Initialize connection to Netbox, sets AnsibleModule passed in to + Initialize connection to NetBox, sets AnsibleModule passed in to self.module to be used throughout the class :params module (obj): Ansible Module object :params endpoint (str): Used to tell class which endpoint the logic needs to follow @@ -528,13 +538,13 @@ def __init__(self, module, endpoint, nb_client=None): self.module.fail_json( msg=missing_required_lib("pynetbox"), exception=PYNETBOX_IMP_ERR ) - # These should not be required after making connection to Netbox + # These should not be required after making connection to NetBox url = self.module.params["netbox_url"] token = self.module.params["netbox_token"] ssl_verify = self.module.params["validate_certs"] cert = self.module.params["cert"] - # Attempt to initiate connection to Netbox + # Attempt to initiate connection to NetBox if nb_client is None: self.nb = self._connect_netbox_api(url, token, ssl_verify, cert) else: @@ -595,11 +605,11 @@ def _connect_netbox_api(self, url, token, ssl_verify, cert): self.module.fail_json(msg="Must have pynetbox >=4.1.0") except Exception: self.module.fail_json( - msg="Failed to establish connection to Netbox API" + msg="Failed to establish connection to NetBox API" ) return nb except Exception: - self.module.fail_json(msg="Failed to establish connection to Netbox API") + self.module.fail_json(msg="Failed to establish connection to NetBox API") def _nb_endpoint_get(self, nb_endpoint, query_params, search_item): try: @@ -669,7 +679,7 @@ def _convert_identical_keys(self, data): """ Used to change non-clashing keys for each module into identical keys that are required to be passed to pynetbox - ex. rack_role back into role to pass to Netbox + ex. rack_role back into role to pass to NetBox Returns data :params data (dict): Data dictionary after _find_ids method ran """ @@ -732,10 +742,10 @@ def _build_query_params( ): """ :returns dict(query_dict): Returns a query dictionary built using mappings to dynamically - build available query params for Netbox endpoints + build available query params for NetBox endpoints :params parent(str): This is either a key from `_find_ids` or a string passed in to determine which keys in the data that we need to use to construct `query_dict` - :params module_data(dict): Uses the data provided to the Netbox module + :params module_data(dict): Uses the data provided to the NetBox module :params child(dict): This is used within `_find_ids` and passes the inner dictionary to build the appropriate `query_dict` for the parent """ @@ -826,7 +836,7 @@ def _build_query_params( ) elif parent == "virtual_chassis": - query_dict = {"q": self.module.params["data"].get("master")} + query_dict.update({"master": self.module.params["data"].get("master")}) elif parent == "rear_port" and self.endpoint == "front_ports": if isinstance(module_data.get("rear_port"), str): @@ -1057,10 +1067,10 @@ def _to_slug(self, value): def _normalize_data(self, data): """ - :returns data (dict): Normalized module data to formats accepted by Netbox searches + :returns data (dict): Normalized module data to formats accepted by NetBox searches such as changing from user specified value to slug ex. Test Rack -> test-rack - :params data (dict): Original data from Netbox module + :params data (dict): Original data from NetBox module """ for k, v in data.items(): if isinstance(v, dict): @@ -1104,9 +1114,9 @@ def _normalize_data(self, data): return data def _create_netbox_object(self, nb_endpoint, data): - """Create a Netbox object. + """Create a NetBox object. :returns tuple(serialized_nb_obj, diff): tuple of the serialized created - Netbox object and the Ansible diff. + NetBox object and the Ansible diff. """ if self.check_mode: nb_obj = data @@ -1120,7 +1130,7 @@ def _create_netbox_object(self, nb_endpoint, data): return nb_obj, diff def _delete_netbox_object(self): - """Delete a Netbox object. + """Delete a NetBox object. :returns diff (dict): Ansible diff """ if not self.check_mode: @@ -1133,9 +1143,9 @@ def _delete_netbox_object(self): return diff def _update_netbox_object(self, data): - """Update a Netbox object. + """Update a NetBox object. :returns tuple(serialized_nb_obj, diff): tuple of the serialized updated - Netbox object and the Ansible diff. + NetBox object and the Ansible diff. """ serialized_nb_obj = self.nb_object.serialize() updated_obj = serialized_nb_obj.copy() @@ -1144,6 +1154,24 @@ def _update_netbox_object(self, data): serialized_nb_obj["tags"] = set(serialized_nb_obj["tags"]) updated_obj["tags"] = set(data["tags"]) + # Ensure idempotency for site and virtual machine on version pre-3.0 + version_pre_30 = self._version_check_greater("3.0", self.version) + if ( + serialized_nb_obj.get("latitude") + and data.get("latitude") + and version_pre_30 + ): + updated_obj["latitude"] = str(data["latitude"]) + if ( + serialized_nb_obj.get("longitude") + and data.get("longitude") + and version_pre_30 + ): + updated_obj["longitude"] = str(data["longitude"]) + + if serialized_nb_obj.get("vcpus") and data.get("vcpus") and version_pre_30: + updated_obj["vcpus"] = "{0:.2f}".format(data["vcpus"]) + if serialized_nb_obj == updated_obj: return serialized_nb_obj, None else: @@ -1222,11 +1250,11 @@ class NetboxAnsibleModule(AnsibleModule): """ Creating this due to needing to override some functionality to provide required_together, required_if and will be able to override more in the future. - This is due to the Netbox modules having the module arguments within a key in the argument spec, using suboptions rather than + This is due to the NetBox modules having the module arguments within a key in the argument spec, using suboptions rather than having all module arguments within the regular argument spec. - Didn't want to change that functionality of the Netbox modules as its disruptive and we're required to send a specific payload - to the Netbox API + Didn't want to change that functionality of the NetBox modules as its disruptive and we're required to send a specific payload + to the NetBox API """ def __init__( diff --git a/plugins/modules/netbox_aggregate.py b/plugins/modules/netbox_aggregate.py index 441a99ada..688194f9b 100644 --- a/plugins/modules/netbox_aggregate.py +++ b/plugins/modules/netbox_aggregate.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_aggregate -short_description: Creates or removes aggregates from Netbox +short_description: Creates or removes aggregates from NetBox description: - - Creates or removes aggregates from Netbox + - Creates or removes aggregates from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - "URL of the Netbox instance resolvable by Ansible control host" - required: true - type: str - netbox_token: - description: - - "The token created within Netbox to authorize API access" - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: description: - "Defines the aggregate configuration" @@ -76,39 +63,20 @@ elements: raw custom_fields: description: - - "must exist in Netbox" + - "must exist in NetBox" required: false type: dict required: true - state: - description: - - "The state of the aggregate" - choices: [ present, absent ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - "If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates." - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox aggregate module" +- name: "Test NetBox aggregate module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create aggregate within Netbox with only required information + - name: Create aggregate within NetBox with only required information netbox_aggregate: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -141,7 +109,7 @@ RETURN = r""" aggregate: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: on creation type: dict msg: diff --git a/plugins/modules/netbox_cable.py b/plugins/modules/netbox_cable.py index 29329a536..0159c1dd0 100644 --- a/plugins/modules/netbox_cable.py +++ b/plugins/modules/netbox_cable.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_cable -short_description: Create, update or delete cables within Netbox +short_description: Create, update or delete cables within NetBox description: - - Creates, updates or removes cables from Netbox + - Creates, updates or removes cables from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.3.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -156,35 +143,16 @@ required: false type: list elements: raw - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create cable within Netbox with only required information + - name: Create cable within NetBox with only required information netbox_cable: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -240,7 +208,7 @@ RETURN = r""" cable: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_circuit.py b/plugins/modules/netbox_circuit.py index 4675a51fd..563638905 100644 --- a/plugins/modules/netbox_circuit.py +++ b/plugins/modules/netbox_circuit.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_circuit -short_description: Create, update or delete circuits within Netbox +short_description: Create, update or delete circuits within NetBox description: - - Creates, updates or removes circuits from Netbox + - Creates, updates or removes circuits from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -102,38 +89,19 @@ elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create circuit within Netbox with only required information + - name: Create circuit within NetBox with only required information netbox_circuit: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -170,7 +138,7 @@ RETURN = r""" circuit: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_circuit_termination.py b/plugins/modules/netbox_circuit_termination.py index f7f46f4d4..28f19ce20 100644 --- a/plugins/modules/netbox_circuit_termination.py +++ b/plugins/modules/netbox_circuit_termination.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_circuit_termination -short_description: Create, update or delete circuit terminations within Netbox +short_description: Create, update or delete circuit terminations within NetBox description: - - Creates, updates or removes circuit terminations from Netbox + - Creates, updates or removes circuit terminations from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: required: true type: dict @@ -67,6 +54,11 @@ - The site the circuit termination will be assigned to required: false type: raw + provider_network: + description: + - The provider_network the circuit termination will be assigned to + required: false + type: raw port_speed: description: - The speed of the port (Kbps) @@ -92,35 +84,16 @@ - Description of the circuit termination required: false type: str - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create circuit termination within Netbox with only required information + - name: Create circuit termination within NetBox with only required information netbox_circuit_termination: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -156,7 +129,7 @@ RETURN = r""" circuit_termination: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: @@ -190,6 +163,7 @@ def main(): circuit=dict(required=True, type="raw"), term_side=dict(required=True, choices=["A", "Z"]), site=dict(required=False, type="raw"), + provider_network=dict(required=False, type="raw"), port_speed=dict(required=False, type="int"), upstream_speed=dict(required=False, type="int"), xconnect_id=dict(required=False, type="str"), diff --git a/plugins/modules/netbox_circuit_type.py b/plugins/modules/netbox_circuit_type.py index b9b156709..cafd7a436 100644 --- a/plugins/modules/netbox_circuit_type.py +++ b/plugins/modules/netbox_circuit_type.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_circuit_type -short_description: Create, update or delete circuit types within Netbox +short_description: Create, update or delete circuit types within NetBox description: - - Creates, updates or removes circuit types from Netbox + - Creates, updates or removes circuit types from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: required: true type: dict @@ -60,35 +47,16 @@ - This is auto-generated following NetBox rules if not provided required: false type: str - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create type within Netbox with only required information + - name: Create type within NetBox with only required information netbox_circuit_type: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -107,7 +75,7 @@ RETURN = r""" circuit_type: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_cluster.py b/plugins/modules/netbox_cluster.py index dc461abcf..2eddc7f3f 100644 --- a/plugins/modules/netbox_cluster.py +++ b/plugins/modules/netbox_cluster.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_cluster -short_description: Create, update or delete clusters within Netbox +short_description: Create, update or delete clusters within NetBox description: - - Creates, updates or removes clusters from Netbox + - Creates, updates or removes clusters from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: required: true type: dict @@ -87,38 +74,19 @@ elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create cluster within Netbox with only required information + - name: Create cluster within NetBox with only required information netbox_cluster: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -160,7 +128,7 @@ RETURN = r""" cluster: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_cluster_group.py b/plugins/modules/netbox_cluster_group.py index 130056b3a..a8e75395c 100644 --- a/plugins/modules/netbox_cluster_group.py +++ b/plugins/modules/netbox_cluster_group.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_cluster_group -short_description: Create, update or delete cluster groups within Netbox +short_description: Create, update or delete cluster groups within NetBox description: - - Creates, updates or removes cluster groups from Netbox + - Creates, updates or removes cluster groups from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: required: true type: dict @@ -60,35 +47,16 @@ - This is auto-generated following NetBox rules if not provided required: false type: str - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create cluster group within Netbox with only required information + - name: Create cluster group within NetBox with only required information netbox_cluster_group: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -107,7 +75,7 @@ RETURN = r""" cluster_group: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_cluster_type.py b/plugins/modules/netbox_cluster_type.py index 6f225258e..aed0bfd8d 100644 --- a/plugins/modules/netbox_cluster_type.py +++ b/plugins/modules/netbox_cluster_type.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_cluster_type -short_description: Create, update or delete cluster types within Netbox +short_description: Create, update or delete cluster types within NetBox description: - - Creates, updates or removes cluster types from Netbox + - Creates, updates or removes cluster types from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: required: true type: dict @@ -65,35 +52,16 @@ - The description of the cluster type required: false type: str - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create cluster type within Netbox with only required information + - name: Create cluster type within NetBox with only required information netbox_cluster_type: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -112,7 +80,7 @@ RETURN = r""" cluster_type: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_config_context.py b/plugins/modules/netbox_config_context.py index cb0d2185f..8331e29a3 100644 --- a/plugins/modules/netbox_config_context.py +++ b/plugins/modules/netbox_config_context.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_config_context -short_description: Creates, updates or deletes configuration contexts within Netbox +short_description: Creates, updates or deletes configuration contexts within NetBox description: - - Creates, updates or removes configuration contexts from Netbox + - Creates, updates or removes configuration contexts from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: "3.3.0" +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -134,31 +121,10 @@ type: list elements: str required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - | - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox config_context module" +- name: "Test NetBox config_context module" connection: local hosts: localhost gather_facts: False @@ -194,7 +160,7 @@ RETURN = r""" config_context: - description: Serialized object as created/existent/updated/deleted within Netbox + description: Serialized object as created/existent/updated/deleted within NetBox returned: always type: dict msg: diff --git a/plugins/modules/netbox_console_port.py b/plugins/modules/netbox_console_port.py index a972c7df3..c72ba176a 100644 --- a/plugins/modules/netbox_console_port.py +++ b/plugins/modules/netbox_console_port.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_console_port -short_description: Create, update or delete console ports within Netbox +short_description: Create, update or delete console ports within NetBox description: - - Creates, updates or removes console ports from Netbox + - Creates, updates or removes console ports from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -90,35 +77,16 @@ required: false type: list elements: raw - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create console port within Netbox with only required information + - name: Create console port within NetBox with only required information netbox_console_port: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -150,7 +118,7 @@ RETURN = r""" console_port: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_console_port_template.py b/plugins/modules/netbox_console_port_template.py index 6464b3e16..7c1c6fa81 100644 --- a/plugins/modules/netbox_console_port_template.py +++ b/plugins/modules/netbox_console_port_template.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_console_port_template -short_description: Create, update or delete console port templates within Netbox +short_description: Create, update or delete console port templates within NetBox description: - - Creates, updates or removes console port templates from Netbox + - Creates, updates or removes console port templates from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -79,35 +66,16 @@ - other required: false type: str - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create console port template within Netbox with only required information + - name: Create console port template within NetBox with only required information netbox_console_port_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -138,7 +106,7 @@ RETURN = r""" console_port_template: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_console_server_port.py b/plugins/modules/netbox_console_server_port.py index 80ecaa697..49e21bf2c 100644 --- a/plugins/modules/netbox_console_server_port.py +++ b/plugins/modules/netbox_console_server_port.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_console_server_port -short_description: Create, update or delete console server ports within Netbox +short_description: Create, update or delete console server ports within NetBox description: - - Creates, updates or removes console server ports from Netbox + - Creates, updates or removes console server ports from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -90,35 +77,16 @@ required: false type: list elements: raw - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create console server port within Netbox with only required information + - name: Create console server port within NetBox with only required information netbox_console_server_port: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -150,7 +118,7 @@ RETURN = r""" console_server_port: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_console_server_port_template.py b/plugins/modules/netbox_console_server_port_template.py index 5b139d9d4..6cdd53569 100644 --- a/plugins/modules/netbox_console_server_port_template.py +++ b/plugins/modules/netbox_console_server_port_template.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_console_server_port_template -short_description: Create, update or delete console server port templates within Netbox +short_description: Create, update or delete console server port templates within NetBox description: - - Creates, updates or removes console server port templates from Netbox + - Creates, updates or removes console server port templates from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -79,35 +66,16 @@ - other required: false type: str - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create console server port template within Netbox with only required information + - name: Create console server port template within NetBox with only required information netbox_console_server_port_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -138,7 +106,7 @@ RETURN = r""" console_server_port_template: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_device.py b/plugins/modules/netbox_device.py index 98c5e0bb2..57acbbdfa 100644 --- a/plugins/modules/netbox_device.py +++ b/plugins/modules/netbox_device.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_device -short_description: Create, update or delete devices within Netbox +short_description: Create, update or delete devices within NetBox description: - - Creates, updates or removes devices from Netbox + - Creates, updates or removes devices from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -29,22 +29,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: description: - Defines the device configuration @@ -163,7 +150,7 @@ elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict local_context_data: @@ -173,35 +160,16 @@ type: dict required: true type: dict - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create device within Netbox with only required information + - name: Create device within NetBox with only required information netbox_device: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -212,7 +180,7 @@ site: Main state: present - - name: Create device within Netbox with empty string name to generate UUID + - name: Create device within NetBox with empty string name to generate UUID netbox_device: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -260,7 +228,7 @@ RETURN = r""" device: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_device_bay.py b/plugins/modules/netbox_device_bay.py index 889fa1aa9..0148300eb 100644 --- a/plugins/modules/netbox_device_bay.py +++ b/plugins/modules/netbox_device_bay.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_device_bay -short_description: Create, update or delete device bays within Netbox +short_description: Create, update or delete device bays within NetBox description: - - Creates, updates or removes device bays from Netbox + - Creates, updates or removes device bays from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: description: - Defines the device bay configuration @@ -59,7 +46,7 @@ type: str description: description: - - The description of the device bay. This is supported on v2.6+ of Netbox + - The description of the device bay. This is supported on v2.6+ of NetBox required: false type: str installed_device: @@ -75,35 +62,16 @@ elements: raw type: dict required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create device bay within Netbox with only required information + - name: Create device bay within NetBox with only required information netbox_device_bay: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -135,7 +103,7 @@ RETURN = r""" device_bay: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_device_bay_template.py b/plugins/modules/netbox_device_bay_template.py index 6aa102719..83826b7b7 100644 --- a/plugins/modules/netbox_device_bay_template.py +++ b/plugins/modules/netbox_device_bay_template.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_device_bay_template -short_description: Create, update or delete device bay templates within Netbox +short_description: Create, update or delete device bay templates within NetBox description: - - Creates, updates or removes device bay templates from Netbox + - Creates, updates or removes device bay templates from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.3.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: description: - Defines the device bay template configuration @@ -60,35 +47,16 @@ type: str type: dict required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create device bay template within Netbox with only required information + - name: Create device bay template within NetBox with only required information netbox_device_bay_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -110,7 +78,7 @@ RETURN = r""" device_bay_template: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_device_interface.py b/plugins/modules/netbox_device_interface.py index a7a5022a1..94b89230d 100644 --- a/plugins/modules/netbox_device_interface.py +++ b/plugins/modules/netbox_device_interface.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_device_interface -short_description: Creates or removes interfaces on devices from Netbox +short_description: Creates or removes interfaces on devices from NetBox description: - - Creates or removes interfaces from Netbox + - Creates or removes interfaces from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: "0.1.0" +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: description: - Defines the interface configuration @@ -143,7 +130,7 @@ type: bool custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict required: true @@ -155,36 +142,15 @@ - | Use when master device is specified for C(device) and the specified interface exists on a child device and needs updated - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - | - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox interface module" +- name: "Test NetBox interface module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create interface within Netbox with only required information + - name: Create interface within NetBox with only required information netbox_device_interface: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -270,7 +236,7 @@ RETURN = r""" interface: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: on creation type: dict msg: diff --git a/plugins/modules/netbox_device_interface_template.py b/plugins/modules/netbox_device_interface_template.py index de7bd9425..091de6b4c 100644 --- a/plugins/modules/netbox_device_interface_template.py +++ b/plugins/modules/netbox_device_interface_template.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_device_interface_template -short_description: Creates or removes interfaces on devices from Netbox +short_description: Creates or removes interfaces on devices from NetBox description: - - Creates or removes interfaces from Netbox + - Creates or removes interfaces from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: "0.3.0" +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: description: - Defines the prefix configuration @@ -73,36 +60,15 @@ type: bool required: true type: dict - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - | - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox interface template module" +- name: "Test NetBox interface template module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create interface template within Netbox with only required information + - name: Create interface template within NetBox with only required information netbox_device_interface_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -124,7 +90,7 @@ RETURN = r""" interface_template: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: on creation type: dict msg: diff --git a/plugins/modules/netbox_device_role.py b/plugins/modules/netbox_device_role.py index 9ff42d672..80a015114 100644 --- a/plugins/modules/netbox_device_role.py +++ b/plugins/modules/netbox_device_role.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_device_role -short_description: Create, update or delete devices roles within Netbox +short_description: Create, update or delete devices roles within NetBox description: - - Creates, updates or removes devices roles from Netbox + - Creates, updates or removes devices roles from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: description: - Defines the device role configuration @@ -74,35 +61,16 @@ type: bool required: true type: dict - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create device role within Netbox with only required information + - name: Create device role within NetBox with only required information netbox_device_role: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -122,7 +90,7 @@ RETURN = r""" device_role: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_device_type.py b/plugins/modules/netbox_device_type.py index bd797bd35..c0ef91876 100644 --- a/plugins/modules/netbox_device_type.py +++ b/plugins/modules/netbox_device_type.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_device_type -short_description: Create, update or delete device types within Netbox +short_description: Create, update or delete device types within NetBox description: - - Creates, updates or removes device types from Netbox + - Creates, updates or removes device types from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: description: - Defines the device type configuration @@ -102,40 +89,21 @@ elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict required: true type: dict - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create device type within Netbox with only required information + - name: Create device type within NetBox with only required information netbox_device_type: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -145,7 +113,7 @@ manufacturer: Test Manufacturer state: present - - name: Create device type within Netbox with only required information + - name: Create device type within NetBox with only required information netbox_device_type: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -170,7 +138,7 @@ RETURN = r""" device_type: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_front_port.py b/plugins/modules/netbox_front_port.py index 50d7481a4..cda5705cc 100644 --- a/plugins/modules/netbox_front_port.py +++ b/plugins/modules/netbox_front_port.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_front_port -short_description: Create, update or delete front ports within Netbox +short_description: Create, update or delete front ports within NetBox description: - - Creates, updates or removes front ports from Netbox + - Creates, updates or removes front ports from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -84,7 +71,7 @@ description: - The rear_port the front port is attached to required: true - type: raw + type: raw rear_port_position: description: - The position of the rear port this front port is connected to @@ -101,35 +88,16 @@ required: false type: list elements: raw - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create front port within Netbox with only required information + - name: Create front port within NetBox with only required information netbox_front_port: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -167,7 +135,7 @@ RETURN = r""" front_port: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_front_port_template.py b/plugins/modules/netbox_front_port_template.py index 1cb7ec5f4..1feacc71c 100644 --- a/plugins/modules/netbox_front_port_template.py +++ b/plugins/modules/netbox_front_port_template.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_front_port_template -short_description: Create, update or delete front port templates within Netbox +short_description: Create, update or delete front port templates within NetBox description: - - Creates, updates or removes front port templates from Netbox + - Creates, updates or removes front port templates from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -84,41 +71,22 @@ description: - The rear_port_template the front port template is attached to required: true - type: raw + type: raw rear_port_template_position: description: - The position of the rear port template this front port template is connected to required: false type: int - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create front port template within Netbox with only required information + - name: Create front port template within NetBox with only required information netbox_front_port_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -155,7 +123,7 @@ RETURN = r""" front_port_template: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_inventory_item.py b/plugins/modules/netbox_inventory_item.py index b517b20be..ce200c855 100644 --- a/plugins/modules/netbox_inventory_item.py +++ b/plugins/modules/netbox_inventory_item.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_inventory_item -short_description: Creates or removes inventory items from Netbox +short_description: Creates or removes inventory items from NetBox description: - - Creates or removes inventory items from Netbox + - Creates or removes inventory items from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: "0.1.0" +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -58,6 +45,12 @@ - Name of the inventory item to be created required: true type: str + label: + description: + - The physical label of the inventory item + required: false + type: str + version_added: "3.4.0" manufacturer: description: - The manufacturer of the inventory item @@ -95,37 +88,22 @@ required: false type: list elements: raw + custom_fields: + description: + - must exist in Netbox + required: false + type: dict + version_added: "3.4.0" required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - | - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox inventory_item module" +- name: "Test NetBox inventory_item module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create inventory item within Netbox with only required information + - name: Create inventory item within NetBox with only required information netbox_inventory_item: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -160,7 +138,7 @@ RETURN = r""" inventory_item: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: on creation type: dict msg: @@ -193,6 +171,7 @@ def main(): options=dict( device=dict(required=False, type="raw"), name=dict(required=True, type="str"), + label=dict(required=False, type="str"), manufacturer=dict(required=False, type="raw"), part_id=dict(required=False, type="str"), serial=dict(required=False, type="str"), @@ -200,6 +179,7 @@ def main(): description=dict(required=False, type="str"), discovered=dict(required=False, type="bool", default=False), tags=dict(required=False, type="list", elements="raw"), + custom_fields=dict(required=False, type="dict"), ), ), ) diff --git a/plugins/modules/netbox_ip_address.py b/plugins/modules/netbox_ip_address.py index 8a6faa30d..7717e366e 100644 --- a/plugins/modules/netbox_ip_address.py +++ b/plugins/modules/netbox_ip_address.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_ip_address -short_description: Creates or removes IP addresses from Netbox +short_description: Creates or removes IP addresses from NetBox description: - - Creates or removes IP addresses from Netbox + - Creates or removes IP addresses from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -29,22 +29,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -158,7 +145,7 @@ elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict required: true @@ -172,29 +159,16 @@ choices: [ absent, new, present ] default: present type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox IP address module" +- name: "Test NetBox IP address module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create IP address within Netbox with only required information + - name: Create IP address within NetBox with only required information netbox_ip_address: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -286,7 +260,7 @@ RETURN = r""" ip_address: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: on creation type: dict msg: diff --git a/plugins/modules/netbox_ipam_role.py b/plugins/modules/netbox_ipam_role.py index 9c2077ff0..dfa6cfc0e 100644 --- a/plugins/modules/netbox_ipam_role.py +++ b/plugins/modules/netbox_ipam_role.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_ipam_role -short_description: Creates or removes ipam roles from Netbox +short_description: Creates or removes ipam roles from NetBox description: - - Creates or removes ipam roles from Netbox + - Creates or removes ipam roles from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: "0.1.0" +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -70,36 +57,15 @@ required: false type: int required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - | - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox module" +- name: "Test NetBox module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create ipam role within Netbox with only required information + - name: Create ipam role within NetBox with only required information netbox_ipam_role: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -118,7 +84,7 @@ RETURN = r""" role: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: on creation type: dict msg: diff --git a/plugins/modules/netbox_location.py b/plugins/modules/netbox_location.py index ac32d83a8..869de421c 100644 --- a/plugins/modules/netbox_location.py +++ b/plugins/modules/netbox_location.py @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '3.3.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the NetBox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within NetBox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -70,30 +57,11 @@ required: false type: raw description: - description: + description: - The description of the location required: false type: str required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" diff --git a/plugins/modules/netbox_manufacturer.py b/plugins/modules/netbox_manufacturer.py index dff73bf97..fed2e5455 100644 --- a/plugins/modules/netbox_manufacturer.py +++ b/plugins/modules/netbox_manufacturer.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_manufacturer -short_description: Create or delete manufacturers within Netbox +short_description: Create or delete manufacturers within NetBox description: - - Creates or removes manufacturers from Netbox + - Creates or removes manufacturers from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -65,35 +52,16 @@ required: false type: str required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create manufacturer within Netbox with only required information + - name: Create manufacturer within NetBox with only required information netbox_manufacturer: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -112,7 +80,7 @@ RETURN = r""" manufacturer: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_platform.py b/plugins/modules/netbox_platform.py index 2695cdf3c..07edef2e2 100644 --- a/plugins/modules/netbox_platform.py +++ b/plugins/modules/netbox_platform.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_platform -short_description: Create or delete platforms within Netbox +short_description: Create or delete platforms within NetBox description: - - Creates or removes platforms from Netbox + - Creates or removes platforms from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -80,35 +67,16 @@ required: false type: dict required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create platform within Netbox with only required information + - name: Create platform within NetBox with only required information netbox_platform: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -116,7 +84,7 @@ name: Test Platform state: present - - name: Create platform within Netbox with only required information + - name: Create platform within NetBox with only required information netbox_platform: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -139,7 +107,7 @@ RETURN = r""" platform: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_power_feed.py b/plugins/modules/netbox_power_feed.py index 245e05604..d7102b699 100644 --- a/plugins/modules/netbox_power_feed.py +++ b/plugins/modules/netbox_power_feed.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_power_feed -short_description: Create, update or delete power feeds within Netbox +short_description: Create, update or delete power feeds within NetBox description: - - Creates, updates or removes power feeds from Netbox + - Creates, updates or removes power feeds from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -127,38 +114,19 @@ elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create power feed within Netbox with only required information + - name: Create power feed within NetBox with only required information netbox_power_feed: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -196,7 +164,7 @@ RETURN = r""" power_feed: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_power_outlet.py b/plugins/modules/netbox_power_outlet.py index 73dc8bf4c..fc94f75c7 100644 --- a/plugins/modules/netbox_power_outlet.py +++ b/plugins/modules/netbox_power_outlet.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_power_outlet -short_description: Create, update or delete power outlets within Netbox +short_description: Create, update or delete power outlets within NetBox description: - - Creates, updates or removes power outlets from Netbox + - Creates, updates or removes power outlets from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -145,35 +132,16 @@ required: false type: list elements: raw - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create power port within Netbox with only required information + - name: Create power port within NetBox with only required information netbox_power_outlet: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -207,7 +175,7 @@ RETURN = r""" power_outlet: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_power_outlet_template.py b/plugins/modules/netbox_power_outlet_template.py index 9318a7652..ed6b2f0d6 100644 --- a/plugins/modules/netbox_power_outlet_template.py +++ b/plugins/modules/netbox_power_outlet_template.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_power_outlet_template -short_description: Create, update or delete power outlet templates within Netbox +short_description: Create, update or delete power outlet templates within NetBox description: - - Creates, updates or removes power outlet templates from Netbox + - Creates, updates or removes power outlet templates from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -134,35 +121,16 @@ - C required: false type: str - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create power outlet template within Netbox with only required information + - name: Create power outlet template within NetBox with only required information netbox_power_outlet_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -195,7 +163,7 @@ RETURN = r""" power_outlet_template: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_power_panel.py b/plugins/modules/netbox_power_panel.py index 17a47793f..681cb379a 100644 --- a/plugins/modules/netbox_power_panel.py +++ b/plugins/modules/netbox_power_panel.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_power_panel -short_description: Create, update or delete power panels within Netbox +short_description: Create, update or delete power panels within NetBox description: - - Creates, updates or removes power panels from Netbox + - Creates, updates or removes power panels from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -72,35 +59,16 @@ - The name of the power panel required: true type: str - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create power panel within Netbox with only required information + - name: Create power panel within NetBox with only required information netbox_power_panel: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -119,7 +87,7 @@ rack_group: Test Rack Group state: present - - name: Create power panel within Netbox with only required information - Post 2.11 + - name: Create power panel within NetBox with only required information - Post 2.11 netbox_power_panel: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -141,7 +109,7 @@ RETURN = r""" power_panel: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_power_port.py b/plugins/modules/netbox_power_port.py index aca06eefe..6c7630005 100644 --- a/plugins/modules/netbox_power_port.py +++ b/plugins/modules/netbox_power_port.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_power_port -short_description: Create, update or delete power ports within Netbox +short_description: Create, update or delete power ports within NetBox description: - - Creates, updates or removes power ports from Netbox + - Creates, updates or removes power ports from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -141,35 +128,16 @@ required: false type: list elements: raw - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create power port within Netbox with only required information + - name: Create power port within NetBox with only required information netbox_power_port: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -203,7 +171,7 @@ RETURN = r""" power_port: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_power_port_template.py b/plugins/modules/netbox_power_port_template.py index 0f73ca4ee..d6aedf55b 100644 --- a/plugins/modules/netbox_power_port_template.py +++ b/plugins/modules/netbox_power_port_template.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_power_port_template -short_description: Create, update or delete power port templates within Netbox +short_description: Create, update or delete power port templates within NetBox description: - - Creates, updates or removes power port templates from Netbox + - Creates, updates or removes power port templates from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -130,35 +117,16 @@ - The maximum permissible draw of the power port in watt required: false type: int - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create power port within Netbox with only required information + - name: Create power port within NetBox with only required information netbox_power_port_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -191,7 +159,7 @@ RETURN = r""" power_port_template: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_prefix.py b/plugins/modules/netbox_prefix.py index ebba96298..e1a7aecf6 100644 --- a/plugins/modules/netbox_prefix.py +++ b/plugins/modules/netbox_prefix.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_prefix -short_description: Creates or removes prefixes from Netbox +short_description: Creates or removes prefixes from NetBox description: - - Creates or removes prefixes from Netbox + - Creates or removes prefixes from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -29,22 +29,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -120,16 +107,10 @@ elements: raw custom_fields: description: - - Must exist in Netbox and in key/value format + - Must exist in NetBox and in key/value format required: false type: dict required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str first_available: description: - If C(yes) and state C(present), if an parent is given, it will get the @@ -138,29 +119,16 @@ Unused with state C(absent). default: false type: bool - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox prefix module" +- name: "Test NetBox prefix module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create prefix within Netbox with only required information + - name: Create prefix within NetBox with only required information netbox_prefix: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -199,7 +167,7 @@ - Schnozzberry state: present - - name: Get a new /24 inside 10.156.0.0/19 within Netbox - Parent doesn't exist + - name: Get a new /24 inside 10.156.0.0/19 within NetBox - Parent doesn't exist netbox_prefix: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -209,7 +177,7 @@ state: present first_available: yes - - name: Create prefix within Netbox with only required information + - name: Create prefix within NetBox with only required information netbox_prefix: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -217,7 +185,7 @@ prefix: 10.156.0.0/19 state: present - - name: Get a new /24 inside 10.156.0.0/19 within Netbox + - name: Get a new /24 inside 10.156.0.0/19 within NetBox netbox_prefix: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -227,7 +195,7 @@ state: present first_available: yes - - name: Get a new /24 inside 10.157.0.0/19 within Netbox with additional values + - name: Get a new /24 inside 10.157.0.0/19 within NetBox with additional values netbox_prefix: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -242,7 +210,7 @@ RETURN = r""" prefix: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: on creation type: dict msg: diff --git a/plugins/modules/netbox_provider.py b/plugins/modules/netbox_provider.py index 174052db1..02e4b9aca 100644 --- a/plugins/modules/netbox_provider.py +++ b/plugins/modules/netbox_provider.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_provider -short_description: Create, update or delete providers within Netbox +short_description: Create, update or delete providers within NetBox description: - - Creates, updates or removes providers from Netbox + - Creates, updates or removes providers from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -92,39 +79,20 @@ elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create provider within Netbox with only required information + - name: Create provider within NetBox with only required information netbox_provider: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -157,7 +125,7 @@ RETURN = r""" provider: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_provider_network.py b/plugins/modules/netbox_provider_network.py new file mode 100644 index 000000000..fee0a36f2 --- /dev/null +++ b/plugins/modules/netbox_provider_network.py @@ -0,0 +1,162 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- + +# Copyright: (c) 2019, Mikhail Yohman (@FragmentedPacket) +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) + +from __future__ import absolute_import, division, print_function + +__metaclass__ = type + +DOCUMENTATION = r""" +--- +module: netbox_provider_network +short_description: Create, update or delete provider networks within NetBox +description: + - Creates, updates or removes provider networks from NetBox +notes: + - Tags should be defined as a YAML list + - This should be ran with connection C(local) and hosts C(localhost) +author: + - Martin Rødvand (@rodvand) +requirements: + - pynetbox +version_added: '3.4.0' +extends_documentation_fragment: + - netbox.netbox.common +options: + data: + type: dict + description: + - Defines the provider network configuration + suboptions: + provider: + description: + - The name of the provider + required: true + type: raw + name: + description: + - The name of the provider network + required: true + type: str + description: + description: + - Description related to the provider network + required: false + type: str + comments: + description: + - Comments related to the provider network + required: false + type: str + tags: + description: + - Any tags that the provdier_network may need to be associated with + required: false + type: list + elements: raw + custom_fields: + description: + - must exist in NetBox + required: false + type: dict + required: true +""" + +EXAMPLES = r""" +- name: "Test NetBox modules" + connection: local + hosts: localhost + gather_facts: False + + tasks: + - name: Create provider network within NetBox with only required information + netbox_provider_network: + netbox_url: http://netbox.local + netbox_token: thisIsMyToken + data: + provider: Test Provider + name: Test Provider Network + state: present + + - name: Update provider with other fields + netbox_provider_network: + netbox_url: http://netbox.local + netbox_token: thisIsMyToken + data: + provider: Test Provider + name: Test Provider Network + description: Describe a Provider Network + comments: "A Provider Network" + state: present + + - name: Delete provider within netbox + netbox_provider_network: + netbox_url: http://netbox.local + netbox_token: thisIsMyToken + data: + provider: test Provider + name: Test Provider Network + state: absent +""" + +RETURN = r""" +provider_network: + description: Serialized object as created or already existent within NetBox + returned: success (when I(state=present)) + type: dict +msg: + description: Message indicating failure or info about what has been achieved + returned: always + type: str +""" + +from ansible_collections.netbox.netbox.plugins.module_utils.netbox_utils import ( + NetboxAnsibleModule, + NETBOX_ARG_SPEC, +) +from ansible_collections.netbox.netbox.plugins.module_utils.netbox_circuits import ( + NetboxCircuitsModule, + NB_PROVIDER_NETWORKS, +) +from copy import deepcopy + + +def main(): + """ + Main entry point for module execution + """ + argument_spec = deepcopy(NETBOX_ARG_SPEC) + argument_spec.update( + dict( + data=dict( + type="dict", + required=True, + options=dict( + provider=dict(required=True, type="raw"), + name=dict(required=True, type="str"), + description=dict(required=False, type="str"), + comments=dict(required=False, type="str"), + tags=dict(required=False, type="list", elements="raw"), + custom_fields=dict(required=False, type="dict"), + ), + ), + ), + ) + + required_if = [ + ("state", "present", ["provider", "name"]), + ("state", "absent", ["provider", "name"]), + ] + + module = NetboxAnsibleModule( + argument_spec=argument_spec, supports_check_mode=True, required_if=required_if + ) + + netbox_provider_network = NetboxCircuitsModule(module, NB_PROVIDER_NETWORKS) + netbox_provider_network.run() + + +if __name__ == "__main__": # pragma: no cover + main() diff --git a/plugins/modules/netbox_rack.py b/plugins/modules/netbox_rack.py index 54ba26946..7ba976fe9 100644 --- a/plugins/modules/netbox_rack.py +++ b/plugins/modules/netbox_rack.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_rack -short_description: Create, update or delete racks within Netbox +short_description: Create, update or delete racks within NetBox description: - - Creates, updates or removes racks from Netbox + - Creates, updates or removes racks from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -162,39 +149,20 @@ elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create rack within Netbox with only required information + - name: Create rack within NetBox with only required information netbox_rack: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -203,7 +171,7 @@ site: Test Site state: present - - name: Create rack within Netbox with only required information - Pre 2.11 + - name: Create rack within NetBox with only required information - Pre 2.11 netbox_rack: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -213,7 +181,7 @@ rack_group: Test Rack Group state: present - - name: Create rack within Netbox with only required information - Post 2.11 + - name: Create rack within NetBox with only required information - Post 2.11 netbox_rack: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -234,7 +202,7 @@ RETURN = r""" rack: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_rack_group.py b/plugins/modules/netbox_rack_group.py index 6462f0b88..bc91cc08a 100644 --- a/plugins/modules/netbox_rack_group.py +++ b/plugins/modules/netbox_rack_group.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_rack_group -short_description: Create, update or delete racks groups within Netbox +short_description: Create, update or delete racks groups within NetBox description: - - Creates, updates or removes racks groups from Netbox + - Creates, updates or removes racks groups from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -65,35 +52,16 @@ required: false type: raw required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create rack group within Netbox with only required information + - name: Create rack group within NetBox with only required information netbox_rack_group: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -114,7 +82,7 @@ RETURN = r""" rack_group: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_rack_role.py b/plugins/modules/netbox_rack_role.py index 2d546206a..f45dd75d6 100644 --- a/plugins/modules/netbox_rack_role.py +++ b/plugins/modules/netbox_rack_role.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_rack_role -short_description: Create, update or delete racks roles within Netbox +short_description: Create, update or delete racks roles within NetBox description: - - Creates, updates or removes racks roles from Netbox + - Creates, updates or removes racks roles from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -65,35 +52,16 @@ required: false type: str required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create rack role within Netbox with only required information + - name: Create rack role within NetBox with only required information netbox_rack_role: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -113,7 +81,7 @@ RETURN = r""" rack_role: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_rear_port.py b/plugins/modules/netbox_rear_port.py index 709976c57..572914a48 100644 --- a/plugins/modules/netbox_rear_port.py +++ b/plugins/modules/netbox_rear_port.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_rear_port -short_description: Create, update or delete rear ports within Netbox +short_description: Create, update or delete rear ports within NetBox description: - - Creates, updates or removes rear ports from Netbox + - Creates, updates or removes rear ports from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -96,35 +83,16 @@ required: false type: list elements: raw - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create rear port within Netbox with only required information + - name: Create rear port within NetBox with only required information netbox_rear_port: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -159,7 +127,7 @@ RETURN = r""" rear_port: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_rear_port_template.py b/plugins/modules/netbox_rear_port_template.py index cb8c4e1f2..8c0e03082 100644 --- a/plugins/modules/netbox_rear_port_template.py +++ b/plugins/modules/netbox_rear_port_template.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_rear_port_template -short_description: Create, update or delete rear port templates within Netbox +short_description: Create, update or delete rear port templates within NetBox description: - - Creates, updates or removes rear port templates from Netbox + - Creates, updates or removes rear port templates from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.2.3' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -85,35 +72,16 @@ - The number of front ports which may be mapped to each rear port required: false type: int - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create rear port template within Netbox with only required information + - name: Create rear port template within NetBox with only required information netbox_rear_port_template: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -147,7 +115,7 @@ RETURN = r""" rear_port_template: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_region.py b/plugins/modules/netbox_region.py index 24192717d..88cc78b85 100644 --- a/plugins/modules/netbox_region.py +++ b/plugins/modules/netbox_region.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_region -short_description: Creates or removes regions from Netbox +short_description: Creates or removes regions from NetBox description: - - Creates or removes regions from Netbox + - Creates or removes regions from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: "0.1.0" +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -65,36 +52,15 @@ required: false type: raw required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - | - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox region module" +- name: "Test NetBox region module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create region within Netbox with only required information + - name: Create region within NetBox with only required information netbox.netbox.netbox_region: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -113,7 +79,7 @@ RETURN = r""" region: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: on creation type: dict msg: diff --git a/plugins/modules/netbox_rir.py b/plugins/modules/netbox_rir.py index 4e9571c2a..96095b0ec 100644 --- a/plugins/modules/netbox_rir.py +++ b/plugins/modules/netbox_rir.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_rir -short_description: Create, update or delete RIRs within Netbox +short_description: Create, update or delete RIRs within NetBox description: - - Creates, updates or removes RIRs from Netbox + - Creates, updates or removes RIRs from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -70,35 +57,16 @@ required: false type: bool required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create RIR within Netbox with only required information + - name: Create RIR within NetBox with only required information netbox_rir: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -126,7 +94,7 @@ RETURN = r""" rir: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_route_target.py b/plugins/modules/netbox_route_target.py index 8c768c16f..18694c317 100644 --- a/plugins/modules/netbox_route_target.py +++ b/plugins/modules/netbox_route_target.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_route_target -short_description: Creates or removes route targets from Netbox +short_description: Creates or removes route targets from NetBox description: - - Creates or removes route targets from Netbox + - Creates or removes route targets from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: "2.0.0" +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -71,31 +58,10 @@ elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - | - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" @@ -145,7 +111,7 @@ RETURN = r""" route_target: - description: Serialized object as created/existent/updated/deleted within Netbox + description: Serialized object as created/existent/updated/deleted within NetBox returned: always type: dict msg: diff --git a/plugins/modules/netbox_service.py b/plugins/modules/netbox_service.py index eb49cfecb..f57b8f1f8 100644 --- a/plugins/modules/netbox_service.py +++ b/plugins/modules/netbox_service.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_service -short_description: Creates or removes service from Netbox +short_description: Creates or removes service from NetBox description: - - Creates or removes service from Netbox + - Creates or removes service from NetBox notes: - This should be ran with connection C(local) and hosts C(localhost) author: @@ -26,22 +26,9 @@ requirements: - pynetbox version_added: '0.1.5' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -95,29 +82,10 @@ elements: raw custom_fields: description: - - Must exist in Netbox and in key/value format + - Must exist in NetBox and in key/value format required: false type: dict required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" diff --git a/plugins/modules/netbox_site.py b/plugins/modules/netbox_site.py index b42093d88..68ebecf20 100644 --- a/plugins/modules/netbox_site.py +++ b/plugins/modules/netbox_site.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_site -short_description: Creates or removes sites from Netbox +short_description: Creates or removes sites from NetBox description: - - Creates or removes sites from Netbox + - Creates or removes sites from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: "0.1.0" +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -65,7 +52,7 @@ required: false type: raw site_group: - description: + description: - The site group the site will be associated with (NetBox 2.11+) required: false type: raw @@ -109,12 +96,12 @@ description: - Latitude in decimal format required: false - type: str + type: float longitude: description: - Longitude in decimal format required: false - type: str + type: float contact_name: description: - Name of contact for site @@ -148,40 +135,19 @@ elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - | - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox site module" +- name: "Test NetBox site module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create site within Netbox with only required information + - name: Create site within NetBox with only required information netbox_site: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -225,7 +191,7 @@ RETURN = r""" site: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: on creation type: dict msg: @@ -267,8 +233,8 @@ def main(): description=dict(required=False, type="str"), physical_address=dict(required=False, type="str"), shipping_address=dict(required=False, type="str"), - latitude=dict(required=False, type="str"), - longitude=dict(required=False, type="str"), + latitude=dict(required=False, type="float"), + longitude=dict(required=False, type="float"), contact_name=dict(required=False, type="str"), contact_phone=dict(required=False, type="str"), contact_email=dict(required=False, type="str"), diff --git a/plugins/modules/netbox_site_group.py b/plugins/modules/netbox_site_group.py index 04deb0aec..28f6f49f0 100644 --- a/plugins/modules/netbox_site_group.py +++ b/plugins/modules/netbox_site_group.py @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '3.4.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the NetBox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within NetBox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -65,32 +52,11 @@ required: false type: raw description: - description: + description: - The description of the site group required: false type: str required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - | - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" diff --git a/plugins/modules/netbox_tag.py b/plugins/modules/netbox_tag.py index b833222c8..248bd6514 100644 --- a/plugins/modules/netbox_tag.py +++ b/plugins/modules/netbox_tag.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_tag -short_description: Creates or removes tags from Netbox +short_description: Creates or removes tags from NetBox description: - - Creates or removes tags from Netbox + - Creates or removes tags from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: "1.2.0" +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -70,27 +57,6 @@ required: false type: str required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - | - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" @@ -124,7 +90,7 @@ RETURN = r""" tags: - description: Serialized object as created/existent/updated/deleted within Netbox + description: Serialized object as created/existent/updated/deleted within NetBox returned: always type: dict msg: diff --git a/plugins/modules/netbox_tenant.py b/plugins/modules/netbox_tenant.py index 431d28ff1..b93c5a468 100644 --- a/plugins/modules/netbox_tenant.py +++ b/plugins/modules/netbox_tenant.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_tenant -short_description: Creates or removes tenants from Netbox +short_description: Creates or removes tenants from NetBox description: - - Creates or removes tenants from Netbox + - Creates or removes tenants from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: "0.1.0" +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -81,40 +68,19 @@ elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - | - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox module" +- name: "Test NetBox module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create tenant within Netbox with only required information + - name: Create tenant within NetBox with only required information netbox_tenant: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -149,7 +115,7 @@ RETURN = r""" tenant: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: on creation type: dict msg: diff --git a/plugins/modules/netbox_tenant_group.py b/plugins/modules/netbox_tenant_group.py index c734234e8..13873fa56 100644 --- a/plugins/modules/netbox_tenant_group.py +++ b/plugins/modules/netbox_tenant_group.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_tenant_group -short_description: Creates or removes tenant groups from Netbox +short_description: Creates or removes tenant groups from NetBox description: - - Creates or removes tenant groups from Netbox + - Creates or removes tenant groups from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: "0.1.0" +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -69,36 +56,15 @@ required: false type: str required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - | - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox tenant group module" +- name: "Test NetBox tenant group module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create tenant within Netbox with only required information + - name: Create tenant within NetBox with only required information netbox_tenant_group: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -119,7 +85,7 @@ RETURN = r""" tenant_group: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: on creation type: dict msg: diff --git a/plugins/modules/netbox_virtual_chassis.py b/plugins/modules/netbox_virtual_chassis.py index bdcfcf555..a4e5deb04 100644 --- a/plugins/modules/netbox_virtual_chassis.py +++ b/plugins/modules/netbox_virtual_chassis.py @@ -17,9 +17,9 @@ DOCUMENTATION = r""" --- module: netbox_virtual_chassis -short_description: Create, update or delete virtual chassis within Netbox +short_description: Create, update or delete virtual chassis within NetBox description: - - Creates, updates or removes virtual chassis from Netbox + - Creates, updates or removes virtual chassis from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -28,22 +28,9 @@ requirements: - pynetbox version_added: '0.3.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict required: true @@ -71,35 +58,21 @@ required: false type: list elements: raw - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw + custom_fields: + description: + - must exist in NetBox + required: false + type: dict """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create virtual chassis within Netbox with only required information + - name: Create virtual chassis within NetBox with only required information netbox_virtual_chassis: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -113,7 +86,7 @@ netbox_url: http://netbox.local netbox_token: thisIsMyToken data: - master: Test Device + name: "Virtual Chassis 1" domain: Domain Text state: present @@ -122,13 +95,13 @@ netbox_url: http://netbox.local netbox_token: thisIsMyToken data: - master: Test Device + name: "Virtual Chassis 1" state: absent """ RETURN = r""" virtual_chassis: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: @@ -163,21 +136,17 @@ def main(): master=dict(required=False, type="raw"), domain=dict(required=False, type="str"), tags=dict(required=False, type="list", elements="raw"), + custom_fields=dict(required=False, type="dict"), ), ), ) ) - # required_if = [ - # ("state", "present", ["master"]), - # ("state", "absent", ["master"]), - # ] required_one_of = [["name", "master"]] module = NetboxAnsibleModule( argument_spec=argument_spec, supports_check_mode=True, - # required_if=required_if, required_one_of=required_one_of, ) diff --git a/plugins/modules/netbox_virtual_machine.py b/plugins/modules/netbox_virtual_machine.py index 64a300c23..1ecc08ba4 100644 --- a/plugins/modules/netbox_virtual_machine.py +++ b/plugins/modules/netbox_virtual_machine.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_virtual_machine -short_description: Create, update or delete virtual_machines within Netbox +short_description: Create, update or delete virtual_machines within NetBox description: - - Creates, updates or removes virtual_machines from Netbox + - Creates, updates or removes virtual_machines from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -116,7 +103,7 @@ elements: raw custom_fields: description: - - Must exist in Netbox + - Must exist in NetBox required: false type: dict local_context_data: @@ -130,34 +117,15 @@ required: false type: str required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create virtual machine within Netbox with only required information + - name: Create virtual machine within NetBox with only required information netbox_virtual_machine: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -201,7 +169,7 @@ RETURN = r""" virtual machine: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_vlan.py b/plugins/modules/netbox_vlan.py index aaa5c6a12..58c5efcd8 100644 --- a/plugins/modules/netbox_vlan.py +++ b/plugins/modules/netbox_vlan.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_vlan -short_description: Create, update or delete vlans within Netbox +short_description: Create, update or delete vlans within NetBox description: - - Creates, updates or removes vlans from Netbox + - Creates, updates or removes vlans from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -96,39 +83,20 @@ elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create vlan within Netbox with only required information + - name: Create vlan within NetBox with only required information netbox_vlan: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -166,7 +134,7 @@ RETURN = r""" vlan: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_vlan_group.py b/plugins/modules/netbox_vlan_group.py index 6f10d000f..53f1deff3 100644 --- a/plugins/modules/netbox_vlan_group.py +++ b/plugins/modules/netbox_vlan_group.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_vlan_group -short_description: Create, update or delete vlans groups within Netbox +short_description: Create, update or delete vlans groups within NetBox description: - - Creates, updates or removes vlans groups from Netbox + - Creates, updates or removes vlans groups from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -93,40 +80,21 @@ version_added: "3.1.0" custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict version_added: "3.1.0" required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create vlan group within Netbox with only required information - Pre 2.11 + - name: Create vlan group within NetBox with only required information - Pre 2.11 netbox_vlan_group: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -135,7 +103,7 @@ site: Test Site state: present - - name: Create vlan group within Netbox with only required information - Post 2.11 + - name: Create vlan group within NetBox with only required information - Post 2.11 netbox_vlan_group: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -156,7 +124,7 @@ RETURN = r""" vlan_group: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/plugins/modules/netbox_vm_interface.py b/plugins/modules/netbox_vm_interface.py index 17d23b114..522a6fd09 100644 --- a/plugins/modules/netbox_vm_interface.py +++ b/plugins/modules/netbox_vm_interface.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_vm_interface -short_description: Creates or removes interfaces from virtual machines in Netbox +short_description: Creates or removes interfaces from virtual machines in NetBox description: - - Creates or removes interfaces from virtual machines in Netbox + - Creates or removes interfaces from virtual machines in NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: "0.1.0" +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: description: - Defines the vm interface configuration @@ -104,38 +91,23 @@ required: false type: list elements: raw + custom_fields: + description: + - Must exist in NetBox + required: false + type: dict + version_added: "3.4.0" required: true type: dict - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - | - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox interface module" +- name: "Test NetBox interface module" connection: local hosts: localhost gather_facts: False tasks: - - name: Create interface within Netbox with only required information + - name: Create interface within NetBox with only required information netbox_vm_interface: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -176,7 +148,7 @@ RETURN = r""" interface: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: on creation type: dict msg: @@ -218,6 +190,7 @@ def main(): untagged_vlan=dict(required=False, type="raw"), tagged_vlans=dict(required=False, type="raw"), tags=dict(required=False, type="list", elements="raw"), + custom_fields=dict(required=False, type="dict"), ), ), ) diff --git a/plugins/modules/netbox_vrf.py b/plugins/modules/netbox_vrf.py index a8b69c025..3dc326622 100644 --- a/plugins/modules/netbox_vrf.py +++ b/plugins/modules/netbox_vrf.py @@ -16,9 +16,9 @@ DOCUMENTATION = r""" --- module: netbox_vrf -short_description: Create, update or delete vrfs within Netbox +short_description: Create, update or delete vrfs within NetBox description: - - Creates, updates or removes vrfs from Netbox + - Creates, updates or removes vrfs from NetBox notes: - Tags should be defined as a YAML list - This should be ran with connection C(local) and hosts C(localhost) @@ -27,22 +27,9 @@ requirements: - pynetbox version_added: '0.1.0' +extends_documentation_fragment: + - netbox.netbox.common options: - netbox_url: - description: - - URL of the Netbox instance resolvable by Ansible control host - required: true - type: str - netbox_token: - description: - - The token created within Netbox to authorize API access - required: true - type: str - cert: - description: - - Certificate path - required: false - type: raw data: type: dict description: @@ -95,39 +82,20 @@ elements: raw custom_fields: description: - - must exist in Netbox + - must exist in NetBox required: false type: dict required: true - state: - description: - - Use C(present) or C(absent) for adding or removing. - choices: [ absent, present ] - default: present - type: str - query_params: - description: - - This can be used to override the specified values in ALLOWED_QUERY_PARAMS that is defined - - in plugins/module_utils/netbox_utils.py and provides control to users on what may make - - an object unique in their environment. - required: false - type: list - elements: str - validate_certs: - description: - - If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates. - default: true - type: raw """ EXAMPLES = r""" -- name: "Test Netbox modules" +- name: "Test NetBox modules" connection: local hosts: localhost gather_facts: False tasks: - - name: Create vrf within Netbox with only required information + - name: Create vrf within NetBox with only required information netbox_vrf: netbox_url: http://netbox.local netbox_token: thisIsMyToken @@ -164,7 +132,7 @@ RETURN = r""" vrf: - description: Serialized object as created or already existent within Netbox + description: Serialized object as created or already existent within NetBox returned: success (when I(state=present)) type: dict msg: diff --git a/poetry.lock b/poetry.lock index 93d5db3af..6b6e231b9 100644 --- a/poetry.lock +++ b/poetry.lock @@ -19,23 +19,37 @@ python-versions = ">=3.6,<4.0" [[package]] name = "aiohttp" -version = "3.7.4.post0" +version = "3.8.1" description = "Async http client/server framework (asyncio)" category = "main" optional = false python-versions = ">=3.6" [package.dependencies] -async-timeout = ">=3.0,<4.0" +aiosignal = ">=1.1.2" +async-timeout = ">=4.0.0a3,<5.0" +asynctest = {version = "0.13.0", markers = "python_version < \"3.8\""} attrs = ">=17.3.0" -chardet = ">=2.0,<5.0" +charset-normalizer = ">=2.0,<3.0" +frozenlist = ">=1.1.1" idna-ssl = {version = ">=1.0", markers = "python_version < \"3.7\""} multidict = ">=4.5,<7.0" -typing-extensions = ">=3.6.5" +typing-extensions = {version = ">=3.7.4", markers = "python_version < \"3.8\""} yarl = ">=1.0,<2.0" [package.extras] -speedups = ["aiodns", "brotlipy", "cchardet"] +speedups = ["aiodns", "brotli", "cchardet"] + +[[package]] +name = "aiosignal" +version = "1.2.0" +description = "aiosignal: a list of registered asynchronous callbacks" +category = "main" +optional = false +python-versions = ">=3.6" + +[package.dependencies] +frozenlist = ">=1.1.0" [[package]] name = "alabaster" @@ -47,7 +61,7 @@ python-versions = "*" [[package]] name = "ansible-core" -version = "2.11.5" +version = "2.11.6" description = "Radically simple IT automation" category = "main" optional = false @@ -112,7 +126,7 @@ python-versions = "*" [[package]] name = "astroid" -version = "2.7.3" +version = "2.8.5" description = "An abstract syntax tree for Python with inference support." category = "main" optional = false @@ -120,17 +134,20 @@ python-versions = "~=3.6" [package.dependencies] lazy-object-proxy = ">=1.4.0" -typed-ast = {version = ">=1.4.0,<1.5", markers = "implementation_name == \"cpython\" and python_version < \"3.8\""} -typing-extensions = {version = ">=3.7.4", markers = "python_version < \"3.8\""} -wrapt = ">=1.11,<1.13" +typed-ast = {version = ">=1.4.0,<2.0", markers = "implementation_name == \"cpython\" and python_version < \"3.8\""} +typing-extensions = {version = ">=3.10", markers = "python_version < \"3.10\""} +wrapt = ">=1.11,<1.14" [[package]] name = "async-timeout" -version = "3.0.1" +version = "4.0.1" description = "Timeout context manager for asyncio programs" category = "main" optional = false -python-versions = ">=3.5.3" +python-versions = ">=3.6" + +[package.dependencies] +typing-extensions = ">=3.6.5" [[package]] name = "asyncio-pool" @@ -140,6 +157,14 @@ category = "main" optional = false python-versions = ">=3.5" +[[package]] +name = "asynctest" +version = "0.13.0" +description = "Enhance the standard unittest package with features for testing asyncio libraries" +category = "main" +optional = false +python-versions = ">=3.5" + [[package]] name = "atomicwrites" version = "1.4.0" @@ -195,7 +220,7 @@ d = ["aiohttp (>=3.3.2)", "aiohttp-cors"] [[package]] name = "certifi" -version = "2021.5.30" +version = "2021.10.8" description = "Python package for providing Mozilla's CA Bundle." category = "main" optional = false @@ -203,7 +228,7 @@ python-versions = "*" [[package]] name = "cffi" -version = "1.14.6" +version = "1.15.0" description = "Foreign Function Interface for Python calling C code." category = "main" optional = false @@ -212,17 +237,9 @@ python-versions = "*" [package.dependencies] pycparser = "*" -[[package]] -name = "chardet" -version = "4.0.0" -description = "Universal encoding detector for Python 2 and 3" -category = "main" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" - [[package]] name = "charset-normalizer" -version = "2.0.5" +version = "2.0.7" description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." category = "main" optional = false @@ -233,7 +250,7 @@ unicode_backport = ["unicodedata2"] [[package]] name = "click" -version = "8.0.1" +version = "8.0.3" description = "Composable command line interface toolkit" category = "main" optional = false @@ -284,7 +301,7 @@ python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*, <4" [[package]] name = "cryptography" -version = "3.4.8" +version = "35.0.0" description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers." category = "main" optional = false @@ -297,9 +314,9 @@ cffi = ">=1.12" docs = ["sphinx (>=1.6.5,!=1.8.0,!=3.1.0,!=3.1.1)", "sphinx-rtd-theme"] docstest = ["doc8", "pyenchant (>=1.6.11)", "twine (>=1.12.0)", "sphinxcontrib-spelling (>=4.0.1)"] pep8test = ["black", "flake8", "flake8-import-order", "pep8-naming"] -sdist = ["setuptools-rust (>=0.11.4)"] +sdist = ["setuptools_rust (>=0.11.4)"] ssh = ["bcrypt (>=3.1.5)"] -test = ["pytest (>=6.0)", "pytest-cov", "pytest-subtests", "pytest-xdist", "pretend", "iso8601", "pytz", "hypothesis (>=1.11.4,!=3.79.2)"] +test = ["pytest (>=6.2.0)", "pytest-cov", "pytest-subtests", "pytest-xdist", "pretend", "iso8601", "pytz", "hypothesis (>=1.11.4,!=3.79.2)"] [[package]] name = "dataclasses" @@ -328,9 +345,17 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" [package.extras] testing = ["pre-commit"] +[[package]] +name = "frozenlist" +version = "1.2.0" +description = "A list-like structure which implements collections.abc.MutableSequence" +category = "main" +optional = false +python-versions = ">=3.6" + [[package]] name = "idna" -version = "3.2" +version = "3.3" description = "Internationalized Domain Names in Applications (IDNA)" category = "main" optional = false @@ -349,7 +374,7 @@ idna = ">=2.0" [[package]] name = "imagesize" -version = "1.2.0" +version = "1.3.0" description = "Getting image size from png/jpeg/jpeg2000/gif file" category = "main" optional = false @@ -407,7 +432,7 @@ colors = ["colorama (>=0.4.3,<0.5.0)"] [[package]] name = "jinja2" -version = "3.0.1" +version = "3.0.3" description = "A very fast and expressive template engine." category = "main" optional = false @@ -474,7 +499,7 @@ test = ["pytest (<5.4)", "pytest-cov"] [[package]] name = "multidict" -version = "5.1.0" +version = "5.2.0" description = "multidict implementation" category = "main" optional = false @@ -509,7 +534,7 @@ python-versions = ">=3.5" [[package]] name = "platformdirs" -version = "2.3.0" +version = "2.4.0" description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." category = "main" optional = false @@ -536,15 +561,15 @@ testing = ["pytest", "pytest-benchmark"] [[package]] name = "py" -version = "1.10.0" +version = "1.11.0" description = "library with cross-python path, ini-parsing, io, code, log facilities" category = "main" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" [[package]] name = "pycparser" -version = "2.20" +version = "2.21" description = "C parser in Python" category = "main" optional = false @@ -576,23 +601,24 @@ python-versions = ">=3.5" [[package]] name = "pylint" -version = "2.10.2" +version = "2.11.1" description = "python code static checker" category = "main" optional = false python-versions = "~=3.6" [package.dependencies] -astroid = ">=2.7.2,<2.8" +astroid = ">=2.8.0,<2.9" colorama = {version = "*", markers = "sys_platform == \"win32\""} isort = ">=4.2.5,<6" mccabe = ">=0.6,<0.7" platformdirs = ">=2.2.0" toml = ">=0.7.1" +typing-extensions = {version = ">=3.10.0", markers = "python_version < \"3.10\""} [[package]] name = "pynetbox" -version = "6.1.3" +version = "6.2.0" description = "NetBox API client library" category = "main" optional = false @@ -604,11 +630,14 @@ six = ">=1.0.0,<2.0.0" [[package]] name = "pyparsing" -version = "2.4.7" +version = "3.0.6" description = "Python parsing module" category = "main" optional = false -python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" +python-versions = ">=3.6" + +[package.extras] +diagrams = ["jinja2", "railroad-diagrams"] [[package]] name = "pytest" @@ -660,7 +689,7 @@ dev = ["pre-commit", "tox", "pytest-asyncio"] [[package]] name = "pytest-xdist" -version = "2.3.0" +version = "2.4.0" description = "pytest xdist plugin for distributed testing and loop-on-failing modes" category = "main" optional = false @@ -673,11 +702,12 @@ pytest-forked = "*" [package.extras] psutil = ["psutil (>=3.0)"] +setproctitle = ["setproctitle"] testing = ["filelock"] [[package]] name = "pytz" -version = "2021.1" +version = "2021.3" description = "World timezone definitions, modern and historical" category = "main" optional = false @@ -685,15 +715,15 @@ python-versions = "*" [[package]] name = "pyyaml" -version = "5.4.1" +version = "6.0" description = "YAML parser and emitter for Python" category = "main" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" +python-versions = ">=3.6" [[package]] name = "regex" -version = "2021.8.28" +version = "2021.11.10" description = "Alternative regular expression module, to replace re." category = "main" optional = false @@ -768,7 +798,7 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" [[package]] name = "snowballstemmer" -version = "2.1.0" +version = "2.2.0" description = "This package provides 29 stemmers for 28 languages generated from Snowball algorithms." category = "main" optional = false @@ -776,7 +806,7 @@ python-versions = "*" [[package]] name = "sphinx" -version = "4.2.0" +version = "4.3.0" description = "Python documentation generator" category = "main" optional = false @@ -897,23 +927,23 @@ six = "*" [[package]] name = "typed-ast" -version = "1.4.3" +version = "1.5.0" description = "a fork of Python 2 and 3 ast modules with type comment support" category = "main" optional = false -python-versions = "*" +python-versions = ">=3.6" [[package]] name = "typing-extensions" -version = "3.10.0.2" -description = "Backported and Experimental Type Hints for Python 3.5+" +version = "4.0.0" +description = "Backported and Experimental Type Hints for Python 3.6+" category = "main" optional = false -python-versions = "*" +python-versions = ">=3.6" [[package]] name = "urllib3" -version = "1.26.6" +version = "1.26.7" description = "HTTP library with thread-safe connection pooling, file post, and more." category = "main" optional = false @@ -926,15 +956,15 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] [[package]] name = "wrapt" -version = "1.12.1" +version = "1.13.3" description = "Module for decorators, wrappers and monkey patching." category = "main" optional = false -python-versions = "*" +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" [[package]] name = "yarl" -version = "1.6.3" +version = "1.7.2" description = "Yet another URL library" category = "main" optional = false @@ -947,7 +977,7 @@ typing-extensions = {version = ">=3.7.4", markers = "python_version < \"3.8\""} [[package]] name = "zipp" -version = "3.5.0" +version = "3.6.0" description = "Backport of pathlib-compatible object wrapper for zip files" category = "main" optional = false @@ -960,7 +990,7 @@ testing = ["pytest (>=4.6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytes [metadata] lock-version = "1.1" python-versions = "^3.6" -content-hash = "194b96d467fd1deaa087c057857f0645008ca621a8c92040957cc19f07c9acb6" +content-hash = "bd561852ef374d05630ee4f59c30c649d84d8da71ec60d8edcf9c76b50e0fc48" [metadata.files] aiocontextvars = [ @@ -972,50 +1002,89 @@ aiofiles = [ {file = "aiofiles-0.7.0.tar.gz", hash = "sha256:a1c4fc9b2ff81568c83e21392a82f344ea9d23da906e4f6a52662764545e19d4"}, ] aiohttp = [ - {file = "aiohttp-3.7.4.post0-cp36-cp36m-macosx_10_14_x86_64.whl", hash = "sha256:3cf75f7cdc2397ed4442594b935a11ed5569961333d49b7539ea741be2cc79d5"}, - {file = "aiohttp-3.7.4.post0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:4b302b45040890cea949ad092479e01ba25911a15e648429c7c5aae9650c67a8"}, - {file = "aiohttp-3.7.4.post0-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:fe60131d21b31fd1a14bd43e6bb88256f69dfc3188b3a89d736d6c71ed43ec95"}, - {file = "aiohttp-3.7.4.post0-cp36-cp36m-manylinux2014_i686.whl", hash = "sha256:393f389841e8f2dfc86f774ad22f00923fdee66d238af89b70ea314c4aefd290"}, - {file = "aiohttp-3.7.4.post0-cp36-cp36m-manylinux2014_ppc64le.whl", hash = "sha256:c6e9dcb4cb338d91a73f178d866d051efe7c62a7166653a91e7d9fb18274058f"}, - {file = "aiohttp-3.7.4.post0-cp36-cp36m-manylinux2014_s390x.whl", hash = "sha256:5df68496d19f849921f05f14f31bd6ef53ad4b00245da3195048c69934521809"}, - {file = "aiohttp-3.7.4.post0-cp36-cp36m-manylinux2014_x86_64.whl", hash = "sha256:0563c1b3826945eecd62186f3f5c7d31abb7391fedc893b7e2b26303b5a9f3fe"}, - {file = "aiohttp-3.7.4.post0-cp36-cp36m-win32.whl", hash = "sha256:3d78619672183be860b96ed96f533046ec97ca067fd46ac1f6a09cd9b7484287"}, - {file = "aiohttp-3.7.4.post0-cp36-cp36m-win_amd64.whl", hash = "sha256:f705e12750171c0ab4ef2a3c76b9a4024a62c4103e3a55dd6f99265b9bc6fcfc"}, - {file = "aiohttp-3.7.4.post0-cp37-cp37m-macosx_10_14_x86_64.whl", hash = "sha256:230a8f7e24298dea47659251abc0fd8b3c4e38a664c59d4b89cca7f6c09c9e87"}, - {file = "aiohttp-3.7.4.post0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:2e19413bf84934d651344783c9f5e22dee452e251cfd220ebadbed2d9931dbf0"}, - {file = "aiohttp-3.7.4.post0-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:e4b2b334e68b18ac9817d828ba44d8fcb391f6acb398bcc5062b14b2cbeac970"}, - {file = "aiohttp-3.7.4.post0-cp37-cp37m-manylinux2014_i686.whl", hash = "sha256:d012ad7911653a906425d8473a1465caa9f8dea7fcf07b6d870397b774ea7c0f"}, - {file = "aiohttp-3.7.4.post0-cp37-cp37m-manylinux2014_ppc64le.whl", hash = "sha256:40eced07f07a9e60e825554a31f923e8d3997cfc7fb31dbc1328c70826e04cde"}, - {file = "aiohttp-3.7.4.post0-cp37-cp37m-manylinux2014_s390x.whl", hash = "sha256:209b4a8ee987eccc91e2bd3ac36adee0e53a5970b8ac52c273f7f8fd4872c94c"}, - {file = "aiohttp-3.7.4.post0-cp37-cp37m-manylinux2014_x86_64.whl", hash = "sha256:14762875b22d0055f05d12abc7f7d61d5fd4fe4642ce1a249abdf8c700bf1fd8"}, - {file = "aiohttp-3.7.4.post0-cp37-cp37m-win32.whl", hash = "sha256:7615dab56bb07bff74bc865307aeb89a8bfd9941d2ef9d817b9436da3a0ea54f"}, - {file = "aiohttp-3.7.4.post0-cp37-cp37m-win_amd64.whl", hash = "sha256:d9e13b33afd39ddeb377eff2c1c4f00544e191e1d1dee5b6c51ddee8ea6f0cf5"}, - {file = "aiohttp-3.7.4.post0-cp38-cp38-macosx_10_14_x86_64.whl", hash = "sha256:547da6cacac20666422d4882cfcd51298d45f7ccb60a04ec27424d2f36ba3eaf"}, - {file = "aiohttp-3.7.4.post0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:af9aa9ef5ba1fd5b8c948bb11f44891968ab30356d65fd0cc6707d989cd521df"}, - {file = "aiohttp-3.7.4.post0-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:64322071e046020e8797117b3658b9c2f80e3267daec409b350b6a7a05041213"}, - {file = "aiohttp-3.7.4.post0-cp38-cp38-manylinux2014_i686.whl", hash = "sha256:bb437315738aa441251214dad17428cafda9cdc9729499f1d6001748e1d432f4"}, - {file = "aiohttp-3.7.4.post0-cp38-cp38-manylinux2014_ppc64le.whl", hash = "sha256:e54962802d4b8b18b6207d4a927032826af39395a3bd9196a5af43fc4e60b009"}, - {file = "aiohttp-3.7.4.post0-cp38-cp38-manylinux2014_s390x.whl", hash = "sha256:a00bb73540af068ca7390e636c01cbc4f644961896fa9363154ff43fd37af2f5"}, - {file = "aiohttp-3.7.4.post0-cp38-cp38-manylinux2014_x86_64.whl", hash = "sha256:79ebfc238612123a713a457d92afb4096e2148be17df6c50fb9bf7a81c2f8013"}, - {file = "aiohttp-3.7.4.post0-cp38-cp38-win32.whl", hash = "sha256:515dfef7f869a0feb2afee66b957cc7bbe9ad0cdee45aec7fdc623f4ecd4fb16"}, - {file = "aiohttp-3.7.4.post0-cp38-cp38-win_amd64.whl", hash = "sha256:114b281e4d68302a324dd33abb04778e8557d88947875cbf4e842c2c01a030c5"}, - {file = "aiohttp-3.7.4.post0-cp39-cp39-macosx_10_14_x86_64.whl", hash = "sha256:7b18b97cf8ee5452fa5f4e3af95d01d84d86d32c5e2bfa260cf041749d66360b"}, - {file = "aiohttp-3.7.4.post0-cp39-cp39-manylinux1_i686.whl", hash = "sha256:15492a6368d985b76a2a5fdd2166cddfea5d24e69eefed4630cbaae5c81d89bd"}, - {file = "aiohttp-3.7.4.post0-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:bdb230b4943891321e06fc7def63c7aace16095be7d9cf3b1e01be2f10fba439"}, - {file = "aiohttp-3.7.4.post0-cp39-cp39-manylinux2014_i686.whl", hash = "sha256:cffe3ab27871bc3ea47df5d8f7013945712c46a3cc5a95b6bee15887f1675c22"}, - {file = "aiohttp-3.7.4.post0-cp39-cp39-manylinux2014_ppc64le.whl", hash = "sha256:f881853d2643a29e643609da57b96d5f9c9b93f62429dcc1cbb413c7d07f0e1a"}, - {file = "aiohttp-3.7.4.post0-cp39-cp39-manylinux2014_s390x.whl", hash = "sha256:a5ca29ee66f8343ed336816c553e82d6cade48a3ad702b9ffa6125d187e2dedb"}, - {file = "aiohttp-3.7.4.post0-cp39-cp39-manylinux2014_x86_64.whl", hash = "sha256:17c073de315745a1510393a96e680d20af8e67e324f70b42accbd4cb3315c9fb"}, - {file = "aiohttp-3.7.4.post0-cp39-cp39-win32.whl", hash = "sha256:932bb1ea39a54e9ea27fc9232163059a0b8855256f4052e776357ad9add6f1c9"}, - {file = "aiohttp-3.7.4.post0-cp39-cp39-win_amd64.whl", hash = "sha256:02f46fc0e3c5ac58b80d4d56eb0a7c7d97fcef69ace9326289fb9f1955e65cfe"}, - {file = "aiohttp-3.7.4.post0.tar.gz", hash = "sha256:493d3299ebe5f5a7c66b9819eacdcfbbaaf1a8e84911ddffcdc48888497afecf"}, + {file = "aiohttp-3.8.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:1ed0b6477896559f17b9eaeb6d38e07f7f9ffe40b9f0f9627ae8b9926ae260a8"}, + {file = "aiohttp-3.8.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7dadf3c307b31e0e61689cbf9e06be7a867c563d5a63ce9dca578f956609abf8"}, + {file = "aiohttp-3.8.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a79004bb58748f31ae1cbe9fa891054baaa46fb106c2dc7af9f8e3304dc30316"}, + {file = "aiohttp-3.8.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:12de6add4038df8f72fac606dff775791a60f113a725c960f2bab01d8b8e6b15"}, + {file = "aiohttp-3.8.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6f0d5f33feb5f69ddd57a4a4bd3d56c719a141080b445cbf18f238973c5c9923"}, + {file = "aiohttp-3.8.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:eaba923151d9deea315be1f3e2b31cc39a6d1d2f682f942905951f4e40200922"}, + {file = "aiohttp-3.8.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:099ebd2c37ac74cce10a3527d2b49af80243e2a4fa39e7bce41617fbc35fa3c1"}, + {file = "aiohttp-3.8.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:2e5d962cf7e1d426aa0e528a7e198658cdc8aa4fe87f781d039ad75dcd52c516"}, + {file = "aiohttp-3.8.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:fa0ffcace9b3aa34d205d8130f7873fcfefcb6a4dd3dd705b0dab69af6712642"}, + {file = "aiohttp-3.8.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:61bfc23df345d8c9716d03717c2ed5e27374e0fe6f659ea64edcd27b4b044cf7"}, + {file = "aiohttp-3.8.1-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:31560d268ff62143e92423ef183680b9829b1b482c011713ae941997921eebc8"}, + {file = "aiohttp-3.8.1-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:01d7bdb774a9acc838e6b8f1d114f45303841b89b95984cbb7d80ea41172a9e3"}, + {file = "aiohttp-3.8.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:97ef77eb6b044134c0b3a96e16abcb05ecce892965a2124c566af0fd60f717e2"}, + {file = "aiohttp-3.8.1-cp310-cp310-win32.whl", hash = "sha256:c2aef4703f1f2ddc6df17519885dbfa3514929149d3ff900b73f45998f2532fa"}, + {file = "aiohttp-3.8.1-cp310-cp310-win_amd64.whl", hash = "sha256:713ac174a629d39b7c6a3aa757b337599798da4c1157114a314e4e391cd28e32"}, + {file = "aiohttp-3.8.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:473d93d4450880fe278696549f2e7aed8cd23708c3c1997981464475f32137db"}, + {file = "aiohttp-3.8.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:99b5eeae8e019e7aad8af8bb314fb908dd2e028b3cdaad87ec05095394cce632"}, + {file = "aiohttp-3.8.1-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3af642b43ce56c24d063325dd2cf20ee012d2b9ba4c3c008755a301aaea720ad"}, + {file = "aiohttp-3.8.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c3630c3ef435c0a7c549ba170a0633a56e92629aeed0e707fec832dee313fb7a"}, + {file = "aiohttp-3.8.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:4a4a4e30bf1edcad13fb0804300557aedd07a92cabc74382fdd0ba6ca2661091"}, + {file = "aiohttp-3.8.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:6f8b01295e26c68b3a1b90efb7a89029110d3a4139270b24fda961893216c440"}, + {file = "aiohttp-3.8.1-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:a25fa703a527158aaf10dafd956f7d42ac6d30ec80e9a70846253dd13e2f067b"}, + {file = "aiohttp-3.8.1-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:5bfde62d1d2641a1f5173b8c8c2d96ceb4854f54a44c23102e2ccc7e02f003ec"}, + {file = "aiohttp-3.8.1-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:51467000f3647d519272392f484126aa716f747859794ac9924a7aafa86cd411"}, + {file = "aiohttp-3.8.1-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:03a6d5349c9ee8f79ab3ff3694d6ce1cfc3ced1c9d36200cb8f08ba06bd3b782"}, + {file = "aiohttp-3.8.1-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:102e487eeb82afac440581e5d7f8f44560b36cf0bdd11abc51a46c1cd88914d4"}, + {file = "aiohttp-3.8.1-cp36-cp36m-win32.whl", hash = "sha256:4aed991a28ea3ce320dc8ce655875e1e00a11bdd29fe9444dd4f88c30d558602"}, + {file = "aiohttp-3.8.1-cp36-cp36m-win_amd64.whl", hash = "sha256:b0e20cddbd676ab8a64c774fefa0ad787cc506afd844de95da56060348021e96"}, + {file = "aiohttp-3.8.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:37951ad2f4a6df6506750a23f7cbabad24c73c65f23f72e95897bb2cecbae676"}, + {file = "aiohttp-3.8.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5c23b1ad869653bc818e972b7a3a79852d0e494e9ab7e1a701a3decc49c20d51"}, + {file = "aiohttp-3.8.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:15b09b06dae900777833fe7fc4b4aa426556ce95847a3e8d7548e2d19e34edb8"}, + {file = "aiohttp-3.8.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:477c3ea0ba410b2b56b7efb072c36fa91b1e6fc331761798fa3f28bb224830dd"}, + {file = "aiohttp-3.8.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:2f2f69dca064926e79997f45b2f34e202b320fd3782f17a91941f7eb85502ee2"}, + {file = "aiohttp-3.8.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:ef9612483cb35171d51d9173647eed5d0069eaa2ee812793a75373447d487aa4"}, + {file = "aiohttp-3.8.1-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:6d69f36d445c45cda7b3b26afef2fc34ef5ac0cdc75584a87ef307ee3c8c6d00"}, + {file = "aiohttp-3.8.1-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:55c3d1072704d27401c92339144d199d9de7b52627f724a949fc7d5fc56d8b93"}, + {file = "aiohttp-3.8.1-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:b9d00268fcb9f66fbcc7cd9fe423741d90c75ee029a1d15c09b22d23253c0a44"}, + {file = "aiohttp-3.8.1-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:07b05cd3305e8a73112103c834e91cd27ce5b4bd07850c4b4dbd1877d3f45be7"}, + {file = "aiohttp-3.8.1-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:c34dc4958b232ef6188c4318cb7b2c2d80521c9a56c52449f8f93ab7bc2a8a1c"}, + {file = "aiohttp-3.8.1-cp37-cp37m-win32.whl", hash = "sha256:d2f9b69293c33aaa53d923032fe227feac867f81682f002ce33ffae978f0a9a9"}, + {file = "aiohttp-3.8.1-cp37-cp37m-win_amd64.whl", hash = "sha256:6ae828d3a003f03ae31915c31fa684b9890ea44c9c989056fea96e3d12a9fa17"}, + {file = "aiohttp-3.8.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:0c7ebbbde809ff4e970824b2b6cb7e4222be6b95a296e46c03cf050878fc1785"}, + {file = "aiohttp-3.8.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:8b7ef7cbd4fec9a1e811a5de813311ed4f7ac7d93e0fda233c9b3e1428f7dd7b"}, + {file = "aiohttp-3.8.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:c3d6a4d0619e09dcd61021debf7059955c2004fa29f48788a3dfaf9c9901a7cd"}, + {file = "aiohttp-3.8.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:718626a174e7e467f0558954f94af117b7d4695d48eb980146016afa4b580b2e"}, + {file = "aiohttp-3.8.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:589c72667a5febd36f1315aa6e5f56dd4aa4862df295cb51c769d16142ddd7cd"}, + {file = "aiohttp-3.8.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2ed076098b171573161eb146afcb9129b5ff63308960aeca4b676d9d3c35e700"}, + {file = "aiohttp-3.8.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:086f92daf51a032d062ec5f58af5ca6a44d082c35299c96376a41cbb33034675"}, + {file = "aiohttp-3.8.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:11691cf4dc5b94236ccc609b70fec991234e7ef8d4c02dd0c9668d1e486f5abf"}, + {file = "aiohttp-3.8.1-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:31d1e1c0dbf19ebccbfd62eff461518dcb1e307b195e93bba60c965a4dcf1ba0"}, + {file = "aiohttp-3.8.1-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:11a67c0d562e07067c4e86bffc1553f2cf5b664d6111c894671b2b8712f3aba5"}, + {file = "aiohttp-3.8.1-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:bb01ba6b0d3f6c68b89fce7305080145d4877ad3acaed424bae4d4ee75faa950"}, + {file = "aiohttp-3.8.1-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:44db35a9e15d6fe5c40d74952e803b1d96e964f683b5a78c3cc64eb177878155"}, + {file = "aiohttp-3.8.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:844a9b460871ee0a0b0b68a64890dae9c415e513db0f4a7e3cab41a0f2fedf33"}, + {file = "aiohttp-3.8.1-cp38-cp38-win32.whl", hash = "sha256:7d08744e9bae2ca9c382581f7dce1273fe3c9bae94ff572c3626e8da5b193c6a"}, + {file = "aiohttp-3.8.1-cp38-cp38-win_amd64.whl", hash = "sha256:04d48b8ce6ab3cf2097b1855e1505181bdd05586ca275f2505514a6e274e8e75"}, + {file = "aiohttp-3.8.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:f5315a2eb0239185af1bddb1abf472d877fede3cc8d143c6cddad37678293237"}, + {file = "aiohttp-3.8.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:a996d01ca39b8dfe77440f3cd600825d05841088fd6bc0144cc6c2ec14cc5f74"}, + {file = "aiohttp-3.8.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:13487abd2f761d4be7c8ff9080de2671e53fff69711d46de703c310c4c9317ca"}, + {file = "aiohttp-3.8.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ea302f34477fda3f85560a06d9ebdc7fa41e82420e892fc50b577e35fc6a50b2"}, + {file = "aiohttp-3.8.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a2f635ce61a89c5732537a7896b6319a8fcfa23ba09bec36e1b1ac0ab31270d2"}, + {file = "aiohttp-3.8.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e999f2d0e12eea01caeecb17b653f3713d758f6dcc770417cf29ef08d3931421"}, + {file = "aiohttp-3.8.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:0770e2806a30e744b4e21c9d73b7bee18a1cfa3c47991ee2e5a65b887c49d5cf"}, + {file = "aiohttp-3.8.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:d15367ce87c8e9e09b0f989bfd72dc641bcd04ba091c68cd305312d00962addd"}, + {file = "aiohttp-3.8.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:6c7cefb4b0640703eb1069835c02486669312bf2f12b48a748e0a7756d0de33d"}, + {file = "aiohttp-3.8.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:71927042ed6365a09a98a6377501af5c9f0a4d38083652bcd2281a06a5976724"}, + {file = "aiohttp-3.8.1-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:28d490af82bc6b7ce53ff31337a18a10498303fe66f701ab65ef27e143c3b0ef"}, + {file = "aiohttp-3.8.1-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:b6613280ccedf24354406caf785db748bebbddcf31408b20c0b48cb86af76866"}, + {file = "aiohttp-3.8.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:81e3d8c34c623ca4e36c46524a3530e99c0bc95ed068fd6e9b55cb721d408fb2"}, + {file = "aiohttp-3.8.1-cp39-cp39-win32.whl", hash = "sha256:7187a76598bdb895af0adbd2fb7474d7f6025d170bc0a1130242da817ce9e7d1"}, + {file = "aiohttp-3.8.1-cp39-cp39-win_amd64.whl", hash = "sha256:1c182cb873bc91b411e184dab7a2b664d4fea2743df0e4d57402f7f3fa644bac"}, + {file = "aiohttp-3.8.1.tar.gz", hash = "sha256:fc5471e1a54de15ef71c1bc6ebe80d4dc681ea600e68bfd1cbce40427f0b7578"}, +] +aiosignal = [ + {file = "aiosignal-1.2.0-py3-none-any.whl", hash = "sha256:26e62109036cd181df6e6ad646f91f0dcfd05fe16d0cb924138ff2ab75d64e3a"}, + {file = "aiosignal-1.2.0.tar.gz", hash = "sha256:78ed67db6c7b7ced4f98e495e572106d5c432a93e1ddd1bf475e1dc05f5b7df2"}, ] alabaster = [ {file = "alabaster-0.7.12-py2.py3-none-any.whl", hash = "sha256:446438bdcca0e05bd45ea2de1668c1d9b032e1a9154c2c259092d77031ddd359"}, {file = "alabaster-0.7.12.tar.gz", hash = "sha256:a661d72d58e6ea8a57f7a86e37d86716863ee5e92788398526d58b26a4e4dc02"}, ] ansible-core = [ - {file = "ansible-core-2.11.5.tar.gz", hash = "sha256:7d3ce47014122907454704363485e48513f8ad0f00138b88870eb6d88953d121"}, + {file = "ansible-core-2.11.6.tar.gz", hash = "sha256:93d50283c7c5b476debf83dc089b3f679b939a8b9a7b5d628d28daafbb3d303a"}, ] antsibull = [ {file = "antsibull-0.25.0-py3-none-any.whl", hash = "sha256:2f75baa501b857b1b2a1310dd3ac442cebd94cab60ebc984454dac012a1137ff"}, @@ -1030,17 +1099,21 @@ appdirs = [ {file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"}, ] astroid = [ - {file = "astroid-2.7.3-py3-none-any.whl", hash = "sha256:dc1e8b28427d6bbef6b8842b18765ab58f558c42bb80540bd7648c98412af25e"}, - {file = "astroid-2.7.3.tar.gz", hash = "sha256:3b680ce0419b8a771aba6190139a3998d14b413852506d99aff8dc2bf65ee67c"}, + {file = "astroid-2.8.5-py3-none-any.whl", hash = "sha256:abc423a1e85bc1553954a14f2053473d2b7f8baf32eae62a328be24f436b5107"}, + {file = "astroid-2.8.5.tar.gz", hash = "sha256:11f7356737b624c42e21e71fe85eea6875cb94c03c82ac76bd535a0ff10b0f25"}, ] async-timeout = [ - {file = "async-timeout-3.0.1.tar.gz", hash = "sha256:0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f"}, - {file = "async_timeout-3.0.1-py3-none-any.whl", hash = "sha256:4291ca197d287d274d0b6cb5d6f8f8f82d434ed288f962539ff18cc9012f9ea3"}, + {file = "async-timeout-4.0.1.tar.gz", hash = "sha256:b930cb161a39042f9222f6efb7301399c87eeab394727ec5437924a36d6eef51"}, + {file = "async_timeout-4.0.1-py3-none-any.whl", hash = "sha256:a22c0b311af23337eb05fcf05a8b51c3ea53729d46fb5460af62bee033cec690"}, ] asyncio-pool = [ {file = "asyncio_pool-0.5.2-py3-none-any.whl", hash = "sha256:c564ea750698ce456e1bb516365abcc13e8fb97ccaf025dfdb67a02c1478767c"}, {file = "asyncio_pool-0.5.2.tar.gz", hash = "sha256:03b46b3c915fd31ff9ea56bc6d7bfd2742a94d1b3ebfeb49b46f5b04c3be3459"}, ] +asynctest = [ + {file = "asynctest-0.13.0-py3-none-any.whl", hash = "sha256:5da6118a7e6d6b54d83a8f7197769d046922a44d2a99c21382f0a6e4fadae676"}, + {file = "asynctest-0.13.0.tar.gz", hash = "sha256:c27862842d15d83e6a34eb0b2866c323880eb3a75e4485b079ea11748fd77fac"}, +] atomicwrites = [ {file = "atomicwrites-1.4.0-py2.py3-none-any.whl", hash = "sha256:6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197"}, {file = "atomicwrites-1.4.0.tar.gz", hash = "sha256:ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a"}, @@ -1058,67 +1131,68 @@ black = [ {file = "black-19.10b0.tar.gz", hash = "sha256:c2edb73a08e9e0e6f65a0e6af18b059b8b1cdd5bef997d7a0b181df93dc81539"}, ] certifi = [ - {file = "certifi-2021.5.30-py2.py3-none-any.whl", hash = "sha256:50b1e4f8446b06f41be7dd6338db18e0990601dce795c2b1686458aa7e8fa7d8"}, - {file = "certifi-2021.5.30.tar.gz", hash = "sha256:2bbf76fd432960138b3ef6dda3dde0544f27cbf8546c458e60baf371917ba9ee"}, + {file = "certifi-2021.10.8-py2.py3-none-any.whl", hash = "sha256:d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569"}, + {file = "certifi-2021.10.8.tar.gz", hash = "sha256:78884e7c1d4b00ce3cea67b44566851c4343c120abd683433ce934a68ea58872"}, ] cffi = [ - {file = "cffi-1.14.6-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:22b9c3c320171c108e903d61a3723b51e37aaa8c81255b5e7ce102775bd01e2c"}, - {file = "cffi-1.14.6-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:f0c5d1acbfca6ebdd6b1e3eded8d261affb6ddcf2186205518f1428b8569bb99"}, - {file = "cffi-1.14.6-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:99f27fefe34c37ba9875f224a8f36e31d744d8083e00f520f133cab79ad5e819"}, - {file = "cffi-1.14.6-cp27-cp27m-win32.whl", hash = "sha256:55af55e32ae468e9946f741a5d51f9896da6b9bf0bbdd326843fec05c730eb20"}, - {file = "cffi-1.14.6-cp27-cp27m-win_amd64.whl", hash = "sha256:7bcac9a2b4fdbed2c16fa5681356d7121ecabf041f18d97ed5b8e0dd38a80224"}, - {file = "cffi-1.14.6-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:ed38b924ce794e505647f7c331b22a693bee1538fdf46b0222c4717b42f744e7"}, - {file = "cffi-1.14.6-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:e22dcb48709fc51a7b58a927391b23ab37eb3737a98ac4338e2448bef8559b33"}, - {file = "cffi-1.14.6-cp35-cp35m-macosx_10_9_x86_64.whl", hash = "sha256:aedb15f0a5a5949ecb129a82b72b19df97bbbca024081ed2ef88bd5c0a610534"}, - {file = "cffi-1.14.6-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:48916e459c54c4a70e52745639f1db524542140433599e13911b2f329834276a"}, - {file = "cffi-1.14.6-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:f627688813d0a4140153ff532537fbe4afea5a3dffce1f9deb7f91f848a832b5"}, - {file = "cffi-1.14.6-cp35-cp35m-win32.whl", hash = "sha256:f0010c6f9d1a4011e429109fda55a225921e3206e7f62a0c22a35344bfd13cca"}, - {file = "cffi-1.14.6-cp35-cp35m-win_amd64.whl", hash = "sha256:57e555a9feb4a8460415f1aac331a2dc833b1115284f7ded7278b54afc5bd218"}, - {file = "cffi-1.14.6-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:e8c6a99be100371dbb046880e7a282152aa5d6127ae01783e37662ef73850d8f"}, - {file = "cffi-1.14.6-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:19ca0dbdeda3b2615421d54bef8985f72af6e0c47082a8d26122adac81a95872"}, - {file = "cffi-1.14.6-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:d950695ae4381ecd856bcaf2b1e866720e4ab9a1498cba61c602e56630ca7195"}, - {file = "cffi-1.14.6-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e9dc245e3ac69c92ee4c167fbdd7428ec1956d4e754223124991ef29eb57a09d"}, - {file = "cffi-1.14.6-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a8661b2ce9694ca01c529bfa204dbb144b275a31685a075ce123f12331be790b"}, - {file = "cffi-1.14.6-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b315d709717a99f4b27b59b021e6207c64620790ca3e0bde636a6c7f14618abb"}, - {file = "cffi-1.14.6-cp36-cp36m-win32.whl", hash = "sha256:80b06212075346b5546b0417b9f2bf467fea3bfe7352f781ffc05a8ab24ba14a"}, - {file = "cffi-1.14.6-cp36-cp36m-win_amd64.whl", hash = "sha256:a9da7010cec5a12193d1af9872a00888f396aba3dc79186604a09ea3ee7c029e"}, - {file = "cffi-1.14.6-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:4373612d59c404baeb7cbd788a18b2b2a8331abcc84c3ba40051fcd18b17a4d5"}, - {file = "cffi-1.14.6-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:f10afb1004f102c7868ebfe91c28f4a712227fe4cb24974350ace1f90e1febbf"}, - {file = "cffi-1.14.6-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:fd4305f86f53dfd8cd3522269ed7fc34856a8ee3709a5e28b2836b2db9d4cd69"}, - {file = "cffi-1.14.6-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6d6169cb3c6c2ad50db5b868db6491a790300ade1ed5d1da29289d73bbe40b56"}, - {file = "cffi-1.14.6-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5d4b68e216fc65e9fe4f524c177b54964af043dde734807586cf5435af84045c"}, - {file = "cffi-1.14.6-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:33791e8a2dc2953f28b8d8d300dde42dd929ac28f974c4b4c6272cb2955cb762"}, - {file = "cffi-1.14.6-cp37-cp37m-win32.whl", hash = "sha256:0c0591bee64e438883b0c92a7bed78f6290d40bf02e54c5bf0978eaf36061771"}, - {file = "cffi-1.14.6-cp37-cp37m-win_amd64.whl", hash = "sha256:8eb687582ed7cd8c4bdbff3df6c0da443eb89c3c72e6e5dcdd9c81729712791a"}, - {file = "cffi-1.14.6-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ba6f2b3f452e150945d58f4badd92310449876c4c954836cfb1803bdd7b422f0"}, - {file = "cffi-1.14.6-cp38-cp38-manylinux1_i686.whl", hash = "sha256:64fda793737bc4037521d4899be780534b9aea552eb673b9833b01f945904c2e"}, - {file = "cffi-1.14.6-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:9f3e33c28cd39d1b655ed1ba7247133b6f7fc16fa16887b120c0c670e35ce346"}, - {file = "cffi-1.14.6-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:26bb2549b72708c833f5abe62b756176022a7b9a7f689b571e74c8478ead51dc"}, - {file = "cffi-1.14.6-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:eb687a11f0a7a1839719edd80f41e459cc5366857ecbed383ff376c4e3cc6afd"}, - {file = "cffi-1.14.6-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d2ad4d668a5c0645d281dcd17aff2be3212bc109b33814bbb15c4939f44181cc"}, - {file = "cffi-1.14.6-cp38-cp38-win32.whl", hash = "sha256:487d63e1454627c8e47dd230025780e91869cfba4c753a74fda196a1f6ad6548"}, - {file = "cffi-1.14.6-cp38-cp38-win_amd64.whl", hash = "sha256:c33d18eb6e6bc36f09d793c0dc58b0211fccc6ae5149b808da4a62660678b156"}, - {file = "cffi-1.14.6-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:06c54a68935738d206570b20da5ef2b6b6d92b38ef3ec45c5422c0ebaf338d4d"}, - {file = "cffi-1.14.6-cp39-cp39-manylinux1_i686.whl", hash = "sha256:f174135f5609428cc6e1b9090f9268f5c8935fddb1b25ccb8255a2d50de6789e"}, - {file = "cffi-1.14.6-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:f3ebe6e73c319340830a9b2825d32eb6d8475c1dac020b4f0aa774ee3b898d1c"}, - {file = "cffi-1.14.6-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3c8d896becff2fa653dc4438b54a5a25a971d1f4110b32bd3068db3722c80202"}, - {file = "cffi-1.14.6-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4922cd707b25e623b902c86188aca466d3620892db76c0bdd7b99a3d5e61d35f"}, - {file = "cffi-1.14.6-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c9e005e9bd57bc987764c32a1bee4364c44fdc11a3cc20a40b93b444984f2b87"}, - {file = "cffi-1.14.6-cp39-cp39-win32.whl", hash = "sha256:eb9e2a346c5238a30a746893f23a9535e700f8192a68c07c0258e7ece6ff3728"}, - {file = "cffi-1.14.6-cp39-cp39-win_amd64.whl", hash = "sha256:818014c754cd3dba7229c0f5884396264d51ffb87ec86e927ef0be140bfdb0d2"}, - {file = "cffi-1.14.6.tar.gz", hash = "sha256:c9a875ce9d7fe32887784274dd533c57909b7b1dcadcc128a2ac21331a9765dd"}, -] -chardet = [ - {file = "chardet-4.0.0-py2.py3-none-any.whl", hash = "sha256:f864054d66fd9118f2e67044ac8981a54775ec5b67aed0441892edb553d21da5"}, - {file = "chardet-4.0.0.tar.gz", hash = "sha256:0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa"}, + {file = "cffi-1.15.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:c2502a1a03b6312837279c8c1bd3ebedf6c12c4228ddbad40912d671ccc8a962"}, + {file = "cffi-1.15.0-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:23cfe892bd5dd8941608f93348c0737e369e51c100d03718f108bf1add7bd6d0"}, + {file = "cffi-1.15.0-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:41d45de54cd277a7878919867c0f08b0cf817605e4eb94093e7516505d3c8d14"}, + {file = "cffi-1.15.0-cp27-cp27m-win32.whl", hash = "sha256:4a306fa632e8f0928956a41fa8e1d6243c71e7eb59ffbd165fc0b41e316b2474"}, + {file = "cffi-1.15.0-cp27-cp27m-win_amd64.whl", hash = "sha256:e7022a66d9b55e93e1a845d8c9eba2a1bebd4966cd8bfc25d9cd07d515b33fa6"}, + {file = "cffi-1.15.0-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:14cd121ea63ecdae71efa69c15c5543a4b5fbcd0bbe2aad864baca0063cecf27"}, + {file = "cffi-1.15.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:d4d692a89c5cf08a8557fdeb329b82e7bf609aadfaed6c0d79f5a449a3c7c023"}, + {file = "cffi-1.15.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0104fb5ae2391d46a4cb082abdd5c69ea4eab79d8d44eaaf79f1b1fd806ee4c2"}, + {file = "cffi-1.15.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:91ec59c33514b7c7559a6acda53bbfe1b283949c34fe7440bcf917f96ac0723e"}, + {file = "cffi-1.15.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:f5c7150ad32ba43a07c4479f40241756145a1f03b43480e058cfd862bf5041c7"}, + {file = "cffi-1.15.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:00c878c90cb53ccfaae6b8bc18ad05d2036553e6d9d1d9dbcf323bbe83854ca3"}, + {file = "cffi-1.15.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:abb9a20a72ac4e0fdb50dae135ba5e77880518e742077ced47eb1499e29a443c"}, + {file = "cffi-1.15.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a5263e363c27b653a90078143adb3d076c1a748ec9ecc78ea2fb916f9b861962"}, + {file = "cffi-1.15.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f54a64f8b0c8ff0b64d18aa76675262e1700f3995182267998c31ae974fbc382"}, + {file = "cffi-1.15.0-cp310-cp310-win32.whl", hash = "sha256:c21c9e3896c23007803a875460fb786118f0cdd4434359577ea25eb556e34c55"}, + {file = "cffi-1.15.0-cp310-cp310-win_amd64.whl", hash = "sha256:5e069f72d497312b24fcc02073d70cb989045d1c91cbd53979366077959933e0"}, + {file = "cffi-1.15.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:64d4ec9f448dfe041705426000cc13e34e6e5bb13736e9fd62e34a0b0c41566e"}, + {file = "cffi-1.15.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2756c88cbb94231c7a147402476be2c4df2f6078099a6f4a480d239a8817ae39"}, + {file = "cffi-1.15.0-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3b96a311ac60a3f6be21d2572e46ce67f09abcf4d09344c49274eb9e0bf345fc"}, + {file = "cffi-1.15.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:75e4024375654472cc27e91cbe9eaa08567f7fbdf822638be2814ce059f58032"}, + {file = "cffi-1.15.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:59888172256cac5629e60e72e86598027aca6bf01fa2465bdb676d37636573e8"}, + {file = "cffi-1.15.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:27c219baf94952ae9d50ec19651a687b826792055353d07648a5695413e0c605"}, + {file = "cffi-1.15.0-cp36-cp36m-win32.whl", hash = "sha256:4958391dbd6249d7ad855b9ca88fae690783a6be9e86df65865058ed81fc860e"}, + {file = "cffi-1.15.0-cp36-cp36m-win_amd64.whl", hash = "sha256:f6f824dc3bce0edab5f427efcfb1d63ee75b6fcb7282900ccaf925be84efb0fc"}, + {file = "cffi-1.15.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:06c48159c1abed75c2e721b1715c379fa3200c7784271b3c46df01383b593636"}, + {file = "cffi-1.15.0-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:c2051981a968d7de9dd2d7b87bcb9c939c74a34626a6e2f8181455dd49ed69e4"}, + {file = "cffi-1.15.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:fd8a250edc26254fe5b33be00402e6d287f562b6a5b2152dec302fa15bb3e997"}, + {file = "cffi-1.15.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:91d77d2a782be4274da750752bb1650a97bfd8f291022b379bb8e01c66b4e96b"}, + {file = "cffi-1.15.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:45db3a33139e9c8f7c09234b5784a5e33d31fd6907800b316decad50af323ff2"}, + {file = "cffi-1.15.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:263cc3d821c4ab2213cbe8cd8b355a7f72a8324577dc865ef98487c1aeee2bc7"}, + {file = "cffi-1.15.0-cp37-cp37m-win32.whl", hash = "sha256:17771976e82e9f94976180f76468546834d22a7cc404b17c22df2a2c81db0c66"}, + {file = "cffi-1.15.0-cp37-cp37m-win_amd64.whl", hash = "sha256:3415c89f9204ee60cd09b235810be700e993e343a408693e80ce7f6a40108029"}, + {file = "cffi-1.15.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:4238e6dab5d6a8ba812de994bbb0a79bddbdf80994e4ce802b6f6f3142fcc880"}, + {file = "cffi-1.15.0-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:0808014eb713677ec1292301ea4c81ad277b6cdf2fdd90fd540af98c0b101d20"}, + {file = "cffi-1.15.0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:57e9ac9ccc3101fac9d6014fba037473e4358ef4e89f8e181f8951a2c0162024"}, + {file = "cffi-1.15.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8b6c2ea03845c9f501ed1313e78de148cd3f6cad741a75d43a29b43da27f2e1e"}, + {file = "cffi-1.15.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:10dffb601ccfb65262a27233ac273d552ddc4d8ae1bf93b21c94b8511bffe728"}, + {file = "cffi-1.15.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:786902fb9ba7433aae840e0ed609f45c7bcd4e225ebb9c753aa39725bb3e6ad6"}, + {file = "cffi-1.15.0-cp38-cp38-win32.whl", hash = "sha256:da5db4e883f1ce37f55c667e5c0de439df76ac4cb55964655906306918e7363c"}, + {file = "cffi-1.15.0-cp38-cp38-win_amd64.whl", hash = "sha256:181dee03b1170ff1969489acf1c26533710231c58f95534e3edac87fff06c443"}, + {file = "cffi-1.15.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:45e8636704eacc432a206ac7345a5d3d2c62d95a507ec70d62f23cd91770482a"}, + {file = "cffi-1.15.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:31fb708d9d7c3f49a60f04cf5b119aeefe5644daba1cd2a0fe389b674fd1de37"}, + {file = "cffi-1.15.0-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:6dc2737a3674b3e344847c8686cf29e500584ccad76204efea14f451d4cc669a"}, + {file = "cffi-1.15.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:74fdfdbfdc48d3f47148976f49fab3251e550a8720bebc99bf1483f5bfb5db3e"}, + {file = "cffi-1.15.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ffaa5c925128e29efbde7301d8ecaf35c8c60ffbcd6a1ffd3a552177c8e5e796"}, + {file = "cffi-1.15.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3f7d084648d77af029acb79a0ff49a0ad7e9d09057a9bf46596dac9514dc07df"}, + {file = "cffi-1.15.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ef1f279350da2c586a69d32fc8733092fd32cc8ac95139a00377841f59a3f8d8"}, + {file = "cffi-1.15.0-cp39-cp39-win32.whl", hash = "sha256:2a23af14f408d53d5e6cd4e3d9a24ff9e05906ad574822a10563efcef137979a"}, + {file = "cffi-1.15.0-cp39-cp39-win_amd64.whl", hash = "sha256:3773c4d81e6e818df2efbc7dd77325ca0dcb688116050fb2b3011218eda36139"}, + {file = "cffi-1.15.0.tar.gz", hash = "sha256:920f0d66a896c2d99f0adbb391f990a84091179542c205fa53ce5787aff87954"}, ] charset-normalizer = [ - {file = "charset-normalizer-2.0.5.tar.gz", hash = "sha256:7098e7e862f6370a2a8d1a6398cd359815c45d12626267652c3f13dec58e2367"}, - {file = "charset_normalizer-2.0.5-py3-none-any.whl", hash = "sha256:fa471a601dfea0f492e4f4fca035cd82155e65dc45c9b83bf4322dfab63755dd"}, + {file = "charset-normalizer-2.0.7.tar.gz", hash = "sha256:e019de665e2bcf9c2b64e2e5aa025fa991da8720daa3c1138cadd2fd1856aed0"}, + {file = "charset_normalizer-2.0.7-py3-none-any.whl", hash = "sha256:f7af805c321bfa1ce6714c51f254e0d5bb5e5834039bc17db7ebe3a4cec9492b"}, ] click = [ - {file = "click-8.0.1-py3-none-any.whl", hash = "sha256:fba402a4a47334742d782209a7c79bc448911afe1149d07bdabdf480b3e2f4b6"}, - {file = "click-8.0.1.tar.gz", hash = "sha256:8c04c11192119b1ef78ea049e0a6f0463e4c48ef00a30160c704337586f3ad7a"}, + {file = "click-8.0.3-py3-none-any.whl", hash = "sha256:353f466495adaeb40b6b5f592f9f91cb22372351c84caeb068132442a4518ef3"}, + {file = "click-8.0.3.tar.gz", hash = "sha256:410e932b050f5eed773c4cda94de75971c89cdb3155a72a0831139a79e5ecb5b"}, ] codecov = [ {file = "codecov-2.1.12-py2.py3-none-any.whl", hash = "sha256:585dc217dc3d8185198ceb402f85d5cb5dbfa0c5f350a5abcdf9e347776a5b47"}, @@ -1167,23 +1241,26 @@ coverage = [ {file = "coverage-4.5.4.tar.gz", hash = "sha256:e07d9f1a23e9e93ab5c62902833bf3e4b1f65502927379148b6622686223125c"}, ] cryptography = [ - {file = "cryptography-3.4.8-cp36-abi3-macosx_10_10_x86_64.whl", hash = "sha256:a00cf305f07b26c351d8d4e1af84ad7501eca8a342dedf24a7acb0e7b7406e14"}, - {file = "cryptography-3.4.8-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:f44d141b8c4ea5eb4dbc9b3ad992d45580c1d22bf5e24363f2fbf50c2d7ae8a7"}, - {file = "cryptography-3.4.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:0a7dcbcd3f1913f664aca35d47c1331fce738d44ec34b7be8b9d332151b0b01e"}, - {file = "cryptography-3.4.8-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:34dae04a0dce5730d8eb7894eab617d8a70d0c97da76b905de9efb7128ad7085"}, - {file = "cryptography-3.4.8-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1eb7bb0df6f6f583dd8e054689def236255161ebbcf62b226454ab9ec663746b"}, - {file = "cryptography-3.4.8-cp36-abi3-manylinux_2_24_x86_64.whl", hash = "sha256:9965c46c674ba8cc572bc09a03f4c649292ee73e1b683adb1ce81e82e9a6a0fb"}, - {file = "cryptography-3.4.8-cp36-abi3-win32.whl", hash = "sha256:21ca464b3a4b8d8e86ba0ee5045e103a1fcfac3b39319727bc0fc58c09c6aff7"}, - {file = "cryptography-3.4.8-cp36-abi3-win_amd64.whl", hash = "sha256:3520667fda779eb788ea00080124875be18f2d8f0848ec00733c0ec3bb8219fc"}, - {file = "cryptography-3.4.8-pp36-pypy36_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:d2a6e5ef66503da51d2110edf6c403dc6b494cc0082f85db12f54e9c5d4c3ec5"}, - {file = "cryptography-3.4.8-pp36-pypy36_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a305600e7a6b7b855cd798e00278161b681ad6e9b7eca94c721d5f588ab212af"}, - {file = "cryptography-3.4.8-pp36-pypy36_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:3fa3a7ccf96e826affdf1a0a9432be74dc73423125c8f96a909e3835a5ef194a"}, - {file = "cryptography-3.4.8-pp37-pypy37_pp73-macosx_10_10_x86_64.whl", hash = "sha256:d9ec0e67a14f9d1d48dd87a2531009a9b251c02ea42851c060b25c782516ff06"}, - {file = "cryptography-3.4.8-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:5b0fbfae7ff7febdb74b574055c7466da334a5371f253732d7e2e7525d570498"}, - {file = "cryptography-3.4.8-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:94fff993ee9bc1b2440d3b7243d488c6a3d9724cc2b09cdb297f6a886d040ef7"}, - {file = "cryptography-3.4.8-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:8695456444f277af73a4877db9fc979849cd3ee74c198d04fc0776ebc3db52b9"}, - {file = "cryptography-3.4.8-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:cd65b60cfe004790c795cc35f272e41a3df4631e2fb6b35aa7ac6ef2859d554e"}, - {file = "cryptography-3.4.8.tar.gz", hash = "sha256:94cc5ed4ceaefcbe5bf38c8fba6a21fc1d365bb8fb826ea1688e3370b2e24a1c"}, + {file = "cryptography-35.0.0-cp36-abi3-macosx_10_10_x86_64.whl", hash = "sha256:d57e0cdc1b44b6cdf8af1d01807db06886f10177469312fbde8f44ccbb284bc9"}, + {file = "cryptography-35.0.0-cp36-abi3-macosx_11_0_arm64.whl", hash = "sha256:ced40344e811d6abba00295ced98c01aecf0c2de39481792d87af4fa58b7b4d6"}, + {file = "cryptography-35.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:54b2605e5475944e2213258e0ab8696f4f357a31371e538ef21e8d61c843c28d"}, + {file = "cryptography-35.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_24_aarch64.whl", hash = "sha256:7b7ceeff114c31f285528ba8b390d3e9cfa2da17b56f11d366769a807f17cbaa"}, + {file = "cryptography-35.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2d69645f535f4b2c722cfb07a8eab916265545b3475fdb34e0be2f4ee8b0b15e"}, + {file = "cryptography-35.0.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4a2d0e0acc20ede0f06ef7aa58546eee96d2592c00f450c9acb89c5879b61992"}, + {file = "cryptography-35.0.0-cp36-abi3-manylinux_2_24_x86_64.whl", hash = "sha256:07bb7fbfb5de0980590ddfc7f13081520def06dc9ed214000ad4372fb4e3c7f6"}, + {file = "cryptography-35.0.0-cp36-abi3-musllinux_1_1_aarch64.whl", hash = "sha256:7eba2cebca600a7806b893cb1d541a6e910afa87e97acf2021a22b32da1df52d"}, + {file = "cryptography-35.0.0-cp36-abi3-musllinux_1_1_x86_64.whl", hash = "sha256:18d90f4711bf63e2fb21e8c8e51ed8189438e6b35a6d996201ebd98a26abbbe6"}, + {file = "cryptography-35.0.0-cp36-abi3-win32.whl", hash = "sha256:c10c797ac89c746e488d2ee92bd4abd593615694ee17b2500578b63cad6b93a8"}, + {file = "cryptography-35.0.0-cp36-abi3-win_amd64.whl", hash = "sha256:7075b304cd567694dc692ffc9747f3e9cb393cc4aa4fb7b9f3abd6f5c4e43588"}, + {file = "cryptography-35.0.0-pp36-pypy36_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:a688ebcd08250eab5bb5bca318cc05a8c66de5e4171a65ca51db6bd753ff8953"}, + {file = "cryptography-35.0.0-pp36-pypy36_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d99915d6ab265c22873f1b4d6ea5ef462ef797b4140be4c9d8b179915e0985c6"}, + {file = "cryptography-35.0.0-pp36-pypy36_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:928185a6d1ccdb816e883f56ebe92e975a262d31cc536429041921f8cb5a62fd"}, + {file = "cryptography-35.0.0-pp37-pypy37_pp73-macosx_10_10_x86_64.whl", hash = "sha256:ebeddd119f526bcf323a89f853afb12e225902a24d29b55fe18dd6fcb2838a76"}, + {file = "cryptography-35.0.0-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:22a38e96118a4ce3b97509443feace1d1011d0571fae81fc3ad35f25ba3ea999"}, + {file = "cryptography-35.0.0-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eb80e8a1f91e4b7ef8b33041591e6d89b2b8e122d787e87eeb2b08da71bb16ad"}, + {file = "cryptography-35.0.0-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl", hash = "sha256:abb5a361d2585bb95012a19ed9b2c8f412c5d723a9836418fab7aaa0243e67d2"}, + {file = "cryptography-35.0.0-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:1ed82abf16df40a60942a8c211251ae72858b25b7421ce2497c2eb7a1cee817c"}, + {file = "cryptography-35.0.0.tar.gz", hash = "sha256:9933f28f70d0517686bd7de36166dda42094eac49415459d9bdf5e7df3e0086d"}, ] dataclasses = [ {file = "dataclasses-0.8-py3-none-any.whl", hash = "sha256:0201d89fa866f68c8ebd9d08ee6ff50c0b255f8ec63a71c16fda7af82bb887bf"}, @@ -1197,16 +1274,90 @@ execnet = [ {file = "execnet-1.9.0-py2.py3-none-any.whl", hash = "sha256:a295f7cc774947aac58dde7fdc85f4aa00c42adf5d8f5468fc630c1acf30a142"}, {file = "execnet-1.9.0.tar.gz", hash = "sha256:8f694f3ba9cc92cab508b152dcfe322153975c29bda272e2fd7f3f00f36e47c5"}, ] +frozenlist = [ + {file = "frozenlist-1.2.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:977a1438d0e0d96573fd679d291a1542097ea9f4918a8b6494b06610dfeefbf9"}, + {file = "frozenlist-1.2.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a8d86547a5e98d9edd47c432f7a14b0c5592624b496ae9880fb6332f34af1edc"}, + {file = "frozenlist-1.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:181754275d5d32487431a0a29add4f897968b7157204bc1eaaf0a0ce80c5ba7d"}, + {file = "frozenlist-1.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5df31bb2b974f379d230a25943d9bf0d3bc666b4b0807394b131a28fca2b0e5f"}, + {file = "frozenlist-1.2.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4766632cd8a68e4f10f156a12c9acd7b1609941525569dd3636d859d79279ed3"}, + {file = "frozenlist-1.2.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:16eef427c51cb1203a7c0ab59d1b8abccaba9a4f58c4bfca6ed278fc896dc193"}, + {file = "frozenlist-1.2.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:01d79515ed5aa3d699b05f6bdcf1fe9087d61d6b53882aa599a10853f0479c6c"}, + {file = "frozenlist-1.2.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:28e164722ea0df0cf6d48c4d5bdf3d19e87aaa6dfb39b0ba91153f224b912020"}, + {file = "frozenlist-1.2.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:e63ad0beef6ece06475d29f47d1f2f29727805376e09850ebf64f90777962792"}, + {file = "frozenlist-1.2.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:41de4db9b9501679cf7cddc16d07ac0f10ef7eb58c525a1c8cbff43022bddca4"}, + {file = "frozenlist-1.2.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:c6a9d84ee6427b65a81fc24e6ef589cb794009f5ca4150151251c062773e7ed2"}, + {file = "frozenlist-1.2.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:f5f3b2942c3b8b9bfe76b408bbaba3d3bb305ee3693e8b1d631fe0a0d4f93673"}, + {file = "frozenlist-1.2.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c98d3c04701773ad60d9545cd96df94d955329efc7743fdb96422c4b669c633b"}, + {file = "frozenlist-1.2.0-cp310-cp310-win32.whl", hash = "sha256:72cfbeab7a920ea9e74b19aa0afe3b4ad9c89471e3badc985d08756efa9b813b"}, + {file = "frozenlist-1.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:11ff401951b5ac8c0701a804f503d72c048173208490c54ebb8d7bb7c07a6d00"}, + {file = "frozenlist-1.2.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:b46f997d5ed6d222a863b02cdc9c299101ee27974d9bbb2fd1b3c8441311c408"}, + {file = "frozenlist-1.2.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:351686ca020d1bcd238596b1fa5c8efcbc21bffda9d0efe237aaa60348421e2a"}, + {file = "frozenlist-1.2.0-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bfbaa08cf1452acad9cb1c1d7b89394a41e712f88df522cea1a0f296b57782a0"}, + {file = "frozenlist-1.2.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b2ae2f5e9fa10805fb1c9adbfefaaecedd9e31849434be462c3960a0139ed729"}, + {file = "frozenlist-1.2.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:6790b8d96bbb74b7a6f4594b6f131bd23056c25f2aa5d816bd177d95245a30e3"}, + {file = "frozenlist-1.2.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:41f62468af1bd4e4b42b5508a3fe8cc46a693f0cdd0ca2f443f51f207893d837"}, + {file = "frozenlist-1.2.0-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:ec6cf345771cdb00791d271af9a0a6fbfc2b6dd44cb753f1eeaa256e21622adb"}, + {file = "frozenlist-1.2.0-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:14a5cef795ae3e28fb504b73e797c1800e9249f950e1c964bb6bdc8d77871161"}, + {file = "frozenlist-1.2.0-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:8b54cdd2fda15467b9b0bfa78cee2ddf6dbb4585ef23a16e14926f4b076dfae4"}, + {file = "frozenlist-1.2.0-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:f025f1d6825725b09c0038775acab9ae94264453a696cc797ce20c0769a7b367"}, + {file = "frozenlist-1.2.0-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:84e97f59211b5b9083a2e7a45abf91cfb441369e8bb6d1f5287382c1c526def3"}, + {file = "frozenlist-1.2.0-cp36-cp36m-win32.whl", hash = "sha256:c5328ed53fdb0a73c8a50105306a3bc013e5ca36cca714ec4f7bd31d38d8a97f"}, + {file = "frozenlist-1.2.0-cp36-cp36m-win_amd64.whl", hash = "sha256:9ade70aea559ca98f4b1b1e5650c45678052e76a8ab2f76d90f2ac64180215a2"}, + {file = "frozenlist-1.2.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a0d3ffa8772464441b52489b985d46001e2853a3b082c655ec5fad9fb6a3d618"}, + {file = "frozenlist-1.2.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3457f8cf86deb6ce1ba67e120f1b0128fcba1332a180722756597253c465fc1d"}, + {file = "frozenlist-1.2.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5a72eecf37eface331636951249d878750db84034927c997d47f7f78a573b72b"}, + {file = "frozenlist-1.2.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:acc4614e8d1feb9f46dd829a8e771b8f5c4b1051365d02efb27a3229048ade8a"}, + {file = "frozenlist-1.2.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:87521e32e18a2223311afc2492ef2d99946337da0779ddcda77b82ee7319df59"}, + {file = "frozenlist-1.2.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:8b4c7665a17c3a5430edb663e4ad4e1ad457614d1b2f2b7f87052e2ef4fa45ca"}, + {file = "frozenlist-1.2.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:ed58803563a8c87cf4c0771366cf0ad1aa265b6b0ae54cbbb53013480c7ad74d"}, + {file = "frozenlist-1.2.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:aa44c4740b4e23fcfa259e9dd52315d2b1770064cde9507457e4c4a65a04c397"}, + {file = "frozenlist-1.2.0-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:2de5b931701257d50771a032bba4e448ff958076380b049fd36ed8738fdb375b"}, + {file = "frozenlist-1.2.0-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:6e105013fa84623c057a4381dc8ea0361f4d682c11f3816cc80f49a1f3bc17c6"}, + {file = "frozenlist-1.2.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:705c184b77565955a99dc360f359e8249580c6b7eaa4dc0227caa861ef46b27a"}, + {file = "frozenlist-1.2.0-cp37-cp37m-win32.whl", hash = "sha256:a37594ad6356e50073fe4f60aa4187b97d15329f2138124d252a5a19c8553ea4"}, + {file = "frozenlist-1.2.0-cp37-cp37m-win_amd64.whl", hash = "sha256:25b358aaa7dba5891b05968dd539f5856d69f522b6de0bf34e61f133e077c1a4"}, + {file = "frozenlist-1.2.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:af2a51c8a381d76eabb76f228f565ed4c3701441ecec101dd18be70ebd483cfd"}, + {file = "frozenlist-1.2.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:82d22f6e6f2916e837c91c860140ef9947e31194c82aaeda843d6551cec92f19"}, + {file = "frozenlist-1.2.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:1cfe6fef507f8bac40f009c85c7eddfed88c1c0d38c75e72fe10476cef94e10f"}, + {file = "frozenlist-1.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:26f602e380a5132880fa245c92030abb0fc6ff34e0c5500600366cedc6adb06a"}, + {file = "frozenlist-1.2.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4ad065b2ebd09f32511ff2be35c5dfafee6192978b5a1e9d279a5c6e121e3b03"}, + {file = "frozenlist-1.2.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bc93f5f62df3bdc1f677066327fc81f92b83644852a31c6aa9b32c2dde86ea7d"}, + {file = "frozenlist-1.2.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:89fdfc84c6bf0bff2ff3170bb34ecba8a6911b260d318d377171429c4be18c73"}, + {file = "frozenlist-1.2.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:47b2848e464883d0bbdcd9493c67443e5e695a84694efff0476f9059b4cb6257"}, + {file = "frozenlist-1.2.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:4f52d0732e56906f8ddea4bd856192984650282424049c956857fed43697ea43"}, + {file = "frozenlist-1.2.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:16ef7dd5b7d17495404a2e7a49bac1bc13d6d20c16d11f4133c757dd94c4144c"}, + {file = "frozenlist-1.2.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:1cf63243bc5f5c19762943b0aa9e0d3fb3723d0c514d820a18a9b9a5ef864315"}, + {file = "frozenlist-1.2.0-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:54a1e09ab7a69f843cd28fefd2bcaf23edb9e3a8d7680032c8968b8ac934587d"}, + {file = "frozenlist-1.2.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:954b154a4533ef28bd3e83ffdf4eadf39deeda9e38fb8feaf066d6069885e034"}, + {file = "frozenlist-1.2.0-cp38-cp38-win32.whl", hash = "sha256:cb3957c39668d10e2b486acc85f94153520a23263b6401e8f59422ef65b9520d"}, + {file = "frozenlist-1.2.0-cp38-cp38-win_amd64.whl", hash = "sha256:0a7c7cce70e41bc13d7d50f0e5dd175f14a4f1837a8549b0936ed0cbe6170bf9"}, + {file = "frozenlist-1.2.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:4c457220468d734e3077580a3642b7f682f5fd9507f17ddf1029452450912cdc"}, + {file = "frozenlist-1.2.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:e74f8b4d8677ebb4015ac01fcaf05f34e8a1f22775db1f304f497f2f88fdc697"}, + {file = "frozenlist-1.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:fbd4844ff111449f3bbe20ba24fbb906b5b1c2384d0f3287c9f7da2354ce6d23"}, + {file = "frozenlist-1.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f0081a623c886197ff8de9e635528fd7e6a387dccef432149e25c13946cb0cd0"}, + {file = "frozenlist-1.2.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9b6e21e5770df2dea06cb7b6323fbc008b13c4a4e3b52cb54685276479ee7676"}, + {file = "frozenlist-1.2.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:406aeb340613b4b559db78d86864485f68919b7141dec82aba24d1477fd2976f"}, + {file = "frozenlist-1.2.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:878ebe074839d649a1cdb03a61077d05760624f36d196884a5cafb12290e187b"}, + {file = "frozenlist-1.2.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:1fef737fd1388f9b93bba8808c5f63058113c10f4e3c0763ced68431773f72f9"}, + {file = "frozenlist-1.2.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:4a495c3d513573b0b3f935bfa887a85d9ae09f0627cf47cad17d0cc9b9ba5c38"}, + {file = "frozenlist-1.2.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:e7d0dd3e727c70c2680f5f09a0775525229809f1a35d8552b92ff10b2b14f2c2"}, + {file = "frozenlist-1.2.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:66a518731a21a55b7d3e087b430f1956a36793acc15912e2878431c7aec54210"}, + {file = "frozenlist-1.2.0-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:94728f97ddf603d23c8c3dd5cae2644fa12d33116e69f49b1644a71bb77b89ae"}, + {file = "frozenlist-1.2.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:c1e8e9033d34c2c9e186e58279879d78c94dd365068a3607af33f2bc99357a53"}, + {file = "frozenlist-1.2.0-cp39-cp39-win32.whl", hash = "sha256:83334e84a290a158c0c4cc4d22e8c7cfe0bba5b76d37f1c2509dabd22acafe15"}, + {file = "frozenlist-1.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:735f386ec522e384f511614c01d2ef9cf799f051353876b4c6fb93ef67a6d1ee"}, + {file = "frozenlist-1.2.0.tar.gz", hash = "sha256:68201be60ac56aff972dc18085800b6ee07973c49103a8aba669dee3d71079de"}, +] idna = [ - {file = "idna-3.2-py3-none-any.whl", hash = "sha256:14475042e284991034cb48e06f6851428fb14c4dc953acd9be9a5e95c7b6dd7a"}, - {file = "idna-3.2.tar.gz", hash = "sha256:467fbad99067910785144ce333826c71fb0e63a425657295239737f7ecd125f3"}, + {file = "idna-3.3-py3-none-any.whl", hash = "sha256:84d9dd047ffa80596e0f246e2eab0b391788b0503584e8945f2368256d2735ff"}, + {file = "idna-3.3.tar.gz", hash = "sha256:9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d"}, ] idna-ssl = [ {file = "idna-ssl-1.1.0.tar.gz", hash = "sha256:a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c"}, ] imagesize = [ - {file = "imagesize-1.2.0-py2.py3-none-any.whl", hash = "sha256:6965f19a6a2039c7d48bca7dba2473069ff854c36ae6f19d2cde309d998228a1"}, - {file = "imagesize-1.2.0.tar.gz", hash = "sha256:b1f6b5a4eab1f73479a50fb79fcf729514a900c341d8503d62a62dbc4127a2b1"}, + {file = "imagesize-1.3.0-py2.py3-none-any.whl", hash = "sha256:1db2f82529e53c3e929e8926a1fa9235aa82d0bd0c580359c67ec31b2fddaa8c"}, + {file = "imagesize-1.3.0.tar.gz", hash = "sha256:cd1750d452385ca327479d45b64d9c7729ecf0b3969a58148298c77092261f9d"}, ] immutables = [ {file = "immutables-0.16-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:acbfa79d44228d96296279068441f980dc63dbed52522d9227ff9f4d96c6627e"}, @@ -1250,8 +1401,8 @@ isort = [ {file = "isort-5.8.0.tar.gz", hash = "sha256:0a943902919f65c5684ac4e0154b1ad4fac6dcaa5d9f3426b732f1c8b5419be6"}, ] jinja2 = [ - {file = "Jinja2-3.0.1-py3-none-any.whl", hash = "sha256:1f06f2da51e7b56b8f238affdd6b4e2c61e39598a378cc49345bc1bd42a978a4"}, - {file = "Jinja2-3.0.1.tar.gz", hash = "sha256:703f484b47a6af502e743c9122595cc812b0271f661722403114f71a79d0f5a4"}, + {file = "Jinja2-3.0.3-py3-none-any.whl", hash = "sha256:077ce6014f7b40d03b47d1f1ca4b0fc8328a692bd284016f806ed0eaca390ad8"}, + {file = "Jinja2-3.0.3.tar.gz", hash = "sha256:611bb273cd68f3b993fabdc4064fc858c5b47a973cb5aa7999ec1ba405c87cd7"}, ] jmespath = [ {file = "jmespath-0.10.0-py2.py3-none-any.whl", hash = "sha256:cdf6525904cc597730141d61b36f2e4b8ecc257c420fa2f4549bac2c2d0cb72f"}, @@ -1349,43 +1500,78 @@ mock = [ {file = "mock-4.0.3.tar.gz", hash = "sha256:7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc"}, ] multidict = [ - {file = "multidict-5.1.0-cp36-cp36m-macosx_10_14_x86_64.whl", hash = "sha256:b7993704f1a4b204e71debe6095150d43b2ee6150fa4f44d6d966ec356a8d61f"}, - {file = "multidict-5.1.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:9dd6e9b1a913d096ac95d0399bd737e00f2af1e1594a787e00f7975778c8b2bf"}, - {file = "multidict-5.1.0-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:f21756997ad8ef815d8ef3d34edd98804ab5ea337feedcd62fb52d22bf531281"}, - {file = "multidict-5.1.0-cp36-cp36m-manylinux2014_i686.whl", hash = "sha256:1ab820665e67373de5802acae069a6a05567ae234ddb129f31d290fc3d1aa56d"}, - {file = "multidict-5.1.0-cp36-cp36m-manylinux2014_ppc64le.whl", hash = "sha256:9436dc58c123f07b230383083855593550c4d301d2532045a17ccf6eca505f6d"}, - {file = "multidict-5.1.0-cp36-cp36m-manylinux2014_s390x.whl", hash = "sha256:830f57206cc96ed0ccf68304141fec9481a096c4d2e2831f311bde1c404401da"}, - {file = "multidict-5.1.0-cp36-cp36m-manylinux2014_x86_64.whl", hash = "sha256:2e68965192c4ea61fff1b81c14ff712fc7dc15d2bd120602e4a3494ea6584224"}, - {file = "multidict-5.1.0-cp36-cp36m-win32.whl", hash = "sha256:2f1a132f1c88724674271d636e6b7351477c27722f2ed789f719f9e3545a3d26"}, - {file = "multidict-5.1.0-cp36-cp36m-win_amd64.whl", hash = "sha256:3a4f32116f8f72ecf2a29dabfb27b23ab7cdc0ba807e8459e59a93a9be9506f6"}, - {file = "multidict-5.1.0-cp37-cp37m-macosx_10_14_x86_64.whl", hash = "sha256:46c73e09ad374a6d876c599f2328161bcd95e280f84d2060cf57991dec5cfe76"}, - {file = "multidict-5.1.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:018132dbd8688c7a69ad89c4a3f39ea2f9f33302ebe567a879da8f4ca73f0d0a"}, - {file = "multidict-5.1.0-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:4b186eb7d6ae7c06eb4392411189469e6a820da81447f46c0072a41c748ab73f"}, - {file = "multidict-5.1.0-cp37-cp37m-manylinux2014_i686.whl", hash = "sha256:3a041b76d13706b7fff23b9fc83117c7b8fe8d5fe9e6be45eee72b9baa75f348"}, - {file = "multidict-5.1.0-cp37-cp37m-manylinux2014_ppc64le.whl", hash = "sha256:051012ccee979b2b06be928a6150d237aec75dd6bf2d1eeeb190baf2b05abc93"}, - {file = "multidict-5.1.0-cp37-cp37m-manylinux2014_s390x.whl", hash = "sha256:6a4d5ce640e37b0efcc8441caeea8f43a06addace2335bd11151bc02d2ee31f9"}, - {file = "multidict-5.1.0-cp37-cp37m-manylinux2014_x86_64.whl", hash = "sha256:5cf3443199b83ed9e955f511b5b241fd3ae004e3cb81c58ec10f4fe47c7dce37"}, - {file = "multidict-5.1.0-cp37-cp37m-win32.whl", hash = "sha256:f200755768dc19c6f4e2b672421e0ebb3dd54c38d5a4f262b872d8cfcc9e93b5"}, - {file = "multidict-5.1.0-cp37-cp37m-win_amd64.whl", hash = "sha256:05c20b68e512166fddba59a918773ba002fdd77800cad9f55b59790030bab632"}, - {file = "multidict-5.1.0-cp38-cp38-macosx_10_14_x86_64.whl", hash = "sha256:54fd1e83a184e19c598d5e70ba508196fd0bbdd676ce159feb412a4a6664f952"}, - {file = "multidict-5.1.0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:0e3c84e6c67eba89c2dbcee08504ba8644ab4284863452450520dad8f1e89b79"}, - {file = "multidict-5.1.0-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:dc862056f76443a0db4509116c5cd480fe1b6a2d45512a653f9a855cc0517456"}, - {file = "multidict-5.1.0-cp38-cp38-manylinux2014_i686.whl", hash = "sha256:0e929169f9c090dae0646a011c8b058e5e5fb391466016b39d21745b48817fd7"}, - {file = "multidict-5.1.0-cp38-cp38-manylinux2014_ppc64le.whl", hash = "sha256:d81eddcb12d608cc08081fa88d046c78afb1bf8107e6feab5d43503fea74a635"}, - {file = "multidict-5.1.0-cp38-cp38-manylinux2014_s390x.whl", hash = "sha256:585fd452dd7782130d112f7ddf3473ffdd521414674c33876187e101b588738a"}, - {file = "multidict-5.1.0-cp38-cp38-manylinux2014_x86_64.whl", hash = "sha256:37e5438e1c78931df5d3c0c78ae049092877e5e9c02dd1ff5abb9cf27a5914ea"}, - {file = "multidict-5.1.0-cp38-cp38-win32.whl", hash = "sha256:07b42215124aedecc6083f1ce6b7e5ec5b50047afa701f3442054373a6deb656"}, - {file = "multidict-5.1.0-cp38-cp38-win_amd64.whl", hash = "sha256:929006d3c2d923788ba153ad0de8ed2e5ed39fdbe8e7be21e2f22ed06c6783d3"}, - {file = "multidict-5.1.0-cp39-cp39-macosx_10_14_x86_64.whl", hash = "sha256:b797515be8743b771aa868f83563f789bbd4b236659ba52243b735d80b29ed93"}, - {file = "multidict-5.1.0-cp39-cp39-manylinux1_i686.whl", hash = "sha256:d5c65bdf4484872c4af3150aeebe101ba560dcfb34488d9a8ff8dbcd21079647"}, - {file = "multidict-5.1.0-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:b47a43177a5e65b771b80db71e7be76c0ba23cc8aa73eeeb089ed5219cdbe27d"}, - {file = "multidict-5.1.0-cp39-cp39-manylinux2014_i686.whl", hash = "sha256:806068d4f86cb06af37cd65821554f98240a19ce646d3cd24e1c33587f313eb8"}, - {file = "multidict-5.1.0-cp39-cp39-manylinux2014_ppc64le.whl", hash = "sha256:46dd362c2f045095c920162e9307de5ffd0a1bfbba0a6e990b344366f55a30c1"}, - {file = "multidict-5.1.0-cp39-cp39-manylinux2014_s390x.whl", hash = "sha256:ace010325c787c378afd7f7c1ac66b26313b3344628652eacd149bdd23c68841"}, - {file = "multidict-5.1.0-cp39-cp39-manylinux2014_x86_64.whl", hash = "sha256:ecc771ab628ea281517e24fd2c52e8f31c41e66652d07599ad8818abaad38cda"}, - {file = "multidict-5.1.0-cp39-cp39-win32.whl", hash = "sha256:fc13a9524bc18b6fb6e0dbec3533ba0496bbed167c56d0aabefd965584557d80"}, - {file = "multidict-5.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:7df80d07818b385f3129180369079bd6934cf70469f99daaebfac89dca288359"}, - {file = "multidict-5.1.0.tar.gz", hash = "sha256:25b4e5f22d3a37ddf3effc0710ba692cfc792c2b9edfb9c05aefe823256e84d5"}, + {file = "multidict-5.2.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:3822c5894c72e3b35aae9909bef66ec83e44522faf767c0ad39e0e2de11d3b55"}, + {file = "multidict-5.2.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:28e6d883acd8674887d7edc896b91751dc2d8e87fbdca8359591a13872799e4e"}, + {file = "multidict-5.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:b61f85101ef08cbbc37846ac0e43f027f7844f3fade9b7f6dd087178caedeee7"}, + {file = "multidict-5.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d9b668c065968c5979fe6b6fa6760bb6ab9aeb94b75b73c0a9c1acf6393ac3bf"}, + {file = "multidict-5.2.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:517d75522b7b18a3385726b54a081afd425d4f41144a5399e5abd97ccafdf36b"}, + {file = "multidict-5.2.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1b4ac3ba7a97b35a5ccf34f41b5a8642a01d1e55454b699e5e8e7a99b5a3acf5"}, + {file = "multidict-5.2.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:df23c83398715b26ab09574217ca21e14694917a0c857e356fd39e1c64f8283f"}, + {file = "multidict-5.2.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:e58a9b5cc96e014ddf93c2227cbdeca94b56a7eb77300205d6e4001805391747"}, + {file = "multidict-5.2.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:f76440e480c3b2ca7f843ff8a48dc82446b86ed4930552d736c0bac507498a52"}, + {file = "multidict-5.2.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:cfde464ca4af42a629648c0b0d79b8f295cf5b695412451716531d6916461628"}, + {file = "multidict-5.2.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:0fed465af2e0eb6357ba95795d003ac0bdb546305cc2366b1fc8f0ad67cc3fda"}, + {file = "multidict-5.2.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:b70913cbf2e14275013be98a06ef4b412329fe7b4f83d64eb70dce8269ed1e1a"}, + {file = "multidict-5.2.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a5635bcf1b75f0f6ef3c8a1ad07b500104a971e38d3683167b9454cb6465ac86"}, + {file = "multidict-5.2.0-cp310-cp310-win32.whl", hash = "sha256:77f0fb7200cc7dedda7a60912f2059086e29ff67cefbc58d2506638c1a9132d7"}, + {file = "multidict-5.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:9416cf11bcd73c861267e88aea71e9fcc35302b3943e45e1dbb4317f91a4b34f"}, + {file = "multidict-5.2.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:fd77c8f3cba815aa69cb97ee2b2ef385c7c12ada9c734b0f3b32e26bb88bbf1d"}, + {file = "multidict-5.2.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:98ec9aea6223adf46999f22e2c0ab6cf33f5914be604a404f658386a8f1fba37"}, + {file = "multidict-5.2.0-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e5283c0a00f48e8cafcecadebfa0ed1dac8b39e295c7248c44c665c16dc1138b"}, + {file = "multidict-5.2.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5f79c19c6420962eb17c7e48878a03053b7ccd7b69f389d5831c0a4a7f1ac0a1"}, + {file = "multidict-5.2.0-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:e4a67f1080123de76e4e97a18d10350df6a7182e243312426d508712e99988d4"}, + {file = "multidict-5.2.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:94b117e27efd8e08b4046c57461d5a114d26b40824995a2eb58372b94f9fca02"}, + {file = "multidict-5.2.0-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:2e77282fd1d677c313ffcaddfec236bf23f273c4fba7cdf198108f5940ae10f5"}, + {file = "multidict-5.2.0-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:116347c63ba049c1ea56e157fa8aa6edaf5e92925c9b64f3da7769bdfa012858"}, + {file = "multidict-5.2.0-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:dc3a866cf6c13d59a01878cd806f219340f3e82eed514485e094321f24900677"}, + {file = "multidict-5.2.0-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:ac42181292099d91217a82e3fa3ce0e0ddf3a74fd891b7c2b347a7f5aa0edded"}, + {file = "multidict-5.2.0-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:f0bb0973f42ffcb5e3537548e0767079420aefd94ba990b61cf7bb8d47f4916d"}, + {file = "multidict-5.2.0-cp36-cp36m-win32.whl", hash = "sha256:ea21d4d5104b4f840b91d9dc8cbc832aba9612121eaba503e54eaab1ad140eb9"}, + {file = "multidict-5.2.0-cp36-cp36m-win_amd64.whl", hash = "sha256:e6453f3cbeb78440747096f239d282cc57a2997a16b5197c9bc839099e1633d0"}, + {file = "multidict-5.2.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:d3def943bfd5f1c47d51fd324df1e806d8da1f8e105cc7f1c76a1daf0f7e17b0"}, + {file = "multidict-5.2.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:35591729668a303a02b06e8dba0eb8140c4a1bfd4c4b3209a436a02a5ac1de11"}, + {file = "multidict-5.2.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ce8cacda0b679ebc25624d5de66c705bc53dcc7c6f02a7fb0f3ca5e227d80422"}, + {file = "multidict-5.2.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:baf1856fab8212bf35230c019cde7c641887e3fc08cadd39d32a421a30151ea3"}, + {file = "multidict-5.2.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:a43616aec0f0d53c411582c451f5d3e1123a68cc7b3475d6f7d97a626f8ff90d"}, + {file = "multidict-5.2.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:25cbd39a9029b409167aa0a20d8a17f502d43f2efebfe9e3ac019fe6796c59ac"}, + {file = "multidict-5.2.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:0a2cbcfbea6dc776782a444db819c8b78afe4db597211298dd8b2222f73e9cd0"}, + {file = "multidict-5.2.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:3d2d7d1fff8e09d99354c04c3fd5b560fb04639fd45926b34e27cfdec678a704"}, + {file = "multidict-5.2.0-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:a37e9a68349f6abe24130846e2f1d2e38f7ddab30b81b754e5a1fde32f782b23"}, + {file = "multidict-5.2.0-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:637c1896497ff19e1ee27c1c2c2ddaa9f2d134bbb5e0c52254361ea20486418d"}, + {file = "multidict-5.2.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:9815765f9dcda04921ba467957be543423e5ec6a1136135d84f2ae092c50d87b"}, + {file = "multidict-5.2.0-cp37-cp37m-win32.whl", hash = "sha256:8b911d74acdc1fe2941e59b4f1a278a330e9c34c6c8ca1ee21264c51ec9b67ef"}, + {file = "multidict-5.2.0-cp37-cp37m-win_amd64.whl", hash = "sha256:380b868f55f63d048a25931a1632818f90e4be71d2081c2338fcf656d299949a"}, + {file = "multidict-5.2.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:e7d81ce5744757d2f05fc41896e3b2ae0458464b14b5a2c1e87a6a9d69aefaa8"}, + {file = "multidict-5.2.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2d1d55cdf706ddc62822d394d1df53573d32a7a07d4f099470d3cb9323b721b6"}, + {file = "multidict-5.2.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:a4771d0d0ac9d9fe9e24e33bed482a13dfc1256d008d101485fe460359476065"}, + {file = "multidict-5.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:da7d57ea65744d249427793c042094c4016789eb2562576fb831870f9c878d9e"}, + {file = "multidict-5.2.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cdd68778f96216596218b4e8882944d24a634d984ee1a5a049b300377878fa7c"}, + {file = "multidict-5.2.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ecc99bce8ee42dcad15848c7885197d26841cb24fa2ee6e89d23b8993c871c64"}, + {file = "multidict-5.2.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:067150fad08e6f2dd91a650c7a49ba65085303fcc3decbd64a57dc13a2733031"}, + {file = "multidict-5.2.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:78c106b2b506b4d895ddc801ff509f941119394b89c9115580014127414e6c2d"}, + {file = "multidict-5.2.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:e6c4fa1ec16e01e292315ba76eb1d012c025b99d22896bd14a66628b245e3e01"}, + {file = "multidict-5.2.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:b227345e4186809d31f22087d0265655114af7cda442ecaf72246275865bebe4"}, + {file = "multidict-5.2.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:06560fbdcf22c9387100979e65b26fba0816c162b888cb65b845d3def7a54c9b"}, + {file = "multidict-5.2.0-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:7878b61c867fb2df7a95e44b316f88d5a3742390c99dfba6c557a21b30180cac"}, + {file = "multidict-5.2.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:246145bff76cc4b19310f0ad28bd0769b940c2a49fc601b86bfd150cbd72bb22"}, + {file = "multidict-5.2.0-cp38-cp38-win32.whl", hash = "sha256:c30ac9f562106cd9e8071c23949a067b10211917fdcb75b4718cf5775356a940"}, + {file = "multidict-5.2.0-cp38-cp38-win_amd64.whl", hash = "sha256:f19001e790013ed580abfde2a4465388950728861b52f0da73e8e8a9418533c0"}, + {file = "multidict-5.2.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:c1ff762e2ee126e6f1258650ac641e2b8e1f3d927a925aafcfde943b77a36d24"}, + {file = "multidict-5.2.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:bd6c9c50bf2ad3f0448edaa1a3b55b2e6866ef8feca5d8dbec10ec7c94371d21"}, + {file = "multidict-5.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:fc66d4016f6e50ed36fb39cd287a3878ffcebfa90008535c62e0e90a7ab713ae"}, + {file = "multidict-5.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a9acb76d5f3dd9421874923da2ed1e76041cb51b9337fd7f507edde1d86535d6"}, + {file = "multidict-5.2.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dfc924a7e946dd3c6360e50e8f750d51e3ef5395c95dc054bc9eab0f70df4f9c"}, + {file = "multidict-5.2.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:32fdba7333eb2351fee2596b756d730d62b5827d5e1ab2f84e6cbb287cc67fe0"}, + {file = "multidict-5.2.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:b9aad49466b8d828b96b9e3630006234879c8d3e2b0a9d99219b3121bc5cdb17"}, + {file = "multidict-5.2.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:93de39267c4c676c9ebb2057e98a8138bade0d806aad4d864322eee0803140a0"}, + {file = "multidict-5.2.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:f9bef5cff994ca3026fcc90680e326d1a19df9841c5e3d224076407cc21471a1"}, + {file = "multidict-5.2.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:5f841c4f14331fd1e36cbf3336ed7be2cb2a8f110ce40ea253e5573387db7621"}, + {file = "multidict-5.2.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:38ba256ee9b310da6a1a0f013ef4e422fca30a685bcbec86a969bd520504e341"}, + {file = "multidict-5.2.0-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:3bc3b1621b979621cee9f7b09f024ec76ec03cc365e638126a056317470bde1b"}, + {file = "multidict-5.2.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:6ee908c070020d682e9b42c8f621e8bb10c767d04416e2ebe44e37d0f44d9ad5"}, + {file = "multidict-5.2.0-cp39-cp39-win32.whl", hash = "sha256:1c7976cd1c157fa7ba5456ae5d31ccdf1479680dc9b8d8aa28afabc370df42b8"}, + {file = "multidict-5.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:c9631c642e08b9fff1c6255487e62971d8b8e821808ddd013d8ac058087591ac"}, + {file = "multidict-5.2.0.tar.gz", hash = "sha256:0dd1c93edb444b33ba2274b66f63def8a327d607c6c790772f448a53b6ea59ce"}, ] packaging = [ {file = "packaging-20.9-py2.py3-none-any.whl", hash = "sha256:67714da7f7bc052e064859c05c595155bd1ee9f69f76557e21f051443c20947a"}, @@ -1400,20 +1586,20 @@ perky = [ {file = "perky-0.5.5.tar.gz", hash = "sha256:7998a8131fd2313ce948e27e290e49764837d99dd6133e2ee88f05e12561aaa1"}, ] platformdirs = [ - {file = "platformdirs-2.3.0-py3-none-any.whl", hash = "sha256:8003ac87717ae2c7ee1ea5a84a1a61e87f3fbd16eb5aadba194ea30a9019f648"}, - {file = "platformdirs-2.3.0.tar.gz", hash = "sha256:15b056538719b1c94bdaccb29e5f81879c7f7f0f4a153f46086d155dffcd4f0f"}, + {file = "platformdirs-2.4.0-py3-none-any.whl", hash = "sha256:8868bbe3c3c80d42f20156f22e7131d2fb321f5bc86a2a345375c6481a67021d"}, + {file = "platformdirs-2.4.0.tar.gz", hash = "sha256:367a5e80b3d04d2428ffa76d33f124cf11e8fff2acdaa9b43d545f5c7d661ef2"}, ] pluggy = [ {file = "pluggy-1.0.0-py2.py3-none-any.whl", hash = "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"}, {file = "pluggy-1.0.0.tar.gz", hash = "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"}, ] py = [ - {file = "py-1.10.0-py2.py3-none-any.whl", hash = "sha256:3b80836aa6d1feeaa108e046da6423ab8f6ceda6468545ae8d02d9d58d18818a"}, - {file = "py-1.10.0.tar.gz", hash = "sha256:21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3"}, + {file = "py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378"}, + {file = "py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"}, ] pycparser = [ - {file = "pycparser-2.20-py2.py3-none-any.whl", hash = "sha256:7582ad22678f0fcd81102833f60ef8d0e57288b6b5fb00323d101be910e35705"}, - {file = "pycparser-2.20.tar.gz", hash = "sha256:2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0"}, + {file = "pycparser-2.21-py2.py3-none-any.whl", hash = "sha256:8ee45429555515e1f6b185e78100aea234072576aa43ab53aefcae078162fca9"}, + {file = "pycparser-2.21.tar.gz", hash = "sha256:e644fdec12f7872f86c58ff790da456218b10f863970249516d60a5eaca77206"}, ] pydantic = [ {file = "pydantic-1.7.4-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:3c60039e84552442defbcb5d56711ef0e057028ca7bfc559374917408a88d84e"}, @@ -1444,16 +1630,16 @@ pygments = [ {file = "Pygments-2.10.0.tar.gz", hash = "sha256:f398865f7eb6874156579fdf36bc840a03cab64d1cde9e93d68f46a425ec52c6"}, ] pylint = [ - {file = "pylint-2.10.2-py3-none-any.whl", hash = "sha256:e178e96b6ba171f8ef51fbce9ca30931e6acbea4a155074d80cc081596c9e852"}, - {file = "pylint-2.10.2.tar.gz", hash = "sha256:6758cce3ddbab60c52b57dcc07f0c5d779e5daf0cf50f6faacbef1d3ea62d2a1"}, + {file = "pylint-2.11.1-py3-none-any.whl", hash = "sha256:0f358e221c45cbd4dad2a1e4b883e75d28acdcccd29d40c76eb72b307269b126"}, + {file = "pylint-2.11.1.tar.gz", hash = "sha256:2c9843fff1a88ca0ad98a256806c82c5a8f86086e7ccbdb93297d86c3f90c436"}, ] pynetbox = [ - {file = "pynetbox-6.1.3-py3-none-any.whl", hash = "sha256:441fa82cf0899e5a7eeb47c302fd03ddbb795e71270b9b7a83b7ed0c4846e984"}, - {file = "pynetbox-6.1.3.tar.gz", hash = "sha256:e579c5a74ff98dffd2cecb0451b2fffc1924731b56876d7d97b9aaa2b6ef7aa6"}, + {file = "pynetbox-6.2.0-py3-none-any.whl", hash = "sha256:13a71944dc99a2af5d27f053cc6025f70c816533938d97990572eca5fe243ef9"}, + {file = "pynetbox-6.2.0.tar.gz", hash = "sha256:5b9dc004fc5b2a9ba3d7b3d14f2feaa46ceba83b20d7f339957757700a806da6"}, ] pyparsing = [ - {file = "pyparsing-2.4.7-py2.py3-none-any.whl", hash = "sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b"}, - {file = "pyparsing-2.4.7.tar.gz", hash = "sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1"}, + {file = "pyparsing-3.0.6-py3-none-any.whl", hash = "sha256:04ff808a5b90911829c55c4e26f75fa5ca8a2f5f36aa3a51f68e27033341d3e4"}, + {file = "pyparsing-3.0.6.tar.gz", hash = "sha256:d9bdec0013ef1eb5a84ab39a3b3868911598afa494f5faa038647101504e2b81"}, ] pytest = [ {file = "pytest-6.2.5-py3-none-any.whl", hash = "sha256:7310f8d27bc79ced999e760ca304d69f6ba6c6649c0b60fb0e04a4a77cacc134"}, @@ -1468,86 +1654,98 @@ pytest-mock = [ {file = "pytest_mock-3.6.1-py3-none-any.whl", hash = "sha256:30c2f2cc9759e76eee674b81ea28c9f0b94f8f0445a1b87762cadf774f0df7e3"}, ] pytest-xdist = [ - {file = "pytest-xdist-2.3.0.tar.gz", hash = "sha256:e8ecde2f85d88fbcadb7d28cb33da0fa29bca5cf7d5967fa89fc0e97e5299ea5"}, - {file = "pytest_xdist-2.3.0-py3-none-any.whl", hash = "sha256:ed3d7da961070fce2a01818b51f6888327fb88df4379edeb6b9d990e789d9c8d"}, + {file = "pytest-xdist-2.4.0.tar.gz", hash = "sha256:89b330316f7fc475f999c81b577c2b926c9569f3d397ae432c0c2e2496d61ff9"}, + {file = "pytest_xdist-2.4.0-py3-none-any.whl", hash = "sha256:7b61ebb46997a0820a263553179d6d1e25a8c50d8a8620cd1aa1e20e3be99168"}, ] pytz = [ - {file = "pytz-2021.1-py2.py3-none-any.whl", hash = "sha256:eb10ce3e7736052ed3623d49975ce333bcd712c7bb19a58b9e2089d4057d0798"}, - {file = "pytz-2021.1.tar.gz", hash = "sha256:83a4a90894bf38e243cf052c8b58f381bfe9a7a483f6a9cab140bc7f702ac4da"}, + {file = "pytz-2021.3-py2.py3-none-any.whl", hash = "sha256:3672058bc3453457b622aab7a1c3bfd5ab0bdae451512f6cf25f64ed37f5b87c"}, + {file = "pytz-2021.3.tar.gz", hash = "sha256:acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326"}, ] pyyaml = [ - {file = "PyYAML-5.4.1-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:3b2b1824fe7112845700f815ff6a489360226a5609b96ec2190a45e62a9fc922"}, - {file = "PyYAML-5.4.1-cp27-cp27m-win32.whl", hash = "sha256:129def1b7c1bf22faffd67b8f3724645203b79d8f4cc81f674654d9902cb4393"}, - {file = "PyYAML-5.4.1-cp27-cp27m-win_amd64.whl", hash = "sha256:4465124ef1b18d9ace298060f4eccc64b0850899ac4ac53294547536533800c8"}, - {file = "PyYAML-5.4.1-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:bb4191dfc9306777bc594117aee052446b3fa88737cd13b7188d0e7aa8162185"}, - {file = "PyYAML-5.4.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:6c78645d400265a062508ae399b60b8c167bf003db364ecb26dcab2bda048253"}, - {file = "PyYAML-5.4.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:4e0583d24c881e14342eaf4ec5fbc97f934b999a6828693a99157fde912540cc"}, - {file = "PyYAML-5.4.1-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:72a01f726a9c7851ca9bfad6fd09ca4e090a023c00945ea05ba1638c09dc3347"}, - {file = "PyYAML-5.4.1-cp36-cp36m-manylinux2014_s390x.whl", hash = "sha256:895f61ef02e8fed38159bb70f7e100e00f471eae2bc838cd0f4ebb21e28f8541"}, - {file = "PyYAML-5.4.1-cp36-cp36m-win32.whl", hash = "sha256:3bd0e463264cf257d1ffd2e40223b197271046d09dadf73a0fe82b9c1fc385a5"}, - {file = "PyYAML-5.4.1-cp36-cp36m-win_amd64.whl", hash = "sha256:e4fac90784481d221a8e4b1162afa7c47ed953be40d31ab4629ae917510051df"}, - {file = "PyYAML-5.4.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:5accb17103e43963b80e6f837831f38d314a0495500067cb25afab2e8d7a4018"}, - {file = "PyYAML-5.4.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:e1d4970ea66be07ae37a3c2e48b5ec63f7ba6804bdddfdbd3cfd954d25a82e63"}, - {file = "PyYAML-5.4.1-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:cb333c16912324fd5f769fff6bc5de372e9e7a202247b48870bc251ed40239aa"}, - {file = "PyYAML-5.4.1-cp37-cp37m-manylinux2014_s390x.whl", hash = "sha256:fe69978f3f768926cfa37b867e3843918e012cf83f680806599ddce33c2c68b0"}, - {file = "PyYAML-5.4.1-cp37-cp37m-win32.whl", hash = "sha256:dd5de0646207f053eb0d6c74ae45ba98c3395a571a2891858e87df7c9b9bd51b"}, - {file = "PyYAML-5.4.1-cp37-cp37m-win_amd64.whl", hash = "sha256:08682f6b72c722394747bddaf0aa62277e02557c0fd1c42cb853016a38f8dedf"}, - {file = "PyYAML-5.4.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:d2d9808ea7b4af864f35ea216be506ecec180628aced0704e34aca0b040ffe46"}, - {file = "PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:8c1be557ee92a20f184922c7b6424e8ab6691788e6d86137c5d93c1a6ec1b8fb"}, - {file = "PyYAML-5.4.1-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:fd7f6999a8070df521b6384004ef42833b9bd62cfee11a09bda1079b4b704247"}, - {file = "PyYAML-5.4.1-cp38-cp38-manylinux2014_s390x.whl", hash = "sha256:bfb51918d4ff3d77c1c856a9699f8492c612cde32fd3bcd344af9be34999bfdc"}, - {file = "PyYAML-5.4.1-cp38-cp38-win32.whl", hash = "sha256:fa5ae20527d8e831e8230cbffd9f8fe952815b2b7dae6ffec25318803a7528fc"}, - {file = "PyYAML-5.4.1-cp38-cp38-win_amd64.whl", hash = "sha256:0f5f5786c0e09baddcd8b4b45f20a7b5d61a7e7e99846e3c799b05c7c53fa696"}, - {file = "PyYAML-5.4.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:294db365efa064d00b8d1ef65d8ea2c3426ac366c0c4368d930bf1c5fb497f77"}, - {file = "PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:74c1485f7707cf707a7aef42ef6322b8f97921bd89be2ab6317fd782c2d53183"}, - {file = "PyYAML-5.4.1-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:d483ad4e639292c90170eb6f7783ad19490e7a8defb3e46f97dfe4bacae89122"}, - {file = "PyYAML-5.4.1-cp39-cp39-manylinux2014_s390x.whl", hash = "sha256:fdc842473cd33f45ff6bce46aea678a54e3d21f1b61a7750ce3c498eedfe25d6"}, - {file = "PyYAML-5.4.1-cp39-cp39-win32.whl", hash = "sha256:49d4cdd9065b9b6e206d0595fee27a96b5dd22618e7520c33204a4a3239d5b10"}, - {file = "PyYAML-5.4.1-cp39-cp39-win_amd64.whl", hash = "sha256:c20cfa2d49991c8b4147af39859b167664f2ad4561704ee74c1de03318e898db"}, - {file = "PyYAML-5.4.1.tar.gz", hash = "sha256:607774cbba28732bfa802b54baa7484215f530991055bb562efbed5b2f20a45e"}, + {file = "PyYAML-6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d4db7c7aef085872ef65a8fd7d6d09a14ae91f691dec3e87ee5ee0539d516f53"}, + {file = "PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9df7ed3b3d2e0ecfe09e14741b857df43adb5a3ddadc919a2d94fbdf78fea53c"}, + {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77f396e6ef4c73fdc33a9157446466f1cff553d979bd00ecb64385760c6babdc"}, + {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a80a78046a72361de73f8f395f1f1e49f956c6be882eed58505a15f3e430962b"}, + {file = "PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f84fbc98b019fef2ee9a1cb3ce93e3187a6df0b2538a651bfb890254ba9f90b5"}, + {file = "PyYAML-6.0-cp310-cp310-win32.whl", hash = "sha256:2cd5df3de48857ed0544b34e2d40e9fac445930039f3cfe4bcc592a1f836d513"}, + {file = "PyYAML-6.0-cp310-cp310-win_amd64.whl", hash = "sha256:daf496c58a8c52083df09b80c860005194014c3698698d1a57cbcfa182142a3a"}, + {file = "PyYAML-6.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:897b80890765f037df3403d22bab41627ca8811ae55e9a722fd0392850ec4d86"}, + {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:50602afada6d6cbfad699b0c7bb50d5ccffa7e46a3d738092afddc1f9758427f"}, + {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:48c346915c114f5fdb3ead70312bd042a953a8ce5c7106d5bfb1a5254e47da92"}, + {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:98c4d36e99714e55cfbaaee6dd5badbc9a1ec339ebfc3b1f52e293aee6bb71a4"}, + {file = "PyYAML-6.0-cp36-cp36m-win32.whl", hash = "sha256:0283c35a6a9fbf047493e3a0ce8d79ef5030852c51e9d911a27badfde0605293"}, + {file = "PyYAML-6.0-cp36-cp36m-win_amd64.whl", hash = "sha256:07751360502caac1c067a8132d150cf3d61339af5691fe9e87803040dbc5db57"}, + {file = "PyYAML-6.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:819b3830a1543db06c4d4b865e70ded25be52a2e0631ccd2f6a47a2822f2fd7c"}, + {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:473f9edb243cb1935ab5a084eb238d842fb8f404ed2193a915d1784b5a6b5fc0"}, + {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0ce82d761c532fe4ec3f87fc45688bdd3a4c1dc5e0b4a19814b9009a29baefd4"}, + {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:231710d57adfd809ef5d34183b8ed1eeae3f76459c18fb4a0b373ad56bedcdd9"}, + {file = "PyYAML-6.0-cp37-cp37m-win32.whl", hash = "sha256:c5687b8d43cf58545ade1fe3e055f70eac7a5a1a0bf42824308d868289a95737"}, + {file = "PyYAML-6.0-cp37-cp37m-win_amd64.whl", hash = "sha256:d15a181d1ecd0d4270dc32edb46f7cb7733c7c508857278d3d378d14d606db2d"}, + {file = "PyYAML-6.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0b4624f379dab24d3725ffde76559cff63d9ec94e1736b556dacdfebe5ab6d4b"}, + {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:213c60cd50106436cc818accf5baa1aba61c0189ff610f64f4a3e8c6726218ba"}, + {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9fa600030013c4de8165339db93d182b9431076eb98eb40ee068700c9c813e34"}, + {file = "PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:277a0ef2981ca40581a47093e9e2d13b3f1fbbeffae064c1d21bfceba2030287"}, + {file = "PyYAML-6.0-cp38-cp38-win32.whl", hash = "sha256:d4eccecf9adf6fbcc6861a38015c2a64f38b9d94838ac1810a9023a0609e1b78"}, + {file = "PyYAML-6.0-cp38-cp38-win_amd64.whl", hash = "sha256:1e4747bc279b4f613a09eb64bba2ba602d8a6664c6ce6396a4d0cd413a50ce07"}, + {file = "PyYAML-6.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:055d937d65826939cb044fc8c9b08889e8c743fdc6a32b33e2390f66013e449b"}, + {file = "PyYAML-6.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e61ceaab6f49fb8bdfaa0f92c4b57bcfbea54c09277b1b4f7ac376bfb7a7c174"}, + {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d67d839ede4ed1b28a4e8909735fc992a923cdb84e618544973d7dfc71540803"}, + {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cba8c411ef271aa037d7357a2bc8f9ee8b58b9965831d9e51baf703280dc73d3"}, + {file = "PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:40527857252b61eacd1d9af500c3337ba8deb8fc298940291486c465c8b46ec0"}, + {file = "PyYAML-6.0-cp39-cp39-win32.whl", hash = "sha256:b5b9eccad747aabaaffbc6064800670f0c297e52c12754eb1d976c57e4f74dcb"}, + {file = "PyYAML-6.0-cp39-cp39-win_amd64.whl", hash = "sha256:b3d267842bf12586ba6c734f89d1f5b871df0273157918b0ccefa29deb05c21c"}, + {file = "PyYAML-6.0.tar.gz", hash = "sha256:68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2"}, ] regex = [ - {file = "regex-2021.8.28-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9d05ad5367c90814099000442b2125535e9d77581855b9bee8780f1b41f2b1a2"}, - {file = "regex-2021.8.28-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f3bf1bc02bc421047bfec3343729c4bbbea42605bcfd6d6bfe2c07ade8b12d2a"}, - {file = "regex-2021.8.28-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5f6a808044faae658f546dd5f525e921de9fa409de7a5570865467f03a626fc0"}, - {file = "regex-2021.8.28-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:a617593aeacc7a691cc4af4a4410031654f2909053bd8c8e7db837f179a630eb"}, - {file = "regex-2021.8.28-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:79aef6b5cd41feff359acaf98e040844613ff5298d0d19c455b3d9ae0bc8c35a"}, - {file = "regex-2021.8.28-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:0fc1f8f06977c2d4f5e3d3f0d4a08089be783973fc6b6e278bde01f0544ff308"}, - {file = "regex-2021.8.28-cp310-cp310-win32.whl", hash = "sha256:6eebf512aa90751d5ef6a7c2ac9d60113f32e86e5687326a50d7686e309f66ed"}, - {file = "regex-2021.8.28-cp310-cp310-win_amd64.whl", hash = "sha256:ac88856a8cbccfc14f1b2d0b829af354cc1743cb375e7f04251ae73b2af6adf8"}, - {file = "regex-2021.8.28-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:c206587c83e795d417ed3adc8453a791f6d36b67c81416676cad053b4104152c"}, - {file = "regex-2021.8.28-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e8690ed94481f219a7a967c118abaf71ccc440f69acd583cab721b90eeedb77c"}, - {file = "regex-2021.8.28-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:328a1fad67445550b982caa2a2a850da5989fd6595e858f02d04636e7f8b0b13"}, - {file = "regex-2021.8.28-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:c7cb4c512d2d3b0870e00fbbac2f291d4b4bf2634d59a31176a87afe2777c6f0"}, - {file = "regex-2021.8.28-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:66256b6391c057305e5ae9209941ef63c33a476b73772ca967d4a2df70520ec1"}, - {file = "regex-2021.8.28-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:8e44769068d33e0ea6ccdf4b84d80c5afffe5207aa4d1881a629cf0ef3ec398f"}, - {file = "regex-2021.8.28-cp36-cp36m-win32.whl", hash = "sha256:08d74bfaa4c7731b8dac0a992c63673a2782758f7cfad34cf9c1b9184f911354"}, - {file = "regex-2021.8.28-cp36-cp36m-win_amd64.whl", hash = "sha256:abb48494d88e8a82601af905143e0de838c776c1241d92021e9256d5515b3645"}, - {file = "regex-2021.8.28-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b4c220a1fe0d2c622493b0a1fd48f8f991998fb447d3cd368033a4b86cf1127a"}, - {file = "regex-2021.8.28-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d4a332404baa6665b54e5d283b4262f41f2103c255897084ec8f5487ce7b9e8e"}, - {file = "regex-2021.8.28-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c61dcc1cf9fd165127a2853e2c31eb4fb961a4f26b394ac9fe5669c7a6592892"}, - {file = "regex-2021.8.28-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:ee329d0387b5b41a5dddbb6243a21cb7896587a651bebb957e2d2bb8b63c0791"}, - {file = "regex-2021.8.28-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f60667673ff9c249709160529ab39667d1ae9fd38634e006bec95611f632e759"}, - {file = "regex-2021.8.28-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:b844fb09bd9936ed158ff9df0ab601e2045b316b17aa8b931857365ea8586906"}, - {file = "regex-2021.8.28-cp37-cp37m-win32.whl", hash = "sha256:4cde065ab33bcaab774d84096fae266d9301d1a2f5519d7bd58fc55274afbf7a"}, - {file = "regex-2021.8.28-cp37-cp37m-win_amd64.whl", hash = "sha256:1413b5022ed6ac0d504ba425ef02549a57d0f4276de58e3ab7e82437892704fc"}, - {file = "regex-2021.8.28-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ed4b50355b066796dacdd1cf538f2ce57275d001838f9b132fab80b75e8c84dd"}, - {file = "regex-2021.8.28-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:28fc475f560d8f67cc8767b94db4c9440210f6958495aeae70fac8faec631797"}, - {file = "regex-2021.8.28-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bdc178caebd0f338d57ae445ef8e9b737ddf8fbc3ea187603f65aec5b041248f"}, - {file = "regex-2021.8.28-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:999ad08220467b6ad4bd3dd34e65329dd5d0df9b31e47106105e407954965256"}, - {file = "regex-2021.8.28-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:808ee5834e06f57978da3e003ad9d6292de69d2bf6263662a1a8ae30788e080b"}, - {file = "regex-2021.8.28-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:d5111d4c843d80202e62b4fdbb4920db1dcee4f9366d6b03294f45ed7b18b42e"}, - {file = "regex-2021.8.28-cp38-cp38-win32.whl", hash = "sha256:473858730ef6d6ff7f7d5f19452184cd0caa062a20047f6d6f3e135a4648865d"}, - {file = "regex-2021.8.28-cp38-cp38-win_amd64.whl", hash = "sha256:31a99a4796bf5aefc8351e98507b09e1b09115574f7c9dbb9cf2111f7220d2e2"}, - {file = "regex-2021.8.28-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:04f6b9749e335bb0d2f68c707f23bb1773c3fb6ecd10edf0f04df12a8920d468"}, - {file = "regex-2021.8.28-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9b006628fe43aa69259ec04ca258d88ed19b64791693df59c422b607b6ece8bb"}, - {file = "regex-2021.8.28-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:121f4b3185feaade3f85f70294aef3f777199e9b5c0c0245c774ae884b110a2d"}, - {file = "regex-2021.8.28-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:a577a21de2ef8059b58f79ff76a4da81c45a75fe0bfb09bc8b7bb4293fa18983"}, - {file = "regex-2021.8.28-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1743345e30917e8c574f273f51679c294effba6ad372db1967852f12c76759d8"}, - {file = "regex-2021.8.28-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:e1e8406b895aba6caa63d9fd1b6b1700d7e4825f78ccb1e5260551d168db38ed"}, - {file = "regex-2021.8.28-cp39-cp39-win32.whl", hash = "sha256:ed283ab3a01d8b53de3a05bfdf4473ae24e43caee7dcb5584e86f3f3e5ab4374"}, - {file = "regex-2021.8.28-cp39-cp39-win_amd64.whl", hash = "sha256:610b690b406653c84b7cb6091facb3033500ee81089867ee7d59e675f9ca2b73"}, - {file = "regex-2021.8.28.tar.gz", hash = "sha256:f585cbbeecb35f35609edccb95efd95a3e35824cd7752b586503f7e6087303f1"}, + {file = "regex-2021.11.10-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9345b6f7ee578bad8e475129ed40123d265464c4cfead6c261fd60fc9de00bcf"}, + {file = "regex-2021.11.10-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:416c5f1a188c91e3eb41e9c8787288e707f7d2ebe66e0a6563af280d9b68478f"}, + {file = "regex-2021.11.10-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e0538c43565ee6e703d3a7c3bdfe4037a5209250e8502c98f20fea6f5fdf2965"}, + {file = "regex-2021.11.10-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7ee1227cf08b6716c85504aebc49ac827eb88fcc6e51564f010f11a406c0a667"}, + {file = "regex-2021.11.10-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6650f16365f1924d6014d2ea770bde8555b4a39dc9576abb95e3cd1ff0263b36"}, + {file = "regex-2021.11.10-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:30ab804ea73972049b7a2a5c62d97687d69b5a60a67adca07eb73a0ddbc9e29f"}, + {file = "regex-2021.11.10-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:68a067c11463de2a37157930d8b153005085e42bcb7ad9ca562d77ba7d1404e0"}, + {file = "regex-2021.11.10-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:162abfd74e88001d20cb73ceaffbfe601469923e875caf9118333b1a4aaafdc4"}, + {file = "regex-2021.11.10-cp310-cp310-win32.whl", hash = "sha256:98ba568e8ae26beb726aeea2273053c717641933836568c2a0278a84987b2a1a"}, + {file = "regex-2021.11.10-cp310-cp310-win_amd64.whl", hash = "sha256:780b48456a0f0ba4d390e8b5f7c661fdd218934388cde1a974010a965e200e12"}, + {file = "regex-2021.11.10-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:dba70f30fd81f8ce6d32ddeef37d91c8948e5d5a4c63242d16a2b2df8143aafc"}, + {file = "regex-2021.11.10-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e1f54b9b4b6c53369f40028d2dd07a8c374583417ee6ec0ea304e710a20f80a0"}, + {file = "regex-2021.11.10-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fbb9dc00e39f3e6c0ef48edee202f9520dafb233e8b51b06b8428cfcb92abd30"}, + {file = "regex-2021.11.10-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:666abff54e474d28ff42756d94544cdfd42e2ee97065857413b72e8a2d6a6345"}, + {file = "regex-2021.11.10-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5537f71b6d646f7f5f340562ec4c77b6e1c915f8baae822ea0b7e46c1f09b733"}, + {file = "regex-2021.11.10-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ed2e07c6a26ed4bea91b897ee2b0835c21716d9a469a96c3e878dc5f8c55bb23"}, + {file = "regex-2021.11.10-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:ca5f18a75e1256ce07494e245cdb146f5a9267d3c702ebf9b65c7f8bd843431e"}, + {file = "regex-2021.11.10-cp36-cp36m-win32.whl", hash = "sha256:93a5051fcf5fad72de73b96f07d30bc29665697fb8ecdfbc474f3452c78adcf4"}, + {file = "regex-2021.11.10-cp36-cp36m-win_amd64.whl", hash = "sha256:b483c9d00a565633c87abd0aaf27eb5016de23fed952e054ecc19ce32f6a9e7e"}, + {file = "regex-2021.11.10-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:fff55f3ce50a3ff63ec8e2a8d3dd924f1941b250b0aac3d3d42b687eeff07a8e"}, + {file = "regex-2021.11.10-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e32d2a2b02ccbef10145df9135751abea1f9f076e67a4e261b05f24b94219e36"}, + {file = "regex-2021.11.10-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:53db2c6be8a2710b359bfd3d3aa17ba38f8aa72a82309a12ae99d3c0c3dcd74d"}, + {file = "regex-2021.11.10-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2207ae4f64ad3af399e2d30dde66f0b36ae5c3129b52885f1bffc2f05ec505c8"}, + {file = "regex-2021.11.10-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d5ca078bb666c4a9d1287a379fe617a6dccd18c3e8a7e6c7e1eb8974330c626a"}, + {file = "regex-2021.11.10-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dd33eb9bdcfbabab3459c9ee651d94c842bc8a05fabc95edf4ee0c15a072495e"}, + {file = "regex-2021.11.10-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:05b7d6d7e64efe309972adab77fc2af8907bb93217ec60aa9fe12a0dad35874f"}, + {file = "regex-2021.11.10-cp37-cp37m-win32.whl", hash = "sha256:e71255ba42567d34a13c03968736c5d39bb4a97ce98188fafb27ce981115beec"}, + {file = "regex-2021.11.10-cp37-cp37m-win_amd64.whl", hash = "sha256:07856afef5ffcc052e7eccf3213317fbb94e4a5cd8177a2caa69c980657b3cb4"}, + {file = "regex-2021.11.10-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ba05430e819e58544e840a68b03b28b6d328aff2e41579037e8bab7653b37d83"}, + {file = "regex-2021.11.10-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:7f301b11b9d214f83ddaf689181051e7f48905568b0c7017c04c06dfd065e244"}, + {file = "regex-2021.11.10-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4aaa4e0705ef2b73dd8e36eeb4c868f80f8393f5f4d855e94025ce7ad8525f50"}, + {file = "regex-2021.11.10-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:788aef3549f1924d5c38263104dae7395bf020a42776d5ec5ea2b0d3d85d6646"}, + {file = "regex-2021.11.10-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f8af619e3be812a2059b212064ea7a640aff0568d972cd1b9e920837469eb3cb"}, + {file = "regex-2021.11.10-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:85bfa6a5413be0ee6c5c4a663668a2cad2cbecdee367630d097d7823041bdeec"}, + {file = "regex-2021.11.10-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f23222527b307970e383433daec128d769ff778d9b29343fb3496472dc20dabe"}, + {file = "regex-2021.11.10-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:da1a90c1ddb7531b1d5ff1e171b4ee61f6345119be7351104b67ff413843fe94"}, + {file = "regex-2021.11.10-cp38-cp38-win32.whl", hash = "sha256:0617383e2fe465732af4509e61648b77cbe3aee68b6ac8c0b6fe934db90be5cc"}, + {file = "regex-2021.11.10-cp38-cp38-win_amd64.whl", hash = "sha256:a3feefd5e95871872673b08636f96b61ebef62971eab044f5124fb4dea39919d"}, + {file = "regex-2021.11.10-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:f7f325be2804246a75a4f45c72d4ce80d2443ab815063cdf70ee8fb2ca59ee1b"}, + {file = "regex-2021.11.10-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:537ca6a3586931b16a85ac38c08cc48f10fc870a5b25e51794c74df843e9966d"}, + {file = "regex-2021.11.10-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:eef2afb0fd1747f33f1ee3e209bce1ed582d1896b240ccc5e2697e3275f037c7"}, + {file = "regex-2021.11.10-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:432bd15d40ed835a51617521d60d0125867f7b88acf653e4ed994a1f8e4995dc"}, + {file = "regex-2021.11.10-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b43c2b8a330a490daaef5a47ab114935002b13b3f9dc5da56d5322ff218eeadb"}, + {file = "regex-2021.11.10-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:962b9a917dd7ceacbe5cd424556914cb0d636001e393b43dc886ba31d2a1e449"}, + {file = "regex-2021.11.10-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:fa8c626d6441e2d04b6ee703ef2d1e17608ad44c7cb75258c09dd42bacdfc64b"}, + {file = "regex-2021.11.10-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:3c5fb32cc6077abad3bbf0323067636d93307c9fa93e072771cf9a64d1c0f3ef"}, + {file = "regex-2021.11.10-cp39-cp39-win32.whl", hash = "sha256:3b5df18db1fccd66de15aa59c41e4f853b5df7550723d26aa6cb7f40e5d9da5a"}, + {file = "regex-2021.11.10-cp39-cp39-win_amd64.whl", hash = "sha256:83ee89483672b11f8952b158640d0c0ff02dc43d9cb1b70c1564b49abe92ce29"}, + {file = "regex-2021.11.10.tar.gz", hash = "sha256:f341ee2df0999bfdf7a95e448075effe0db212a59387de1a70690e4acb03d4c6"}, ] requests = [ {file = "requests-2.26.0-py2.py3-none-any.whl", hash = "sha256:6c1246513ecd5ecd4528a0906f910e8f0f9c6b8ec72030dc9fd154dc1a6efd24"}, @@ -1573,12 +1771,12 @@ six = [ {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, ] snowballstemmer = [ - {file = "snowballstemmer-2.1.0-py2.py3-none-any.whl", hash = "sha256:b51b447bea85f9968c13b650126a888aabd4cb4463fca868ec596826325dedc2"}, - {file = "snowballstemmer-2.1.0.tar.gz", hash = "sha256:e997baa4f2e9139951b6f4c631bad912dfd3c792467e2f03d7239464af90e914"}, + {file = "snowballstemmer-2.2.0-py2.py3-none-any.whl", hash = "sha256:c8e1716e83cc398ae16824e5572ae04e0d9fc2c6b985fb0f900f5f0c96ecba1a"}, + {file = "snowballstemmer-2.2.0.tar.gz", hash = "sha256:09b16deb8547d3412ad7b590689584cd0fe25ec8db3be37788be3810cbf19cb1"}, ] sphinx = [ - {file = "Sphinx-4.2.0-py3-none-any.whl", hash = "sha256:98a535c62a4fcfcc362528592f69b26f7caec587d32cd55688db580be0287ae0"}, - {file = "Sphinx-4.2.0.tar.gz", hash = "sha256:94078db9184491e15bce0a56d9186e0aec95f16ac20b12d00e06d4e36f1058a6"}, + {file = "Sphinx-4.3.0-py3-none-any.whl", hash = "sha256:7e2b30da5f39170efcd95c6270f07669d623c276521fee27ad6c380f49d2bf5b"}, + {file = "Sphinx-4.3.0.tar.gz", hash = "sha256:6d051ab6e0d06cba786c4656b0fe67ba259fe058410f49e95bee6e49c4052cbf"}, ] sphinxcontrib-applehelp = [ {file = "sphinxcontrib-applehelp-1.0.2.tar.gz", hash = "sha256:a072735ec80e7675e3f432fcae8610ecf509c5f1869d17e2eecff44389cdbc58"}, @@ -1613,89 +1811,162 @@ twiggy = [ {file = "Twiggy-0.5.1.tar.gz", hash = "sha256:7938840275972f6ce89994a5bdfb0b84f0386301a043a960af6364952e78ffe4"}, ] typed-ast = [ - {file = "typed_ast-1.4.3-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:2068531575a125b87a41802130fa7e29f26c09a2833fea68d9a40cf33902eba6"}, - {file = "typed_ast-1.4.3-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:c907f561b1e83e93fad565bac5ba9c22d96a54e7ea0267c708bffe863cbe4075"}, - {file = "typed_ast-1.4.3-cp35-cp35m-manylinux2014_aarch64.whl", hash = "sha256:1b3ead4a96c9101bef08f9f7d1217c096f31667617b58de957f690c92378b528"}, - {file = "typed_ast-1.4.3-cp35-cp35m-win32.whl", hash = "sha256:dde816ca9dac1d9c01dd504ea5967821606f02e510438120091b84e852367428"}, - {file = "typed_ast-1.4.3-cp35-cp35m-win_amd64.whl", hash = "sha256:777a26c84bea6cd934422ac2e3b78863a37017618b6e5c08f92ef69853e765d3"}, - {file = "typed_ast-1.4.3-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:f8afcf15cc511ada719a88e013cec87c11aff7b91f019295eb4530f96fe5ef2f"}, - {file = "typed_ast-1.4.3-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:52b1eb8c83f178ab787f3a4283f68258525f8d70f778a2f6dd54d3b5e5fb4341"}, - {file = "typed_ast-1.4.3-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:01ae5f73431d21eead5015997ab41afa53aa1fbe252f9da060be5dad2c730ace"}, - {file = "typed_ast-1.4.3-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:c190f0899e9f9f8b6b7863debfb739abcb21a5c054f911ca3596d12b8a4c4c7f"}, - {file = "typed_ast-1.4.3-cp36-cp36m-win32.whl", hash = "sha256:398e44cd480f4d2b7ee8d98385ca104e35c81525dd98c519acff1b79bdaac363"}, - {file = "typed_ast-1.4.3-cp36-cp36m-win_amd64.whl", hash = "sha256:bff6ad71c81b3bba8fa35f0f1921fb24ff4476235a6e94a26ada2e54370e6da7"}, - {file = "typed_ast-1.4.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:0fb71b8c643187d7492c1f8352f2c15b4c4af3f6338f21681d3681b3dc31a266"}, - {file = "typed_ast-1.4.3-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:760ad187b1041a154f0e4d0f6aae3e40fdb51d6de16e5c99aedadd9246450e9e"}, - {file = "typed_ast-1.4.3-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:5feca99c17af94057417d744607b82dd0a664fd5e4ca98061480fd8b14b18d04"}, - {file = "typed_ast-1.4.3-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:95431a26309a21874005845c21118c83991c63ea800dd44843e42a916aec5899"}, - {file = "typed_ast-1.4.3-cp37-cp37m-win32.whl", hash = "sha256:aee0c1256be6c07bd3e1263ff920c325b59849dc95392a05f258bb9b259cf39c"}, - {file = "typed_ast-1.4.3-cp37-cp37m-win_amd64.whl", hash = "sha256:9ad2c92ec681e02baf81fdfa056fe0d818645efa9af1f1cd5fd6f1bd2bdfd805"}, - {file = "typed_ast-1.4.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b36b4f3920103a25e1d5d024d155c504080959582b928e91cb608a65c3a49e1a"}, - {file = "typed_ast-1.4.3-cp38-cp38-manylinux1_i686.whl", hash = "sha256:067a74454df670dcaa4e59349a2e5c81e567d8d65458d480a5b3dfecec08c5ff"}, - {file = "typed_ast-1.4.3-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:7538e495704e2ccda9b234b82423a4038f324f3a10c43bc088a1636180f11a41"}, - {file = "typed_ast-1.4.3-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:af3d4a73793725138d6b334d9d247ce7e5f084d96284ed23f22ee626a7b88e39"}, - {file = "typed_ast-1.4.3-cp38-cp38-win32.whl", hash = "sha256:f2362f3cb0f3172c42938946dbc5b7843c2a28aec307c49100c8b38764eb6927"}, - {file = "typed_ast-1.4.3-cp38-cp38-win_amd64.whl", hash = "sha256:dd4a21253f42b8d2b48410cb31fe501d32f8b9fbeb1f55063ad102fe9c425e40"}, - {file = "typed_ast-1.4.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:f328adcfebed9f11301eaedfa48e15bdece9b519fb27e6a8c01aa52a17ec31b3"}, - {file = "typed_ast-1.4.3-cp39-cp39-manylinux1_i686.whl", hash = "sha256:2c726c276d09fc5c414693a2de063f521052d9ea7c240ce553316f70656c84d4"}, - {file = "typed_ast-1.4.3-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:cae53c389825d3b46fb37538441f75d6aecc4174f615d048321b716df2757fb0"}, - {file = "typed_ast-1.4.3-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:b9574c6f03f685070d859e75c7f9eeca02d6933273b5e69572e5ff9d5e3931c3"}, - {file = "typed_ast-1.4.3-cp39-cp39-win32.whl", hash = "sha256:209596a4ec71d990d71d5e0d312ac935d86930e6eecff6ccc7007fe54d703808"}, - {file = "typed_ast-1.4.3-cp39-cp39-win_amd64.whl", hash = "sha256:9c6d1a54552b5330bc657b7ef0eae25d00ba7ffe85d9ea8ae6540d2197a3788c"}, - {file = "typed_ast-1.4.3.tar.gz", hash = "sha256:fb1bbeac803adea29cedd70781399c99138358c26d05fcbd23c13016b7f5ec65"}, + {file = "typed_ast-1.5.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:7b310a207ee9fde3f46ba327989e6cba4195bc0c8c70a158456e7b10233e6bed"}, + {file = "typed_ast-1.5.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:52ca2b2b524d770bed7a393371a38e91943f9160a190141e0df911586066ecda"}, + {file = "typed_ast-1.5.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:14fed8820114a389a2b7e91624db5f85f3f6682fda09fe0268a59aabd28fe5f5"}, + {file = "typed_ast-1.5.0-cp310-cp310-win_amd64.whl", hash = "sha256:65c81abbabda7d760df7304d843cc9dbe7ef5d485504ca59a46ae2d1731d2428"}, + {file = "typed_ast-1.5.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:37ba2ab65a0028b1a4f2b61a8fe77f12d242731977d274a03d68ebb751271508"}, + {file = "typed_ast-1.5.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:49af5b8f6f03ed1eb89ee06c1d7c2e7c8e743d720c3746a5857609a1abc94c94"}, + {file = "typed_ast-1.5.0-cp36-cp36m-win_amd64.whl", hash = "sha256:e4374a76e61399a173137e7984a1d7e356038cf844f24fd8aea46c8029a2f712"}, + {file = "typed_ast-1.5.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:ea517c2bb11c5e4ba7a83a91482a2837041181d57d3ed0749a6c382a2b6b7086"}, + {file = "typed_ast-1.5.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:51040bf45aacefa44fa67fb9ebcd1f2bec73182b99a532c2394eea7dabd18e24"}, + {file = "typed_ast-1.5.0-cp37-cp37m-win_amd64.whl", hash = "sha256:806e0c7346b9b4af8c62d9a29053f484599921a4448c37fbbcbbf15c25138570"}, + {file = "typed_ast-1.5.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:a67fd5914603e2165e075f1b12f5a8356bfb9557e8bfb74511108cfbab0f51ed"}, + {file = "typed_ast-1.5.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:224afecb8b39739f5c9562794a7c98325cb9d972712e1a98b6989a4720219541"}, + {file = "typed_ast-1.5.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:155b74b078be842d2eb630dd30a280025eca0a5383c7d45853c27afee65f278f"}, + {file = "typed_ast-1.5.0-cp38-cp38-win_amd64.whl", hash = "sha256:361b9e5d27bd8e3ccb6ea6ad6c4f3c0be322a1a0f8177db6d56264fa0ae40410"}, + {file = "typed_ast-1.5.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:618912cbc7e17b4aeba86ffe071698c6e2d292acbd6d1d5ec1ee724b8c4ae450"}, + {file = "typed_ast-1.5.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:7e6731044f748340ef68dcadb5172a4b1f40847a2983fe3983b2a66445fbc8e6"}, + {file = "typed_ast-1.5.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:e8a9b9c87801cecaad3b4c2b8876387115d1a14caa602c1618cedbb0cb2a14e6"}, + {file = "typed_ast-1.5.0-cp39-cp39-win_amd64.whl", hash = "sha256:ec184dfb5d3d11e82841dbb973e7092b75f306b625fad7b2e665b64c5d60ab3f"}, + {file = "typed_ast-1.5.0.tar.gz", hash = "sha256:ff4ad88271aa7a55f19b6a161ed44e088c393846d954729549e3cde8257747bb"}, ] typing-extensions = [ - {file = "typing_extensions-3.10.0.2-py2-none-any.whl", hash = "sha256:d8226d10bc02a29bcc81df19a26e56a9647f8b0a6d4a83924139f4a8b01f17b7"}, - {file = "typing_extensions-3.10.0.2-py3-none-any.whl", hash = "sha256:f1d25edafde516b146ecd0613dabcc61409817af4766fbbcfb8d1ad4ec441a34"}, - {file = "typing_extensions-3.10.0.2.tar.gz", hash = "sha256:49f75d16ff11f1cd258e1b988ccff82a3ca5570217d7ad8c5f48205dd99a677e"}, + {file = "typing_extensions-4.0.0-py3-none-any.whl", hash = "sha256:829704698b22e13ec9eaf959122315eabb370b0884400e9818334d8b677023d9"}, + {file = "typing_extensions-4.0.0.tar.gz", hash = "sha256:2cdf80e4e04866a9b3689a51869016d36db0814d84b8d8a568d22781d45d27ed"}, ] urllib3 = [ - {file = "urllib3-1.26.6-py2.py3-none-any.whl", hash = "sha256:39fb8672126159acb139a7718dd10806104dec1e2f0f6c88aab05d17df10c8d4"}, - {file = "urllib3-1.26.6.tar.gz", hash = "sha256:f57b4c16c62fa2760b7e3d97c35b255512fb6b59a259730f36ba32ce9f8e342f"}, + {file = "urllib3-1.26.7-py2.py3-none-any.whl", hash = "sha256:c4fdf4019605b6e5423637e01bc9fe4daef873709a7973e195ceba0a62bbc844"}, + {file = "urllib3-1.26.7.tar.gz", hash = "sha256:4987c65554f7a2dbf30c18fd48778ef124af6fab771a377103da0585e2336ece"}, ] wrapt = [ - {file = "wrapt-1.12.1.tar.gz", hash = "sha256:b62ffa81fb85f4332a4f609cab4ac40709470da05643a082ec1eb88e6d9b97d7"}, + {file = "wrapt-1.13.3-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:e05e60ff3b2b0342153be4d1b597bbcfd8330890056b9619f4ad6b8d5c96a81a"}, + {file = "wrapt-1.13.3-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:85148f4225287b6a0665eef08a178c15097366d46b210574a658c1ff5b377489"}, + {file = "wrapt-1.13.3-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:2dded5496e8f1592ec27079b28b6ad2a1ef0b9296d270f77b8e4a3a796cf6909"}, + {file = "wrapt-1.13.3-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:e94b7d9deaa4cc7bac9198a58a7240aaf87fe56c6277ee25fa5b3aa1edebd229"}, + {file = "wrapt-1.13.3-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:498e6217523111d07cd67e87a791f5e9ee769f9241fcf8a379696e25806965af"}, + {file = "wrapt-1.13.3-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:ec7e20258ecc5174029a0f391e1b948bf2906cd64c198a9b8b281b811cbc04de"}, + {file = "wrapt-1.13.3-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:87883690cae293541e08ba2da22cacaae0a092e0ed56bbba8d018cc486fbafbb"}, + {file = "wrapt-1.13.3-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:f99c0489258086308aad4ae57da9e8ecf9e1f3f30fa35d5e170b4d4896554d80"}, + {file = "wrapt-1.13.3-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:6a03d9917aee887690aa3f1747ce634e610f6db6f6b332b35c2dd89412912bca"}, + {file = "wrapt-1.13.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:936503cb0a6ed28dbfa87e8fcd0a56458822144e9d11a49ccee6d9a8adb2ac44"}, + {file = "wrapt-1.13.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:f9c51d9af9abb899bd34ace878fbec8bf357b3194a10c4e8e0a25512826ef056"}, + {file = "wrapt-1.13.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:220a869982ea9023e163ba915077816ca439489de6d2c09089b219f4e11b6785"}, + {file = "wrapt-1.13.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:0877fe981fd76b183711d767500e6b3111378ed2043c145e21816ee589d91096"}, + {file = "wrapt-1.13.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:43e69ffe47e3609a6aec0fe723001c60c65305784d964f5007d5b4fb1bc6bf33"}, + {file = "wrapt-1.13.3-cp310-cp310-win32.whl", hash = "sha256:78dea98c81915bbf510eb6a3c9c24915e4660302937b9ae05a0947164248020f"}, + {file = "wrapt-1.13.3-cp310-cp310-win_amd64.whl", hash = "sha256:ea3e746e29d4000cd98d572f3ee2a6050a4f784bb536f4ac1f035987fc1ed83e"}, + {file = "wrapt-1.13.3-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:8c73c1a2ec7c98d7eaded149f6d225a692caa1bd7b2401a14125446e9e90410d"}, + {file = "wrapt-1.13.3-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:086218a72ec7d986a3eddb7707c8c4526d677c7b35e355875a0fe2918b059179"}, + {file = "wrapt-1.13.3-cp35-cp35m-manylinux2010_i686.whl", hash = "sha256:e92d0d4fa68ea0c02d39f1e2f9cb5bc4b4a71e8c442207433d8db47ee79d7aa3"}, + {file = "wrapt-1.13.3-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:d4a5f6146cfa5c7ba0134249665acd322a70d1ea61732723c7d3e8cc0fa80755"}, + {file = "wrapt-1.13.3-cp35-cp35m-win32.whl", hash = "sha256:8aab36778fa9bba1a8f06a4919556f9f8c7b33102bd71b3ab307bb3fecb21851"}, + {file = "wrapt-1.13.3-cp35-cp35m-win_amd64.whl", hash = "sha256:944b180f61f5e36c0634d3202ba8509b986b5fbaf57db3e94df11abee244ba13"}, + {file = "wrapt-1.13.3-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:2ebdde19cd3c8cdf8df3fc165bc7827334bc4e353465048b36f7deeae8ee0918"}, + {file = "wrapt-1.13.3-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:610f5f83dd1e0ad40254c306f4764fcdc846641f120c3cf424ff57a19d5f7ade"}, + {file = "wrapt-1.13.3-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:5601f44a0f38fed36cc07db004f0eedeaadbdcec90e4e90509480e7e6060a5bc"}, + {file = "wrapt-1.13.3-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:e6906d6f48437dfd80464f7d7af1740eadc572b9f7a4301e7dd3d65db285cacf"}, + {file = "wrapt-1.13.3-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:766b32c762e07e26f50d8a3468e3b4228b3736c805018e4b0ec8cc01ecd88125"}, + {file = "wrapt-1.13.3-cp36-cp36m-win32.whl", hash = "sha256:5f223101f21cfd41deec8ce3889dc59f88a59b409db028c469c9b20cfeefbe36"}, + {file = "wrapt-1.13.3-cp36-cp36m-win_amd64.whl", hash = "sha256:f122ccd12fdc69628786d0c947bdd9cb2733be8f800d88b5a37c57f1f1d73c10"}, + {file = "wrapt-1.13.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:46f7f3af321a573fc0c3586612db4decb7eb37172af1bc6173d81f5b66c2e068"}, + {file = "wrapt-1.13.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:778fd096ee96890c10ce96187c76b3e99b2da44e08c9e24d5652f356873f6709"}, + {file = "wrapt-1.13.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:0cb23d36ed03bf46b894cfec777eec754146d68429c30431c99ef28482b5c1df"}, + {file = "wrapt-1.13.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:96b81ae75591a795d8c90edc0bfaab44d3d41ffc1aae4d994c5aa21d9b8e19a2"}, + {file = "wrapt-1.13.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:7dd215e4e8514004c8d810a73e342c536547038fb130205ec4bba9f5de35d45b"}, + {file = "wrapt-1.13.3-cp37-cp37m-win32.whl", hash = "sha256:47f0a183743e7f71f29e4e21574ad3fa95676136f45b91afcf83f6a050914829"}, + {file = "wrapt-1.13.3-cp37-cp37m-win_amd64.whl", hash = "sha256:fd76c47f20984b43d93de9a82011bb6e5f8325df6c9ed4d8310029a55fa361ea"}, + {file = "wrapt-1.13.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:b73d4b78807bd299b38e4598b8e7bd34ed55d480160d2e7fdaabd9931afa65f9"}, + {file = "wrapt-1.13.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:ec9465dd69d5657b5d2fa6133b3e1e989ae27d29471a672416fd729b429eb554"}, + {file = "wrapt-1.13.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:dd91006848eb55af2159375134d724032a2d1d13bcc6f81cd8d3ed9f2b8e846c"}, + {file = "wrapt-1.13.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:ae9de71eb60940e58207f8e71fe113c639da42adb02fb2bcbcaccc1ccecd092b"}, + {file = "wrapt-1.13.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:51799ca950cfee9396a87f4a1240622ac38973b6df5ef7a41e7f0b98797099ce"}, + {file = "wrapt-1.13.3-cp38-cp38-win32.whl", hash = "sha256:4b9c458732450ec42578b5642ac53e312092acf8c0bfce140ada5ca1ac556f79"}, + {file = "wrapt-1.13.3-cp38-cp38-win_amd64.whl", hash = "sha256:7dde79d007cd6dfa65afe404766057c2409316135cb892be4b1c768e3f3a11cb"}, + {file = "wrapt-1.13.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:981da26722bebb9247a0601e2922cedf8bb7a600e89c852d063313102de6f2cb"}, + {file = "wrapt-1.13.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:705e2af1f7be4707e49ced9153f8d72131090e52be9278b5dbb1498c749a1e32"}, + {file = "wrapt-1.13.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:25b1b1d5df495d82be1c9d2fad408f7ce5ca8a38085e2da41bb63c914baadff7"}, + {file = "wrapt-1.13.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:77416e6b17926d953b5c666a3cb718d5945df63ecf922af0ee576206d7033b5e"}, + {file = "wrapt-1.13.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:865c0b50003616f05858b22174c40ffc27a38e67359fa1495605f96125f76640"}, + {file = "wrapt-1.13.3-cp39-cp39-win32.whl", hash = "sha256:0a017a667d1f7411816e4bf214646d0ad5b1da2c1ea13dec6c162736ff25a374"}, + {file = "wrapt-1.13.3-cp39-cp39-win_amd64.whl", hash = "sha256:81bd7c90d28a4b2e1df135bfbd7c23aee3050078ca6441bead44c42483f9ebfb"}, + {file = "wrapt-1.13.3.tar.gz", hash = "sha256:1fea9cd438686e6682271d36f3481a9f3636195578bab9ca3382e2f5f01fc185"}, ] yarl = [ - {file = "yarl-1.6.3-cp36-cp36m-macosx_10_14_x86_64.whl", hash = "sha256:0355a701b3998dcd832d0dc47cc5dedf3874f966ac7f870e0f3a6788d802d434"}, - {file = "yarl-1.6.3-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:bafb450deef6861815ed579c7a6113a879a6ef58aed4c3a4be54400ae8871478"}, - {file = "yarl-1.6.3-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:547f7665ad50fa8563150ed079f8e805e63dd85def6674c97efd78eed6c224a6"}, - {file = "yarl-1.6.3-cp36-cp36m-manylinux2014_i686.whl", hash = "sha256:63f90b20ca654b3ecc7a8d62c03ffa46999595f0167d6450fa8383bab252987e"}, - {file = "yarl-1.6.3-cp36-cp36m-manylinux2014_ppc64le.whl", hash = "sha256:97b5bdc450d63c3ba30a127d018b866ea94e65655efaf889ebeabc20f7d12406"}, - {file = "yarl-1.6.3-cp36-cp36m-manylinux2014_s390x.whl", hash = "sha256:d8d07d102f17b68966e2de0e07bfd6e139c7c02ef06d3a0f8d2f0f055e13bb76"}, - {file = "yarl-1.6.3-cp36-cp36m-manylinux2014_x86_64.whl", hash = "sha256:15263c3b0b47968c1d90daa89f21fcc889bb4b1aac5555580d74565de6836366"}, - {file = "yarl-1.6.3-cp36-cp36m-win32.whl", hash = "sha256:b5dfc9a40c198334f4f3f55880ecf910adebdcb2a0b9a9c23c9345faa9185721"}, - {file = "yarl-1.6.3-cp36-cp36m-win_amd64.whl", hash = "sha256:b2e9a456c121e26d13c29251f8267541bd75e6a1ccf9e859179701c36a078643"}, - {file = "yarl-1.6.3-cp37-cp37m-macosx_10_14_x86_64.whl", hash = "sha256:ce3beb46a72d9f2190f9e1027886bfc513702d748047b548b05dab7dfb584d2e"}, - {file = "yarl-1.6.3-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:2ce4c621d21326a4a5500c25031e102af589edb50c09b321049e388b3934eec3"}, - {file = "yarl-1.6.3-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:d26608cf178efb8faa5ff0f2d2e77c208f471c5a3709e577a7b3fd0445703ac8"}, - {file = "yarl-1.6.3-cp37-cp37m-manylinux2014_i686.whl", hash = "sha256:4c5bcfc3ed226bf6419f7a33982fb4b8ec2e45785a0561eb99274ebbf09fdd6a"}, - {file = "yarl-1.6.3-cp37-cp37m-manylinux2014_ppc64le.whl", hash = "sha256:4736eaee5626db8d9cda9eb5282028cc834e2aeb194e0d8b50217d707e98bb5c"}, - {file = "yarl-1.6.3-cp37-cp37m-manylinux2014_s390x.whl", hash = "sha256:68dc568889b1c13f1e4745c96b931cc94fdd0defe92a72c2b8ce01091b22e35f"}, - {file = "yarl-1.6.3-cp37-cp37m-manylinux2014_x86_64.whl", hash = "sha256:7356644cbed76119d0b6bd32ffba704d30d747e0c217109d7979a7bc36c4d970"}, - {file = "yarl-1.6.3-cp37-cp37m-win32.whl", hash = "sha256:00d7ad91b6583602eb9c1d085a2cf281ada267e9a197e8b7cae487dadbfa293e"}, - {file = "yarl-1.6.3-cp37-cp37m-win_amd64.whl", hash = "sha256:69ee97c71fee1f63d04c945f56d5d726483c4762845400a6795a3b75d56b6c50"}, - {file = "yarl-1.6.3-cp38-cp38-macosx_10_14_x86_64.whl", hash = "sha256:e46fba844f4895b36f4c398c5af062a9808d1f26b2999c58909517384d5deda2"}, - {file = "yarl-1.6.3-cp38-cp38-manylinux1_i686.whl", hash = "sha256:31ede6e8c4329fb81c86706ba8f6bf661a924b53ba191b27aa5fcee5714d18ec"}, - {file = "yarl-1.6.3-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:fcbb48a93e8699eae920f8d92f7160c03567b421bc17362a9ffbbd706a816f71"}, - {file = "yarl-1.6.3-cp38-cp38-manylinux2014_i686.whl", hash = "sha256:72a660bdd24497e3e84f5519e57a9ee9220b6f3ac4d45056961bf22838ce20cc"}, - {file = "yarl-1.6.3-cp38-cp38-manylinux2014_ppc64le.whl", hash = "sha256:324ba3d3c6fee56e2e0b0d09bf5c73824b9f08234339d2b788af65e60040c959"}, - {file = "yarl-1.6.3-cp38-cp38-manylinux2014_s390x.whl", hash = "sha256:e6b5460dc5ad42ad2b36cca524491dfcaffbfd9c8df50508bddc354e787b8dc2"}, - {file = "yarl-1.6.3-cp38-cp38-manylinux2014_x86_64.whl", hash = "sha256:6d6283d8e0631b617edf0fd726353cb76630b83a089a40933043894e7f6721e2"}, - {file = "yarl-1.6.3-cp38-cp38-win32.whl", hash = "sha256:9ede61b0854e267fd565e7527e2f2eb3ef8858b301319be0604177690e1a3896"}, - {file = "yarl-1.6.3-cp38-cp38-win_amd64.whl", hash = "sha256:f0b059678fd549c66b89bed03efcabb009075bd131c248ecdf087bdb6faba24a"}, - {file = "yarl-1.6.3-cp39-cp39-macosx_10_14_x86_64.whl", hash = "sha256:329412812ecfc94a57cd37c9d547579510a9e83c516bc069470db5f75684629e"}, - {file = "yarl-1.6.3-cp39-cp39-manylinux1_i686.whl", hash = "sha256:c49ff66d479d38ab863c50f7bb27dee97c6627c5fe60697de15529da9c3de724"}, - {file = "yarl-1.6.3-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:f040bcc6725c821a4c0665f3aa96a4d0805a7aaf2caf266d256b8ed71b9f041c"}, - {file = "yarl-1.6.3-cp39-cp39-manylinux2014_i686.whl", hash = "sha256:d5c32c82990e4ac4d8150fd7652b972216b204de4e83a122546dce571c1bdf25"}, - {file = "yarl-1.6.3-cp39-cp39-manylinux2014_ppc64le.whl", hash = "sha256:d597767fcd2c3dc49d6eea360c458b65643d1e4dbed91361cf5e36e53c1f8c96"}, - {file = "yarl-1.6.3-cp39-cp39-manylinux2014_s390x.whl", hash = "sha256:8aa3decd5e0e852dc68335abf5478a518b41bf2ab2f330fe44916399efedfae0"}, - {file = "yarl-1.6.3-cp39-cp39-manylinux2014_x86_64.whl", hash = "sha256:73494d5b71099ae8cb8754f1df131c11d433b387efab7b51849e7e1e851f07a4"}, - {file = "yarl-1.6.3-cp39-cp39-win32.whl", hash = "sha256:5b883e458058f8d6099e4420f0cc2567989032b5f34b271c0827de9f1079a424"}, - {file = "yarl-1.6.3-cp39-cp39-win_amd64.whl", hash = "sha256:4953fb0b4fdb7e08b2f3b3be80a00d28c5c8a2056bb066169de00e6501b986b6"}, - {file = "yarl-1.6.3.tar.gz", hash = "sha256:8a9066529240171b68893d60dca86a763eae2139dd42f42106b03cf4b426bf10"}, + {file = "yarl-1.7.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:f2a8508f7350512434e41065684076f640ecce176d262a7d54f0da41d99c5a95"}, + {file = "yarl-1.7.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:da6df107b9ccfe52d3a48165e48d72db0eca3e3029b5b8cb4fe6ee3cb870ba8b"}, + {file = "yarl-1.7.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a1d0894f238763717bdcfea74558c94e3bc34aeacd3351d769460c1a586a8b05"}, + {file = "yarl-1.7.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:dfe4b95b7e00c6635a72e2d00b478e8a28bfb122dc76349a06e20792eb53a523"}, + {file = "yarl-1.7.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c145ab54702334c42237a6c6c4cc08703b6aa9b94e2f227ceb3d477d20c36c63"}, + {file = "yarl-1.7.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1ca56f002eaf7998b5fcf73b2421790da9d2586331805f38acd9997743114e98"}, + {file = "yarl-1.7.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:1d3d5ad8ea96bd6d643d80c7b8d5977b4e2fb1bab6c9da7322616fd26203d125"}, + {file = "yarl-1.7.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:167ab7f64e409e9bdd99333fe8c67b5574a1f0495dcfd905bc7454e766729b9e"}, + {file = "yarl-1.7.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:95a1873b6c0dd1c437fb3bb4a4aaa699a48c218ac7ca1e74b0bee0ab16c7d60d"}, + {file = "yarl-1.7.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:6152224d0a1eb254f97df3997d79dadd8bb2c1a02ef283dbb34b97d4f8492d23"}, + {file = "yarl-1.7.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:5bb7d54b8f61ba6eee541fba4b83d22b8a046b4ef4d8eb7f15a7e35db2e1e245"}, + {file = "yarl-1.7.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:9c1f083e7e71b2dd01f7cd7434a5f88c15213194df38bc29b388ccdf1492b739"}, + {file = "yarl-1.7.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:f44477ae29025d8ea87ec308539f95963ffdc31a82f42ca9deecf2d505242e72"}, + {file = "yarl-1.7.2-cp310-cp310-win32.whl", hash = "sha256:cff3ba513db55cc6a35076f32c4cdc27032bd075c9faef31fec749e64b45d26c"}, + {file = "yarl-1.7.2-cp310-cp310-win_amd64.whl", hash = "sha256:c9c6d927e098c2d360695f2e9d38870b2e92e0919be07dbe339aefa32a090265"}, + {file = "yarl-1.7.2-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:9b4c77d92d56a4c5027572752aa35082e40c561eec776048330d2907aead891d"}, + {file = "yarl-1.7.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c01a89a44bb672c38f42b49cdb0ad667b116d731b3f4c896f72302ff77d71656"}, + {file = "yarl-1.7.2-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c19324a1c5399b602f3b6e7db9478e5b1adf5cf58901996fc973fe4fccd73eed"}, + {file = "yarl-1.7.2-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3abddf0b8e41445426d29f955b24aeecc83fa1072be1be4e0d194134a7d9baee"}, + {file = "yarl-1.7.2-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:6a1a9fe17621af43e9b9fcea8bd088ba682c8192d744b386ee3c47b56eaabb2c"}, + {file = "yarl-1.7.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:8b0915ee85150963a9504c10de4e4729ae700af11df0dc5550e6587ed7891e92"}, + {file = "yarl-1.7.2-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:29e0656d5497733dcddc21797da5a2ab990c0cb9719f1f969e58a4abac66234d"}, + {file = "yarl-1.7.2-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:bf19725fec28452474d9887a128e98dd67eee7b7d52e932e6949c532d820dc3b"}, + {file = "yarl-1.7.2-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:d6f3d62e16c10e88d2168ba2d065aa374e3c538998ed04996cd373ff2036d64c"}, + {file = "yarl-1.7.2-cp36-cp36m-musllinux_1_1_s390x.whl", hash = "sha256:ac10bbac36cd89eac19f4e51c032ba6b412b3892b685076f4acd2de18ca990aa"}, + {file = "yarl-1.7.2-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:aa32aaa97d8b2ed4e54dc65d241a0da1c627454950f7d7b1f95b13985afd6c5d"}, + {file = "yarl-1.7.2-cp36-cp36m-win32.whl", hash = "sha256:87f6e082bce21464857ba58b569370e7b547d239ca22248be68ea5d6b51464a1"}, + {file = "yarl-1.7.2-cp36-cp36m-win_amd64.whl", hash = "sha256:ac35ccde589ab6a1870a484ed136d49a26bcd06b6a1c6397b1967ca13ceb3913"}, + {file = "yarl-1.7.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a467a431a0817a292121c13cbe637348b546e6ef47ca14a790aa2fa8cc93df63"}, + {file = "yarl-1.7.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6ab0c3274d0a846840bf6c27d2c60ba771a12e4d7586bf550eefc2df0b56b3b4"}, + {file = "yarl-1.7.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d260d4dc495c05d6600264a197d9d6f7fc9347f21d2594926202fd08cf89a8ba"}, + {file = "yarl-1.7.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fc4dd8b01a8112809e6b636b00f487846956402834a7fd59d46d4f4267181c41"}, + {file = "yarl-1.7.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:c1164a2eac148d85bbdd23e07dfcc930f2e633220f3eb3c3e2a25f6148c2819e"}, + {file = "yarl-1.7.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:67e94028817defe5e705079b10a8438b8cb56e7115fa01640e9c0bb3edf67332"}, + {file = "yarl-1.7.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:89ccbf58e6a0ab89d487c92a490cb5660d06c3a47ca08872859672f9c511fc52"}, + {file = "yarl-1.7.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:8cce6f9fa3df25f55521fbb5c7e4a736683148bcc0c75b21863789e5185f9185"}, + {file = "yarl-1.7.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:211fcd65c58bf250fb994b53bc45a442ddc9f441f6fec53e65de8cba48ded986"}, + {file = "yarl-1.7.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:c10ea1e80a697cf7d80d1ed414b5cb8f1eec07d618f54637067ae3c0334133c4"}, + {file = "yarl-1.7.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:52690eb521d690ab041c3919666bea13ab9fbff80d615ec16fa81a297131276b"}, + {file = "yarl-1.7.2-cp37-cp37m-win32.whl", hash = "sha256:695ba021a9e04418507fa930d5f0704edbce47076bdcfeeaba1c83683e5649d1"}, + {file = "yarl-1.7.2-cp37-cp37m-win_amd64.whl", hash = "sha256:c17965ff3706beedafd458c452bf15bac693ecd146a60a06a214614dc097a271"}, + {file = "yarl-1.7.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:fce78593346c014d0d986b7ebc80d782b7f5e19843ca798ed62f8e3ba8728576"}, + {file = "yarl-1.7.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c2a1ac41a6aa980db03d098a5531f13985edcb451bcd9d00670b03129922cd0d"}, + {file = "yarl-1.7.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:39d5493c5ecd75c8093fa7700a2fb5c94fe28c839c8e40144b7ab7ccba6938c8"}, + {file = "yarl-1.7.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1eb6480ef366d75b54c68164094a6a560c247370a68c02dddb11f20c4c6d3c9d"}, + {file = "yarl-1.7.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5ba63585a89c9885f18331a55d25fe81dc2d82b71311ff8bd378fc8004202ff6"}, + {file = "yarl-1.7.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e39378894ee6ae9f555ae2de332d513a5763276a9265f8e7cbaeb1b1ee74623a"}, + {file = "yarl-1.7.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:c0910c6b6c31359d2f6184828888c983d54d09d581a4a23547a35f1d0b9484b1"}, + {file = "yarl-1.7.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:6feca8b6bfb9eef6ee057628e71e1734caf520a907b6ec0d62839e8293e945c0"}, + {file = "yarl-1.7.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:8300401dc88cad23f5b4e4c1226f44a5aa696436a4026e456fe0e5d2f7f486e6"}, + {file = "yarl-1.7.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:788713c2896f426a4e166b11f4ec538b5736294ebf7d5f654ae445fd44270832"}, + {file = "yarl-1.7.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:fd547ec596d90c8676e369dd8a581a21227fe9b4ad37d0dc7feb4ccf544c2d59"}, + {file = "yarl-1.7.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:737e401cd0c493f7e3dd4db72aca11cfe069531c9761b8ea474926936b3c57c8"}, + {file = "yarl-1.7.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:baf81561f2972fb895e7844882898bda1eef4b07b5b385bcd308d2098f1a767b"}, + {file = "yarl-1.7.2-cp38-cp38-win32.whl", hash = "sha256:ede3b46cdb719c794427dcce9d8beb4abe8b9aa1e97526cc20de9bd6583ad1ef"}, + {file = "yarl-1.7.2-cp38-cp38-win_amd64.whl", hash = "sha256:cc8b7a7254c0fc3187d43d6cb54b5032d2365efd1df0cd1749c0c4df5f0ad45f"}, + {file = "yarl-1.7.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:580c1f15500e137a8c37053e4cbf6058944d4c114701fa59944607505c2fe3a0"}, + {file = "yarl-1.7.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3ec1d9a0d7780416e657f1e405ba35ec1ba453a4f1511eb8b9fbab81cb8b3ce1"}, + {file = "yarl-1.7.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3bf8cfe8856708ede6a73907bf0501f2dc4e104085e070a41f5d88e7faf237f3"}, + {file = "yarl-1.7.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1be4bbb3d27a4e9aa5f3df2ab61e3701ce8fcbd3e9846dbce7c033a7e8136746"}, + {file = "yarl-1.7.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:534b047277a9a19d858cde163aba93f3e1677d5acd92f7d10ace419d478540de"}, + {file = "yarl-1.7.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c6ddcd80d79c96eb19c354d9dca95291589c5954099836b7c8d29278a7ec0bda"}, + {file = "yarl-1.7.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:9bfcd43c65fbb339dc7086b5315750efa42a34eefad0256ba114cd8ad3896f4b"}, + {file = "yarl-1.7.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f64394bd7ceef1237cc604b5a89bf748c95982a84bcd3c4bbeb40f685c810794"}, + {file = "yarl-1.7.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:044daf3012e43d4b3538562da94a88fb12a6490652dbc29fb19adfa02cf72eac"}, + {file = "yarl-1.7.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:368bcf400247318382cc150aaa632582d0780b28ee6053cd80268c7e72796dec"}, + {file = "yarl-1.7.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:bab827163113177aee910adb1f48ff7af31ee0289f434f7e22d10baf624a6dfe"}, + {file = "yarl-1.7.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:0cba38120db72123db7c58322fa69e3c0efa933040ffb586c3a87c063ec7cae8"}, + {file = "yarl-1.7.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:59218fef177296451b23214c91ea3aba7858b4ae3306dde120224cfe0f7a6ee8"}, + {file = "yarl-1.7.2-cp39-cp39-win32.whl", hash = "sha256:1edc172dcca3f11b38a9d5c7505c83c1913c0addc99cd28e993efeaafdfaa18d"}, + {file = "yarl-1.7.2-cp39-cp39-win_amd64.whl", hash = "sha256:797c2c412b04403d2da075fb93c123df35239cd7b4cc4e0cd9e5839b73f52c58"}, + {file = "yarl-1.7.2.tar.gz", hash = "sha256:45399b46d60c253327a460e99856752009fcee5f5d3c80b2f7c0cae1c38d56dd"}, ] zipp = [ - {file = "zipp-3.5.0-py3-none-any.whl", hash = "sha256:957cfda87797e389580cb8b9e3870841ca991e2125350677b2ca83a0e99390a3"}, - {file = "zipp-3.5.0.tar.gz", hash = "sha256:f5812b1e007e48cff63449a5e9f4e7ebea716b4111f9c4f9a645f91d579bf0c4"}, + {file = "zipp-3.6.0-py3-none-any.whl", hash = "sha256:9fe5ea21568a0a70e50f273397638d39b03353731e6cbbb3fd8502a33fec40bc"}, + {file = "zipp-3.6.0.tar.gz", hash = "sha256:71c644c5369f4a6e07636f0aa966270449561fcea2e3d6747b8d23efaa9d7832"}, ] diff --git a/pyproject.toml b/pyproject.toml index 467267a41..a14ddd605 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,7 @@ license = "GPLv3" python = "^3.6" ansible-core = "^2.11.0" black = "19.10b0" +typed-ast = "^1.5.0" codecov = "*" coverage = "^4.0" cryptography = "*" diff --git a/tests/integration/netbox-deploy.py b/tests/integration/netbox-deploy.py index 8f7bf8957..0e714a74b 100755 --- a/tests/integration/netbox-deploy.py +++ b/tests/integration/netbox-deploy.py @@ -13,7 +13,7 @@ # os.environ["INTEGRATION_TESTS"] -# Set nb variable to connect to Netbox and use the veriable in future calls +# Set nb variable to connect to NetBox and use the veriable in future calls nb_host = os.getenv("NETBOX_HOST", "http://localhost:32768") nb_token = os.getenv("NETBOX_TOKEN", "0123456789abcdef0123456789abcdef01234567") nb = pynetbox.api(nb_host, nb_token) diff --git a/tests/integration/targets/inventory-v2.10/compare_inventory_json.py b/tests/integration/targets/inventory-v2.10/compare_inventory_json.py index 15be28b24..d63f315c4 100755 --- a/tests/integration/targets/inventory-v2.10/compare_inventory_json.py +++ b/tests/integration/targets/inventory-v2.10/compare_inventory_json.py @@ -14,7 +14,7 @@ from typing import Iterable from operator import itemgetter -# Netbox includes "created" and "last_updated" times on objects. These end up in the interfaces objects that are included verbatim from the Netbox API. +# NetBox includes "created" and "last_updated" times on objects. These end up in the interfaces objects that are included verbatim from the NetBox API. # "url" may be different if local tests use a different host/port # Remove these from files saved in git as test data KEYS_REMOVE = frozenset(["created", "last_updated", "url"]) diff --git a/tests/integration/targets/inventory-v2.11/compare_inventory_json.py b/tests/integration/targets/inventory-v2.11/compare_inventory_json.py index 15be28b24..d63f315c4 100755 --- a/tests/integration/targets/inventory-v2.11/compare_inventory_json.py +++ b/tests/integration/targets/inventory-v2.11/compare_inventory_json.py @@ -14,7 +14,7 @@ from typing import Iterable from operator import itemgetter -# Netbox includes "created" and "last_updated" times on objects. These end up in the interfaces objects that are included verbatim from the Netbox API. +# NetBox includes "created" and "last_updated" times on objects. These end up in the interfaces objects that are included verbatim from the NetBox API. # "url" may be different if local tests use a different host/port # Remove these from files saved in git as test data KEYS_REMOVE = frozenset(["created", "last_updated", "url"]) diff --git a/tests/integration/targets/inventory-v3.0/compare_inventory_json.py b/tests/integration/targets/inventory-v3.0/compare_inventory_json.py index 15be28b24..d63f315c4 100755 --- a/tests/integration/targets/inventory-v3.0/compare_inventory_json.py +++ b/tests/integration/targets/inventory-v3.0/compare_inventory_json.py @@ -14,7 +14,7 @@ from typing import Iterable from operator import itemgetter -# Netbox includes "created" and "last_updated" times on objects. These end up in the interfaces objects that are included verbatim from the Netbox API. +# NetBox includes "created" and "last_updated" times on objects. These end up in the interfaces objects that are included verbatim from the NetBox API. # "url" may be different if local tests use a different host/port # Remove these from files saved in git as test data KEYS_REMOVE = frozenset(["created", "last_updated", "url"]) diff --git a/tests/integration/targets/inventory-v3.0/files/test-inventory-legacy.json b/tests/integration/targets/inventory-v3.0/files/test-inventory-legacy.json index 9747dfd0c..7b73f0046 100644 --- a/tests/integration/targets/inventory-v3.0/files/test-inventory-legacy.json +++ b/tests/integration/targets/inventory-v3.0/files/test-inventory-legacy.json @@ -63,7 +63,6 @@ "description": "", "device": { "display": "Test Nexus One", - "display_name": "Test Nexus One", "id": 4, "name": "Test Nexus One" }, @@ -200,7 +199,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -223,7 +221,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -398,4 +395,4 @@ "test104-vm" ] } -} \ No newline at end of file +} diff --git a/tests/integration/targets/inventory-v3.0/files/test-inventory-options-flatten.json b/tests/integration/targets/inventory-v3.0/files/test-inventory-options-flatten.json index 42e4e0905..0069ff2b6 100644 --- a/tests/integration/targets/inventory-v3.0/files/test-inventory-options-flatten.json +++ b/tests/integration/targets/inventory-v3.0/files/test-inventory-options-flatten.json @@ -61,7 +61,6 @@ "description": "", "device": { "display": "Test Nexus One", - "display_name": "Test Nexus One", "id": 4, "name": "Test Nexus One" }, @@ -122,7 +121,6 @@ "description": "", "device": { "display": "Test Nexus Child One", - "display_name": "Test Nexus Child One", "id": 5, "name": "Test Nexus Child One" }, @@ -189,7 +187,6 @@ "description": "", "device": { "display": "Test Nexus One", - "display_name": "Test Nexus One", "id": 4, "name": "Test Nexus One" }, @@ -336,7 +333,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -397,7 +393,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -466,7 +461,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -489,7 +483,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -976,4 +969,4 @@ "R1-Device" ] } -} \ No newline at end of file +} diff --git a/tests/integration/targets/inventory-v3.0/files/test-inventory-options.json b/tests/integration/targets/inventory-v3.0/files/test-inventory-options.json index ff4a87fe5..765da39f4 100644 --- a/tests/integration/targets/inventory-v3.0/files/test-inventory-options.json +++ b/tests/integration/targets/inventory-v3.0/files/test-inventory-options.json @@ -28,7 +28,6 @@ "R1-Device": { "custom_fields": {}, "device_type": "cisco-test", - "display": "R1-Device", "is_virtual": false, "locations": [], "manufacturer": "cisco", @@ -60,7 +59,6 @@ "TestDeviceR1": { "custom_fields": {}, "device_type": "cisco-test", - "display": "TestDeviceR1", "is_virtual": false, "locations": [ "test-rack-group", @@ -85,7 +83,6 @@ "ansible_host": "nexus.example.com", "custom_fields": {}, "device_type": "nexus-parent", - "display": "Test Nexus One", "dns_name": "nexus.example.com", "is_virtual": false, "locations": [ @@ -109,7 +106,6 @@ "test100": { "custom_fields": {}, "device_type": "cisco-test", - "display": "test100", "is_virtual": false, "local_context_data": { "ntp_servers": [ @@ -361,4 +357,4 @@ "R1-Device" ] } -} \ No newline at end of file +} diff --git a/tests/integration/targets/inventory-v3.0/files/test-inventory-options.yml b/tests/integration/targets/inventory-v3.0/files/test-inventory-options.yml index b63803299..355f89e15 100644 --- a/tests/integration/targets/inventory-v3.0/files/test-inventory-options.yml +++ b/tests/integration/targets/inventory-v3.0/files/test-inventory-options.yml @@ -49,7 +49,6 @@ vm_query_filters: # https://docs.ansible.com/ansible/latest/plugins/inventory/constructed.html compose: - display: display_name rack_id: rack.id ntp_servers: config_context.ntp_servers diff --git a/tests/integration/targets/inventory-v3.0/files/test-inventory-plurals.json b/tests/integration/targets/inventory-v3.0/files/test-inventory-plurals.json index c10392286..761c6497e 100644 --- a/tests/integration/targets/inventory-v3.0/files/test-inventory-plurals.json +++ b/tests/integration/targets/inventory-v3.0/files/test-inventory-plurals.json @@ -63,7 +63,6 @@ "description": "", "device": { "display": "Test Nexus One", - "display_name": "Test Nexus One", "id": 4, "name": "Test Nexus One" }, @@ -124,7 +123,6 @@ "description": "", "device": { "display": "Test Nexus Child One", - "display_name": "Test Nexus Child One", "id": 5, "name": "Test Nexus Child One" }, @@ -195,7 +193,6 @@ "description": "", "device": { "display": "Test Nexus One", - "display_name": "Test Nexus One", "id": 4, "name": "Test Nexus One" }, @@ -381,7 +378,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -442,7 +438,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -516,7 +511,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -539,7 +533,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -1095,4 +1088,4 @@ "test104-vm" ] } -} \ No newline at end of file +} diff --git a/tests/integration/targets/inventory-v3.0/files/test-inventory.json b/tests/integration/targets/inventory-v3.0/files/test-inventory.json index 70e67581f..3efaff7a7 100644 --- a/tests/integration/targets/inventory-v3.0/files/test-inventory.json +++ b/tests/integration/targets/inventory-v3.0/files/test-inventory.json @@ -41,7 +41,6 @@ "description": "", "device": { "display": "Test Nexus One", - "display_name": "Test Nexus One", "id": 4, "name": "Test Nexus One" }, @@ -102,7 +101,6 @@ "description": "", "device": { "display": "Test Nexus Child One", - "display_name": "Test Nexus Child One", "id": 5, "name": "Test Nexus Child One" }, @@ -169,7 +167,6 @@ "description": "", "device": { "display": "Test Nexus One", - "display_name": "Test Nexus One", "id": 4, "name": "Test Nexus One" }, @@ -326,7 +323,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -387,7 +383,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -458,7 +453,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -481,7 +475,6 @@ "description": "", "device": { "display": "test100", - "display_name": "test100", "id": 1, "name": "test100" }, @@ -1021,4 +1014,4 @@ "test104-vm" ] } -} \ No newline at end of file +} diff --git a/tests/integration/targets/regression-v2.10/tasks/main.yml b/tests/integration/targets/regression-v2.10/tasks/main.yml index 3ea5add20..5a7ffb57f 100644 --- a/tests/integration/targets/regression-v2.10/tasks/main.yml +++ b/tests/integration/targets/regression-v2.10/tasks/main.yml @@ -25,7 +25,7 @@ assert: that: - test_one is failed - - test_one['msg'] == "Failed to establish connection to Netbox API" + - test_one['msg'] == "Failed to establish connection to NetBox API" - name: "2 - Check to see if netbox_prefix with parent defined will pass via check-mode" netbox.netbox.netbox_prefix: diff --git a/tests/integration/targets/regression-v2.11/tasks/main.yml b/tests/integration/targets/regression-v2.11/tasks/main.yml index 3ea5add20..5a7ffb57f 100644 --- a/tests/integration/targets/regression-v2.11/tasks/main.yml +++ b/tests/integration/targets/regression-v2.11/tasks/main.yml @@ -25,7 +25,7 @@ assert: that: - test_one is failed - - test_one['msg'] == "Failed to establish connection to Netbox API" + - test_one['msg'] == "Failed to establish connection to NetBox API" - name: "2 - Check to see if netbox_prefix with parent defined will pass via check-mode" netbox.netbox.netbox_prefix: diff --git a/tests/integration/targets/regression-v3.0/tasks/main.yml b/tests/integration/targets/regression-v3.0/tasks/main.yml index 3ea5add20..5a7ffb57f 100644 --- a/tests/integration/targets/regression-v3.0/tasks/main.yml +++ b/tests/integration/targets/regression-v3.0/tasks/main.yml @@ -25,7 +25,7 @@ assert: that: - test_one is failed - - test_one['msg'] == "Failed to establish connection to Netbox API" + - test_one['msg'] == "Failed to establish connection to NetBox API" - name: "2 - Check to see if netbox_prefix with parent defined will pass via check-mode" netbox.netbox.netbox_prefix: diff --git a/tests/integration/targets/v2.10/tasks/netbox_circuit.yml b/tests/integration/targets/v2.10/tasks/netbox_circuit.yml index 33d1230c4..1d8f1ec47 100644 --- a/tests/integration/targets/v2.10/tasks/netbox_circuit.yml +++ b/tests/integration/targets/v2.10/tasks/netbox_circuit.yml @@ -4,7 +4,7 @@ ### NETBOX_CIRCUIT ## ## -- name: "NETBOX_CIRCUIT 1: Create provider within Netbox with only required information" +- name: "NETBOX_CIRCUIT 1: Create provider within NetBox with only required information" netbox.netbox.netbox_circuit: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v2.10/tasks/netbox_circuit_termination.yml b/tests/integration/targets/v2.10/tasks/netbox_circuit_termination.yml index 6851b5105..a37cdc680 100644 --- a/tests/integration/targets/v2.10/tasks/netbox_circuit_termination.yml +++ b/tests/integration/targets/v2.10/tasks/netbox_circuit_termination.yml @@ -4,7 +4,7 @@ ### NETBOX_CIRCUIT_TERMINATION ## ## -- name: "NETBOX_CIRCUIT_TERMINATION 1: Create provider within Netbox with only required information" +- name: "NETBOX_CIRCUIT_TERMINATION 1: Create provider within NetBox with only required information" netbox.netbox.netbox_circuit_termination: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v2.10/tasks/netbox_ip_address.yml b/tests/integration/targets/v2.10/tasks/netbox_ip_address.yml index aa4e40dd4..be1c9a6da 100644 --- a/tests/integration/targets/v2.10/tasks/netbox_ip_address.yml +++ b/tests/integration/targets/v2.10/tasks/netbox_ip_address.yml @@ -4,9 +4,9 @@ ### NETBOX_IP_ADDRESS ## ## -- name: "1 - Create IP address within Netbox with only required information - State: Present" +- name: "1 - Create IP address within NetBox with only required information - State: Present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.10/30 @@ -24,7 +24,7 @@ - name: "2 - Update 192.168.1.10/30" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.10/30 @@ -47,7 +47,7 @@ - name: "3 - Delete IP - 192.168.1.10 - State: Absent" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.10/30 @@ -64,7 +64,7 @@ - name: "4 - Create IP in global VRF - 192.168.1.20/30 - State: Present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.20/30 @@ -82,7 +82,7 @@ - name: "5 - Create IP in global VRF - 192.168.1.20/30 - State: New" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.20/30 @@ -100,7 +100,7 @@ - name: "6 - Create new address with only prefix specified - State: new" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: prefix: 192.168.100.0/24 @@ -118,7 +118,7 @@ - name: "7 - Create IP address with several specified" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 172.16.1.20/24 @@ -149,7 +149,7 @@ - name: "8 - Create IP address and assign a nat_inside IP" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 10.10.1.30/16 @@ -172,7 +172,7 @@ - name: "9 - Create IP address on GigabitEthernet2 - test100 - State: present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 10.10.200.30/16 @@ -194,7 +194,7 @@ - name: "10 - Create IP address on GigabitEthernet2 - test100 - State: new" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: prefix: 10.10.0.0/16 @@ -217,7 +217,7 @@ - name: "11 - Create IP address on GigabitEthernet2 - test100 - State: present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: prefix: 192.168.100.0/24 @@ -238,7 +238,7 @@ - name: "12 - Duplicate - 192.168.100.2/24 on interface" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.100.2/24 @@ -259,7 +259,7 @@ - name: "13 - Duplicate - 192.168.100.2/24" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.100.2/24 @@ -275,7 +275,7 @@ - name: "14 - Create IP address on Eth0 - test100-vm - State: present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 10.188.1.100/24 @@ -297,7 +297,7 @@ - name: "15 - Create same IP address on Eth0 - test101-vm - State: present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 10.188.1.100/24 @@ -320,7 +320,7 @@ - name: "16 - Create IP address with no mask - State: Present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 10.120.10.1 diff --git a/tests/integration/targets/v2.10/tasks/netbox_prefix.yml b/tests/integration/targets/v2.10/tasks/netbox_prefix.yml index 6cc7960a6..518742f3f 100644 --- a/tests/integration/targets/v2.10/tasks/netbox_prefix.yml +++ b/tests/integration/targets/v2.10/tasks/netbox_prefix.yml @@ -4,7 +4,7 @@ ### NETBOX_PREFIX ## ## -- name: "1 - Create prefix within Netbox with only required information" +- name: "1 - Create prefix within NetBox with only required information" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -121,7 +121,7 @@ - test_five['prefix']['is_pool'] == true - test_five['prefix']['tags'][0] == 4 -- name: "6 - Get a new /24 inside 10.156.0.0/19 within Netbox - Parent doesn't exist" +- name: "6 - Get a new /24 inside 10.156.0.0/19 within NetBox - Parent doesn't exist" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -138,7 +138,7 @@ - not test_six['changed'] - test_six['msg'] == "Parent prefix does not exist - 10.156.0.0/19" -- name: "7 - Create prefix within Netbox with only required information" +- name: "7 - Create prefix within NetBox with only required information" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -156,7 +156,7 @@ - test_seven['msg'] == "prefix 10.156.0.0/19 created" - test_seven['prefix']['prefix'] == "10.156.0.0/19" -- name: "8 - Get a new /24 inside 10.156.0.0/19 within Netbox" +- name: "8 - Get a new /24 inside 10.156.0.0/19 within NetBox" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -198,7 +198,7 @@ - test_nine['prefix']['site'] == 1 - test_nine['prefix']['vrf'] == 1 -- name: "10 - Get a new /24 inside 10.157.0.0/19 within Netbox with additional values" +- name: "10 - Get a new /24 inside 10.157.0.0/19 within NetBox with additional values" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -222,7 +222,7 @@ - test_ten['prefix']['site'] == 1 - test_ten['prefix']['vrf'] == 1 -- name: "11 - Get a new /24 inside 10.156.0.0/19 within Netbox" +- name: "11 - Get a new /24 inside 10.156.0.0/19 within NetBox" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v2.10/tasks/netbox_provider.yml b/tests/integration/targets/v2.10/tasks/netbox_provider.yml index 782df16f8..fd9b8d35f 100644 --- a/tests/integration/targets/v2.10/tasks/netbox_provider.yml +++ b/tests/integration/targets/v2.10/tasks/netbox_provider.yml @@ -4,7 +4,7 @@ ### NETBOX_PROVIDER ## ## -- name: "NETBOX_PROVIDER 1: Create provider within Netbox with only required information" +- name: "NETBOX_PROVIDER 1: Create provider within NetBox with only required information" netbox.netbox.netbox_provider: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v2.10/tasks/netbox_site.yml b/tests/integration/targets/v2.10/tasks/netbox_site.yml index cb794930b..ac7a65a33 100644 --- a/tests/integration/targets/v2.10/tasks/netbox_site.yml +++ b/tests/integration/targets/v2.10/tasks/netbox_site.yml @@ -4,7 +4,7 @@ ### NETBOX_SITE ## ## -- name: "1 - Create site within Netbox with only required information" +- name: "1 - Create site within NetBox with only required information" netbox.netbox.netbox_site: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v2.11/tasks/netbox_circuit.yml b/tests/integration/targets/v2.11/tasks/netbox_circuit.yml index 33d1230c4..1d8f1ec47 100644 --- a/tests/integration/targets/v2.11/tasks/netbox_circuit.yml +++ b/tests/integration/targets/v2.11/tasks/netbox_circuit.yml @@ -4,7 +4,7 @@ ### NETBOX_CIRCUIT ## ## -- name: "NETBOX_CIRCUIT 1: Create provider within Netbox with only required information" +- name: "NETBOX_CIRCUIT 1: Create provider within NetBox with only required information" netbox.netbox.netbox_circuit: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v2.11/tasks/netbox_circuit_termination.yml b/tests/integration/targets/v2.11/tasks/netbox_circuit_termination.yml index 6851b5105..a37cdc680 100644 --- a/tests/integration/targets/v2.11/tasks/netbox_circuit_termination.yml +++ b/tests/integration/targets/v2.11/tasks/netbox_circuit_termination.yml @@ -4,7 +4,7 @@ ### NETBOX_CIRCUIT_TERMINATION ## ## -- name: "NETBOX_CIRCUIT_TERMINATION 1: Create provider within Netbox with only required information" +- name: "NETBOX_CIRCUIT_TERMINATION 1: Create provider within NetBox with only required information" netbox.netbox.netbox_circuit_termination: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v2.11/tasks/netbox_inventory_item.yml b/tests/integration/targets/v2.11/tasks/netbox_inventory_item.yml index d551b2fa0..dcdb78a4f 100644 --- a/tests/integration/targets/v2.11/tasks/netbox_inventory_item.yml +++ b/tests/integration/targets/v2.11/tasks/netbox_inventory_item.yml @@ -49,6 +49,7 @@ data: device: "test100" name: "10G-SFP+" + label: "PHY test100" manufacturer: "Cisco" part_id: "10G-SFP+" serial: "1234" @@ -69,9 +70,11 @@ - test_three['diff']['after']['description'] == "New SFP" - test_three['diff']['after']['manufacturer'] == 1 - test_three['diff']['after']['part_id'] == "10G-SFP+" + - test_three['diff']['after']['label'] == "PHY test100" - test_three['diff']['after']['tags'][0] == 4 - test_three['diff']['after']['discovered'] == True - test_three['inventory_item']['name'] == "10G-SFP+" + - test_three['inventory_item']['label'] == "PHY test100" - test_three['inventory_item']['device'] == 1 - test_three['inventory_item']['asset_tag'] == "1234" - test_three['inventory_item']['serial'] == "1234" @@ -97,6 +100,7 @@ that: - test_four is changed - test_four['inventory_item']['name'] == "10G-SFP+" + - test_four['inventory_item']['label'] == "PHY test100" - test_four['inventory_item']['device'] == 1 - test_four['inventory_item']['asset_tag'] == "1234" - test_four['inventory_item']['serial'] == "1234" diff --git a/tests/integration/targets/v2.11/tasks/netbox_ip_address.yml b/tests/integration/targets/v2.11/tasks/netbox_ip_address.yml index aa4e40dd4..be1c9a6da 100644 --- a/tests/integration/targets/v2.11/tasks/netbox_ip_address.yml +++ b/tests/integration/targets/v2.11/tasks/netbox_ip_address.yml @@ -4,9 +4,9 @@ ### NETBOX_IP_ADDRESS ## ## -- name: "1 - Create IP address within Netbox with only required information - State: Present" +- name: "1 - Create IP address within NetBox with only required information - State: Present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.10/30 @@ -24,7 +24,7 @@ - name: "2 - Update 192.168.1.10/30" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.10/30 @@ -47,7 +47,7 @@ - name: "3 - Delete IP - 192.168.1.10 - State: Absent" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.10/30 @@ -64,7 +64,7 @@ - name: "4 - Create IP in global VRF - 192.168.1.20/30 - State: Present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.20/30 @@ -82,7 +82,7 @@ - name: "5 - Create IP in global VRF - 192.168.1.20/30 - State: New" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.20/30 @@ -100,7 +100,7 @@ - name: "6 - Create new address with only prefix specified - State: new" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: prefix: 192.168.100.0/24 @@ -118,7 +118,7 @@ - name: "7 - Create IP address with several specified" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 172.16.1.20/24 @@ -149,7 +149,7 @@ - name: "8 - Create IP address and assign a nat_inside IP" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 10.10.1.30/16 @@ -172,7 +172,7 @@ - name: "9 - Create IP address on GigabitEthernet2 - test100 - State: present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 10.10.200.30/16 @@ -194,7 +194,7 @@ - name: "10 - Create IP address on GigabitEthernet2 - test100 - State: new" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: prefix: 10.10.0.0/16 @@ -217,7 +217,7 @@ - name: "11 - Create IP address on GigabitEthernet2 - test100 - State: present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: prefix: 192.168.100.0/24 @@ -238,7 +238,7 @@ - name: "12 - Duplicate - 192.168.100.2/24 on interface" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.100.2/24 @@ -259,7 +259,7 @@ - name: "13 - Duplicate - 192.168.100.2/24" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.100.2/24 @@ -275,7 +275,7 @@ - name: "14 - Create IP address on Eth0 - test100-vm - State: present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 10.188.1.100/24 @@ -297,7 +297,7 @@ - name: "15 - Create same IP address on Eth0 - test101-vm - State: present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 10.188.1.100/24 @@ -320,7 +320,7 @@ - name: "16 - Create IP address with no mask - State: Present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 10.120.10.1 diff --git a/tests/integration/targets/v2.11/tasks/netbox_prefix.yml b/tests/integration/targets/v2.11/tasks/netbox_prefix.yml index 6cc7960a6..518742f3f 100644 --- a/tests/integration/targets/v2.11/tasks/netbox_prefix.yml +++ b/tests/integration/targets/v2.11/tasks/netbox_prefix.yml @@ -4,7 +4,7 @@ ### NETBOX_PREFIX ## ## -- name: "1 - Create prefix within Netbox with only required information" +- name: "1 - Create prefix within NetBox with only required information" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -121,7 +121,7 @@ - test_five['prefix']['is_pool'] == true - test_five['prefix']['tags'][0] == 4 -- name: "6 - Get a new /24 inside 10.156.0.0/19 within Netbox - Parent doesn't exist" +- name: "6 - Get a new /24 inside 10.156.0.0/19 within NetBox - Parent doesn't exist" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -138,7 +138,7 @@ - not test_six['changed'] - test_six['msg'] == "Parent prefix does not exist - 10.156.0.0/19" -- name: "7 - Create prefix within Netbox with only required information" +- name: "7 - Create prefix within NetBox with only required information" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -156,7 +156,7 @@ - test_seven['msg'] == "prefix 10.156.0.0/19 created" - test_seven['prefix']['prefix'] == "10.156.0.0/19" -- name: "8 - Get a new /24 inside 10.156.0.0/19 within Netbox" +- name: "8 - Get a new /24 inside 10.156.0.0/19 within NetBox" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -198,7 +198,7 @@ - test_nine['prefix']['site'] == 1 - test_nine['prefix']['vrf'] == 1 -- name: "10 - Get a new /24 inside 10.157.0.0/19 within Netbox with additional values" +- name: "10 - Get a new /24 inside 10.157.0.0/19 within NetBox with additional values" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -222,7 +222,7 @@ - test_ten['prefix']['site'] == 1 - test_ten['prefix']['vrf'] == 1 -- name: "11 - Get a new /24 inside 10.156.0.0/19 within Netbox" +- name: "11 - Get a new /24 inside 10.156.0.0/19 within NetBox" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v2.11/tasks/netbox_provider.yml b/tests/integration/targets/v2.11/tasks/netbox_provider.yml index 782df16f8..fd9b8d35f 100644 --- a/tests/integration/targets/v2.11/tasks/netbox_provider.yml +++ b/tests/integration/targets/v2.11/tasks/netbox_provider.yml @@ -4,7 +4,7 @@ ### NETBOX_PROVIDER ## ## -- name: "NETBOX_PROVIDER 1: Create provider within Netbox with only required information" +- name: "NETBOX_PROVIDER 1: Create provider within NetBox with only required information" netbox.netbox.netbox_provider: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v2.11/tasks/netbox_site.yml b/tests/integration/targets/v2.11/tasks/netbox_site.yml index 283bc720c..28c993c44 100644 --- a/tests/integration/targets/v2.11/tasks/netbox_site.yml +++ b/tests/integration/targets/v2.11/tasks/netbox_site.yml @@ -4,7 +4,7 @@ ### NETBOX_SITE ## ## -- name: "1 - Create site within Netbox with only required information" +- name: "1 - Create site within NetBox with only required information" netbox.netbox.netbox_site: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v3.0/tasks/main.yml b/tests/integration/targets/v3.0/tasks/main.yml index 7b5cca4b7..ea617f5fb 100644 --- a/tests/integration/targets/v3.0/tasks/main.yml +++ b/tests/integration/targets/v3.0/tasks/main.yml @@ -95,6 +95,9 @@ - name: "NETBOX_PROVIDER TESTS" include_tasks: "netbox_provider.yml" +- name: "NETBOX_PROVIDER_NETWORK TESTS" + include_tasks: "netbox_provider_network.yml" + - name: "NETBOX_CIRCUIT_TYPE TESTS" include_tasks: "netbox_circuit_type.yml" diff --git a/tests/integration/targets/v3.0/tasks/netbox_circuit.yml b/tests/integration/targets/v3.0/tasks/netbox_circuit.yml index 33d1230c4..1d8f1ec47 100644 --- a/tests/integration/targets/v3.0/tasks/netbox_circuit.yml +++ b/tests/integration/targets/v3.0/tasks/netbox_circuit.yml @@ -4,7 +4,7 @@ ### NETBOX_CIRCUIT ## ## -- name: "NETBOX_CIRCUIT 1: Create provider within Netbox with only required information" +- name: "NETBOX_CIRCUIT 1: Create provider within NetBox with only required information" netbox.netbox.netbox_circuit: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v3.0/tasks/netbox_circuit_termination.yml b/tests/integration/targets/v3.0/tasks/netbox_circuit_termination.yml index 6851b5105..a37cdc680 100644 --- a/tests/integration/targets/v3.0/tasks/netbox_circuit_termination.yml +++ b/tests/integration/targets/v3.0/tasks/netbox_circuit_termination.yml @@ -4,7 +4,7 @@ ### NETBOX_CIRCUIT_TERMINATION ## ## -- name: "NETBOX_CIRCUIT_TERMINATION 1: Create provider within Netbox with only required information" +- name: "NETBOX_CIRCUIT_TERMINATION 1: Create provider within NetBox with only required information" netbox.netbox.netbox_circuit_termination: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v3.0/tasks/netbox_ip_address.yml b/tests/integration/targets/v3.0/tasks/netbox_ip_address.yml index 8b1148cdb..3cda56d3c 100644 --- a/tests/integration/targets/v3.0/tasks/netbox_ip_address.yml +++ b/tests/integration/targets/v3.0/tasks/netbox_ip_address.yml @@ -4,9 +4,9 @@ ### NETBOX_IP_ADDRESS ## ## -- name: "1 - Create IP address within Netbox with only required information - State: Present" +- name: "1 - Create IP address within NetBox with only required information - State: Present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.10/30 @@ -24,7 +24,7 @@ - name: "2 - Update 192.168.1.10/30" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.10/30 @@ -47,7 +47,7 @@ - name: "3 - Delete IP - 192.168.1.10 - State: Absent" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.10/30 @@ -64,7 +64,7 @@ - name: "4 - Create IP in global VRF - 192.168.1.20/30 - State: Present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.20/30 @@ -82,7 +82,7 @@ - name: "5 - Create IP in global VRF - 192.168.1.20/30 - State: New" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.1.20/30 @@ -100,7 +100,7 @@ - name: "6 - Create new address with only prefix specified - State: new" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: prefix: 192.168.100.0/24 @@ -118,7 +118,7 @@ - name: "7 - Create IP address with several specified" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: family: 4 @@ -151,7 +151,7 @@ - name: "8 - Create IP address and assign a nat_inside IP" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: family: 4 @@ -176,7 +176,7 @@ - name: "9 - Create IP address on GigabitEthernet2 - test100 - State: present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: family: 4 @@ -200,7 +200,7 @@ - name: "10 - Create IP address on GigabitEthernet2 - test100 - State: new" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: family: 4 @@ -225,7 +225,7 @@ - name: "11 - Create IP address on GigabitEthernet2 - test100 - State: present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: family: 4 @@ -247,7 +247,7 @@ - name: "12 - Duplicate - 192.168.100.2/24 on interface" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.100.2/24 @@ -268,7 +268,7 @@ - name: "13 - Duplicate - 192.168.100.2/24" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 192.168.100.2/24 @@ -284,7 +284,7 @@ - name: "14 - Create IP address on Eth0 - test100-vm - State: present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: family: 4 @@ -308,7 +308,7 @@ - name: "15 - Create same IP address on Eth0 - test101-vm - State: present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: family: 4 @@ -333,7 +333,7 @@ - name: "16 - Create IP address with no mask - State: Present" netbox.netbox.netbox_ip_address: - netbox_url: http://localhost.org:32768 + netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 data: address: 10.120.10.1 diff --git a/tests/integration/targets/v3.0/tasks/netbox_lookup.yml b/tests/integration/targets/v3.0/tasks/netbox_lookup.yml index bc29397f8..d3d99c181 100644 --- a/tests/integration/targets/v3.0/tasks/netbox_lookup.yml +++ b/tests/integration/targets/v3.0/tasks/netbox_lookup.yml @@ -12,13 +12,13 @@ - name: "NETBOX_LOOKUP 2: Query doesn't return Wibble (sanity check json_query)" assert: - that: "{{ query_result|community.general.json_query('[?value.display_name==`Wibble`]')|count }} == 0" + that: "{{ query_result|community.general.json_query('[?value.display==`Wibble`]')|count }} == 0" vars: query_result: "{{ query('netbox.netbox.nb_lookup', 'devices', api_endpoint='http://localhost:32768', token='0123456789abcdef0123456789abcdef01234567') }}" - name: "NETBOX_LOOKUP 3: Device query returns exactly one TestDeviceR1" assert: - that: "{{ query_result|community.general.json_query('[?value.display_name==`TestDeviceR1`]')|count }} == 1" + that: "{{ query_result|community.general.json_query('[?value.display==`TestDeviceR1`]')|count }} == 1" vars: query_result: "{{ query('netbox.netbox.nb_lookup', 'devices', api_endpoint='http://localhost:32768', token='0123456789abcdef0123456789abcdef01234567') }}" @@ -58,21 +58,21 @@ - name: "NETBOX_LOOKUP 7: Device query returns exactly the L2 device" assert: - that: "{{ query_result|community.general.json_query('[?value.display_name==`L2`]')|count }} == 1" + that: "{{ query_result|community.general.json_query('[?value.display==`L2`]')|count }} == 1" vars: query_result: "{{ query('netbox.netbox.nb_lookup', 'devices', api_filter='role=core-switch tag=lookup', api_endpoint='http://localhost:32768', token='0123456789abcdef0123456789abcdef01234567') }}" - name: "NETBOX_LOOKUP 8: Device query specifying raw data returns payload without key/value dict" assert: - that: "{{ query_result|community.general.json_query('[?display_name==`L2`]')|count }} == 1" + that: "{{ query_result|community.general.json_query('[?display==`L2`]')|count }} == 1" vars: query_result: "{{ query('netbox.netbox.nb_lookup', 'devices', api_filter='role=core-switch tag=lookup', api_endpoint='http://localhost:32768', token='0123456789abcdef0123456789abcdef01234567', raw_data=True) }}" - name: "NETBOX_LOOKUP 9: Device query specifying multiple sites, Make sure L1 and L2 are in the results" assert: that: - - "'L1' in {{ query_result |community.general.json_query('[*].display_name') }}" - - "'L2' in {{ query_result |community.general.json_query('[*].display_name') }}" + - "'L1' in {{ query_result |community.general.json_query('[*].display') }}" + - "'L2' in {{ query_result |community.general.json_query('[*].display') }}" vars: query_result: "{{ query('netbox.netbox.nb_lookup', 'devices', api_filter='role=core-switch site=test-site site=test-site2', api_endpoint='http://localhost:32768', token='0123456789abcdef0123456789abcdef01234567', raw_data=True) }}" diff --git a/tests/integration/targets/v3.0/tasks/netbox_prefix.yml b/tests/integration/targets/v3.0/tasks/netbox_prefix.yml index 7a4655489..59ed336ad 100644 --- a/tests/integration/targets/v3.0/tasks/netbox_prefix.yml +++ b/tests/integration/targets/v3.0/tasks/netbox_prefix.yml @@ -4,7 +4,7 @@ ### NETBOX_PREFIX ## ## -- name: "1 - Create prefix within Netbox with only required information" +- name: "1 - Create prefix within NetBox with only required information" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -123,7 +123,7 @@ - test_five['prefix']['is_pool'] == true - test_five['prefix']['tags'][0] == 4 -- name: "6 - Get a new /24 inside 10.156.0.0/19 within Netbox - Parent doesn't exist" +- name: "6 - Get a new /24 inside 10.156.0.0/19 within NetBox - Parent doesn't exist" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -140,7 +140,7 @@ - not test_six['changed'] - test_six['msg'] == "Parent prefix does not exist - 10.156.0.0/19" -- name: "7 - Create prefix within Netbox with only required information" +- name: "7 - Create prefix within NetBox with only required information" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -158,7 +158,7 @@ - test_seven['msg'] == "prefix 10.156.0.0/19 created" - test_seven['prefix']['prefix'] == "10.156.0.0/19" -- name: "8 - Get a new /24 inside 10.156.0.0/19 within Netbox" +- name: "8 - Get a new /24 inside 10.156.0.0/19 within NetBox" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -200,7 +200,7 @@ - test_nine['prefix']['site'] == 1 - test_nine['prefix']['vrf'] == 1 -- name: "10 - Get a new /24 inside 10.157.0.0/19 within Netbox with additional values" +- name: "10 - Get a new /24 inside 10.157.0.0/19 within NetBox with additional values" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -224,7 +224,7 @@ - test_ten['prefix']['site'] == 1 - test_ten['prefix']['vrf'] == 1 -- name: "11 - Get a new /24 inside 10.156.0.0/19 within Netbox" +- name: "11 - Get a new /24 inside 10.156.0.0/19 within NetBox" netbox.netbox.netbox_prefix: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v3.0/tasks/netbox_provider.yml b/tests/integration/targets/v3.0/tasks/netbox_provider.yml index 782df16f8..fd9b8d35f 100644 --- a/tests/integration/targets/v3.0/tasks/netbox_provider.yml +++ b/tests/integration/targets/v3.0/tasks/netbox_provider.yml @@ -4,7 +4,7 @@ ### NETBOX_PROVIDER ## ## -- name: "NETBOX_PROVIDER 1: Create provider within Netbox with only required information" +- name: "NETBOX_PROVIDER 1: Create provider within NetBox with only required information" netbox.netbox.netbox_provider: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 diff --git a/tests/integration/targets/v3.0/tasks/netbox_provider_network.yml b/tests/integration/targets/v3.0/tasks/netbox_provider_network.yml new file mode 100644 index 000000000..bf7d4bf97 --- /dev/null +++ b/tests/integration/targets/v3.0/tasks/netbox_provider_network.yml @@ -0,0 +1,83 @@ +--- +## +## +### NETBOX_PROVIDER +## +## +- name: "NETBOX_PROVIDER_NETWORK 1: Create provider network within NetBox with only required information" + netbox.netbox.netbox_provider_network: + netbox_url: http://localhost:32768 + netbox_token: 0123456789abcdef0123456789abcdef01234567 + data: + provider: Test Provider + name: Test Provider Network One + state: present + register: test_one + +- name: "NETBOX_PROVIDER_NETWORK 1: ASSERT - Necessary info creation" + assert: + that: + - test_one is changed + - test_one['diff']['before']['state'] == "absent" + - test_one['diff']['after']['state'] == "present" + - test_one['provider_network']['name'] == "Test Provider Network One" + - test_one['msg'] == "provider_network Test Provider Network One created" + +- name: "NETBOX_PROVIDER_NETWORK 2: Duplicate" + netbox.netbox.netbox_provider_network: + netbox_url: http://localhost:32768 + netbox_token: 0123456789abcdef0123456789abcdef01234567 + data: + provider: Test Provider + name: Test Provider Network One + state: present + register: test_two + +- name: "NETBOX_PROVIDER_NETWORK 2: ASSERT - Create duplicate" + assert: + that: + - not test_two['changed'] + - test_two['provider_network']['name'] == "Test Provider Network One" + - test_two['msg'] == "provider_network Test Provider Network One already exists" + +- name: "NETBOX_PROVIDER_NETWORK 3: Update provider network with other fields" + netbox.netbox.netbox_provider_network: + netbox_url: http://localhost:32768 + netbox_token: 0123456789abcdef0123456789abcdef01234567 + data: + provider: Test Provider + name: Test Provider Network One + description: Describe a Provider Network + comments: "A provider network" + state: present + register: test_three + +- name: "NETBOX_PROVIDER_NETWORK 3: ASSERT - Updated" + assert: + that: + - test_three is changed + - test_three['diff']['after']['comments'] == "A provider network" + - test_three['diff']['after']['description'] == "Describe a Provider Network" + - test_three['provider_network']['name'] == "Test Provider Network One" + - test_three['provider_network']['comments'] == "A provider network" + - test_three['provider_network']['description'] == "Describe a Provider Network" + - test_three['msg'] == "provider_network Test Provider Network One updated" + +- name: "NETBOX_PROVIDER_NETWORK 4: Delete provider within netbox" + netbox.netbox.netbox_provider_network: + netbox_url: http://localhost:32768 + netbox_token: 0123456789abcdef0123456789abcdef01234567 + data: + provider: Test Provider + name: Test Provider Network One + state: absent + register: test_four + +- name: "NETBOX_PROVIDER_NETWORK 4 : ASSERT - Delete" + assert: + that: + - test_four is changed + - test_four['provider_network']['name'] == "Test Provider Network One" + - test_four['provider_network']['comments'] == "A provider network" + - test_four['provider_network']['description'] == "Describe a Provider Network" + - test_four['msg'] == "provider_network Test Provider Network One deleted" diff --git a/tests/integration/targets/v3.0/tasks/netbox_site.yml b/tests/integration/targets/v3.0/tasks/netbox_site.yml index 283bc720c..fc3490162 100644 --- a/tests/integration/targets/v3.0/tasks/netbox_site.yml +++ b/tests/integration/targets/v3.0/tasks/netbox_site.yml @@ -4,7 +4,7 @@ ### NETBOX_SITE ## ## -- name: "1 - Create site within Netbox with only required information" +- name: "1 - Create site within NetBox with only required information" netbox.netbox.netbox_site: netbox_url: http://localhost:32768 netbox_token: 0123456789abcdef0123456789abcdef01234567 @@ -107,8 +107,8 @@ - test_four['site']['description'] == "This is a test description" - test_four['site']['physical_address'] == "Hollywood, CA, 90210" - test_four['site']['shipping_address'] == "Hollywood, CA, 90210" - - test_four['site']['latitude'] == "22.169141" - - test_four['site']['longitude'] == "-100.994041" + - test_four['site']['latitude'] == 22.169141 + - test_four['site']['longitude'] == -100.994041 - test_four['site']['contact_name'] == "Jenny" - test_four['site']['contact_phone'] == "867-5309" - test_four['site']['contact_email'] == "jenny@changednumber.com" @@ -157,8 +157,8 @@ - test_results['site']['description'] == "This is a test description" - test_results['site']['physical_address'] == "Hollywood, CA, 90210" - test_results['site']['shipping_address'] == "Hollywood, CA, 90210" - - test_results['site']['latitude'] == "22.169141" - - test_results['site']['longitude'] == "-100.994041" + - test_results['site']['latitude'] == 22.169141 + - test_results['site']['longitude'] == -100.994041 - test_results['site']['contact_name'] == "Jenny" - test_results['site']['contact_phone'] == "867-5309" - test_results['site']['contact_email'] == "jenny@changednumber.com" diff --git a/tests/integration/targets/v3.0/tasks/netbox_virtual_machine.yml b/tests/integration/targets/v3.0/tasks/netbox_virtual_machine.yml index 0a8d5196d..61711b02a 100644 --- a/tests/integration/targets/v3.0/tasks/netbox_virtual_machine.yml +++ b/tests/integration/targets/v3.0/tasks/netbox_virtual_machine.yml @@ -69,7 +69,7 @@ - test_three['diff']['after']['tags'][0] == 4 - test_three['virtual_machine']['name'] == "Test VM One" - test_three['virtual_machine']['cluster'] == 1 - - test_three['virtual_machine']['vcpus'] == 8 + - test_three['virtual_machine']['vcpus'] == 8.5 - test_three['virtual_machine']['memory'] == 8 - test_three['virtual_machine']['status'] == "planned" - test_three['virtual_machine']['role'] == 2 diff --git a/tests/unit/inventory/test_nb_inventory.py b/tests/unit/inventory/test_nb_inventory.py index ba63d3db1..131d5d400 100644 --- a/tests/unit/inventory/test_nb_inventory.py +++ b/tests/unit/inventory/test_nb_inventory.py @@ -9,7 +9,7 @@ import pytest import os from functools import partial -from unittest.mock import patch, MagicMock, Mock, call +from unittest.mock import patch, MagicMock, Mock, call, mock_open from packaging import version try: @@ -190,3 +190,33 @@ def test_get_resource_list_chunked( mock_get_resource_list.assert_has_calls(map(call, expected)) assert mock_get_resource_list.call_count == len(expected) assert resources == mock_get_resource_list.return_value * len(expected) + + +@patch( + "ansible_collections.netbox.netbox.plugins.inventory.nb_inventory.DEFAULT_LOCAL_TMP", + "/fake/path/asdasd3456", +) +@pytest.mark.parametrize("netbox_ver", ["2.0.2", "3.0.0"]) +def test_fetch_api_docs(inventory_fixture, netbox_ver): + mock_fetch_information = Mock() + mock_fetch_information.side_effect = [ + {"netbox-version": netbox_ver}, + {"info": {"version": "3.0"}}, + ] + + inventory_fixture._fetch_information = mock_fetch_information + + with pytest.raises(KeyError, match="paths"): + with patch("builtins.open", mock_open()) as filemock: + with patch( + "ansible_collections.netbox.netbox.plugins.inventory.nb_inventory.json" + ) as json_mock: + json_mock.load.return_value = {"info": {"version": "2.0"}} + inventory_fixture.fetch_api_docs() + + ref_args_list = [call("/fake/path/netbox_api_dump.json")] + if netbox_ver == "3.0.0": + ref_args_list.append(call("/fake/path/netbox_api_dump.json", "w")) + + assert filemock.call_args_list == ref_args_list + assert str(inventory_fixture.api_version) == netbox_ver[:-2]