From cf674369445527205c174f7c42e9ec0d6ef12e32 Mon Sep 17 00:00:00 2001 From: Jeff Kala Date: Thu, 7 Sep 2023 14:35:33 -0600 Subject: [PATCH 1/4] prepping for 1.6.0 release --- docs/admin/compatibility_matrix.md | 1 + docs/admin/release_notes/version_1.6.md | 12 ++++++++++++ mkdocs.yml | 1 + nautobot_golden_config/__init__.py | 2 +- pyproject.toml | 2 +- 5 files changed, 16 insertions(+), 2 deletions(-) create mode 100755 docs/admin/release_notes/version_1.6.md diff --git a/docs/admin/compatibility_matrix.md b/docs/admin/compatibility_matrix.md index 5b6e64ae..2063d9fc 100644 --- a/docs/admin/compatibility_matrix.md +++ b/docs/admin/compatibility_matrix.md @@ -16,3 +16,4 @@ While that last supported version will not be strictly enforced via the `max_ver | 1.3.X | 1.4.0 | 1.5.2 [Official] | | 1.4.X | 1.5.3 | 1.5.99 [Official] | | 1.5.X | 1.6.1 | 1.6.99 [Official] | +| 1.6.X | 1.6.1 | 1.6.99 [Official] | diff --git a/docs/admin/release_notes/version_1.6.md b/docs/admin/release_notes/version_1.6.md new file mode 100755 index 00000000..274565c7 --- /dev/null +++ b/docs/admin/release_notes/version_1.6.md @@ -0,0 +1,12 @@ +# v1.6 Release Notes + +- Add ability to generate ConfigPlans for configurations that need to be deployed, based on multiple plan types. +- Add a job that can deploy config_set based on a generated ConfigPlan object. +- Add functionality to compliance result to provide a Remediation plan. +- Supports Nautobot >=1.6.1,<2.0.0. + +## v1.6.0 - 2023-09 + +### Added + +- [573](https://github.com/nautobot/nautobot-plugin-golden-config/pull/573) - Add ConfigPlan and Remediation features. diff --git a/mkdocs.yml b/mkdocs.yml index 95edbb3a..3ca814fe 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -120,6 +120,7 @@ nav: - Compatibility Matrix: "admin/compatibility_matrix.md" - Release Notes: - "admin/release_notes/index.md" + - v1.6: "admin/release_notes/version_1.6.md" - v1.5: "admin/release_notes/version_1.5.md" - v1.4: "admin/release_notes/version_1.4.md" - v1.3: "admin/release_notes/version_1.3.md" diff --git a/nautobot_golden_config/__init__.py b/nautobot_golden_config/__init__.py index c2beb32e..9c82c9e3 100644 --- a/nautobot_golden_config/__init__.py +++ b/nautobot_golden_config/__init__.py @@ -19,7 +19,7 @@ class GoldenConfig(PluginConfig): version = __version__ author = "Network to Code, LLC" author_email = "opensource@networktocode.com" - description = "Nautobot Apps that embraces NetDevOps and automates configuration backups, performs configuration compliance, and generates intended configurations. Includes native Git integration and gives users the flexibility to mix and match the supported features." + description = "Nautobot Apps that embraces NetDevOps and automates configuration backups, performs configuration compliance, generates intended configurations, and has config remediation and deployment features. Includes native Git integration and gives users the flexibility to mix and match the supported features." base_url = "golden-config" min_version = "1.6.1" max_version = "1.99" diff --git a/pyproject.toml b/pyproject.toml index e85aede0..30c1e6a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "nautobot-golden-config" -version = "1.5.0" +version = "1.6.0" description = "A plugin for configuration on nautobot" authors = ["Network to Code, LLC", ""] From 47d46f41819136eeac5b5c6e35a4fbab927eb549 Mon Sep 17 00:00:00 2001 From: Jeff Kala Date: Thu, 7 Sep 2023 15:59:59 -0600 Subject: [PATCH 2/4] update release notes to be more verbose --- docs/admin/release_notes/version_1.6.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/admin/release_notes/version_1.6.md b/docs/admin/release_notes/version_1.6.md index 274565c7..3e649da8 100755 --- a/docs/admin/release_notes/version_1.6.md +++ b/docs/admin/release_notes/version_1.6.md @@ -9,4 +9,6 @@ ### Added -- [573](https://github.com/nautobot/nautobot-plugin-golden-config/pull/573) - Add ConfigPlan and Remediation features. +- [573](https://github.com/nautobot/nautobot-plugin-golden-config/pull/573) - Added the ability to generate remediation configurations and store in ConfigRemediation model +- [573](https://github.com/nautobot/nautobot-plugin-golden-config/pull/573) - Added the ability to generate configurations that you plan to deploy from a variety of methods, such as Remediation, intended, manual, etc. via the ConfigPlan model. +- [573](https://github.com/nautobot/nautobot-plugin-golden-config/pull/573) - Added the ability to Deploy configurations from the ConfigPlan configurations to your network devices. From 8b1ac77fbf294be85c205ad55c700e79270d3459 Mon Sep 17 00:00:00 2001 From: matt852 Date: Fri, 15 Sep 2023 11:12:39 -0400 Subject: [PATCH 3/4] Update platform mapping (#586) --- nautobot_golden_config/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nautobot_golden_config/models.py b/nautobot_golden_config/models.py index 47459001..e10a92e4 100644 --- a/nautobot_golden_config/models.py +++ b/nautobot_golden_config/models.py @@ -138,7 +138,7 @@ def _verify_get_custom_compliance_data(compliance_details): def _get_hierconfig_remediation(obj): """Returns the remediating config.""" - hierconfig_os = HIERCONFIG_LIB_MAPPER_REVERSE.get(obj.device.platform.slug) + hierconfig_os = HIERCONFIG_LIB_MAPPER_REVERSE.get(get_platform(obj.device.platform.slug)) if not hierconfig_os: raise ValidationError(f"platform {obj.device.platform.slug} is not supported by hierconfig.") From 8557c27088c68ce4a83c674045f8676be6f0f1b7 Mon Sep 17 00:00:00 2001 From: Jeff Kala Date: Fri, 15 Sep 2023 14:35:19 -0600 Subject: [PATCH 4/4] update release notes for 1.6.0 --- docs/admin/release_notes/version_1.6.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/admin/release_notes/version_1.6.md b/docs/admin/release_notes/version_1.6.md index 3e649da8..2bed33b4 100755 --- a/docs/admin/release_notes/version_1.6.md +++ b/docs/admin/release_notes/version_1.6.md @@ -9,6 +9,13 @@ ### Added -- [573](https://github.com/nautobot/nautobot-plugin-golden-config/pull/573) - Added the ability to generate remediation configurations and store in ConfigRemediation model -- [573](https://github.com/nautobot/nautobot-plugin-golden-config/pull/573) - Added the ability to generate configurations that you plan to deploy from a variety of methods, such as Remediation, intended, manual, etc. via the ConfigPlan model. -- [573](https://github.com/nautobot/nautobot-plugin-golden-config/pull/573) - Added the ability to Deploy configurations from the ConfigPlan configurations to your network devices. +- [#573](https://github.com/nautobot/nautobot-plugin-golden-config/pull/573) - Added the ability to generate remediation configurations and store in ConfigRemediation model +- [#573](https://github.com/nautobot/nautobot-plugin-golden-config/pull/573) - Added the ability to generate configurations that you plan to deploy from a variety of methods, such as Remediation, intended, manual, etc. via the ConfigPlan model. +- [#573](https://github.com/nautobot/nautobot-plugin-golden-config/pull/573) - Added the ability to Deploy configurations from the ConfigPlan configurations to your network devices. + +### Fixed + +- [#585](https://github.com/nautobot/nautobot-plugin-golden-config/pull/585) - Remove Jquery dependency from Google APIs, inherit from Nautobot core instead. +- [#577](https://github.com/nautobot/nautobot-plugin-golden-config/pull/577) - Fixed various forms fields and filters fields. +- [#577](https://github.com/nautobot/nautobot-plugin-golden-config/pull/577) - Updated default has_sensitive_data boolean to False. +- [#577](https://github.com/nautobot/nautobot-plugin-golden-config/pull/577) - Added warning message on views when required jobs are not enabled.