Skip to content

Commit e184cf0

Browse files
committed
documentation update
1 parent 5faa685 commit e184cf0

File tree

2 files changed

+39
-7
lines changed

2 files changed

+39
-7
lines changed

README.md

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ pip install ntc-netbox-plugin-onboarding
2626
systemctl restart netbox netbox-rq
2727
```
2828

29-
> The plugin is compatible with NetBox 2.8.1 and higher
30-
29+
> The ntc-netbox-plugin-onboarding v1.3 is compatible with NetBox 2.8
30+
31+
> The ntc-netbox-plugin-onboarding v2 is compatible with NetBox 2.8 and NetBox 2.9
32+
3133
To ensure NetBox Onboarding plugin is automatically re-installed during future upgrades, create a file named `local_requirements.txt` (if not already existing) in the NetBox root directory (alongside `requirements.txt`) and list the `ntc-netbox-plugin-onboarding` package:
3234

3335
```no-highlight
@@ -67,23 +69,29 @@ The plugin behavior can be controlled with the following list of settings
6769
- `platform_map` (dictionary), mapping of an **auto-detected** Netmiko platform to the **NetBox slug** name of your Platform. The dictionary should be in the format:
6870
```python
6971
{
70-
<Netmiko Platform>: <NetBox Slug>
72+
<Netmiko Platform>: <NetBox Slug>
73+
}
74+
```
75+
- `onboarding_extensions_map` (dictionary), mapping of a NAPALM driver name to the loadable Python module used as an onboarding extension. The dictionary should be in the format:
76+
```python
77+
{
78+
<Napalm Driver Name>: <Loadable Python Module>
7179
}
7280
```
7381

7482
## Usage
7583

7684
### Preparation
7785

78-
To work properly the plugin needs to know the Site, Platform, Device Type, Device Role of each
79-
device as well as its primary IP address or DNS Name. It's recommended to create these objects in
80-
NetBox ahead of time and to provide them when you want to start the onboarding process.
86+
To properly onboard a device, the plugin needs to only know the Site as well as device's primary IP address or DNS Name.
8187

8288
> For DNS Name Resolution to work, the instance of NetBox must be able to resolve the name of the
8389
> device to IP address.
8490

91+
Providing other attributes (`Platform`, `Device Type`, `Device Role`) is optional - if any of these attributes is provided, plugin will use provided value for the onboarded device.
8592
If `Platform`, `Device Type` and/or `Device Role` are not provided, the plugin will try to identify these information automatically and, based on the settings, it can create them in NetBox as needed.
86-
> If the Platform is provided, it must contains a valid Napalm driver available to the worker in Python
93+
> If the Platform is provided, it must point to an existing NetBox Platform. NAPALM driver of this platform will be used only if it is defined for the platform in NetBox.
94+
> To use a preferred NAPALM driver, either define it in NetBox per platform or in the plugins settings under `platform_map`
8795

8896
### Onboard a new device
8997

docs/release-notes/version-2.0.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# ntc-netbox-plugin-onboarding v2.0 Release Notes
2+
3+
## v2.0
4+
5+
### Enhancements
6+
7+
* NetBox 2.9 support - Supported releases 2.8 and 2.9
8+
* Onboarding extensions - Customizable onboarding process through Python modules.
9+
* Onboarding details exposed in a device view - Date, Status, Last success and Latest task id related to the onboarded device are presented under the device view.
10+
* Onboarding task view - Onboarding details exposed in a dedicated view, including NetBox's ChangeLog.
11+
* Onboarding Changelog - Onboarding uses NetBox's ChangeLog to display user and changes made to the Onboarding Task object.
12+
* Skip onboarding feature - New attribute in the OnboardingDevice model allows to skip the onboarding request on devices with disabled onboarding setting.
13+
14+
### Bug Fixes
15+
16+
* Fixed race condition in `worker.py`
17+
* Improved logging
18+
19+
### Additional Changes
20+
21+
* Platform map now includes NAPALM drivers as defined in NetBox
22+
* Tests have been refactored to inherit NetBox's tests
23+
* Onboarding process will update the Device found by the IP-address lookup. In case of no existing device with onboarded IP-address is found in NetBox, onboarding might update the existing NetBox' looking up by network device's hostname.
24+
* Onboarding will raise Exception when `create_device_type_if_missing` is set to `False` for existing Device with DeviceType mismatch (behaviour pre https://github.com/networktocode/ntc-netbox-plugin-onboarding/issues/74)

0 commit comments

Comments
 (0)