ipaclient: implement thin client

Dynamically create plugin package for the remote server with modules and
commands based on the API schema when client API is finalizes. For in-tree
API instances, use ipalib.plugins directly.

https://fedorahosted.org/freeipa/ticket/4739

Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
Jan Cholasta committed 2016-06-03 09:00:34 +02:00
1 parent f5fd2b8750
commit ec841e5d7a
9 files changed
+352 -9

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
#
from . import schema
def get_package(api):
if api.env.in_tree:
from ipalib import plugins
else:
plugins = schema.get_package(api)
return plugins