2019-05-12 10:31:51 +00:00
|
|
|
# ungleich cli
|
2019-04-27 04:56:57 +00:00
|
|
|
|
2019-05-12 10:31:51 +00:00
|
|
|
This CLI is used for day-to-day tasks used at ungleich.
|
|
|
|
It is intended to be used by ungleich engineers and skilled customers.
|
2019-04-27 04:56:57 +00:00
|
|
|
|
2019-05-12 10:31:51 +00:00
|
|
|
## Requirements / Installation
|
2019-05-12 10:22:14 +00:00
|
|
|
|
2019-05-12 10:31:51 +00:00
|
|
|
* ensure you have python3
|
|
|
|
* git clone this repo
|
2019-05-12 10:22:14 +00:00
|
|
|
|
2019-05-12 10:42:28 +00:00
|
|
|
## Usage general
|
2019-04-27 04:56:57 +00:00
|
|
|
|
|
|
|
```
|
2019-05-12 10:42:28 +00:00
|
|
|
ungleich --help
|
|
|
|
```
|
2019-04-27 04:56:57 +00:00
|
|
|
|
2019-05-12 10:42:28 +00:00
|
|
|
## Usage: DNS
|
|
|
|
|
|
|
|
```
|
2019-05-15 22:49:22 +00:00
|
|
|
ungleich dns --set-reverse <ip> --user <username> --token <token> --realm <realm> --email <email> --name mirror.example.com
|
2019-05-12 09:25:50 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### Usage: RIPE
|
|
|
|
|
|
|
|
Creating a new route6 object:
|
|
|
|
|
|
|
|
```
|
2019-05-12 10:42:28 +00:00
|
|
|
ungleich ripe-add-route6 \
|
2019-05-12 09:25:50 +00:00
|
|
|
--network 2a09:2947::/32
|
|
|
|
--description "First REST /32"
|
|
|
|
--password "very secure"
|
|
|
|
```
|