Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cc-node
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
cc-node
Commits
85073695
Commit
85073695
authored
13 years ago
by
Anael Beutot
Browse files
Options
Downloads
Patches
Plain Diff
Updated documentation.
parent
4e33955e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
docs/dev/source/architecture.rst
+48
-0
48 additions, 0 deletions
docs/dev/source/architecture.rst
docs/dev/source/conf.py
+5
-0
5 additions, 0 deletions
docs/dev/source/conf.py
docs/dev/source/host.rst
+2
-2
2 additions, 2 deletions
docs/dev/source/host.rst
with
55 additions
and
2 deletions
docs/dev/source/architecture.rst
+
48
−
0
View file @
85073695
...
...
@@ -4,6 +4,54 @@ 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
--------------------------------
.. 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:
This diff is collapsed.
Click to expand it.
docs/dev/source/conf.py
+
5
−
0
View file @
85073695
...
...
@@ -214,3 +214,8 @@ man_pages = [
(
'
index
'
,
'
cloudcontrolnode
'
,
u
'
Cloud Control node Documentation
'
,
[
u
'
Smartjog
'
],
1
)
]
# -- Options for autodoc ------------------------------------------------------
autoclass_content
=
'
both
'
autodoc_member_order
=
'
bysource
'
This diff is collapsed.
Click to expand it.
docs/dev/source/host.rst
+
2
−
2
View file @
85073695
...
...
@@ -7,8 +7,8 @@ Tags
.. automodule:: ccnode.host.tags
:members:
Handler
s
-------
-
Handler
-------
.. autoclass:: ccnode.host.Handler
:members:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment