You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> 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
+
31
33
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:
32
34
33
35
```no-highlight
@@ -67,23 +69,29 @@ The plugin behavior can be controlled with the following list of settings
67
69
-`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:
68
70
```python
69
71
{
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>
71
79
}
72
80
```
73
81
74
82
## Usage
75
83
76
84
### Preparation
77
85
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 orDNS 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.
81
87
82
88
> For DNS Name Resolution to work, the instance of NetBox must be able to resolve the name of the
83
89
> device to IP address.
84
90
91
+
Providing other attributes (`Platform`, `Device Type`, `Device Role`) is optional -ifany of these attributes is provided, plugin will use provided value for the onboarded device.
85
92
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 orin the plugins settings under `platform_map`
* 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