diff options
author | Håkon Solbjørg <hakon@solbj.org> | 2023-02-25 12:24:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-25 12:24:44 +0100 |
commit | d6f5a7bd1075aef42d7dc983a5a51fd1e31f69e6 (patch) | |
tree | e3e62b8cd64203100852875988c178ff49aa9a7d /tools/koblingsplan/README.adoc | |
parent | 709c78569b26677624e60588fa1166dc659ac93c (diff) | |
parent | 2ede2da02763747dd33a781863217b9371737652 (diff) |
Merge pull request #105 from gathering/koblingsplan
Koblingsplan To NetBox
Diffstat (limited to 'tools/koblingsplan/README.adoc')
-rw-r--r-- | tools/koblingsplan/README.adoc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/koblingsplan/README.adoc b/tools/koblingsplan/README.adoc new file mode 100644 index 0000000..47f92cd --- /dev/null +++ b/tools/koblingsplan/README.adoc @@ -0,0 +1,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 ...`). |