For now Tooz is composed of a simple API and use ZooKeeper as the first backend. The current API provide the group membership protocol like 'servicegroup' in Nova, we enriched it by adding the notion of capabilities. The API is currently synchronous, we plan to design an asynchronous one. The notification mechanism is not yet available. Please read the associated blueprint for more details: https://wiki.openstack.org/wiki/Oslo/blueprints/service-sync All new backends must implement api.CoordinationDriver and validate the unit tests. Tooz will provide a unique unit-tests suite which will be run against all backends. Change-Id: I4e4cefb52cf6c39a3f6ba35ab1d4ef34a77b5811
25 lines
783 B
Python
25 lines
783 B
Python
#!/usr/bin/env python
|
|
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
# implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
|
|
|
|
import setuptools
|
|
|
|
|
|
setuptools.setup(
|
|
setup_requires=['pbr'],
|
|
pbr=True)
|