libsolace.plugins.XMLAPI module¶
-
libsolace.plugins.XMLAPI.
XMLAPI
(fn)[source]¶ LEGACY XML API handles reading the XML configuiration from URL or FILE.
cmdbapi = libsolace.plugin_registry(settings.SOLACE_CMDB_PLUGIN) cmdbapi.configure(settings=settings) vpns = cmdbapi.get_vpns_by_owner(options.product, environment=options.env) users = cmdbapi.get_users_of_vpn(vpn[‘name’], environment=options.env) queues = cmdbapi.get_queues_of_vpn(vpn[‘name’], environment=options.env)