<s> from sahara . plugins . cdh . client . services import ApiService <EOL> from sahara . plugins . cdh . client import types <EOL> class ClouderaManager ( types . BaseApiResource ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , resource_root ) : <EOL> types . BaseApiObject . init ( self , resource_root ) <EOL> def _path ( self ) : <EOL> return '<STR_LIT>' <EOL> def create_mgmt_service ( self , service_setup_info ) : <EOL> """<STR_LIT>""" <EOL> return self . _put ( "<STR_LIT>" , ApiService , data = service_setup_info ) <EOL> def get_service ( self ) : <EOL> """<STR_LIT>""" <EOL> return self . _get ( "<STR_LIT>" , ApiService ) <EOL> def hosts_start_roles ( self , host_names ) : <EOL> """<STR_LIT>""" <EOL> return self . _cmd ( '<STR_LIT>' , data = host_names ) </s>
