Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/1148.dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Raised the `nautobot-plugin-nornir` constraint to `>=3.2.4,<4.0.0`, which is the first release that supplies the default `nornir_settings` configuration. The re-lock also moves `nornir-nautobot` to 4.4.0 and `pylint-nautobot` to 1.0.0, which replaces the `pylint` 2.x development toolchain on Python 3.14 with `pylint` 4.x.
1 change: 1 addition & 0 deletions changes/1148.housekeeping
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removed the `nautobot_plugin_nornir` block from `PLUGINS_CONFIG` in the development config and the install documentation, because `nautobot-plugin-nornir` now supplies those settings as an app default.
11 changes: 0 additions & 11 deletions development/nautobot_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,6 @@
# Apps configuration settings. These settings are used by various apps that the user may have installed.
# Each key in the dictionary is the name of an installed app and its value is a dictionary of settings.
PLUGINS_CONFIG = {
"nautobot_plugin_nornir": {
"nornir_settings": {
"credentials": "nautobot_plugin_nornir.plugins.credentials.env_vars.CredentialsEnvVars",
"runner": {
"plugin": "threaded",
"options": {
"num_workers": 20,
},
},
},
},
"nautobot_golden_config": {
"per_feature_bar_width": float(os.environ.get("PER_FEATURE_BAR_WIDTH", 0.15)),
"per_feature_width": int(os.environ.get("PER_FEATURE_WIDTH", 13)),
Expand Down
14 changes: 0 additions & 14 deletions docs/admin/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,23 +33,11 @@ Once installed, the app needs to be enabled in your Nautobot configuration. The

- Append `"nautobot_golden_config"` to the `PLUGINS` list, and `"nautobot_plugin_nornir"` if it was not already there (more info [here](https://docs.nautobot.com/projects/plugin-nornir/en/latest/)).
- Append the `"nautobot_golden_config"` dictionary to the `PLUGINS_CONFIG` dictionary as shown the **sample** below with your appropriate configs.
- Append the `"nautobot_plugin_nornir"` dictionary to the `PLUGINS_CONFIG` dictionary as shown the **sample** below with your appropriate configs (Note: this may already be in your configs).

```python
PLUGINS = ["nautobot_plugin_nornir", "nautobot_golden_config"]

PLUGINS_CONFIG = {
"nautobot_plugin_nornir": {
"nornir_settings": {
"credentials": "nautobot_plugin_nornir.plugins.credentials.env_vars.CredentialsEnvVars",
"runner": {
"plugin": "threaded",
"options": {
"num_workers": 20,
},
},
},
},
"nautobot_golden_config": {
"per_feature_bar_width": 0.15,
"per_feature_width": 13,
Expand Down Expand Up @@ -144,8 +132,6 @@ That being said, if you do fall into one of those use cases, you can set the dis

```python
PLUGINS_CONFIG = {
"nautobot_plugin_nornir": {
},
"nautobot_golden_config": {
"custom_dispatcher": {
"arista_eos": "my_custom.dispatcher.NornirDriver",
Expand Down
Loading
Loading