The AXL class sets up the connection to the call manager with methods for configuring UCM. Tested with environment of; Python 3.6

add_route_group(self, name, distribution_algorithm='Top Down', members=[])

Add a route group :param name: Route group name :param distribution_algorithm: Top Down/Circular :param members: A list of devices to add (must already exist DUH!)

add_route_list(self, name, description='', cm_group_name='Default', route_list_enabled='true', run_on_all_nodes='false', members=[])

Add a route list :param name: Route list name :param description: Route list description :param cm_group_name: Route list call mangaer group name :param route_list_enabled: Enable route list :param run_on_all_nodes: Run route list on all nodes :param members: A list of route groups :return: Result dictionary

add_srst(self, name, ip_address, port=2000, sip_port=5060)

Add SRST :param name: SRST name :param ip_address: SRST ip address :param port: SRST port :param sip_port: SIP port :return: result dictionary

delete_route_group(self, **args)

Delete a Route group :param name: The name of the Route group to delete :return: result dictionary

delete_route_list(self, **args)

Delete a Route list :param name: The name of the Route list to delete :param uuid: The uuid of the Route list to delete :return: result dictionary

delete_srst(self, name)

Delete a SRST :param name: The name of the SRST to delete :return: result dictionary

get_route_group(self, **args)

Get route group :param name: route group name :param uuid: route group uuid :return: result dictionary

get_route_groups(self, tagfilter={'name': '', 'distributionAlgorithm': ''})

Get route groups :param mini: return a list of tuples of route group details :return: A list of dictionary's

get_route_list(self, **args)

Get route list :param name: route list name :param uuid: route list uuid :return: result dictionary

get_route_lists(self, tagfilter={'name': '', 'description': ''})

Get route lists :param mini: return a list of tuples of route list details :return: A list of dictionary's

get_srst(self, **args)

Get SRST information :param name: SRST name :return: result dictionary

get_srsts(self, tagfilter={'uuid': ''})

Get all SRST details :param mini: return a list of tuples of SRST details :return: A list of dictionary's

update_route_group(self, **args)

Update a Route group :param name: The name of the Route group to update :param distribution_algorithm: Top Down/Circular :param members: A list of devices to add (must already exist DUH!) :return: result dictionary

update_route_list(self, **args)

Update a Route list :param name: The name of the Route list to update :param uuid: The uuid of the Route list to update :param description: Route list description :param cm_group_name: Route list call mangaer group name :param route_list_enabled: Enable route list :param run_on_all_nodes: Run route list on all nodes :param members: A list of route groups :return: result dictionary

update_srst(self, name, newName='')

Update a SRST :param srst: The name of the SRST to update :param newName: The new name of the SRST :return: result dictionary