Skip to content
Snippets Groups Projects
architecture.rst 874 B
Newer Older
Architecture
============

Start up proccess
-----------------

Anael Beutot's avatar
Anael Beutot committed
See ``bin/cc-node``.

Summary of the steps:

Anael Beutot's avatar
Anael Beutot committed
Binary:

Anael Beutot's avatar
Anael Beutot committed
* First parse command line options and configuration file
* Switch to a daemon context
Anael Beutot's avatar
Anael Beutot committed
* Instanciate and launch a :class:`ccnode.node.MainLoop`

Organisation of modules/packages
--------------------------------
Anael Beutot's avatar
Anael Beutot committed
.. tree ../../ccnode | grep -v \.pyc | grep -v \\.\\.

Anael Beutot's avatar
Anael Beutot committed
.. code-block:: text

    |-- config.py
    |-- exc.py
    |-- host
    |   |-- __init__.py
    |   |-- tags.py
    |-- hypervisor
Anael Beutot's avatar
Anael Beutot committed
    |   |-- domains
    |   |   |-- __init__.py
    |   |   |-- vm_tags.py
Anael Beutot's avatar
Anael Beutot committed
    |   |-- __init__.py
Anael Beutot's avatar
Anael Beutot committed
    |   |-- lib.py
    |   |-- tags.py
Anael Beutot's avatar
Anael Beutot committed
    |-- __init__.py
    |-- jobs.py
    |-- node.py
Anael Beutot's avatar
Anael Beutot committed
    |-- plugins.py
Anael Beutot's avatar
Anael Beutot committed
    |-- tags.py
    |-- utils.py

TODO

Node
----

.. automodule:: ccnode.node
    :members:

Tags
----

.. automodule:: ccnode.tags
    :members: