Repository : http://git.fedorahosted.org/cgit/cura-tools.git
On branch : master
commit 77bb73e6c04f13aeb8950070171623c034800143 Author: Peter Hatina phatina@redhat.com Date: Mon Oct 29 21:00:58 2012 +0100
add _LmiShell::namespaces()
cli-tools/lmi/lmi_client_shell.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/cli-tools/lmi/lmi_client_shell.py b/cli-tools/lmi/lmi_client_shell.py index 97099a9..45cd7f4 100644 --- a/cli-tools/lmi/lmi_client_shell.py +++ b/cli-tools/lmi/lmi_client_shell.py @@ -260,6 +260,9 @@ class LmiShell(object): def __init__(self, hostname, username = "", password = ""): self.m_shell_client = _LmiShellClient(hostname, username, password)
+ def namespaces(self): + return ["root", "cimv2", "interop"] + def printNamespaces(self): sys.stdout.write("root\n") sys.stdout.write("cimv2\n")