Commit 4b06d701 authored by Petr Pudlak's avatar Petr Pudlak

Create a Python submodule for jqueue

.. so that we can add new code into separate files, instead of adding it
to jqueue.py, which has already grown too large.
Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent 0191874e
...@@ -83,6 +83,7 @@ clientdir = $(pkgpythondir)/client ...@@ -83,6 +83,7 @@ clientdir = $(pkgpythondir)/client
cmdlibdir = $(pkgpythondir)/cmdlib cmdlibdir = $(pkgpythondir)/cmdlib
hypervisordir = $(pkgpythondir)/hypervisor hypervisordir = $(pkgpythondir)/hypervisor
hypervisor_hv_kvmdir = $(pkgpythondir)/hypervisor/hv_kvm hypervisor_hv_kvmdir = $(pkgpythondir)/hypervisor/hv_kvm
jqueuedir = $(pkgpythondir)/jqueue
storagedir = $(pkgpythondir)/storage storagedir = $(pkgpythondir)/storage
httpdir = $(pkgpythondir)/http httpdir = $(pkgpythondir)/http
masterddir = $(pkgpythondir)/masterd masterddir = $(pkgpythondir)/masterd
...@@ -180,6 +181,7 @@ DIRS = \ ...@@ -180,6 +181,7 @@ DIRS = \
lib/client \ lib/client \
lib/cmdlib \ lib/cmdlib \
lib/confd \ lib/confd \
lib/jqueue \
lib/http \ lib/http \
lib/hypervisor \ lib/hypervisor \
lib/hypervisor/hv_kvm \ lib/hypervisor/hv_kvm \
...@@ -375,7 +377,6 @@ pkgpython_PYTHON = \ ...@@ -375,7 +377,6 @@ pkgpython_PYTHON = \
lib/errors.py \ lib/errors.py \
lib/hooksmaster.py \ lib/hooksmaster.py \
lib/ht.py \ lib/ht.py \
lib/jqueue.py \
lib/jstore.py \ lib/jstore.py \
lib/locking.py \ lib/locking.py \
lib/luxi.py \ lib/luxi.py \
...@@ -447,6 +448,9 @@ hypervisor_hv_kvm_PYTHON = \ ...@@ -447,6 +448,9 @@ hypervisor_hv_kvm_PYTHON = \
lib/hypervisor/hv_kvm/monitor.py \ lib/hypervisor/hv_kvm/monitor.py \
lib/hypervisor/hv_kvm/netdev.py lib/hypervisor/hv_kvm/netdev.py
jqueue_PYTHON = \
lib/jqueue/__init__.py
storage_PYTHON = \ storage_PYTHON = \
lib/storage/__init__.py \ lib/storage/__init__.py \
lib/storage/bdev.py \ lib/storage/bdev.py \
...@@ -1665,6 +1669,7 @@ all_python_code = \ ...@@ -1665,6 +1669,7 @@ all_python_code = \
$(cmdlib_PYTHON) \ $(cmdlib_PYTHON) \
$(hypervisor_PYTHON) \ $(hypervisor_PYTHON) \
$(hypervisor_hv_kvm_PYTHON) \ $(hypervisor_hv_kvm_PYTHON) \
$(jqueue_PYTHON) \
$(storage_PYTHON) \ $(storage_PYTHON) \
$(rapi_PYTHON) \ $(rapi_PYTHON) \
$(server_PYTHON) \ $(server_PYTHON) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment