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
Copy file name to clipboardExpand all lines: README.md
+30-15Lines changed: 30 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Diode NetBox Plugin
2
2
3
-
The Diode NetBox plugin is a [NetBox](https://netboxlabs.com/oss/netbox/) plugin and a required component of the [Diode](https://github.com/netboxlabs/diode) ingestion service.
3
+
The Diode NetBox plugin is a [NetBox](https://netboxlabs.com/oss/netbox/) plugin. It is a required component of the [Diode](https://github.com/netboxlabs/diode) ingestion service.
4
4
5
5
Diode is a NetBox ingestion service that greatly simplifies and enhances the process to add and update network data
6
6
in NetBox, ensuring your network source of truth is always accurate and can be trusted to power your network automation
@@ -17,6 +17,15 @@ at [https://netboxlabs.com/blog/introducing-diode-streamlining-data-ingestion-in
17
17
18
18
## Installation
19
19
20
+
Source the NetBox Python virtual environment:
21
+
22
+
```shell
23
+
cd /opt/netbox
24
+
source venv/bin/activate
25
+
```
26
+
27
+
Install the plugin:
28
+
20
29
```bash
21
30
pip install netboxlabs-diode-netbox-plugin
22
31
```
@@ -29,36 +38,37 @@ PLUGINS = [
29
38
]
30
39
```
31
40
41
+
Restart NetBox services to load the plugin:
42
+
43
+
```
44
+
sudo systemctl restart netbox netbox-rq
45
+
```
46
+
32
47
See [NetBox Documentation](https://netboxlabs.com/docs/netbox/en/stable/plugins/#installing-plugins) for details.
33
48
34
49
## Configuration
35
50
36
-
Source the NetBox Python virtual environment:
51
+
Source the NetBox Python virtual environment (if not already):
37
52
38
53
```shell
39
54
cd /opt/netbox
40
55
source venv/bin/activate
41
56
```
42
57
43
-
Generate 3 API keys as random 40 character long alphanumeric strings:
58
+
Three API keys will be needed (these are random 40 character long alphanumeric strings). They can be generated and set to the appropriate environment variables with the following commands:
0 commit comments