def auto_assign_roles(self):
"""
Automatically assign roles to hosts and create the roles for all the services in a cluster.
Assignments are done based on services in the cluster and hardware specifications.
Existing roles will be taken into account and their assignments will be not be modified.
@since: API v6
"""
self._put("autoAssignRoles", None, api_version=6)
评论列表
文章目录