<s> from senlinclient . common import sdk <EOL> class Client ( object ) : <EOL> def __init__ ( self , preferences = None , user_agent = None , ** kwargs ) : <EOL> self . conn = sdk . create_connection ( preferences , user_agent , ** kwargs ) <EOL> self . service = self . conn . cluster <EOL> def profile_types ( self , ** query ) : <EOL> """<STR_LIT>""" <EOL> return self . service . profile_types ( ** query ) <EOL> def get_profile_type ( self , profile_type ) : <EOL> """<STR_LIT>""" <EOL> return self . service . get_profile_type ( profile_type ) <EOL> def profiles ( self , ** query ) : <EOL> """<STR_LIT>""" <EOL> return self . service . profiles ( ** query ) <EOL> def create_profile ( self , ** attrs ) : <EOL> """<STR_LIT>""" <EOL> return self . service . create_profile ( ** attrs ) <EOL> def get_profile ( self , profile ) : <EOL> """<STR_LIT>""" <EOL> return self . service . get_profile ( profile ) <EOL> def update_profile ( self , profile , ** attrs ) : <EOL> """<STR_LIT>""" <EOL> return self . service . update_profile ( profile , ** attrs ) <EOL> def delete_profile ( self , profile , ignore_missing = True ) : <EOL> """<STR_LIT>""" <EOL> return self . service . delete_profile ( profile , ignore_missing ) <EOL> def policy_types ( self , ** query ) : <EOL> """<STR_LIT>""" <EOL> return self . service . policy_types ( ** query ) <EOL> def get_policy_type ( self , policy_type ) : <EOL> """<STR_LIT>""" <EOL> return self . service . get_policy_type ( policy_type ) <EOL> def policies ( self , ** query ) : <EOL> """<STR_LIT>""" <EOL> return self . service . policies ( ** query ) <EOL> def create_policy ( self , ** attrs ) : <EOL> """<STR_LIT>""" <EOL> return self . service . create_policy ( ** attrs ) <EOL> def get_policy ( self , policy ) : <EOL> """<STR_LIT>""" <EOL> return self . service . get_policy ( policy ) <EOL> def update_policy ( self , policy , ** attrs ) : <EOL> """<STR_LIT>""" <EOL> return self . service . update_policy ( policy , ** attrs ) <EOL> def delete_policy ( self , policy , ignore_missing = True ) : <EOL> """<STR_LIT>""" <EOL> return self . service . delete_policy ( policy , ignore_missing ) <EOL> def clusters ( self , ** queries ) : <EOL> """<STR_LIT>""" <EOL> return self . service . clusters ( ** queries ) <EOL> def create_cluster ( self , ** attrs ) : <EOL> """<STR_LIT>""" <EOL> return self . service . create_cluster ( ** attrs ) <EOL> def get_cluster ( self , cluster ) : <EOL> """<STR_LIT>""" <EOL> return self . service . get_cluster ( cluster ) <EOL> def update_cluster ( self , cluster , ** attrs ) : <EOL> """<STR_LIT>""" <EOL> return self . service . update_cluster ( cluster , ** attrs ) <EOL> def delete_cluster ( self , cluster , ignore_missing = True ) : <EOL> """<STR_LIT>""" <EOL> return self . service . delete_cluster ( cluster , ignore_missing ) <EOL> def cluster_add_nodes ( self , cluster , nodes ) : <EOL> """<STR_LIT>""" <EOL> return self . service . cluster_add_nodes ( cluster , nodes ) <EOL> def cluster_del_nodes ( self , cluster , nodes ) : <EOL> """<STR_LIT>""" <EOL> return self . service . cluster_del_nodes ( cluster , nodes ) <EOL> def cluster_resize ( self , cluster , ** params ) : <EOL> """<STR_LIT>""" <EOL> return self . service . cluster_resize ( cluster , ** params ) <EOL> def cluster_scale_out ( self , cluster , count ) : <EOL> """<STR_LIT>""" <EOL> return self . service . cluster_scale_out ( cluster , count ) <EOL> def cluster_scale_in ( self , cluster , count ) : <EOL> """<STR_LIT>""" <EOL> return self . service . cluster_scale_in ( cluster , count ) <EOL> def cluster_policies ( self , cluster , ** queries ) : <EOL> """<STR_LIT>""" <EOL> return self . service . cluster_policies ( cluster , ** queries ) <EOL> def get_cluster_policy ( self , policy , cluster ) : <EOL> """<STR_LIT>""" <EOL> return self . service . get_cluster_policy ( policy , cluster ) <EOL> def cluster_attach_policy ( self , cluster , policy , ** attrs ) : <EOL> """<STR_LIT>""" <EOL> return self . service . cluster_attach_policy ( cluster , policy , ** attrs ) <EOL> def cluster_detach_policy ( self , cluster , policy ) : <EOL> """<STR_LIT>""" <EOL> return self . service . cluster_detach_policy ( cluster , policy ) <EOL> def cluster_update_policy ( self , cluster , policy , ** attrs ) : <EOL> """<STR_LIT>""" <EOL> return self . service . cluster_update_policy ( cluster , policy , ** attrs ) <EOL> def check_cluster ( self , cluster , ** params ) : <EOL> """<STR_LIT>""" <EOL> return self . service . check_cluster ( cluster , ** params ) <EOL> def recover_cluster ( self , cluster , ** params ) : <EOL> """<STR_LIT>""" <EOL> return self . service . recover_cluster ( cluster , ** params ) <EOL> def nodes ( self , ** queries ) : <EOL> """<STR_LIT>""" <EOL> return self . service . nodes ( ** queries ) <EOL> def create_node ( self , ** attrs ) : <EOL> """<STR_LIT>""" <EOL> return self . service . create_node ( ** attrs ) <EOL> def get_node ( self , node , args = None ) : <EOL> """<STR_LIT>""" <EOL> return self . service . get_node ( node , args = args ) <EOL> def update_node ( self , node , ** attrs ) : <EOL> """<STR_LIT>""" <EOL> return self . service . update_node ( node , ** attrs ) <EOL> def delete_node ( self , node , ignore_missing = True ) : <EOL> """<STR_LIT>""" <EOL> return self . service . delete_node ( node , ignore_missing ) <EOL> def check_node ( self , node , ** params ) : <EOL> """<STR_LIT>""" <EOL> return self . service . check_node ( node , ** params ) <EOL> def recover_node ( self , node , ** params ) : <EOL> """<STR_LIT>""" <EOL> return self . service . recover_node ( node , ** params ) <EOL> def receivers ( self , ** queries ) : <EOL> """<STR_LIT>""" <EOL> return self . service . receivers ( ** queries ) <EOL> def create_receiver ( self , ** attrs ) : <EOL> """<STR_LIT>""" <EOL> return self . service . create_receiver ( ** attrs ) <EOL> def get_receiver ( self , receiver ) : <EOL> """<STR_LIT>""" <EOL> return self . service . get_receiver ( receiver ) <EOL> def delete_receiver ( self , receiver , ignore_missing = True ) : <EOL> """<STR_LIT>""" <EOL> return self . service . delete_receiver ( receiver , ignore_missing ) <EOL> def events ( self , ** queries ) : <EOL> """<STR_LIT>""" <EOL> return self . service . events ( ** queries ) <EOL> def get_event ( self , event ) : <EOL> """<STR_LIT>""" <EOL> return self . service . get_event ( event ) <EOL> def actions ( self , ** queries ) : <EOL> """<STR_LIT>""" <EOL> return self . service . actions ( ** queries ) <EOL> def get_action ( self , action ) : <EOL> """<STR_LIT>""" <EOL> return self . service . get_action ( action ) </s>
