Skip to content
Snippets Groups Projects
Commit 04ccf5e9 authored by Guido Trotter's avatar Guido Trotter
Browse files

Collapse daemon's main function


With three ganeti daemons, and one or two more coming, the daemon's main
function started becoming too much cut&pasted code. Collapsing most of
it in a daemon.GenericMain function. Some more code could be collapsed
between the two http-based daemons, but since the new daemons won't be
http-based we won't do it right now.

As a bonus a functionality for overriding the network port on the
command line for all network based nodes is added.

Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
parent 83052f9e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment