A Cloudify Plugin interacting with etcd.
Node types:
-
cloudify.nodes.etcd.KeyValuePair
Create/delete etcd key-value pair.
-
cloudify.nodes.etcd.KeyValuePairs
Create/delete a list of kvpair entries (see examples/simple-list-blueprint/blueprint.yaml).
-
cloudify.nodes.etcd.WatchKey
Watch value of etcd key. Succeeds when it matches condition or fails on timeout (default 600 secs).
-
cloudify.nodes.etcd.Lock
Create and acquire or delete and release etcd lock, applicable for distributed operations. Additional operations acquirement_validation and refresh are available (see usage in examples/validate-lock-blueprint/blueprint.yaml).
-
cloudify.nodes.etcd.Member
Create/update/delete member from etcd cluster, disarm alarm raised by one member or all members.
| key name | value type |
|---|---|
| key | string |
| value | string |
| key name | sub-key name | value type |
|---|---|---|
| all_keys | fail_on_overwrite | boolean |
| all_keys | key | string |
| all_keys | value | string |
no runtime properties
| key name | value type |
|---|---|
| lock_key | string |
| lock_lease_id | long |
| lock_hex_uuid | string |
| key name | value type |
|---|---|
| member_id | long |
| peer_urls | list of strings |
etcd3 Python Library
Blueprints with etcd are located in examples directory. For other official blueprint examples using this Cloudify plugin, please see Cloudify Community Blueprints Examples.