-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Christian Berendt <[email protected]>
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,40 @@ | ||
# netbox-manager | ||
|
||
## Installation | ||
|
||
``` | ||
$ pipenv shell | ||
$ pip install netbox-manager | ||
$ ansible-galaxy collection install -r requirements.yml | ||
``` | ||
|
||
## Configuration | ||
|
||
```toml | ||
DEVICETYPE_LIBRARY = "example/devicetype-library" | ||
IGNORE_SSL_ERRORS = true | ||
RESOURCES = "example/resources" | ||
TOKEN = "" | ||
URL = "https://XXX.netbox.regio.digital" | ||
VERBOSE = true | ||
``` | ||
|
||
## Usage | ||
|
||
``` | ||
$ pipenv shell | ||
$ netbox-manager --help | ||
Usage: netbox-manager [OPTIONS] | ||
╭─ Options ───────────────────────────────────────────────────────────────────────────────────────────╮ | ||
│ --limit TEXT Limit files by prefix [default: None] │ | ||
│ --wait --no-wait Wait for NetBox service [default: wait] │ | ||
│ --skipdtl --no-skipdtl Skip device type library [default: no-skipdtl] │ | ||
│ --help Show this message and exit. │ | ||
╰─────────────────────────────────────────────────────────────────────────────────────────────────────╯ | ||
``` | ||
|
||
## Documentation | ||
|
||
* https://docs.ansible.com/ansible/latest/collections/netbox/netbox/index.html | ||
* https://github.com/netbox-community/devicetype-library |