From 5c0c437e78864437f5024233d4ef44ae5f54ee0f Mon Sep 17 00:00:00 2001 From: Josh VanDeraa Date: Mon, 27 Sep 2021 08:49:11 -0500 Subject: [PATCH 1/2] Adds deprecation notice to modules --- .travis.yml | 2 +- galaxy.yml | 2 +- plugins/module_utils/utils.py | 5 +++++ pyproject.toml | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f35349a0..65d5eac8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,7 @@ env: global: - COLLECTION_NAMESPACE: "networktocode" - COLLECTION_NAME: "nautobot" - - COLLECTION_VERSION: "2.0.1" + - COLLECTION_VERSION: "2.0.2" jobs: include: diff --git a/galaxy.yml b/galaxy.yml index 5bad6709..74e7a8ce 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -9,7 +9,7 @@ namespace: networktocode name: nautobot # The version of the collection. Must be compatible with semantic versioning -version: 2.0.1 +version: 2.0.2 # 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/module_utils/utils.py b/plugins/module_utils/utils.py index 6703a2f6..38734f1b 100644 --- a/plugins/module_utils/utils.py +++ b/plugins/module_utils/utils.py @@ -454,6 +454,11 @@ def __init__(self, module, endpoint, client=None): self.check_mode = self.module.check_mode self.endpoint = endpoint query_params = self.module.params.get("query_params") + self.module.deprecate( + "The 'data' option is being removed. All sub options will be moved up one level to an option.", + version="3.0.0", + collection_name="networktocode.nautobot", + ) if not HAS_PYNAUTOBOT: self.module.fail_json( diff --git a/pyproject.toml b/pyproject.toml index a8b673de..088fc7fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nautobot_ansible_modules" -version = "2.0.1" +version = "2.0.2" description = "Ansible collection to interact with Nautobot's API" authors = ["Network to Code Date: Mon, 27 Sep 2021 09:25:33 -0500 Subject: [PATCH 2/2] Updates documentation --- changelogs/changelog.yaml | 38 ++++++++++++++----- plugins/modules/aggregate.py | 1 + plugins/modules/cable.py | 1 + plugins/modules/circuit.py | 1 + plugins/modules/circuit_termination.py | 1 + plugins/modules/circuit_type.py | 1 + plugins/modules/cluster.py | 1 + plugins/modules/cluster_group.py | 1 + plugins/modules/cluster_type.py | 1 + plugins/modules/console_port.py | 1 + plugins/modules/console_port_template.py | 1 + plugins/modules/console_server_port.py | 1 + .../modules/console_server_port_template.py | 1 + plugins/modules/device.py | 1 + plugins/modules/device_bay.py | 1 + plugins/modules/device_bay_template.py | 1 + plugins/modules/device_interface.py | 1 + plugins/modules/device_interface_template.py | 1 + plugins/modules/device_role.py | 1 + plugins/modules/device_type.py | 1 + plugins/modules/front_port.py | 1 + plugins/modules/front_port_template.py | 1 + plugins/modules/inventory_item.py | 1 + plugins/modules/ip_address.py | 1 + plugins/modules/ipam_role.py | 1 + plugins/modules/manufacturer.py | 1 + plugins/modules/platform.py | 1 + plugins/modules/power_feed.py | 1 + plugins/modules/power_outlet.py | 1 + plugins/modules/power_outlet_template.py | 1 + plugins/modules/power_panel.py | 1 + plugins/modules/power_port.py | 1 + plugins/modules/power_port_template.py | 1 + plugins/modules/prefix.py | 1 + plugins/modules/provider.py | 1 + plugins/modules/rack.py | 1 + plugins/modules/rack_group.py | 1 + plugins/modules/rack_role.py | 1 + plugins/modules/rear_port.py | 1 + plugins/modules/rear_port_template.py | 1 + plugins/modules/region.py | 1 + plugins/modules/rir.py | 1 + plugins/modules/route_target.py | 1 + plugins/modules/service.py | 1 + plugins/modules/site.py | 1 + plugins/modules/status.py | 1 + plugins/modules/tag.py | 1 + plugins/modules/tenant.py | 1 + plugins/modules/tenant_group.py | 1 + plugins/modules/virtual_chassis.py | 1 + plugins/modules/virtual_machine.py | 1 + plugins/modules/vlan.py | 1 + plugins/modules/vlan_group.py | 1 + plugins/modules/vm_interface.py | 1 + plugins/modules/vrf.py | 1 + 55 files changed, 82 insertions(+), 10 deletions(-) diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index f3be43c7..d1713f9d 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -4,7 +4,6 @@ releases: changes: release_summary: 'This is the first official release of an Ansible Collection for Nautobot. - This project is forked from the ``netbox.netbox`` Ansible Collection.' fragments: - release-v1.0.0.yml @@ -206,14 +205,33 @@ releases: - v1.0.4.yml release_date: '2021-03-14' 1.1.0: - changes: - modules: - - description: Action plugin to query Nautobot GraphQL API endpoint - name: query_graphql - namespace: 'networktocode.nautobot' - - description: Lookup plugin to query Nautobot GraphQL API endpoint - name: lookup_graphql - namespace: 'networktocode.nautobot' fragments: - v1.1.0.yml - release_date: '2021-04-12' \ No newline at end of file + modules: + - description: Lookup plugin to query Nautobot GraphQL API endpoint + name: lookup_graphql + namespace: networktocode.nautobot + - description: Action plugin to query Nautobot GraphQL API endpoint + name: query_graphql + namespace: networktocode.nautobot + release_date: '2021-04-12' + 2.0.0: + changes: + bugfixes: + - (#26) Add missing description to tenant_group + - (#29) Add missing field to vlan_group + - (#32) Fixed query on Virtual Chassis + - (#35) Add Site, Device Tracebacks due to changes in Nautobot + major_changes: + - (#33) Deprecates NAUTOBOT_API and NAUTOBOT_API_TOKEN environment variables + release_summary: Bug fixes and removal of NAUTOBOT_API and NAUTOBOT_API_TOKEN + 2.0.1: + changes: + bugfixes: + - (#44) Add Interface Label Support + - (#45) SSL Verify Keyword Consistency Update + release_summary: Bug fix updates for label support and SSL version consistency + 2.0.2: + changes: + deprecations: + - All plugin modules (does not include inventory and lookup modules) `data` key is deprecated. Next version will have all sub options moved to options \ No newline at end of file diff --git a/plugins/modules/aggregate.py b/plugins/modules/aggregate.py index 4cc9b4ee..ef94ea85 100644 --- a/plugins/modules/aggregate.py +++ b/plugins/modules/aggregate.py @@ -39,6 +39,7 @@ type: str data: description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - "Defines the aggregate configuration" type: dict suboptions: diff --git a/plugins/modules/cable.py b/plugins/modules/cable.py index 3ec169ce..87bc65e9 100644 --- a/plugins/modules/cable.py +++ b/plugins/modules/cable.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the cable configuration suboptions: termination_a_type: diff --git a/plugins/modules/circuit.py b/plugins/modules/circuit.py index 72f6c3d1..529d5848 100644 --- a/plugins/modules/circuit.py +++ b/plugins/modules/circuit.py @@ -41,6 +41,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the circuit configuration suboptions: cid: diff --git a/plugins/modules/circuit_termination.py b/plugins/modules/circuit_termination.py index d28f18f2..2c3cd8f4 100644 --- a/plugins/modules/circuit_termination.py +++ b/plugins/modules/circuit_termination.py @@ -41,6 +41,7 @@ required: true type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the circuit termination configuration suboptions: circuit: diff --git a/plugins/modules/circuit_type.py b/plugins/modules/circuit_type.py index 6a58cef4..3e041477 100644 --- a/plugins/modules/circuit_type.py +++ b/plugins/modules/circuit_type.py @@ -41,6 +41,7 @@ required: true type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the circuit type configuration suboptions: name: diff --git a/plugins/modules/cluster.py b/plugins/modules/cluster.py index 298cca12..279d541a 100644 --- a/plugins/modules/cluster.py +++ b/plugins/modules/cluster.py @@ -41,6 +41,7 @@ required: true type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the cluster configuration suboptions: name: diff --git a/plugins/modules/cluster_group.py b/plugins/modules/cluster_group.py index 7ef9a563..045f76bb 100644 --- a/plugins/modules/cluster_group.py +++ b/plugins/modules/cluster_group.py @@ -41,6 +41,7 @@ required: true type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the cluster group configuration suboptions: name: diff --git a/plugins/modules/cluster_type.py b/plugins/modules/cluster_type.py index 91dec3ec..2ac739db 100644 --- a/plugins/modules/cluster_type.py +++ b/plugins/modules/cluster_type.py @@ -41,6 +41,7 @@ required: true type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the cluster type configuration suboptions: name: diff --git a/plugins/modules/console_port.py b/plugins/modules/console_port.py index ee430f59..f99dd9d1 100644 --- a/plugins/modules/console_port.py +++ b/plugins/modules/console_port.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the console port configuration suboptions: device: diff --git a/plugins/modules/console_port_template.py b/plugins/modules/console_port_template.py index f866917e..f466ba06 100644 --- a/plugins/modules/console_port_template.py +++ b/plugins/modules/console_port_template.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the console port template configuration suboptions: device_type: diff --git a/plugins/modules/console_server_port.py b/plugins/modules/console_server_port.py index 5b4b3a06..8c19f0d4 100644 --- a/plugins/modules/console_server_port.py +++ b/plugins/modules/console_server_port.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the console server port configuration suboptions: device: diff --git a/plugins/modules/console_server_port_template.py b/plugins/modules/console_server_port_template.py index dffdff36..d8c115db 100644 --- a/plugins/modules/console_server_port_template.py +++ b/plugins/modules/console_server_port_template.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the console server port template configuration suboptions: device_type: diff --git a/plugins/modules/device.py b/plugins/modules/device.py index 79242a74..dea159a5 100644 --- a/plugins/modules/device.py +++ b/plugins/modules/device.py @@ -40,6 +40,7 @@ type: str data: description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the device configuration suboptions: name: diff --git a/plugins/modules/device_bay.py b/plugins/modules/device_bay.py index 17e95b6b..bd18fa4e 100644 --- a/plugins/modules/device_bay.py +++ b/plugins/modules/device_bay.py @@ -39,6 +39,7 @@ type: str data: description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the device bay configuration suboptions: device: diff --git a/plugins/modules/device_bay_template.py b/plugins/modules/device_bay_template.py index 5cba4dee..4485e9ed 100644 --- a/plugins/modules/device_bay_template.py +++ b/plugins/modules/device_bay_template.py @@ -38,6 +38,7 @@ type: str data: description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the device bay template configuration suboptions: device_type: diff --git a/plugins/modules/device_interface.py b/plugins/modules/device_interface.py index 7f14a14e..32a04547 100644 --- a/plugins/modules/device_interface.py +++ b/plugins/modules/device_interface.py @@ -39,6 +39,7 @@ type: str data: description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the interface configuration suboptions: device: diff --git a/plugins/modules/device_interface_template.py b/plugins/modules/device_interface_template.py index ec8d74b2..04357e50 100644 --- a/plugins/modules/device_interface_template.py +++ b/plugins/modules/device_interface_template.py @@ -38,6 +38,7 @@ type: str data: description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the prefix configuration suboptions: device_type: diff --git a/plugins/modules/device_role.py b/plugins/modules/device_role.py index 20823cc0..5b6be99b 100644 --- a/plugins/modules/device_role.py +++ b/plugins/modules/device_role.py @@ -39,6 +39,7 @@ type: str data: description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the device role configuration suboptions: name: diff --git a/plugins/modules/device_type.py b/plugins/modules/device_type.py index 77608c1c..07f77ae2 100644 --- a/plugins/modules/device_type.py +++ b/plugins/modules/device_type.py @@ -39,6 +39,7 @@ type: str data: description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the device type configuration suboptions: manufacturer: diff --git a/plugins/modules/front_port.py b/plugins/modules/front_port.py index e0e0ea02..d71d35fc 100644 --- a/plugins/modules/front_port.py +++ b/plugins/modules/front_port.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the front port configuration suboptions: device: diff --git a/plugins/modules/front_port_template.py b/plugins/modules/front_port_template.py index f3ba64b7..d12a8fdc 100644 --- a/plugins/modules/front_port_template.py +++ b/plugins/modules/front_port_template.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the front port template configuration suboptions: device_type: diff --git a/plugins/modules/inventory_item.py b/plugins/modules/inventory_item.py index e65630ca..66f2d5ba 100644 --- a/plugins/modules/inventory_item.py +++ b/plugins/modules/inventory_item.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the inventory item configuration suboptions: device: diff --git a/plugins/modules/ip_address.py b/plugins/modules/ip_address.py index f3ff607e..fe36aa7a 100644 --- a/plugins/modules/ip_address.py +++ b/plugins/modules/ip_address.py @@ -41,6 +41,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the IP address configuration suboptions: family: diff --git a/plugins/modules/ipam_role.py b/plugins/modules/ipam_role.py index fbac21f7..2587f09b 100644 --- a/plugins/modules/ipam_role.py +++ b/plugins/modules/ipam_role.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the ipam role configuration suboptions: name: diff --git a/plugins/modules/manufacturer.py b/plugins/modules/manufacturer.py index 56f14c33..6aab8999 100644 --- a/plugins/modules/manufacturer.py +++ b/plugins/modules/manufacturer.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the manufacturer configuration suboptions: name: diff --git a/plugins/modules/platform.py b/plugins/modules/platform.py index b55727c0..2c5ffc4b 100644 --- a/plugins/modules/platform.py +++ b/plugins/modules/platform.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the platform configuration suboptions: name: diff --git a/plugins/modules/power_feed.py b/plugins/modules/power_feed.py index 6c78411c..54fef3a5 100644 --- a/plugins/modules/power_feed.py +++ b/plugins/modules/power_feed.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the power feed configuration suboptions: power_panel: diff --git a/plugins/modules/power_outlet.py b/plugins/modules/power_outlet.py index edb4625f..ee07df69 100644 --- a/plugins/modules/power_outlet.py +++ b/plugins/modules/power_outlet.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the power outlet configuration suboptions: device: diff --git a/plugins/modules/power_outlet_template.py b/plugins/modules/power_outlet_template.py index 1d7e7e60..0fc648c0 100644 --- a/plugins/modules/power_outlet_template.py +++ b/plugins/modules/power_outlet_template.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the power outlet configuration suboptions: device_type: diff --git a/plugins/modules/power_panel.py b/plugins/modules/power_panel.py index 31ca8a26..e05914c8 100644 --- a/plugins/modules/power_panel.py +++ b/plugins/modules/power_panel.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the power panel configuration suboptions: site: diff --git a/plugins/modules/power_port.py b/plugins/modules/power_port.py index 5a14222f..20ff5a39 100644 --- a/plugins/modules/power_port.py +++ b/plugins/modules/power_port.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the power port configuration suboptions: device: diff --git a/plugins/modules/power_port_template.py b/plugins/modules/power_port_template.py index 1d2795a2..1f750fdb 100644 --- a/plugins/modules/power_port_template.py +++ b/plugins/modules/power_port_template.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the power port configuration suboptions: device_type: diff --git a/plugins/modules/prefix.py b/plugins/modules/prefix.py index d8cd9768..6c3efdce 100644 --- a/plugins/modules/prefix.py +++ b/plugins/modules/prefix.py @@ -41,6 +41,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the prefix configuration suboptions: family: diff --git a/plugins/modules/provider.py b/plugins/modules/provider.py index 0d7d93b8..0546b08d 100644 --- a/plugins/modules/provider.py +++ b/plugins/modules/provider.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the provider configuration suboptions: name: diff --git a/plugins/modules/rack.py b/plugins/modules/rack.py index 43efd0a4..4ba69795 100644 --- a/plugins/modules/rack.py +++ b/plugins/modules/rack.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the rack configuration suboptions: name: diff --git a/plugins/modules/rack_group.py b/plugins/modules/rack_group.py index c5f6bdde..def0fe5e 100644 --- a/plugins/modules/rack_group.py +++ b/plugins/modules/rack_group.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the rack group configuration suboptions: description: diff --git a/plugins/modules/rack_role.py b/plugins/modules/rack_role.py index ec210a27..00d0326c 100644 --- a/plugins/modules/rack_role.py +++ b/plugins/modules/rack_role.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the rack role configuration suboptions: name: diff --git a/plugins/modules/rear_port.py b/plugins/modules/rear_port.py index 396ab8c1..ddf4f47d 100644 --- a/plugins/modules/rear_port.py +++ b/plugins/modules/rear_port.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the rear port configuration suboptions: device: diff --git a/plugins/modules/rear_port_template.py b/plugins/modules/rear_port_template.py index 77d99a93..00e7192f 100644 --- a/plugins/modules/rear_port_template.py +++ b/plugins/modules/rear_port_template.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the rear port template configuration suboptions: device_type: diff --git a/plugins/modules/region.py b/plugins/modules/region.py index 9cf72636..97b80e22 100644 --- a/plugins/modules/region.py +++ b/plugins/modules/region.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the region configuration suboptions: name: diff --git a/plugins/modules/rir.py b/plugins/modules/rir.py index 029d16ab..6e1156fa 100644 --- a/plugins/modules/rir.py +++ b/plugins/modules/rir.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the RIR configuration suboptions: name: diff --git a/plugins/modules/route_target.py b/plugins/modules/route_target.py index 822b232a..9ca125f0 100644 --- a/plugins/modules/route_target.py +++ b/plugins/modules/route_target.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the route target configuration suboptions: name: diff --git a/plugins/modules/service.py b/plugins/modules/service.py index 2a5663c5..7f280555 100644 --- a/plugins/modules/service.py +++ b/plugins/modules/service.py @@ -39,6 +39,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the service configuration suboptions: device: diff --git a/plugins/modules/site.py b/plugins/modules/site.py index b5aff264..30d832bd 100644 --- a/plugins/modules/site.py +++ b/plugins/modules/site.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the site configuration suboptions: name: diff --git a/plugins/modules/status.py b/plugins/modules/status.py index 102816b0..bdd9af4a 100644 --- a/plugins/modules/status.py +++ b/plugins/modules/status.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the tag configuration suboptions: name: diff --git a/plugins/modules/tag.py b/plugins/modules/tag.py index 5a313242..74874534 100644 --- a/plugins/modules/tag.py +++ b/plugins/modules/tag.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the tag configuration suboptions: name: diff --git a/plugins/modules/tenant.py b/plugins/modules/tenant.py index 6130dfcb..fc463d38 100644 --- a/plugins/modules/tenant.py +++ b/plugins/modules/tenant.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the tenant configuration suboptions: name: diff --git a/plugins/modules/tenant_group.py b/plugins/modules/tenant_group.py index f867fd74..89d8af53 100644 --- a/plugins/modules/tenant_group.py +++ b/plugins/modules/tenant_group.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the tenant group configuration suboptions: name: diff --git a/plugins/modules/virtual_chassis.py b/plugins/modules/virtual_chassis.py index 045c41da..bcb84c98 100644 --- a/plugins/modules/virtual_chassis.py +++ b/plugins/modules/virtual_chassis.py @@ -40,6 +40,7 @@ type: dict required: true description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the virtual chassis configuration suboptions: name: diff --git a/plugins/modules/virtual_machine.py b/plugins/modules/virtual_machine.py index bb4e3be2..b56ddcbf 100644 --- a/plugins/modules/virtual_machine.py +++ b/plugins/modules/virtual_machine.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the virtual machine configuration suboptions: name: diff --git a/plugins/modules/vlan.py b/plugins/modules/vlan.py index d4eecd8d..aa30f7d7 100644 --- a/plugins/modules/vlan.py +++ b/plugins/modules/vlan.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the vlan configuration suboptions: site: diff --git a/plugins/modules/vlan_group.py b/plugins/modules/vlan_group.py index 3e3eccb4..3d71ecba 100644 --- a/plugins/modules/vlan_group.py +++ b/plugins/modules/vlan_group.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the vlan group configuration suboptions: name: diff --git a/plugins/modules/vm_interface.py b/plugins/modules/vm_interface.py index 17044802..03984f58 100644 --- a/plugins/modules/vm_interface.py +++ b/plugins/modules/vm_interface.py @@ -39,6 +39,7 @@ type: str data: description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the vm interface configuration suboptions: virtual_machine: diff --git a/plugins/modules/vrf.py b/plugins/modules/vrf.py index bfee9f62..63968b42 100644 --- a/plugins/modules/vrf.py +++ b/plugins/modules/vrf.py @@ -40,6 +40,7 @@ data: type: dict description: + - (deprecated) In the next version of the modules the `data` option will be removed. All sub options will now be an option of the module. - Defines the vrf configuration suboptions: name: