Commit 37494fa4 authored by Michael Hanselmann's avatar Michael Hanselmann

Move gnt-node to ganeti.client.gnt_node

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 7b3e7d41
......@@ -69,4 +69,5 @@
# scripts
/scripts/gnt-cluster
/scripts/gnt-debug
/scripts/gnt-node
/scripts/gnt-os
......@@ -141,6 +141,7 @@ client_PYTHON = \
lib/client/__init__.py \
lib/client/gnt_cluster.py \
lib/client/gnt_debug.py \
lib/client/gnt_node.py \
lib/client/gnt_os.py
hypervisor_PYTHON = \
......@@ -260,6 +261,7 @@ gnt_scripts = \
PYTHON_BOOTSTRAP = \
scripts/gnt-cluster \
scripts/gnt-debug \
scripts/gnt-node \
scripts/gnt-os
dist_sbin_SCRIPTS = \
......@@ -270,8 +272,7 @@ dist_sbin_SCRIPTS = \
daemons/ganeti-rapi \
scripts/gnt-backup \
scripts/gnt-instance \
scripts/gnt-job \
scripts/gnt-node
scripts/gnt-job
nodist_sbin_SCRIPTS = \
$(PYTHON_BOOTSTRAP) \
......
#!/usr/bin/python
#
#
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Google Inc.
......@@ -26,8 +26,6 @@
# W0614: Unused import %s from wildcard import (since we need cli)
# C0103: Invalid name gnt-node
import sys
from ganeti.cli import *
from ganeti import bootstrap
from ganeti import opcodes
......@@ -760,5 +758,5 @@ commands = {
}
if __name__ == '__main__':
sys.exit(GenericMain(commands, override={"tag_type": constants.TAG_NODE}))
def Main():
return GenericMain(commands, override={"tag_type": constants.TAG_NODE})
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