libsolace.plugins.Utilities module¶
-
class
libsolace.plugins.Utilities.
Utilities
[source]¶ -
get_user_queues
(client_username, vpn_name)[source]¶ Get all queues and return filtered list of only queues who’s owner matches the username
Example:
>>> connection = SolaceAPI("dev") >>> results = connection.manage("Utilities").get_user_queues("dev_testproductA", "dev_testvpn") >>> results [u'testqueue1']
Parameters: - username – username to filter on
- vpn_name – vpn to filter on
Returns:
-
is_client_user_enabled
(client_username, vpn_name)[source]¶ Returns boolean if client username has client connections
- Example:
>>> connection = SolaceAPI("dev") >>> t = connection.rpc(connection.manage("SolaceUser").no_shutdown(client_username="dev_testproductA", vpn_name="dev_testvpn", force=True)) >>> results = connection.manage("Utilities").is_client_user_enabled("dev_testproductA", "dev_testvpn") >>> results True
-
is_client_user_inuse
(client_username, vpn_name)[source]¶ Returns boolean if client username has client
- Example:
>>> connection = SolaceAPI("dev") >>> results = connection.manage("Utilities").is_client_user_inuse("dev_testproductA", "dev_testvpn") >>> results True
-
plugin_name
= 'Utilities'¶
-
settings
= None¶
-