Skip to content

Latest commit

 

History

History
455 lines (315 loc) · 13.4 KB

CHANGELOG.rst

File metadata and controls

455 lines (315 loc) · 13.4 KB

networktocode.nautobot Release Notes

Fix plugins module

  • (#257) Fix plugin module.

This release updates collection code for compatibility code with Nautobot 2.0, where API has breaking changes.

  • (#234) Updates for Nautobot 2.0 Compatibility
  • networktocode.nautobot.ip_address_to_interface - Creates or removes associations between IP and interface.
  • networktocode.nautobot.role - Creates or removes a role.
  • networktocode.nautobot.site - Removed as locations replace sites and regions.
  • networktocode.nautobot.region - Removed as locations replace sites and regions.
  • networktocode.nautobot.device_role - Removed as roles changes into generic type with content_types.
  • networktocode.nautobot.ipam_role - Removed as roles changes into generic type with content_types.
  • networktocode.nautobot.rack_role - Removed as roles changes into generic type with content_types.
  • networktocode.nautobot.aggregate - Model removed in 2.0.

Adds plugin module and makes updates to HTTP handling on GraphQL

  • (#211) Removes codecov from dev dependencies
  • (#203) Adds plugin module
  • (#209) Catches HTTPError for GraphQL query and enables Ansible retries

Adds Location and Location Type modules.

  • (#170) Updates incorrect key name
  • (#175) Adds additional key options for circuit termination and manufacturer
  • (#191) Added Location and Location Type modules

Update missing keys on module updates.

  • (#171) Add provider_network to circuit_termination module
  • (#172) Add description to manufacturer
  • (#171) Drop testing for Python 3.6 & Python 3.7 (may still work, just no longer tested)
  • (#171) Adds provider_networks to lookup plugin filter

Fix incorrect filter parameters

  • (#163) Fix bad filter params due to STRICT_FILTERING being enabled in Nautobot 1.4.

Fix minor bugs and add API versioning to collection.

  • (#139) - Add API versioning to compatible plugins.
  • (#159) Lookup - Fix api_filter to not attempt to convert UUIDs to integers from legacy forked code.

Fixes GraphQL inventory plugin bugs and RTD builds.

  • (#150) GraphQL inventory plugin - boolean filters are invalid
  • (#151) GraphQL inventory plugin - using group_by can crash if there are empty values
  • (#154) Fixes antsibull import for RTD builds

This release refactors the GraphQL inventory plugin to allow fetching virtual machines and a more flexible approach to allow users to use most of GraphQL's native capabilities.

  • (#130) Refactors GraphQL Inventory plugin to allow custom GraphQL queries with nested levels. Allows virtual machines to be fetched as well. The following options; additonal_variables (all top level keys are now set as host_vars) and filters (these are set within the query now).
  • networktocode.nautobot.relationship_association - Creates or removes a relationship association from Nautobot

This release adds a deprecation notice for the GraphQL Inventory Plugin. There will be changes to the structure requiring changes to the inventory file.

  • (#132) Adds deprecation notice on GraphQL Inventory Plugin
  • (#133) Update documentation for query_graphql module and add try/except for HTTP call.
  • (#135) Account for bug in networktocode.nautobot.inventory for API bug in Nautobot 1.3.1 due to OpenAPI paths changing.
  • Sanity tests and updates requested by Ansible for collection inclusion.

This release only changes the GraphQL inventory plugin. It fixes the ansible_host by removing the CIDR. The last change is the ability to specify nested relationships as well as fields that don't have a relationship to other Nautobot objects such as serial, asset_tag, etc.

  • (#122) Add ability to add nested GraphQL relationships and non-relationship fields such as serial, asset_tag, etc.
  • (#124) Removes CIDR from the ansible_host variable.
  • (#116) Fix graphql action plugin to support check mode
  • (#119) Documentation fixes
  • (#120) Documentation permission fixes
  • (#110) Allow users to define any path for defining GroupBy Group names
  • (#115) Documentation fixes

Unbreak plugins/inventory/inventory.yml

  • Remove bad code in plugins/inventory/inventory.yml when locally built to publish that prevented it from grabbing all hosts

A few updates to the inventory plugins to support new options or require existing parameters.

  • (#105) Documentation updates
  • (#107) Add tenant_group to group_by to inventory plugin
  • (#108) Add choices to group_by in gql_inventory plugin
  • (#109) token is explicitly required within gql_inventory plugin. (This was always true, but never enforced.)

Quick bugfix release for not attempting to resolve IDs for fields that a user has passed in an ID/UUID for

  • (#98) No longer attempts to resolve field ID/UUIDs if user passes an ID/UUID for a resolvable field

Adds inventory plugin leveraging Nautobot's GraphQL API

  • (#53) Adds inventory plugin using GraphQL API
  • networktocode.nautobot.networktocode.nautobot.gql_inventory - Inventory plugin leveraging Nautobot's GraphQL API

Updates format for modules to support Ansible 4 / ansible-core 2.11 arg spec verification changes

  • (#66) Remove data sub-dictionary from modules
  • (#57) Adds nautobot-server module
  • (#75) Device Interface module supports custom_fields

Bug fix updates for label support and SSL version consistency

  • (#44) Add Interface Label Support
  • (#45) SSL Verify Keyword Consistency Update

Bug fixes and removal of NAUTOBOT_API and NAUTOBOT_API_TOKEN

  • (#33) Deprecates NAUTOBOT_API and NAUTOBOT_API_TOKEN environment variables
  • (#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
  • networktocode.nautobot.networktocode.nautobot.lookup_graphql - Lookup plugin to query Nautobot GraphQL API endpoint
  • networktocode.nautobot.networktocode.nautobot.query_graphql - Action plugin to query Nautobot GraphQL API endpoint
  • Added check for UUIDs when checking for isinstance(int) [#22](nautobot#22)
  • ip_address - Removed interface option [#23](nautobot#23)
  • Validate if value is already a UUID, return UUID and do not attempt to resolve [#17](nautobot#17)
  • Remove code related to fetching secrets due to secrets not existing in Nautobot.

Removes dependency on ansible.netcommon and uses builtin ipaddress module

This is the first official release of an Ansible Collection for Nautobot. This project is forked from the netbox.netbox Ansible Collection.

  • networktocode.nautobot.lookup - Queries and returns elements from Nautobot
  • networktocode.nautobot.aggregate - Creates or removes aggregates from Nautobot
  • networktocode.nautobot.cable - Create, update or delete cables within Nautobot
  • networktocode.nautobot.circuit - Create, update or delete circuits within Nautobot
  • networktocode.nautobot.circuit_termination - Create, update or delete circuit terminations within Nautobot
  • networktocode.nautobot.circuit_type - Create, update or delete circuit types within Nautobot
  • networktocode.nautobot.cluster - Create, update or delete clusters within Nautobot
  • networktocode.nautobot.cluster_group - Create, update or delete cluster groups within Nautobot
  • networktocode.nautobot.cluster_type - Create, update or delete cluster types within Nautobot
  • networktocode.nautobot.console_port - Create, update or delete console ports within Nautobot
  • networktocode.nautobot.console_port_template - Create, update or delete console port templates within Nautobot
  • networktocode.nautobot.console_server_port - Create, update or delete console server ports within Nautobot
  • networktocode.nautobot.console_server_port_template - Create, update or delete console server port templates within Nautobot
  • networktocode.nautobot.device - Create, update or delete devices within Nautobot
  • networktocode.nautobot.device_bay - Create, update or delete device bays within Nautobot
  • networktocode.nautobot.device_bay_template - Create, update or delete device bay templates within Nautobot
  • networktocode.nautobot.device_interface - Creates or removes interfaces on devices from Nautobot
  • networktocode.nautobot.device_interface_template - Creates or removes interfaces on devices from Nautobot
  • networktocode.nautobot.device_role - Create, update or delete devices roles within Nautobot
  • networktocode.nautobot.device_type - Create, update or delete device types within Nautobot
  • networktocode.nautobot.front_port - Create, update or delete front ports within Nautobot
  • networktocode.nautobot.front_port_template - Create, update or delete front port templates within Nautobot
  • networktocode.nautobot.inventory_item - Creates or removes inventory items from Nautobot
  • networktocode.nautobot.ip_address - Creates or removes IP addresses from Nautobot
  • networktocode.nautobot.ipam_role - Creates or removes ipam roles from Nautobot
  • networktocode.nautobot.manufacturer - Create or delete manufacturers within Nautobot
  • networktocode.nautobot.platform - Create or delete platforms within Nautobot
  • networktocode.nautobot.power_feed - Create, update or delete power feeds within Nautobot
  • networktocode.nautobot.power_outlet - Create, update or delete power outlets within Nautobot
  • networktocode.nautobot.power_outlet_template - Create, update or delete power outlet templates within Nautobot
  • networktocode.nautobot.power_panel - Create, update or delete power panels within Nautobot
  • networktocode.nautobot.power_port - Create, update or delete power ports within Nautobot
  • networktocode.nautobot.power_port_template - Create, update or delete power port templates within Nautobot
  • networktocode.nautobot.prefix - Creates or removes prefixes from Nautobot
  • networktocode.nautobot.provider - Create, update or delete providers within Nautobot
  • networktocode.nautobot.rack - Create, update or delete racks within Nautobot
  • networktocode.nautobot.rack_group - Create, update or delete racks groups within Nautobot
  • networktocode.nautobot.rack_role - Create, update or delete racks roles within Nautobot
  • networktocode.nautobot.rear_port - Create, update or delete rear ports within Nautobot
  • networktocode.nautobot.rear_port_template - Create, update or delete rear port templates within Nautobot
  • networktocode.nautobot.region - Creates or removes regions from Nautobot
  • networktocode.nautobot.rir - Create, update or delete RIRs within Nautobot
  • networktocode.nautobot.route_target - Creates or removes route targets from Nautobot
  • networktocode.nautobot.service - Creates or removes service from Nautobot
  • networktocode.nautobot.site - Creates or removes sites from Nautobot
  • networktocode.nautobot.status - Creates or removes status from Nautobot
  • networktocode.nautobot.tag - Creates or removes tags from Nautobot
  • networktocode.nautobot.tenant - Creates or removes tenants from Nautobot
  • networktocode.nautobot.tenant_group - Creates or removes tenant groups from Nautobot
  • networktocode.nautobot.virtual_chassis - Create, update or delete virtual chassis within Nautobot
  • networktocode.nautobot.virtual_machine - Create, update or delete virtual_machines within Nautobot
  • networktocode.nautobot.vlan - Create, update or delete vlans within Nautobot
  • networktocode.nautobot.vlan_group - Create, update or delete vlans groups within Nautobot
  • networktocode.nautobot.vm_interface - Creates or removes interfaces from virtual machines in Nautobot
  • networktocode.nautobot.vrf - Create, update or delete vrfs within Nautobot