# packages

pkgId: 1c254aa3f332df943b9d08baa249032370ff55b06281099e49bca858e5182ec1
name: dnsmasq
arch: src
version: 2.79_calico1
epoch: 0
release: 2.el7.2
summary: A lightweight DHCP/caching DNS server
url: http://www.thekelleys.org.uk/dnsmasq/
rpm_license: GPLv2 or GPLv3
rpm_group: System Environment/Daemons
rpm_buildhost: f008bd9aed5c
location_href: src/dnsmasq-2.79_calico1-2.el7.2.src.rpm
checksum_type: sha256
description:
  Dnsmasq is lightweight, easy to configure DNS forwarder and DHCP server.
  It is designed to provide DNS and, optionally, DHCP, to a small network.
  It can serve the names of local machines which are not in the global
  DNS. The DHCP server integrates with the DNS server and allows machines
  with DHCP-allocated addresses to appear in the DNS with names configured
  either in each host or in a central configuration file. Dnsmasq supports
  static and dynamic DHCP leases and BOOTP for network booting of diskless
  machines.


pkgId: 0df546298e8c65ed94294ea5d56b245cf408dc49b98b63e60b5ed2da829af9ed
name: dnsmasq-debuginfo
arch: x86_64
version: 2.79_calico1
epoch: 0
release: 2.el7.2
summary: Debug information for package dnsmasq
url: http://www.thekelleys.org.uk/dnsmasq/
rpm_license: GPLv2 or GPLv3
rpm_group: Development/Debug
rpm_buildhost: f008bd9aed5c
rpm_sourcerpm: dnsmasq-2.79_calico1-2.el7.2.src.rpm
location_href: x86_64/dnsmasq-debuginfo-2.79_calico1-2.el7.2.x86_64.rpm
checksum_type: sha256
description:
  This package provides debug information for package dnsmasq.
  Debug information is useful when developing applications that use this
  package or when debugging this package.


pkgId: bf126be1cb7077dc20d267de9e2451ab1cc23925b92f74261e1f9f8cab79ada5
name: felix
arch: src
version: 3.31.0rc0.post436
epoch: 0
release: 1.el7
summary: Project Calico virtual networking for cloud data centers
url: http://projectcalico.org
rpm_license: ASL 2.0 and GPLv2
rpm_group: Unspecified
rpm_buildhost: 0e2f768e5ccd
location_href: src/felix-3.31.0rc0.post436-1.el7.src.rpm
checksum_type: sha256
description:
  Project Calico is an open source solution for virtual networking in
  cloud data centers. Its IP-centric architecture offers numerous
  advantages over other cloud networking approaches such as VLANs and
  overlays, including scalability, efficiency, and simplicity. It is
  designed for a wide range of environments including OpenStack,
  lightweight Linux containers (LXCs), bare metal, and Network Functions
  Virtualization (NFV).


pkgId: fce21eaa910593313a8410c37367bedea8604f6dd9611f80ac72caab5a191772
name: felix-debuginfo
arch: x86_64
version: 3.31.0rc0.post436
epoch: 0
release: 1.el7
summary: Debug information for package felix
url: http://projectcalico.org
rpm_license: ASL 2.0 and GPLv2
rpm_group: Development/Debug
rpm_buildhost: 0e2f768e5ccd
rpm_sourcerpm: felix-3.31.0rc0.post436-1.el7.src.rpm
location_href: x86_64/felix-debuginfo-3.31.0rc0.post436-1.el7.x86_64.rpm
checksum_type: sha256
description:
  This package provides debug information for package felix.
  Debug information is useful when developing applications that use this
  package or when debugging this package.


