blob: 47f92cd904124483d825c71b42a220f0e905eed4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
= Koblingsplan
Stjal scriptet til Jonas fra Confluence og la det her.
== Usage
Depdencies are stored in `pyproject.toml` and can be used with e.g. poetry:
Install dependencies: `poetry install`
Run the script: `poetry run python script.py`
or `poetry shell` to have a configured shell you can run python from.
== Koblingsplan to Netbox
Get yourself a NetBox API token from here: `{ NETBOX_URL }/user/api-tokens/`
And expose it to the script (e.g. `export NETBOX_API_KEY=...token here ...`).
|