etcd-cli CLI for Etcd based on schemas
Install
pip install etcd-cli
Examples
$ etcd-cli -d set host --host foo.example.com --ip 10.130.197.17 \
--netmask 255.255.255.0 --gw 10.130.197.254 --hwaddr 6c:ae:8b:60:46:ba \
--site eur-1
[INFO ] Using config file: /etc/etcd-cli/etcd-cli.conf
[INFO ] Loading template: templates/host.jinja
[INFO ] Set: /host/foo.example.com/site: eur-1
[INFO ] Set: /host/foo.example.com/eth0/ip: 192.168.0.1
[INFO ] Set: /host/foo.example.com/eth0/hwaddr: 6c:ae:8b:60:46:ba
[INFO ] Set: /host/foo.example.com/eth0/netmask: 255.255.255.0
[INFO ] Set: /host/foo.example.com/eth0/gw: 192.168.0.254
[INFO ] Set: /hwaddr/3c:ae:6b:60:46:ca/interface: eth0
[INFO ] Set: /hwaddr/3c:ae:6b:60:46:ca/hostname: foo.example.com
Release files for etcd-cli 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| etcd-cli-0.3.tar.gz | 4.6 kB | Details |
Release files / etcd-cli-0.3.tar.gz
| Download URL | etcd-cli-0.3.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45d1b43c0cf0e02eacc2298c649a642f8eb380e02d1f70f1f7b93e8cb49bfed9
|
|
BLAKE2b-256 checksum How to use checksums |
2efa5f17b22f61211ffc51672e42749cd4cb85523a8c839bb089610120ed224c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |