-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overhaul docs #468
base: develop
Are you sure you want to change the base?
Overhaul docs #468
Conversation
Kircheneer
commented
Jun 12, 2024
- Start implementing some of the Diataxis Framework
- Overhaul the developing jobs tutorial to make it more tutorial-ly
- Fix a significant bug that never allowed jobs to run in non-dry-run mode
979d095
to
c4fd5ac
Compare
7b65b20
to
ff8a9ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some tweaks and things to consider but this is a great start and I hope clearer for new developers.
docs/dev/jobs.md
Outdated
|
||
!!! note | ||
You still want your models to adhere to the [modeling guide](../user/modeling.md), since it provides you the auto-generated `load` function for the diffsync adapter on the Nautobot side. | ||
At this point, the job will show up in the web GUI, and you can enable it and even run it! You should see the objects you specified in the remote adapter being synchronized into Nautobot now. Also take a look at the "SSoT Sync Details" button in the top right of the job result page to get some more information on what diffsync is doing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At this point, the job will show up in the web GUI, and you can enable it and even run it! You should see the objects you specified in the remote adapter being synchronized into Nautobot now. Also take a look at the "SSoT Sync Details" button in the top right of the job result page to get some more information on what diffsync is doing. | |
At this point, the Job will show up in the web GUI, at which point you can enable it and even run it! You should see the objects you specified in the remote Adapter being synchronized into Nautobot now. In addition, clicking on the "SSoT Sync Details" button in the top right of the Job result page provides additional information on what DiffSync is doing during the synchronization process. |
|
||
!!! warning | ||
Special care should be taken when synchronizing new Devices with children Interfaces into a Nautobot instance that also defines Device Types with Interface components of the same name. When the new Device is created in Nautobot, its Interfaces will also be created as defined in the respective Device Type. As a result, when SSoT will attempt to create the children Interfaces loaded by the remote adapter, these will already exist in the target Nautobot system. In this scenario, if not properly handled, the sync will fail! Possible remediation steps may vary depending on the specific use-case, therefore this is left as an exercise to the reader/developer to solve for their specific context. | ||
The above example shows the simplest field type (an attribute on the model), however, to build a production implementation you will need to understand how to identify different variants of fields by following the [modeling docs](../dev/modeling.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The above example shows the simplest field type (an attribute on the model), however, to build a production implementation you will need to understand how to identify different variants of fields by following the [modeling docs](../dev/modeling.md). | |
The above example shows the simplest field type (an attribute on the model), however, to build a production implementation you will need to understand how to identify different variants of fields by following the [Modeling docs](../dev/modeling.md). |
Co-authored-by: Justin Drew <2396364+jdrew82@users.noreply.github.com>
Co-authored-by: Justin Drew <2396364+jdrew82@users.noreply.github.com>
50aeaf5
to
5ec4166
Compare
Co-authored-by: Justin Drew <2396364+jdrew82@users.noreply.github.com>