etcd-cli CLI for Etcd based on schemas
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
etcd-cli-0.1.post8.tar.gz
(4.6 kB
view details)
File details
Details for the file etcd-cli-0.1.post8.tar.gz.
File metadata
- Download URL: etcd-cli-0.1.post8.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5ceba9587eb18b91c00f5abc04a910a44f92bff051170066d2164f894e28f3d
|
|
| MD5 |
944761f02bf0df7debecd83efbdf6ec4
|
|
| BLAKE2b-256 |
bca101b4623314fc9da45a054b317f45b3a36b7222a25add4745296c3b65adee
|