aboutsummaryrefslogtreecommitdiffstats
path: root/tools/koblingsplan/README.adoc
diff options
context:
space:
mode:
authorHåkon Solbjørg <hakon@solbj.org>2023-02-25 12:24:44 +0100
committerGitHub <noreply@github.com>2023-02-25 12:24:44 +0100
commitd6f5a7bd1075aef42d7dc983a5a51fd1e31f69e6 (patch)
treee3e62b8cd64203100852875988c178ff49aa9a7d /tools/koblingsplan/README.adoc
parent709c78569b26677624e60588fa1166dc659ac93c (diff)
parent2ede2da02763747dd33a781863217b9371737652 (diff)
Merge pull request #105 from gathering/koblingsplan
Koblingsplan To NetBox
Diffstat (limited to 'tools/koblingsplan/README.adoc')
-rw-r--r--tools/koblingsplan/README.adoc18
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 ...`).