-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* First pass at 2.0 migration (for nautobot) and nornir-nautobot 3.0 * Update for Nautobot API 2.0 (#105) * Add tcp port configuration option * Update examples and docs. Replace PK with name and add a note. * Update logger * Fix dispatcher and a few missed log conversions * Unpin pynautobot dependency and fix black (#124) * fix tcp ping port (#125) * Blacken code. * Update changelog, add error codes to docs, fix misspell in class name, update loggers * Add migration docs * Update migration guide name to be more standard * Fix custom dispatcher, make error message more visible, add error code links to other repos --------- Co-authored-by: Patryk Szulczewski <[email protected]> Co-authored-by: Josh VanDeraa <[email protected]> Co-authored-by: Glenn Matthews <[email protected]> Co-authored-by: Jeff Kala <[email protected]>
- Loading branch information
1 parent
8b27cb2
commit b6c9f9f
Showing
68 changed files
with
2,428 additions
and
1,595 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Migrating to v3 | ||
|
||
This is intended to document the changes and considerations for migration to Nornir-Nautobot 3.0. **Please Note** this is nornir-nautobot's version number, not Nautobot's version number. This major upgrade did coincide with the release of Nautobot 2.0, but the version trains are on their own path. | ||
|
||
## Inventory Update | ||
|
||
The inventory has been updated to reflect the changes in Nautobot, specifically that `Region` and `Site` have been collapsed into Location. Please see the [inventory docs](../inventory/inventory.md) for the latest documentation. | ||
|
||
## Dispatcher Update | ||
|
||
The dispatcher function signature has substantially changed. Overall, this will allow for easier configurations to end users and specifically users of Nautobot's Golden Config plugin. Please see the relevant [dispatcher docs](../task/task.md#dispatcher-sender) for the latest documentation. | ||
|
||
The dispatcher now prefers senders in the following order, in which `framework` examples would be `netmiko` or `napalm` and `network_driver` examples would be `cisco_ios` or `arista_eos`. | ||
|
||
- If there is a custom_dispatcher, **only** use that | ||
- Check for the `framework` and `network_driver` | ||
- Check for the `framework`'s default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
mkdocs==1.3.1 | ||
mkdocs-material==8.3.9 | ||
mkdocstrings==0.19 | ||
mkdocstrings-python==0.7.1 | ||
mkdocs==1.5.2 | ||
mkdocs-material==9.2.4 | ||
mkdocstrings==0.22.0 | ||
mkdocstrings-python==1.5.2 | ||
mkdocs-version-annotations==1.0.0 |
Oops, something went wrong.