Commit 23f2fbc
Release v3.9.3 (#958)
* fix: 🐛 Fix _handle_single_parameter metadata key vs name inconsistency
* Changelog Fragment
* fix: ⚡ Fix a very small typo
* Added UT
* Lint
* Added the enable_global_search configuration option.
* Add the optional in the env example and documentation
* Bump prepatch
* style: 💡 Remove commented old code
* Adding docstring to __init__
* LibreNMS Integration Creates Unknown Location in Dry Run Mode (#937)
* fix: 🐛 Fix class to be Adapter instead of DiffSync
* fix: 🐛 Correct assignments to vars
* fix: 🐛 Remove creation of Unknown Site Location as this should be done in the CRUD operations for Locations.
* fix: 🐛 Correct LocationType to pull from Job form variable
* test: ✅ Add LocationType to test
* docs: 📝 Add changelog fragment
* U/smk4664 validate create update (#941)
* Move cache to adapter and validate response
This change moves the cache to the adapter, which means there will be a new cache every job run, instead of using a cache from when the server starts.
Also adds checks and debug messages for the create/update so we can see when there are issues creating or updating.
* Add Change Fragment
* Fix Citrix ADM Throwing IP Error (#943)
* refactor: ♻️ Separate IPAddress into host address and mask length and adjust identifiers on model.
Also adjust the adapters and models to use updated ids and attrs.
* test: ✅ Adjust tests for changes to model
* fix: 🐛 Correct attribute for IPAddress in find_closer_parent_prefix function
* fix: 🐛 Update IPAddressToInterface model to use host address instead of CIDR.
* test: ✅ Update tests to address model change
* refactor: ♻️ Update IPAddress query to include parent Namespace just to avoid duplicate IPs.
* Add changelog fragment
* test: ✅ Add tests for find_closest_parent_prefix() function
* test: ✅ Add tests validating create/update functions for NautobotAddress
* Handle 404 in Infoblox Integration (#944)
* Have log use default arg "msg" instead of "message="
TypeErrors received because self.job.logger.warning expects positional arg "msg", but "message" was used.
* Use required default arg ("msg") instead of kwarg ("message") when using self.job.logger.
* Add Metadata to Bootstrap Integration (#938)
* enable object metadata for bootstrap integration
* consolidate metadata utils, set keys to app_label.model_name
* Remove unnecessary INTEGRATION variable
* Cookie updated by NetworkToCode Cookie Drift Manager Tool (#942)
Template:
```
{
"template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
"dir": "nautobot-app",
"ref": "nautobot-app-v2.5.1",
"path": null
}
```
Cookie:
```
{
"remote": "https://github.com/nautobot/nautobot-app-ssot.git",
"path": "/tmp/tmp3_ituvjv/nautobot-app-ssot",
"repository_path": "/tmp/tmp3_ituvjv/nautobot-app-ssot",
"dir": "",
"branch_prefix": "drift-manager",
"context": {
"codeowner_github_usernames": "@smith-ntc",
"full_name": "Network to Code, LLC",
"email": "opensource@networktocode.com",
"github_org": "nautobot",
"app_name": "nautobot_ssot",
"verbose_name": "Single Source of Truth",
"app_slug": "nautobot-ssot",
"project_slug": "nautobot-app-ssot",
"repo_url": "https://github.com/nautobot/nautobot-app-ssot",
"base_url": "ssot",
"min_nautobot_version": "2.0.0",
"max_nautobot_version": "2.9999",
"camel_name": "NautobotSSOTApp",
"project_short_description": "Nautobot Single Source of Truth",
"model_class_name": "Sync",
"open_source_license": "Apache-2.0",
"docs_base_url": "https://docs.nautobot.com",
"docs_app_url": "https://docs.nautobot.com/projects/ssot/en/latest",
"_extensions": [
"local_extensions.camel_case_to_kebab",
"local_extensions.camel_case_to_words"
],
"_template": "https://github.com/nautobot/cookiecutter-nautobot-app.git",
"_output_dir": "/tmp/tmp3_ituvjv",
"_repo_dir": "/github/home/.cookiecutters/cookiecutter-nautobot-app/nautobot-app",
"_checkout": "nautobot-app-v2.5.1"
},
"base_branch": "develop",
"remote_name": "origin",
"pull_request_strategy": "PullRequestStrategy.CREATE",
"post_actions": [],
"baked_commit_ref": "a93c33a2e5583173d90b69dbc7268ca90083a248",
"draft": false
}
```
CLI Arguments:
```
{
"cookie_dir": "",
"input": false,
"json_filename": "",
"output_dir": "",
"push": true,
"template": "",
"template_dir": "",
"template_ref": "nautobot-app-v2.5.1",
"pull_request": null,
"post_action": [],
"disable_post_actions": true,
"draft": null
}
```
Co-authored-by: bakebot <info@networktocode.com>
* Import filters from integrations. (#947)
* Import filters from integrations.
* Update Changelog
* Fix __all__ definition (pylint)
* fix(ssot/dnac): Process devices with unrecognized platforms instead o… (#953)
* fix(ssot/dnac): Process devices with unrecognized platforms instead of skipping
When syncing some devices from Cisco DNA Center, the SSoT job would silently
skip creating or updating any device whose platform was not recognized
or explicitly mapped, such as certain models of Cisco Wireless APs.
This resulted in an incomplete synchronization where these devices would
be missing in Nautobot, but the job would still report as successful,
making the data discrepancy difficult to notice.
This commit modifies the device processing logic to ensure that devices
are no longer skipped due to an unrecognized platform. Now, these
devices are correctly identified and synced into Nautobot, leading to a
more complete and accurate inventory representation.
Fixes #908
* Update Changelog
* Optimize Sync history queryset to avoid excessive memory usage (#952)
* Optimize Sync history queryset to avoid excessive memory usage
* add fragment
* Add ExternalIntegration creation to Bootstrap integration. (#948)
* feat: ✨ Add ExternalIntegration creation to Bootstrap integration
* Correct documentation for extra_config/headers formatting
* Generalise Secrets/SecretsGroup and remove extra logging
* Missed one reference
* Update Python Target Version for Ruff (#955)
* build: Update ruff to target Python 3.9
* Add changelog fragment
* build: 📝 Update release notes for 3.9.3
* Bump version
* docs: Add first time contributors to release notes
* docs: ⏪️ Revert release note change
* Update .cookiecutter.json
Co-authored-by: Gary Snider <75227981+gsnider2195@users.noreply.github.com>
---------
Co-authored-by: Chris Tomkins <chris.tomkins@networktocode.com>
Co-authored-by: Kacem Ben Dhiab <kacem.bendhiab@expereo.com>
Co-authored-by: Chris Tomkins <80041880+cdtomkins@users.noreply.github.com>
Co-authored-by: Leo Kirchner <Kircheneer@users.noreply.github.com>
Co-authored-by: Stephen Kiely <stephenkiely87@gmail.com>
Co-authored-by: fpocai <fpocai@gmail.com>
Co-authored-by: Ryan Gillespie <24619595+nopg@users.noreply.github.com>
Co-authored-by: Nautobot-Bot <79372327+nautobot-bot@users.noreply.github.com>
Co-authored-by: bakebot <info@networktocode.com>
Co-authored-by: Rodrigo Gonçalves de Branco <rodrigo.g.branco@gmail.com>
Co-authored-by: Roberto Duarte <roberto.duarte@codilime.com>
Co-authored-by: Gary Snider <75227981+gsnider2195@users.noreply.github.com>File tree
48 files changed
+1563
-471
lines changed- .github/ISSUE_TEMPLATE
- development
- docs
- admin
- integrations
- release_notes
- user/integrations
- nautobot_ssot
- contrib
- integrations
- bootstrap
- diffsync
- adapters
- models
- fixtures
- citrix_adm/diffsync
- adapters
- models
- dna_center
- diffsync
- adapters
- models
- utils
- infoblox/diffsync/adapters
- librenms
- diffsync/adapters
- servicenow/diffsync
- tests
- bootstrap
- fixtures
- citrix_adm
- librenms
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
48 files changed
+1563
-471
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 28 | + | |
32 | 29 | | |
33 | | - | |
| 30 | + | |
34 | 31 | | |
35 | 32 | | |
36 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
217 | 218 | | |
218 | 219 | | |
219 | 220 | | |
| |||
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
| 300 | + | |
299 | 301 | | |
300 | 302 | | |
301 | 303 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | | - | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
| 35 | + | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | | - | |
| 48 | + | |
43 | 49 | | |
44 | | - | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
47 | | - | |
| 53 | + | |
48 | 54 | | |
49 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
50 | 59 | | |
51 | 60 | | |
52 | 61 | | |
53 | 62 | | |
54 | | - | |
| 63 | + | |
55 | 64 | | |
56 | 65 | | |
57 | 66 | | |
58 | 67 | | |
59 | | - | |
| 68 | + | |
60 | 69 | | |
61 | 70 | | |
62 | 71 | | |
| |||
135 | 144 | | |
136 | 145 | | |
137 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
138 | 161 | | |
139 | 162 | | |
140 | 163 | | |
| |||
873 | 896 | | |
874 | 897 | | |
875 | 898 | | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
0 commit comments