Newer
Older
Architecture
============
Start up proccess
-----------------
See ``bin/cc-node``.
Summary of the steps:
* First parse command line options and configuration file
* Then register signal handling for ``SIG_USR1`` (reload configuration) and
``SIG_TERM`` (terminate process).
* Switch to a daemon context
* Reload logging configuration
* Instanciate and launch a :class:`ccnode.node.Node` in background
* Enter main loop that consist of waiting for signals and reloading configuration
if needed.
Organisation of modules/packages
--------------------------------
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.. code-block:: text
|-- config.py
|-- exc.py
|-- host
| |-- __init__.py
| |-- tags.py
|-- hypervisor
| |-- __init__.py
| `-- tags.py
|-- __init__.py
|-- jobs.py
|-- node.py
|-- tags.py
|-- utils.py
TODO
Node
----
Summary of the :class:`ccnode.node.Node` main loop:
* TODO
.. automodule:: ccnode.node
:members:
Tags
----
.. automodule:: ccnode.tags
:members: