Skip to content

jakubcierlik/cloudify-etcd-plugin

Repository files navigation

cloudify-etcd-plugin

A Cloudify Plugin interacting with etcd.

Usage

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.

Runtime properties

KeyValuePair

key name value type
key string
value string

KeyValuePairs

key name sub-key name value type
all_keys fail_on_overwrite boolean
all_keys key string
all_keys value string

WatchKey

no runtime properties

Lock

key name value type
lock_key string
lock_lease_id long
lock_hex_uuid string

Member

key name value type
member_id long
peer_urls list of strings

Requirements

etcd3 Python Library

Examples

Blueprints with etcd are located in examples directory. For other official blueprint examples using this Cloudify plugin, please see Cloudify Community Blueprints Examples.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published