pkgId: f02fa38634abde0c3c3b556d6020ddd92db90487a716b5a27203f4e804a0f4bb
name: python-etcd
arch: noarch
version: 0.4.3
epoch: 0
release: 1
summary: A python client for etcd
url: http://github.com/jplana/python-etcd
rpm_license: MIT
rpm_vendor: Jose Plana <jplana@gmail.com>
rpm_group: Development/Libraries
rpm_buildhost: 7aa5783a47d5
rpm_sourcerpm: python-etcd-0.4.3-1.src.rpm
rpm_packager: Shaun Crampton <shaun@projectcalico.org>
location_href: noarch/python-etcd-0.4.3-1.noarch.rpm
checksum_type: sha256
description:
  python-etcd documentation
  =========================

  A python client for Etcd https://github.com/coreos/etcd

  Official documentation: http://python-etcd.readthedocs.org/

  .. image:: https://travis-ci.org/jplana/python-etcd.png?branch=master
     :target: https://travis-ci.org/jplana/python-etcd

  .. image:: https://coveralls.io/repos/jplana/python-etcd/badge.svg?branch=master&service=github
     :target: https://coveralls.io/github/jplana/python-etcd?branch=master

  Installation
  ------------

  Pre-requirements
  ~~~~~~~~~~~~~~~~

  Install etcd (2.0.1 or later). This version of python-etcd will only work correctly with the etcd version 2.0.x or later. If you are running an older version of etcd, please use python-etcd 0.3.3 or earlier.

  This client is known to work with python 2.7 and with python 3.3 or above. It is not tested or expected to work in more outdated versions of python.

  From source
  ~~~~~~~~~~~

  .. code:: bash

      $ python setup.py install

  Usage
  -----

  The basic methods of the client have changed compared to previous versions, to reflect the new API structure; however a compatibility layer has been maintained so that you don't necessarily need to rewrite all your existing code.

  Create a client object
  ~~~~~~~~~~~~~~~~~~~~~~

  .. code:: python

      import etcd

      client = etcd.Client() # this will create a client against etcd server running on localhost on port 4001
      client = etcd.Client(port=4002)
      client = etcd.Client(host='127.0.0.1', port=4003)
      client = etcd.Client(host='127.0.0.1', port=4003, allow_redirect=False) # wont let you run sensitive commands on non-leader machines, default is true
      
      client = etcd.Client(srv_domain='example.com', protocol="https")
      
      client = etcd.Client(host='api.example.com', protocol='https', port=443, version_prefix='/etcd')
  Write a key
  ~~~~~~~~~

  .. code:: python

      client.write('/nodes/n1', 1)
      
      client.write('/nodes/n2', 2, ttl=4)  # sets the ttl to 4 seconds
      client.set('/nodes/n2', 1) # Equivalent, for compatibility reasons.

  Read a key
  ~~~~~~~~~

  .. code:: python

      client.read('/nodes/n2').value
      client.read('/nodes', recursive = True) #get all the values of a directory, recursively.
      client.get('/nodes/n2').value

  Delete a key
  ~~~~~~~~~~~~

  .. code:: python

      client.delete('/nodes/n1')

  Atomic Compare and Swap
  ~~~~~~~~~~~~

  .. code:: python

      client.write('/nodes/n2', 2, prevValue = 4) # will set /nodes/n2 's value to 2 only if its previous value was 4 and
      client.write('/nodes/n2', 2, prevExist = False) # will set /nodes/n2 's value to 2 only if the key did not exist before
      client.write('/nodes/n2', 2, prevIndex = 30) # will set /nodes/n2 's value to 2 only if the key was last modified at index 30
      client.test_and_set('/nodes/n2', 2, 4) #equivalent to client.write('/nodes/n2', 2, prevValue = 4)

  You can also atomically update a result:

  .. code:: python

      result = client.read('/foo')
      print(result.value) # bar
      result.value += u'bar'
      updated = client.update(result) # if any other client wrote '/foo' in the meantime this will fail
      print(updated.value) # barbar

  Watch a key
  ~~~~~~~~~~~

  .. code:: python

      client.read('/nodes/n1', wait = True) # will wait till the key is changed, and return once its changed
      client.read('/nodes/n1', wait = True, timeout=30) # will wait till the key is changed, and return once its changed, or exit with an exception after 30 seconds.
      client.read('/nodes/n1', wait = True, waitIndex = 10) # get all changes on this key starting from index 10
      client.watch('/nodes/n1') #equivalent to client.read('/nodes/n1', wait = True)
      client.watch('/nodes/n1', index = 10)

  Locking module
  ~~~~~~~~~~~~~~

  .. code:: python

      
      
      client = etcd.Client()
      lock = etcd.Lock(client, 'my_lock_name')

      
      lock.acquire(blocking=True, # will block until the lock is acquired
            lock_ttl=None) # lock will live until we release it
      lock.is_acquired()  #
      lock.acquire(lock_ttl=60) # renew a lock
      lock.release() # release an existing lock
      lock.is_acquired()  # False

      
      client = etcd.Client()
      with etcd.Lock(client, 'customer1') as my_lock:
          do_stuff()
          my_lock.is_acquired()  # True
          my_lock.acquire(lock_ttl = 60)
      my_lock.is_acquired() # False


  Get machines in the cluster
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~

  .. code:: python

      client.machines

  Get leader of the cluster
  ~~~~~~~~~~~~~~~~~~~~~~~~~

  .. code:: python

      client.leader

  Generate a sequential key in a directory
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  .. code:: python

      x = client.write("/dir/name", "value", append=True)
      print("generated key: " + x.key)
      print("stored value: " + x.value)

  List contents of a directory
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  .. code:: python

      
      client.write("/dir/name", "value1", append=True)
      client.write("/dir/name", "value2", append=True)

      directory = client.get("/dir/name")

      
      for result in directory.children:
        print(result.key + ": " + result.value)

      
      print(directory.children.next().value)

  Development setup
  -----------------

  To create a buildout,

  .. code:: bash

      $ python bootstrap.py
      $ bin/buildout

  to test you should have etcd available in your system path:

  .. code:: bash

      $ bin/test

  to generate documentation,

  .. code:: bash

      $ cd docs
      $ make

  Release HOWTO
  -------------

  To make a release

      1) Update release date/version in NEWS.txt and setup.py
      2) Run 'python setup.py sdist'
      3) Test the generated source distribution in dist/
      4) Upload to PyPI: 'python setup.py sdist register upload'


  News
  ====

  0.4.3
  -----
  *Release date: 14-Dec-2015*

  * Fix check for parameters in case of connection error
  * Python 3.5 compatibility and general python3 cleanups
  * Added authentication and module for managing ACLs
  * Added srv record-based DNS discovery
  * Fixed (again) logging of cluster id changes
  * Fixed leader lookup
  * Properly retry request on exception
  * Client: clean up open connections when deleting

  0.4.2
  -----
  *Release date: 8-Oct-2015*

  * Fixed lock documentation
  * Fixed lock sequences due to etcd 2.2 change
  * Better exception management during response processing
  * Fixed logging of cluster ID changes
  * Fixed subtree results
  * Do not check cluster ID if etcd responses don't contain the ID
  * Added a cause to EtcdConnectionFailed


  0.4.1
  -----
  *Release date: 1-Aug-2015*

  * Added client-side leader election
  * Added stats endpoints
  * Added logging
  * Better exception handling
  * Check for cluster ID on each request
  * Added etcd.Client.members and fixed etcd.Client.leader
  * Removed locking and election etcd support
  * Allow the use of etcd proxies with reconnections
  * Implement pop: Remove key from etc and return the corresponding value.
  * Eternal watcher can be now recursive
  * Fix etcd.Client machines
  * Do not send parameters with `None` value to etcd
  * Support ttl=0 in write.
  * Moved pyOpenSSL into test requirements.
  * Always set certificate information so redirects from http to https work.


  0.3.3
  -----
  *Release date: 12-Apr-2015*

  * Forward leaves_only value in get_subtree() recursive calls
  * Fix README prevExists->prevExist
  * Added configurable version_prefix
  * Added support for recursive watch
  * Better error handling support (more detailed exceptions)
  * Fixed some unreliable tests


  0.3.2
  -----

  *Release date: 4-Aug-2014*

  * Fixed generated documentation version.


  0.3.1
  -----

  *Release date: 4-Aug-2014*

  * Added consisten read option
  * Fixed timeout parameter in read()
  * Added atomic delete parameter support
  * Fixed delete behaviour
  * Added update method that allows atomic updated on results
  * Fixed checks on write()
  * Added leaves generator to EtcdResult and get_subtree for recursive fetch
  * Added etcd_index to EtcdResult
  * Changed ethernal -> eternal
  * Updated urllib3 & pyOpenSSL libraries
  * Several performance fixes
  * Better parsing of etcd_index and raft_index
  * Removed duplicated tests
  * Added several integration and unit tests
  * Use etcd v0.3.0 in travis
  * Execute test using `python setup.py test` and nose


  0.3.0
  -----

  *Release date: 18-Jan-2014*

  * API v2 support
  * Python 3.3 compatibility


  0.2.1
  -----

  *Release data: 30-Nov-2013*

  * SSL support
  * Added support for subdirectories in results.
  * Improve test
  * Added support for reconnections, allowing death node tolerance.


  0.2.0
  -----

  *Release date: 30-Sep-2013*

  * Allow fetching of multiple keys (sub-nodes)


  0.1
  ---

  *Release date: 18-Sep-2013*

  * Initial release


pkgId: c573e390fee456a4471f4a078132041e19bcb3cdb40240c91bd677215950fd32
name: python-etcd3gw
arch: src
version: 0.2.4.1.19abd85
epoch: 0
release: 1.el7
summary: A python client for etcd3 grpc-gateway
url: https://github.com/dims/etcd3-gateway
rpm_license: ASL 2.0
rpm_group: Unspecified
rpm_buildhost: ebfb497dcb96
location_href: src/python-etcd3gw-0.2.4.1.19abd85-1.el7.src.rpm
checksum_type: sha256
description:
  A python client for etcd3 grpc-gateway. You will need one of the
  centos-release-openstack-<version> package to install python dependencies.


