query
stringlengths
9
3.4k
document
stringlengths
9
87.4k
metadata
dict
negatives
listlengths
4
101
negative_scores
listlengths
4
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Creates remote syslog. API documentation was incomplete when this was created! [Arguments]
def fusion_api_configure_remote_syslog(self, body, api=None, headers=None): return self.remote_syslog.create(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def syslog_source(handle, faults=\"enabled\", audits=\"enabled\",\n events=\"enabled\"):\n\n from ucsmsdk.mometa.comm.CommSyslogSource import CommSyslogSource\n\n mo = CommSyslogSource(parent_mo_or_dn=\"sys/svc-ext/syslog\",\n faults=faults,\n ...
[ "0.6110804", "0.6035433", "0.5958222", "0.58643603", "0.5857156", "0.58214575", "0.5620683", "0.55518126", "0.5456826", "0.53790456", "0.53560174", "0.52599466", "0.524096", "0.51989275", "0.5180635", "0.5104847", "0.49666247", "0.49389327", "0.4907948", "0.4890985", "0.48505...
0.7081112
0
This handles update for remote syslog configuration. Configures the devices managed by OneView. [Arguments]
def fusion_api_update_remote_syslog_configuration(self, body, api=None, headers=None, param=None): return self.remote_syslog.update(body, api, headers, param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_configure_remote_syslog(self, body, api=None, headers=None):\n return self.remote_syslog.create(body, api, headers)", "def set_rsyslog_new_configuration():\n with open(rsyslog_conf_path, \"rt\") as fin:\n with open(\"tmp.txt\", \"wt\") as fout:\n for line in fin:\n ...
[ "0.6466546", "0.60999686", "0.59437025", "0.59193707", "0.58530056", "0.5824026", "0.57210904", "0.56041205", "0.5596374", "0.5579762", "0.5573274", "0.5550738", "0.54969245", "0.54969096", "0.5486056", "0.54306436", "0.53711075", "0.5369695", "0.52771443", "0.52151686", "0.5...
0.666714
0
Deletes remote syslog. API documentation was incomplete when this was created! [Arguments]
def fusion_api_delete_remote_syslog(self, logId, param='', api=None, headers=None): return self.remote_syslog.delete(logId, param, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_syslog_server(client_session):\n\n cfg_result = client_session.delete('systemSyslogServer')\n\n if cfg_result['status'] == 204:\n return True\n else:\n return False", "def do_command(self, args):\n hostops = dbops.Hosts()\n hostops.delete(args)", "def remove_host...
[ "0.6933873", "0.55352473", "0.5523793", "0.5316745", "0.53076696", "0.5305567", "0.5293623", "0.529209", "0.52332973", "0.5202621", "0.520213", "0.51900214", "0.516378", "0.5133967", "0.5122535", "0.5119516", "0.510821", "0.50966215", "0.5096111", "0.5096111", "0.5094397", ...
0.78789526
0
Gets current remote syslog configuration. [Example] ${resp} = Fusion Api Get Remote Syslog Configuration | | |
def fusion_api_get_remote_syslog_configuration(self, api=None, headers=None, param=None): return self.remote_syslog.get(api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_config(req):\n #try:\n # user_id = req.user\n #except KeyError as e:\n # msg = req.get_error_msg(e)\n # return send_error_response(msg)\n try:\n config = tools_config_get_config(req)\n except Exception:\n raise http_exc.HTTPClientError()\n else:\n retur...
[ "0.62976795", "0.6167217", "0.6033852", "0.59730315", "0.5912881", "0.5785239", "0.5746285", "0.57154125", "0.56996685", "0.5613018", "0.5584446", "0.55679035", "0.5522165", "0.5490448", "0.5458008", "0.54465896", "0.54264456", "0.54160213", "0.5399005", "0.53983384", "0.5397...
0.7612827
0
Starts a restore operation with the specified backup file. The backup must be uploaded to the appliance prior to running this command. Only one restore can run at a time. [Arguments]
def fusion_api_restore_backup(self, body, api=None, headers=None): return self.restore.start(body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def RestoreDatabase(self, database, backupfile, arguments, result):\n\n self.RunProgram(\"\\\"\"+self.__context[\"gbak_path\"]+\"\\\"\",\n [ self.__context[\"gbak_path\"] ] + [ \"-C \", backupfile ]\n + arguments + [ database ],\n \"\", se...
[ "0.6499653", "0.602087", "0.6014986", "0.5956169", "0.5944838", "0.5940569", "0.5908655", "0.58994395", "0.5862466", "0.5820039", "0.57980025", "0.57876617", "0.5773833", "0.5658855", "0.55319834", "0.5521285", "0.5485264", "0.54734033", "0.5272756", "0.5263257", "0.5249183",...
0.4618387
79
Gets the status of a restore operation in progress. [Arguments]
def fusion_api_get_restore_status(self, param='', uri=None, api=None, headers=None): return self.restore.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def status(self):\n\t\tstatus = self.thread.status()\n#\t\tprint_array(status)\n\t\tmessage = [\"------ RSYNC PROGRESS ------ \"]\n\t\tif self.log_message:\n\t\t\tmessage.append(self.log_message)\n\t\tmessage.append(\"Current file: %s\" % status['current_file'])\n\t\tmessage.append(\"\\tBytes Copied: %s\" % status...
[ "0.5846356", "0.58421576", "0.5776214", "0.57326394", "0.57296395", "0.5717693", "0.56996727", "0.5607198", "0.5600936", "0.5580905", "0.5555841", "0.5540521", "0.55308956", "0.5523478", "0.550687", "0.5484425", "0.5476827", "0.5472633", "0.54699814", "0.5460195", "0.545215",...
0.706412
0
Gets a default or paginated collection of Roles. [Arguments]
def fusion_api_get_roles(self, uri=None, param='', api=None, headers=None): return self.roles.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list(self, **kwargs):\n params = {}\n url = '/openstack/roles?%(params)s' % {\n 'params': parse.urlencode(params, True)\n }\n return self._list(url, 'roles')", "def roles(self):\n params = {\n \"f\" : \"json\"\n }\n uURL = self._url + \"/role...
[ "0.7294089", "0.7283722", "0.7249293", "0.7162392", "0.7091656", "0.7085449", "0.7071047", "0.70681936", "0.70247436", "0.694641", "0.6867847", "0.68455917", "0.68355274", "0.6821217", "0.68132764", "0.6795095", "0.6785461", "0.6781384", "0.6732621", "0.6701002", "0.6664451",...
0.6809891
15
Adds (POST) a role to a group. [Arguments]
def fusion_api_add_role_to_group(self, body, api=None, headers=None): return self.roles.add_role_to_group(body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def set_role(userid, role, group, request=None):", "def collection_post(request):\n\n # Our account parameter\n account = request.matchdict['id_account']\n\n # Our JSON parameter, this could be validated\n json = request.json_body\n role = json['role']\n\n # Our admin object\n admin = _get_a...
[ "0.7215559", "0.6994631", "0.67107433", "0.67042166", "0.6628243", "0.6578587", "0.6577107", "0.6516352", "0.64909977", "0.6490786", "0.6464874", "0.645932", "0.64541274", "0.6426402", "0.64008707", "0.63850546", "0.637715", "0.6374156", "0.6301998", "0.62843347", "0.6276652"...
0.72560054
0
Removes (DELETE) a role from a login domain. [Arguments]
def fusion_api_del_role_from_group(self, domain=None, group=None, api=None, headers=None): return self.roles.del_role_from_group(domain, group, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def role_delete(\n login_manager: LoginManager, *, role_id: str, endpoint_id: uuid.UUID\n) -> None:\n transfer_client = login_manager.get_transfer_client()\n res = transfer_client.delete_endpoint_role(endpoint_id, role_id)\n display(res, text_mode=TextMode.text_raw, response_key=\"message\")", "def r...
[ "0.7130741", "0.7010189", "0.6991265", "0.69020045", "0.67967075", "0.67798764", "0.6731363", "0.6693348", "0.66913", "0.655534", "0.65211135", "0.64939517", "0.6445781", "0.6389531", "0.6376488", "0.633943", "0.632465", "0.63149333", "0.6312517", "0.62897366", "0.6262344", ...
0.5759326
62
Gets a default or paginated collection of SAS Interconnect Types. [Arguments]
def fusion_api_get_sas_interconnect_types(self, uri=None, param='', api=None, headers=None): return self.sasictypes.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_interconnect_types(self, param='', api=None, headers=None):\n return self.ictypes.get(api=api, headers=headers, param=param)", "def fusion_api_get_sas_interconnects(self, uri=None, param='', api=None, headers=None):\n return self.sasics.get(uri=uri, api=api, headers=heade...
[ "0.685289", "0.60499066", "0.5813711", "0.57985103", "0.569108", "0.5689285", "0.5627344", "0.5624865", "0.55435634", "0.54477674", "0.5333183", "0.52820915", "0.5249448", "0.524886", "0.52481085", "0.52208096", "0.5203648", "0.5190318", "0.5188795", "0.5187444", "0.5154192",...
0.7134632
0
Gets a default or paginated collection of SAS Interconnects [Arguments]
def fusion_api_get_sas_interconnects(self, uri=None, param='', api=None, headers=None): return self.sasics.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_sas_interconnect_types(self, uri=None, param='', api=None, headers=None):\n return self.sasictypes.get(uri=uri, api=api, headers=headers, param=param)", "def describe_interconnects(interconnectId=None):\n pass", "def get_analysis_iocs():\n sample_id = demisto.getArg('id')\n ...
[ "0.5350622", "0.5300352", "0.5278391", "0.519298", "0.50592476", "0.5055075", "0.49493715", "0.4927237", "0.48888415", "0.48766434", "0.48765424", "0.48755267", "0.4841486", "0.48072767", "0.47609085", "0.47599703", "0.47382537", "0.47320825", "0.47285804", "0.47160056", "0.4...
0.6775317
0
Updates a SAS Interccnnect network using the PATCH http verb. [Arguments]
def fusion_api_patch_sas_interconnect(self, body=None, uri=None, api=None, headers=None): return self.sasics.patch(body=body, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def put(self, request, nnid):\n try:\n input_parm = request.data\n input_parm['nn_id'] = nnid\n if input_parm.get('automl_parms') == None:\n input_parm['automl_parms'] = {}\n if input_parm.get('automl_runtime') == None:\n input_parm['...
[ "0.6164079", "0.6120301", "0.6052293", "0.6029933", "0.60159516", "0.5883308", "0.58623165", "0.58317304", "0.58294815", "0.5728571", "0.57090384", "0.5699665", "0.5691068", "0.56820774", "0.56450135", "0.558998", "0.5550095", "0.54818064", "0.5452536", "0.5440085", "0.540958...
0.5900662
5
Deletes a SAS Interconnect from the appliance based on name OR uri [Arguments]
def fusion_api_delete_sas_interconnect(self, name=None, uri=None, api=None, headers=None): return self.sasics.delete(name=name, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_delete_sas_lig(self, name=None, uri=None, api=None, headers=None):\n return self.saslig.delete(name=name, uri=uri, api=api, headers=headers)", "def fusion_api_delete_sas_li(self, name=None, uri=None, api=None, headers=None):\n return self.sasli.delete(name=name, uri=uri, api=...
[ "0.71534884", "0.70916635", "0.6285682", "0.6112178", "0.60924864", "0.6046912", "0.6028701", "0.60073143", "0.5985514", "0.597276", "0.59508693", "0.59472984", "0.5895157", "0.5878184", "0.58633906", "0.5862751", "0.5804604", "0.5801492", "0.576765", "0.5736654", "0.56880414...
0.8076723
0
Refreshes a SAS Interconnect using the PATCH http verb. [Arguments]
def fusion_api_refresh_sas_interconnect(self, body=None, uri=None, param='', api=None, headers=None): param = "/refreshState%s" % param return self.sasics.patch(body=body, uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_patch_sas_interconnect(self, body=None, uri=None, api=None, headers=None):\n return self.sasics.patch(body=body, uri=uri, api=api, headers=headers)", "def fusion_api_patch_interconnect(self, body, uri, param='', api=None, headers=None):\n return self.ic.patch(body=body, uri=u...
[ "0.6675101", "0.627341", "0.6237193", "0.6141386", "0.6027831", "0.5904484", "0.58985615", "0.5815906", "0.5799898", "0.57866615", "0.5774356", "0.5731663", "0.5718279", "0.57136154", "0.5711923", "0.5688395", "0.55969775", "0.5579017", "0.55683225", "0.55654866", "0.5550302"...
0.65348923
1
Gets a default or paginated collection of SAS Interconnects [Arguments]
def fusion_api_put_sas_interconnects(self, body=None, uri=None, param='', api=None, headers=None): return self.sasics.put(body=body, uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_sas_interconnects(self, uri=None, param='', api=None, headers=None):\n return self.sasics.get(uri=uri, api=api, headers=headers, param=param)", "def fusion_api_get_sas_interconnect_types(self, uri=None, param='', api=None, headers=None):\n return self.sasictypes.get(uri=u...
[ "0.6775317", "0.5350622", "0.5300352", "0.5278391", "0.519298", "0.50592476", "0.5055075", "0.49493715", "0.4927237", "0.48888415", "0.48766434", "0.48765424", "0.48755267", "0.4841486", "0.48072767", "0.47609085", "0.47599703", "0.47382537", "0.47320825", "0.47285804", "0.47...
0.0
-1
Creates an LIG [Arguments]
def fusion_api_create_sas_lig(self, body, api=None, headers=None): return self.saslig.create(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __init__(self, *args):\n _snap.TLFlt_swiginit(self, _snap.new_TLFlt(*args))", "def get_random_ligpy_args():\n rand_index = np.random.randint(0, 249999)\n args = ligpy_args[rand_index]\n end_time = float(args.split(' ')[0])\n output_time_step = float(args.split(' ')[1])\n cool_time = int...
[ "0.6057531", "0.5863742", "0.58007115", "0.57922035", "0.5783555", "0.5744198", "0.5681728", "0.5664148", "0.5595291", "0.5555712", "0.5532488", "0.5522017", "0.5501408", "0.5484412", "0.54680574", "0.5461835", "0.5402693", "0.53927493", "0.53745073", "0.5372624", "0.5371233"...
0.0
-1
Updates an LIG [Arguments]
def fusion_api_edit_sas_lig(self, body, uri, api=None, headers=None): return self.saslig.update(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update(*args):", "def update(self, args):\n pass", "def update(self, arguments):\n puts_err(colored.red(\"Not implemented!\"))", "def update(self, *args, **kwargs): # real signature unknown\n pass", "def update(self, *args, **kwargs): # real signature unknown\n pass", "def...
[ "0.70479476", "0.677809", "0.6689543", "0.6303679", "0.6303679", "0.6303679", "0.6303679", "0.6303679", "0.6303679", "0.62300766", "0.6194118", "0.6106313", "0.60123366", "0.60123366", "0.5883683", "0.581978", "0.57465345", "0.5744852", "0.57426935", "0.57426935", "0.57426935...
0.0
-1
Creates a completed SAS LIG request body [Arguments]
def fusion_api_create_sas_lig_payload(self, body, api=None): return self.saslig.make_body(body=body, api=api)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def LATCH_create(bytes=None, rotationInvariance=None, half_ssd_size=None, sigma=None): # real signature unknown; restored from __doc__\n pass", "def fusion_api_create_sas_lig(self, body, api=None, headers=None):\n return self.saslig.create(body, api, headers)", "def post(self):\n parser = ...
[ "0.6090915", "0.60387844", "0.57954663", "0.5706829", "0.5560434", "0.5415134", "0.53773665", "0.50657904", "0.50618273", "0.50520015", "0.5018075", "0.48289573", "0.48109937", "0.48109937", "0.48109937", "0.4776612", "0.4772994", "0.47353542", "0.47049215", "0.46958983", "0....
0.6312348
0
Deletes a SAS LIG from the appliance based on name OR uri [Arguments]
def fusion_api_delete_sas_lig(self, name=None, uri=None, api=None, headers=None): return self.saslig.delete(name=name, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_delete_sas_li(self, name=None, uri=None, api=None, headers=None):\n return self.sasli.delete(name=name, uri=uri, api=api, headers=headers)", "def fusion_api_delete_sas_interconnect(self, name=None, uri=None, api=None, headers=None):\n return self.sasics.delete(name=name, uri=...
[ "0.71557397", "0.6853078", "0.66669387", "0.6061135", "0.58285147", "0.58012325", "0.5788677", "0.57693595", "0.5742112", "0.5723283", "0.5683105", "0.559175", "0.5587851", "0.5586312", "0.55806655", "0.5496503", "0.547739", "0.54621804", "0.5460287", "0.5457482", "0.5445741"...
0.7343126
0
Gets a default or paginated collection of SAS LIGs. [Arguments]
def fusion_api_get_sas_lig(self, uri=None, param='', api=None, headers=None): return self.saslig.get(uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_sas_li(self, uri=None, param='', api=None, headers=None):\n return self.sasli.get(uri=uri, param=param, api=api, headers=headers)", "def get_germplasm(\n germplasm_p_u_i: Optional[str] = Query(None, alias='germplasmPUI'),\n germplasm_db_id: Optional[str] = Query(None, alias='g...
[ "0.54681677", "0.5346564", "0.50200975", "0.49903435", "0.49566144", "0.4935703", "0.4877357", "0.48610568", "0.48533508", "0.4820069", "0.47606888", "0.47584435", "0.47086406", "0.46721065", "0.4647679", "0.4641318", "0.4630326", "0.46137437", "0.4609929", "0.4598526", "0.45...
0.5688966
0
Deletes a SAS LI [Arguments]
def fusion_api_delete_sas_li(self, name=None, uri=None, api=None, headers=None): return self.sasli.delete(name=name, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_command(arguments: List[str]) -> None:\n if len(arguments) != 2:\n print('Required 1 argument for create command') # noqa: WPS421\n return\n token = token_load.load()\n logic.delete(token, gist_id=arguments[1])", "def delete(log, args):\n log('dataset id: {highlight}{id}{res...
[ "0.68888885", "0.6647529", "0.6490593", "0.64002407", "0.6385851", "0.62930906", "0.62801945", "0.6230487", "0.6218175", "0.60973996", "0.6096202", "0.606404", "0.60172856", "0.59568644", "0.59202605", "0.5916887", "0.59123135", "0.587879", "0.5875267", "0.58624417", "0.58624...
0.688791
1
Gets a default or paginated collection of SAS LIs. [Arguments]
def fusion_api_get_sas_li(self, uri=None, param='', api=None, headers=None): return self.sasli.get(uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_sas_lig(self, uri=None, param='', api=None, headers=None):\n return self.saslig.get(uri=uri, param=param, api=api, headers=headers)", "def getLSLimits(*args):\n return args[0].Limit.LSLimit.ls_limit", "def fusion_api_get_ls(self, uri=None, api=None, headers=None, param=''):\n ...
[ "0.54077476", "0.5360556", "0.5235915", "0.51525134", "0.5136321", "0.5049862", "0.50423014", "0.5024832", "0.49565122", "0.4950418", "0.48724526", "0.48694488", "0.48643297", "0.48579445", "0.4847231", "0.48399895", "0.48339093", "0.48093602", "0.47833169", "0.4780453", "0.4...
0.57464606
0
Gets a default or paginated collection of SAS LI firmware. [Arguments]
def fusion_api_get_sas_li_firmware(self, uri=None, param='', api=None, headers=None): param = "/firmware%s" % param return self.sasli.get(uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_firmware_driver(self, uri=None, api=None, headers=None, param=''):\n return self.driver.get(uri, api, headers, param)", "def fusion_api_get_sas_li(self, uri=None, param='', api=None, headers=None):\n return self.sasli.get(uri=uri, param=param, api=api, headers=headers)", ...
[ "0.549111", "0.5478683", "0.52667654", "0.5174764", "0.5122465", "0.50894815", "0.5063932", "0.5050597", "0.50475633", "0.50427073", "0.49999896", "0.49472106", "0.492481", "0.49211743", "0.49103346", "0.49046096", "0.4892888", "0.48668748", "0.4803468", "0.47868672", "0.4765...
0.6767854
0
Updates firmware version at SAS LI level [Arguments]
def fusion_api_update_sas_li_firmware(self, body=None, uri=None, api=None, headers=None): param = "/firmware" # put method expecting a param return self.sasli.put(body=body, uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_firmware(self) -> str:", "def update_firmware(self):\n self.execute_command(CMD_UPDATE_FIRMWARE)", "def test_update_hyperflex_server_firmware_version(self):\n pass", "def fusion_api_li_upgrade_firmware(self, body=None, uri=None, api=None, param='', headers=None):\n param =...
[ "0.6721093", "0.6390751", "0.6245892", "0.6235505", "0.6177231", "0.6128813", "0.60253954", "0.59308136", "0.58799857", "0.567592", "0.5666956", "0.56505394", "0.56154436", "0.5589643", "0.555782", "0.5555887", "0.5537382", "0.5532053", "0.55271924", "0.54803526", "0.54580677...
0.6364493
2
Gets a default or paginated collection of SAS LI LDEs. [Arguments]
def fusion_api_get_sas_li_logical_drive_enclosures(self, uri=None, param='', api=None, headers=None): param = "/logical-drive-enclosures%s" % param return self.sasli.get(uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getLSData(*args):\n return args[0].Data.LSData.ls_data", "def fusion_api_get_sas_li(self, uri=None, param='', api=None, headers=None):\n return self.sasli.get(uri=uri, param=param, api=api, headers=headers)", "def fusion_api_get_ls(self, uri=None, api=None, headers=None, param=''):\n ...
[ "0.56475836", "0.56291026", "0.557851", "0.54363054", "0.5368074", "0.53320915", "0.52732414", "0.52584374", "0.5112969", "0.509661", "0.5058318", "0.50386673", "0.50330955", "0.49668038", "0.49591973", "0.49292752", "0.49048197", "0.4898751", "0.48971295", "0.48881045", "0.4...
0.46515453
47
Updates an SAS LI using the PATCH http verb. [Arguments]
def fusion_api_patch_sas_li(self, body=None, uri=None, api=None, headers=None): return self.sasli.patch(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_edit_sas_lig(self, body, uri, api=None, headers=None):\n return self.saslig.update(body, uri, api, headers)", "def fusion_api_edit_lsg(self, body, uri, api=None, headers=None):\n return self.lsg.update(body, uri, api, headers)", "def fusion_api_patch_li(self, body=None, uri...
[ "0.66501045", "0.6501658", "0.6482534", "0.6376553", "0.61542445", "0.61509186", "0.6102513", "0.6058553", "0.60585386", "0.605659", "0.6009829", "0.6008479", "0.60002446", "0.5970388", "0.5948214", "0.5940603", "0.5939549", "0.5936347", "0.5934847", "0.59218144", "0.59098595...
0.73917496
0
Updates the SAS LI to match its SAS LIG [Arguments]
def fusion_api_update_sas_li_from_group(self, uri=None, api=None, headers=None): param = '/compliance' return self.sasli.put(body=None, uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_edit_sas_lig(self, body, uri, api=None, headers=None):\n return self.saslig.update(body, uri, api, headers)", "def setLSData(*args):\n args[0].Data.LSData.lc_data = args[1]", "def fusion_api_patch_sas_li(self, body=None, uri=None, api=None, headers=None):\n return self.s...
[ "0.5825828", "0.55922484", "0.5246761", "0.52303964", "0.50507915", "0.49809754", "0.47804382", "0.47711387", "0.47580266", "0.47504365", "0.47452682", "0.4743888", "0.4737299", "0.47191197", "0.47122213", "0.47015855", "0.46889687", "0.4661054", "0.46341178", "0.4611472", "0...
0.5305417
2
Asynchronously applies or reapplies the SAS logical interconnect configuration to all managed interconnects. [Arguments]
def fusion_api_reapply_sas_li_configuration(self, uri, api=None, headers=None): param = '/configuration' return self.sasli.put(body=None, uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def init(self):\n\n @asyncio.coroutine\n def interface_prepare_config(dts, acg, xact, xact_info, ksp, msg, scratch):\n \"\"\"Prepare for application configuration.\n \"\"\"\n self.log.debug(\"Prepare Callback\")\n # Store the interfaces\n self.in...
[ "0.5546842", "0.53125834", "0.5255031", "0.52102196", "0.51832765", "0.51105946", "0.4986002", "0.49277407", "0.4897807", "0.48535508", "0.48199892", "0.48130387", "0.47982162", "0.47876087", "0.4717916", "0.4717848", "0.47072685", "0.47001025", "0.4695279", "0.46941736", "0....
0.0
-1
add a Server Hardware resource. [Arguments]
def fusion_api_add_server_hardware(self, body, api=None, headers=None, param=''): return self.sh.post(body, api, headers, param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def add_resource(self, name, controller, ipaddress, ram, cpus, storage, owner=None, flavor='', compute=None, huge_pages=False):\n if compute is None: compute = controller\n args = { 'vm': name,\n 'controller': controller,\n 'ipaddress': ipaddress,\n ...
[ "0.61094224", "0.60468185", "0.60436165", "0.6028929", "0.5990869", "0.59473324", "0.57917136", "0.5691803", "0.5640218", "0.5632119", "0.5586816", "0.55330503", "0.5507888", "0.5504523", "0.5498091", "0.54637474", "0.538984", "0.53824514", "0.5371367", "0.53270954", "0.53258...
0.7051447
0
add a Server Hardware resource. [Arguments]
def fusion_api_delete_server_hardware(self, name=None, uri=None, api=None, headers=None): return self.sh.delete(name, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_add_server_hardware(self, body, api=None, headers=None, param=''):\n return self.sh.post(body, api, headers, param)", "def add_resource(self, name, controller, ipaddress, ram, cpus, storage, owner=None, flavor='', compute=None, huge_pages=False):\n if compute is None: compute = c...
[ "0.70503515", "0.6109728", "0.60477686", "0.60436404", "0.60285306", "0.59919655", "0.5947185", "0.5791531", "0.5692779", "0.5640382", "0.5631999", "0.5584962", "0.5531445", "0.55086416", "0.5504797", "0.55004984", "0.54654735", "0.5390197", "0.53838074", "0.53726727", "0.532...
0.0
-1
Updates a Server Hardware resource. [Arguments]
def fusion_api_edit_server_hardware(self, body, uri, api=None, headers=None): return self.sh.update(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def command_update_hw(self, cmd):\n # TODO\n pass", "def fusion_api_patch_server_hardware(self, body, uri, api=None, headers=None):\n return self.sh.patch(body, uri, api, headers)", "def update_host(hostname, cpu_mhz, cpu_cores, ram):\n return update_host(hostname, cpu_mhz, cpu_core...
[ "0.71226937", "0.65816915", "0.63041496", "0.6302513", "0.6005326", "0.59792364", "0.5869079", "0.5853303", "0.5816557", "0.5771126", "0.5758745", "0.55203414", "0.54762745", "0.54751337", "0.54741603", "0.54285014", "0.54248166", "0.53858274", "0.5376719", "0.53216815", "0.5...
0.7146489
0
Sets the calibrated max power of an unmanaged or unsupported server hardware resource. [Arguments]
def fusion_api_edit_server_hardware_environmental_config(self, body, uri, api=None, headers=None): return self.sh.update(body, uri, api, headers, param='/environmentalConfiguration')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def set_limit_max():\n limit_max = request.params.get(\"limit_max\", 0, type=float)\n output = request.params.get(\"output\", 1, type=int)\n retval = RP_LIB.rp_LimitMax(output, ctypes.c_float(limit_max))\n if retval != 0:\n LOG.error(\"Failed to set maximum output voltage. Error code: %s\", ERRO...
[ "0.63918734", "0.6356702", "0.6158488", "0.5999415", "0.5934069", "0.5881463", "0.5793822", "0.5776533", "0.5709276", "0.5674667", "0.5674667", "0.5669619", "0.55912805", "0.55663073", "0.55656916", "0.5510975", "0.5505376", "0.5501226", "0.5482367", "0.5414773", "0.54071563"...
0.0
-1
Sets the mpFirmwareVersion for a server hardware resource. [Arguments]
def fusion_api_edit_server_hardware_mp_firmware_version(self, body, uri, api=None, headers=None): return self.sh.update(body, uri, api, headers, param='/mpFirmwareVersion')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def firmware_version(self, firmware_version: str):\n\n self._firmware_version = firmware_version", "def test_update_hyperflex_server_firmware_version(self):\n pass", "def test_patch_hyperflex_server_firmware_version(self):\n pass", "def test_create_hyperflex_server_firmware_version(self)...
[ "0.6627622", "0.6617696", "0.65401965", "0.62031513", "0.600729", "0.5926034", "0.58608204", "0.5817993", "0.5745384", "0.5706897", "0.566575", "0.56042427", "0.5599718", "0.55834997", "0.5563769", "0.5516268", "0.55147135", "0.54602534", "0.54601395", "0.54478574", "0.542773...
0.7343825
0
Requests a power operation to change the power state of the physical server. [Arguments]
def fusion_api_edit_server_hardware_power_state(self, body, uri, api=None, headers=None): return self.sh.update(body, uri, api, headers, param='/powerState')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _perform_power_op(self, oper):\n\n power_settings = {\"Action\": \"Reset\",\n \"ResetType\": oper}\n systems_uri = \"/rest/v1/Systems/1\"\n\n status, headers, response = self._rest_post(systems_uri, None,\n power_s...
[ "0.71110564", "0.702426", "0.6963684", "0.69625163", "0.6921029", "0.67525357", "0.6732197", "0.6674746", "0.6580026", "0.65484655", "0.6513228", "0.64507675", "0.64205855", "0.6392433", "0.6346523", "0.61919725", "0.6114263", "0.6100955", "0.6061687", "0.60583395", "0.603558...
0.6457483
11
Gets a default or paginated collection of Server Hardware. [Arguments]
def fusion_api_get_server_hardware(self, uri=None, param='', api=None, headers=None): return self.sh.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list_hardware(self, tags=None, cpus=None, memory=None, hostname=None,\r\n domain=None, datacenter=None, nic_speed=None,\r\n public_ip=None, private_ip=None, **kwargs):\r\n if 'mask' not in kwargs:\r\n hw_items = [\r\n 'id',\r\n ...
[ "0.66805214", "0.6052699", "0.5832132", "0.5794585", "0.5691229", "0.5631433", "0.5605564", "0.56037563", "0.55718684", "0.55635154", "0.55176204", "0.55051565", "0.5365245", "0.5346477", "0.53398293", "0.5338803", "0.53372806", "0.5295526", "0.5254829", "0.52471364", "0.5244...
0.650311
1
Gets firmware compliance list of Server Hardware. [Arguments]
def fusion_api_get_server_hardware_firmware_compliance(self, body, api=None, headers=None): return self.sh.post(body=body, param='/firmware-compliance', api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_get_hyperflex_server_firmware_version_list(self):\n pass", "def _get_hardware_info(self) -> list:\n model = ctypes.create_string_buffer(8)\n model_size = ctypes.c_ulong(8)\n type_num = ctypes.c_ushort()\n channel_num = ctypes.c_ushort()\n notes = ctypes.create_s...
[ "0.6788801", "0.6719903", "0.65344447", "0.6365518", "0.62952614", "0.6102253", "0.60330147", "0.60206366", "0.59811133", "0.58125216", "0.57846195", "0.57846195", "0.573526", "0.5728773", "0.5726028", "0.56026626", "0.5578904", "0.556851", "0.55412483", "0.55307704", "0.5518...
0.7410056
0
Retrieves the list of BIOS/UEFI settings of the server hardware resource. [Arguments]
def fusion_api_get_server_hardware_bios(self, uri, api=None, headers=None): return self.sh.get(uri=uri, api=api, headers=headers, param='/bios')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get(isamAppliance, check_mode=False, force=False, ignore_error=False):\n return isamAppliance.invoke_get(\"Retrieving a list of firmware settings\",\n \"/firmware_settings\", ignore_error=ignore_error, requires_model=requires_model)", "def _get_system_hardware(self):\n ...
[ "0.6440124", "0.61365855", "0.59612876", "0.57465315", "0.57459027", "0.56982434", "0.5689407", "0.56827366", "0.5650437", "0.56126344", "0.5584547", "0.556429", "0.54789084", "0.54779667", "0.5472801", "0.53819984", "0.53016454", "0.52867734", "0.5272355", "0.5266106", "0.52...
0.64542997
0
Retrieves the list of firmware settings of the server hardware resource. [Arguments]
def fusion_api_get_server_hardware_firmware(self, uri, api=None, headers=None): return self.sh.get(uri=uri, api=api, headers=headers, param='/firmware')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get(isamAppliance, check_mode=False, force=False, ignore_error=False):\n return isamAppliance.invoke_get(\"Retrieving a list of firmware settings\",\n \"/firmware_settings\", ignore_error=ignore_error, requires_model=requires_model)", "def fusion_api_get_server_hardware_...
[ "0.74123716", "0.6287687", "0.614474", "0.6060778", "0.59741247", "0.58582383", "0.5718884", "0.5666034", "0.5656206", "0.56125605", "0.5581975", "0.5557086", "0.54525197", "0.5431058", "0.54239696", "0.5376557", "0.5361181", "0.53297424", "0.53006876", "0.52842283", "0.52651...
0.6545191
1
Gets the settings that describe the environmental configuration (supported feature set, calibrated minimum & maximum power, location & dimensions, ...) of the server hardware resource. [Arguments]
def fusion_api_get_server_hardware_environmental_config(self, uri, api=None, headers=None): return self.sh.get(uri=uri, api=api, headers=headers, param='/environmentalConfiguration')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def device_setting(self, **kwargs):\n\n return self.api_request(self._get_method_fullname(\"device_setting\"), kwargs)", "def configuration(self):\n\t\n limits = dict(\n \t cpu = resource.getrlimit(resource.RLIMIT_CPU)[0],\n\t memory = resource.getrlimit(resource.RLIMIT_AS)[0],\n ...
[ "0.59364355", "0.5678775", "0.5656607", "0.56483084", "0.5573717", "0.5573717", "0.5565864", "0.556322", "0.55470175", "0.5477731", "0.54643255", "0.54310477", "0.54299515", "0.53964305", "0.5395247", "0.5387934", "0.5375818", "0.53739554", "0.5369733", "0.53642786", "0.53506...
0.61910987
0
Retrieves the URL to launch a Single SignOn (SSO) session for the iLO web interface [Arguments]
def fusion_api_get_server_hardware_ilo_sso_url(self, uri, api=None, headers=None): return self.sh.get(uri=uri, api=api, headers=headers, param='/iloSsoUrl')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_login_url(self):\n params = {'service': self.service_url}\n if self.renew:\n params.update({'renew': 'true'})\n\n params.update(self.extra_login_params)\n url = urllib_parse.urljoin(self.server_url, 'login')\n query = urllib_parse.urlencode(params)\n ret...
[ "0.6062048", "0.59896123", "0.5978142", "0.59522074", "0.5889625", "0.581074", "0.57622564", "0.5742175", "0.5741966", "0.5682423", "0.5682423", "0.55079526", "0.5483935", "0.54837424", "0.54703635", "0.5460166", "0.53754747", "0.53711563", "0.5362308", "0.5321049", "0.532104...
0.5026518
55
Generates a Single SignOn (SSO) session for the iLO Java Applet console and returns the URL to launch it. [Arguments]
def fusion_api_get_server_hardware_java_remote_console_url(self, uri, api=None, headers=None): return self.sh.get(uri=uri, api=api, headers=headers, param='/javaRemoteConsoleUrl')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def openConsole():\n # Create an ARN out of the information provided by the user.\n role_arn = \"arn:aws:iam::\" + accountId() + \":role/\" + getArgs().role_name\n\n # Connect to AWS STS and then call AssumeRole.\n # Returns temporary security credentials.\n sts_connection = STSConnection()\n ass...
[ "0.5400359", "0.53779227", "0.5302741", "0.52402186", "0.51888967", "0.51781136", "0.51045895", "0.5085668", "0.50722814", "0.5062761", "0.5012801", "0.49865308", "0.49513817", "0.4950045", "0.4908473", "0.48619726", "0.486009", "0.48553202", "0.48294413", "0.4828762", "0.482...
0.0
-1
Generates a Single SignOn (SSO) session for the iLO Integrated Remote Console Application (IRC) and returns the URL to launch it. [Arguments]
def fusion_api_get_server_hardware_remote_console_url(self, uri, api=None, headers=None): return self.sh.get(uri=uri, api=api, headers=headers, param='/remoteConsoleUrl')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __command_url(self):\n return \"http://\" + self._host + \\\n \"/cgi-bin/hi3510/{}&-usr=\" + \\\n self._username + \"&-pwd=\" + self._password", "def main():\r\n parser = argparse.ArgumentParser(description=\"\"\"Starts SSH session with one\r\n ...
[ "0.57828695", "0.5554918", "0.52367544", "0.52229416", "0.51975113", "0.51830083", "0.5171656", "0.51549685", "0.51168907", "0.5092245", "0.5052717", "0.5031218", "0.5002624", "0.4976991", "0.49724266", "0.4933796", "0.4907545", "0.49053285", "0.49016818", "0.49014983", "0.48...
0.0
-1
Retrieves historical utilization data for the specified resource, metrics, and time span. [Arguments]
def fusion_api_get_server_hardware_utilization(self, uri, api=None, headers=None): return self.sh.get(uri=uri, api=api, headers=headers, param='/utilization')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def calculate_resource_timeseries(events, resource):\n\n # Import packages\n import pandas as pd\n\n # Init variables\n res = OrderedDict()\n all_res = 0.0\n\n # Iterate through the events\n for _, event in sorted(events.items()):\n if event[\"event\"] == \"start\":\n if reso...
[ "0.6141649", "0.611473", "0.5899621", "0.5785063", "0.5500951", "0.5471153", "0.53900784", "0.5346513", "0.53378", "0.5335393", "0.5334294", "0.53101325", "0.5282419", "0.5264815", "0.52634406", "0.52462447", "0.5235395", "0.522432", "0.52192736", "0.52060175", "0.5179855", ...
0.0
-1
Issues a PATCH request. See RESTAPI docs for valid request bodies [Arguments]
def fusion_api_patch_server_hardware(self, body, uri, api=None, headers=None): return self.sh.patch(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def patch(self, *args, **kwargs):\n self.request(\"patch\", *args, **kwargs)", "def patch(self, url, body=None, headers=None):\n return self._request('PATCH', url, body, headers)", "def patch(self, url_or_path, *args, **kwargs):\n return self.request.patch(url_or_path, *args, **kwargs).jso...
[ "0.7938083", "0.7449449", "0.742562", "0.7417484", "0.7357582", "0.7285772", "0.7233902", "0.719851", "0.71922064", "0.71890086", "0.7187706", "0.7187706", "0.7187706", "0.7187706", "0.7187706", "0.7187706", "0.7187706", "0.7187706", "0.7187706", "0.7187706", "0.7187706", "...
0.0
-1
Refreshes a specified Server hardware URI [Arguments]
def fusion_api_refresh_server_hardware(self, body={"refreshState": "RefreshPending"}, uri=None, api=None, headers=None): return self.sh.update(body, uri=uri, api=api, headers=headers, param='/refreshState')
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def refresh(self, url, args, cancellationSignal):\n pass", "def fusion_api_edit_server_hardware(self, body, uri, api=None, headers=None):\n return self.sh.update(body, uri, api, headers)", "def update_host(hostname, cpu_mhz, cpu_cores, ram):\n return update_host(hostname, cpu_mhz, cpu_core...
[ "0.5874703", "0.56862247", "0.5517887", "0.54256845", "0.5390688", "0.534994", "0.5307161", "0.52816164", "0.5278022", "0.5210121", "0.5091328", "0.5082049", "0.50692445", "0.50429875", "0.5012613", "0.49633986", "0.49625674", "0.4957929", "0.4926195", "0.48844868", "0.478943...
0.6275564
0
Returns request body required to create a Logical Enclosure [Arguments]
def fusion_api_create_logical_enclosure_payload(self, name, api=None, enclosureGroupUri=None, en...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def prepare_control_request_body():\n test_date = datetime.datetime.utcnow().strftime(\"%Y-%m-%d\")\n return {\n \"id\": 123,\n \"title\": \"new_control\",\n \"context\": None,\n \"created_at\": test_date,\n \"updated_at\": test_date,\n \"slug\": \"CONTROL-01\",\n ...
[ "0.62557787", "0.6076556", "0.57457817", "0.5693035", "0.5633782", "0.548821", "0.538532", "0.5360138", "0.53495675", "0.53144366", "0.5276579", "0.51902133", "0.5153276", "0.51383746", "0.51247925", "0.51219505", "0.51215374", "0.5110167", "0.51091415", "0.51066536", "0.5104...
0.0
-1
Creates a new Logical Enclosure [Arguments]
def fusion_api_create_logical_enclosure(self, body, api=None, headers=None): return self.logical_enclosure.create(body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def __init__(self, logicalExpression, linearExpression1 = None, linearExpression2 = None, elseIfExpression = None):\n LinearExpression.__init__(self)\n \n self.logicalExpression = logicalExpression\n self.linearExpression1 = linearExpression1\n self.linearExpression2 = linearExpr...
[ "0.528503", "0.5235418", "0.52073014", "0.5191958", "0.5175982", "0.5163648", "0.5160015", "0.5134456", "0.5127185", "0.51270044", "0.511652", "0.50909626", "0.507443", "0.5057711", "0.5046257", "0.50227475", "0.5021128", "0.5018966", "0.5010228", "0.49891695", "0.4956562", ...
0.5127262
8
Returns an existing Logical Enclosure [Arguments] [Example] ${resp} = Fusion Api Get Logical Enclosure | | | |
def fusion_api_get_logical_enclosure(self, uri=None, api=None, headers=None, param=''): return self.logical_enclosure.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get(self, args, intent):\n\n try:\n db = get_db('expressions')\n db_results = db.get_intent_expressions(intent)\n expressions = [x[1] for x in db_results]\n resp = jsonify(intent=intent, expressions=expressions)\n resp.status_code = 200\n ...
[ "0.5261378", "0.4999249", "0.4968407", "0.48965645", "0.48746166", "0.48531166", "0.48407775", "0.47135535", "0.468885", "0.46632856", "0.4644957", "0.462702", "0.46217865", "0.46129304", "0.46071875", "0.45919973", "0.45574743", "0.45559263", "0.4542049", "0.45400122", "0.45...
0.5524138
0
Removes an existing Logical Enclosure [Arguments] [Example] ${resp} = Fusion Api Delete Logical Enclosure | | | | |
def fusion_api_delete_logical_enclosure(self, name=None, uri=None, param='', api=None, headers=None): return self.logical_enclosure.delete(name=name, uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def post_delete():\n req_data = request.get_json()\n print('This is the request itself \\n', req_data)\n print(req_data['name'])\n flask_wms.delete_entry(req_data['name'])\n return 'Request recieved, delete method'", "def test_delete_entity(self):\n\n storage = StringIO.StringIO()\n ...
[ "0.58386034", "0.5591081", "0.5581158", "0.5552778", "0.55016667", "0.548756", "0.54817337", "0.5416942", "0.5416942", "0.53931206", "0.5359185", "0.52967477", "0.52838844", "0.5274969", "0.5272591", "0.5265596", "0.5246178", "0.52439135", "0.5243358", "0.5240382", "0.523309"...
0.6576194
0
Triggers a support dump for an existing Logical Enclosure [Arguments]
def fusion_api_get_logical_enclosure_support_dump(self, body, id=None, api=None, headers=None): # pylint: disable=W0622 return self.logical_enclosure.get_support_dump(body=body, le_id=id, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def dump(self, args):\n if self.stru:\n self.stru.dump(args)\n if self.index:\n self.index.dump(args)\n if self.bank:\n self.bank.dump(args)\n if self.sys:\n self.sys.dump(args)", "def dump(args):\n if args.dump_command == \"trace\":\n ...
[ "0.6083198", "0.60389185", "0.5458311", "0.5295692", "0.5242603", "0.51257265", "0.51145923", "0.50928766", "0.50921875", "0.5087517", "0.5087232", "0.50870454", "0.50840497", "0.5071777", "0.505334", "0.5038492", "0.50081336", "0.4992441", "0.49808908", "0.49445722", "0.4942...
0.0
-1
Update an logical enclosure. [Arguments]
def fusion_api_update_logical_enclosure(self, body, uri, param='', api=None, headers=None, etag=None): return self.logical_enclosure.put(body, uri, param, api, headers, etag)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_edit_enclosure(self, body, uri, api=None, headers=None):\n return self.enclosure.update(body, uri, api, headers)", "def fusion_api_update_logical_enclosure_from_group(self, uri=None, api=None, headers=None):\n param = '/updateFromGroup'\n return self.logical_enclos...
[ "0.5908056", "0.55920726", "0.54749054", "0.54528177", "0.54515225", "0.5351787", "0.534792", "0.53248125", "0.5323249", "0.5323249", "0.5323249", "0.5323249", "0.5323249", "0.5323249", "0.53174627", "0.53174627", "0.53081334", "0.53021306", "0.5227843", "0.5209723", "0.51983...
0.69521064
0
Updates the logical enclosure to match its enclosure group [Arguments]
def fusion_api_update_logical_enclosure_from_group(self, uri=None, api=None, headers=None): param = '/updateFromGroup' return self.logical_enclosure.put(body=None, uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_edit_enclosure_group(self, body, uri, api=None, headers=None):\n return self.enclosure_group.update(body, uri, api, headers)", "def command_group(group_name):\n def wrapper(func):\n func.group_name = group_name\n return func\n return wrapper", "def fusion_api_updat...
[ "0.57244945", "0.532607", "0.5054181", "0.501214", "0.4829937", "0.47982556", "0.470352", "0.46295822", "0.46018374", "0.45309988", "0.45170015", "0.45147574", "0.45110768", "0.44993183", "0.4493856", "0.44928628", "0.44823283", "0.4478239", "0.4476593", "0.44687688", "0.4444...
0.55514556
1
Asynchronously appliesor reapplies the logical enclosure configuration to all managed LEs. [Arguments]
def fusion_api_reapply_le_configuration(self, uri, api=None, headers=None): param = '/configuration' return self.logical_enclosure.put(body=None, uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def apply(self) -> None:\n _ba.apply_config()", "def applyBatch(self, authority, operations):\n pass", "def multiple_apply_config(self):\n\n self.show_step(1, initialize=True)\n self.env.revert_snapshot(\"reconfiguration_scalability\")\n\n self.show_step(2)\n cluster_i...
[ "0.5418927", "0.5325408", "0.5219564", "0.5128011", "0.49925518", "0.49922356", "0.49716553", "0.48889938", "0.48020127", "0.47401488", "0.47243294", "0.46624646", "0.46617284", "0.46552765", "0.4654438", "0.46462247", "0.46070877", "0.45735532", "0.45683447", "0.45662007", "...
0.43575847
51
Updates firmware version at LE level [Arguments]
def fusion_api_le_firmware_update(self, body=None, uri=None, api=None, headers=None, etag=None): return self.logical_enclosure.patch(body, uri, api, headers, etag)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_firmware(self):\n self.execute_command(CMD_UPDATE_FIRMWARE)", "def update_firmware(self) -> str:", "def fusion_api_li_upgrade_firmware(self, body=None, uri=None, api=None, param='', headers=None):\n param = '/firmware'\n return self.li.update(body=body, uri=uri, api=api,...
[ "0.67964226", "0.6598546", "0.6441716", "0.60954994", "0.6063504", "0.6004768", "0.5993466", "0.5840957", "0.5834724", "0.57831144", "0.57167274", "0.5703488", "0.5647711", "0.56319106", "0.5588414", "0.5552483", "0.5496896", "0.5487807", "0.5467196", "0.5459523", "0.54328465...
0.53488785
23
The index/resources resource provides APIs for managing index resources, including retrieving, creating/updating, and deleting index resources.To make searches faster, the index stores an index resource for each resource. Index resources contain normal search parameters such as name, category, status, state, descriptio...
def fusion_api_index_resource(self, uri=None, api=None, headers=None): return self.index_resource.get(uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def post_resource_index():\n\n content_type = 'application/octet-stream'\n if request.headers.get('Content-type'):\n content_type, _ = parse_header(request.headers['Content-type'])\n\n # First, store the data in a PostgreSQL large object\n with db, db.cursor() as cur:\n lobj = db.lobject(...
[ "0.61396116", "0.585536", "0.5632829", "0.5575068", "0.5575068", "0.5575068", "0.5575068", "0.5575068", "0.5575068", "0.5575068", "0.5575068", "0.539832", "0.5387961", "0.5352948", "0.53329", "0.5324302", "0.5274832", "0.5271105", "0.52628785", "0.52534556", "0.52533907", "...
0.5520748
11
The index/association/resources resource provides APIs for managing index association resources, including retrieving, creating/updating, and deleting index association resources.To make searches faster, the index stores an index resource for each resource. Index resources contain normal search parameters such as name,...
def fusion_api_get_index_association(self, uri=None, api=None, headers=None): return self.index_association.get(uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _index_resources(self):\n\n def _indexer(item):\n if not item:\n # Attribute isn't set\n return\n if isinstance(item, DIDUrl):\n # We don't index references\n return\n if isinstance(item, list):\n ...
[ "0.61172324", "0.57482505", "0.57181394", "0.5691128", "0.5343429", "0.53406864", "0.53406864", "0.53406864", "0.53406864", "0.53406864", "0.53406864", "0.53406864", "0.53406864", "0.53020555", "0.5297038", "0.5283176", "0.520641", "0.51716137", "0.5161293", "0.5120549", "0.5...
0.5343596
4
Updates a Server Hardware Type. [Arguments]
def fusion_api_edit_server_hardware_types(self, body, uri, api=None, headers=None): return self.types.update(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_edit_server_hardware(self, body, uri, api=None, headers=None):\n return self.sh.update(body, uri, api, headers)", "def command_update_hw(self, cmd):\n # TODO\n pass", "def fusion_api_add_server_hardware(self, body, api=None, headers=None, param=''):\n return s...
[ "0.6469864", "0.619745", "0.60548294", "0.59878653", "0.57120275", "0.5703278", "0.56411195", "0.5541107", "0.5529781", "0.55250376", "0.53978205", "0.53723806", "0.5331305", "0.531114", "0.5274173", "0.52472025", "0.52413344", "0.52305746", "0.5228627", "0.5217233", "0.52132...
0.72509897
0
Gets a default or paginated collection of Server Hardware Types. [Arguments]
def fusion_api_get_server_hardware_types(self, uri=None, param='', api=None, headers=None): return self.types.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_all_servers_types():\n ret = _get_list(\n lambda server: server.type if server.type not in ['vanilla.winter', 'vanilla.desert', 'pvp'] else False,\n lambda server: server.type_name\n )\n\n # Extra server type filters\n ret.append({\n 'value': 'pacific+edelweiss',\n '...
[ "0.63679874", "0.61915565", "0.60292554", "0.60090137", "0.5863595", "0.57741106", "0.5703842", "0.56640977", "0.55258626", "0.5511348", "0.54733056", "0.5406356", "0.53472906", "0.5344607", "0.5313471", "0.53117824", "0.53005385", "0.5293233", "0.52614915", "0.52412504", "0....
0.7453972
0
Deletes server hardware types in bulk based on name OR uri. If name AND uri are omitted, ALL shts are deleted. [Arguments]
def fusion_api_delete_server_hardware_types(self, name=None, uri=None, api=None, headers=None): return self.types.delete(name=name, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_delete_server_hardware(self, name=None, uri=None, api=None, headers=None):\n return self.sh.delete(name, uri, api, headers)", "def fusion_api_delete_os_deploymentserver(self, name=None, uri=None, param='', api=None, headers=None):\n return self.osds.delete(name=name, uri=uri,...
[ "0.72597307", "0.5941608", "0.59314007", "0.58576465", "0.56981254", "0.56143004", "0.55945665", "0.5569703", "0.5556006", "0.55467683", "0.5541295", "0.5474072", "0.5456166", "0.54501444", "0.5449733", "0.54203063", "0.54069936", "0.5361632", "0.53535885", "0.53339195", "0.5...
0.7939834
0
Creates a Server Profile. [Arguments]
def fusion_api_create_server_profile(self, body, api=None, headers=None, param=''): return self.profile.create(body, api, headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_server_profile(profile_obj):\n FusionUIBase.navigate_to_section(SectionType.SERVER_PROFILES, time_for_loading=5)\n\n total = len(profile_obj)\n created = 0\n already_exists = 0\n\n for n, profile in enumerate(profile_obj):\n logger.info(\"{2} No: {0} --- Total: {1} {2}\".format((n ...
[ "0.73545814", "0.7178512", "0.6997477", "0.683101", "0.66478306", "0.66430336", "0.65632606", "0.6467705", "0.640401", "0.635578", "0.6292709", "0.62823886", "0.6270718", "0.62524086", "0.6238", "0.62262017", "0.61999977", "0.61757547", "0.6169726", "0.616543", "0.6158814", ...
0.7390086
0
Updates a Server Profile. [Arguments]
def fusion_api_edit_server_profile(self, body, uri, api=None, headers=None, param=''): return self.profile.update(body, uri, api, headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_profile():\n logger.debug(\"entering function update_profile\")\n response = update_user_profile(request.json)\n logger.debug(\"exiting function update_profile\")\n return jsonify(response)", "def update_network_profile(self, profile, body=None):\r\n return self.put(self.network_pro...
[ "0.6803491", "0.67460173", "0.66761166", "0.66674477", "0.65307075", "0.64592654", "0.6429802", "0.6338764", "0.63306314", "0.63199794", "0.6299867", "0.6223881", "0.6159896", "0.6155287", "0.6135783", "0.6112417", "0.6095837", "0.60589975", "0.60271895", "0.6017078", "0.6003...
0.72424406
0
Deletes server profiles in bulk based on name OR uri. If name AND uri are omitted, ALL profiles are deleted. [Arguments]
def fusion_api_delete_server_profile(self, name=None, uri=None, param='', api=None, headers=None): return self.profile.delete(name=name, uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def bak_delete_all_appliance_server_profiles():\n selenium2lib = ui_lib.get_s2l()\n \"\"\" Navigate to Network Page \"\"\"\n if not selenium2lib._is_element_present(FusionServerProfilesPage.ID_PAGE_LABEL):\n navigate()\n\n # get the list of networks\n ui_lib.wait_for_element(FusionServerProfi...
[ "0.6577274", "0.65147924", "0.61541474", "0.59987676", "0.566046", "0.5585588", "0.5585084", "0.55501384", "0.5521699", "0.5495129", "0.54838026", "0.54756314", "0.5430477", "0.5426814", "0.54195154", "0.54032445", "0.54020315", "0.5356326", "0.53332573", "0.5325975", "0.5302...
0.6795457
0
Gets a default or paginated collection of Server Profiles. [Arguments]
def fusion_api_get_server_profiles(self, uri=None, param='', api=None, headers=None): return self.profile.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_profiles(args):\n # Use profile from cli if provided\n if args.profile and not args.update_config:\n return [args.profile]\n\n # Run config to get or set the config file\n config = configparser.ConfigParser()\n\n if os.path.isfile(SETTINGS_FILE) and not args.update_config:\n # ...
[ "0.6544808", "0.6252694", "0.6210542", "0.6154379", "0.59779143", "0.58687305", "0.585985", "0.57589835", "0.5753579", "0.56746083", "0.5643489", "0.56385404", "0.5632599", "0.56101084", "0.5548013", "0.5548013", "0.5526986", "0.54953516", "0.5486044", "0.547059", "0.5450227"...
0.618076
3
Patches a Server Profile. [Arguments]
def fusion_api_patch_server_profile(self, body, uri, api=None, headers=None): return self.profile.patch(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_edit_server_profile(self, body, uri, api=None, headers=None, param=''):\n return self.profile.update(body, uri, api, headers, param=param)", "def patch(self,\n tunnel_profile_id,\n ip_sec_vpn_tunnel_profile,\n ):\n return self._invoke('patch...
[ "0.63377327", "0.6052345", "0.5898319", "0.58592176", "0.576985", "0.57568383", "0.57484424", "0.56993264", "0.56706333", "0.56687814", "0.5656452", "0.55615526", "0.5515507", "0.55121225", "0.53895104", "0.537306", "0.5353549", "0.5347112", "0.529797", "0.52950746", "0.52812...
0.6953699
0
Retrieves the list of Ethernet networks, Fibre Channel networks and network sets that are available to a server profile along with their respective ports. [Arguments]
def fusion_api_get_server_profiles_available_networks(self, uri=None, param='', api=None, headers=None): param = '/available-networks%s' % param return self.profile.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list_net(self):\n _url = \"http://\" + self.host_ip + \":9696/v2.0/networks\"\n _headers = {'Content-type': 'application/json',\n 'x-auth-token': self.project_info[\"token_project\"]}\n _body = None\n\n response = self.request(\"GET\", _url, _headers, _body)\n ...
[ "0.6963224", "0.66442364", "0.66117615", "0.65916544", "0.6482594", "0.6468238", "0.6336594", "0.6286763", "0.62354195", "0.61999875", "0.6190109", "0.61853945", "0.617893", "0.6166727", "0.611604", "0.60293716", "0.5998868", "0.59686875", "0.5967716", "0.5966022", "0.5935942...
0.7096709
0
Retrieve a specific storage system and its associated volumes that are available to the server profile based on the given server hardware type and enclosure group. [Arguments]
def fusion_api_get_server_profiles_available_storage_system(self, uri=None, param='', api=None, headers=None): param = '/available-storage-system%s' % param return self.profile.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_storage_providers_2(self, **kw):\n return (200, {}, {\"storage_provider\":\n {\n \"backend_type\": \"svc\",\n \"volume_count\": \"null\",\n \"service\": {\n ...
[ "0.66173583", "0.65029943", "0.63694835", "0.5934028", "0.57914037", "0.5736504", "0.5686954", "0.560181", "0.5584156", "0.55421644", "0.5487348", "0.54850876", "0.5483437", "0.545", "0.5412062", "0.54067975", "0.54028714", "0.53974324", "0.5341464", "0.52919793", "0.52906346...
0.64962745
2
Retrieves the list of the storage systems and their associated volumes that are available to the server profile based on the given server hardware type and enclosure group. [Arguments]
def fusion_api_get_server_profiles_available_storage_systems(self, uri=None, param='', api=None, headers=None): param = '/available-storage-systems%s' % param return self.profile.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_storage_providers_2(self, **kw):\n return (200, {}, {\"storage_provider\":\n {\n \"backend_type\": \"svc\",\n \"volume_count\": \"null\",\n \"service\": {\n ...
[ "0.65530187", "0.6485663", "0.63755476", "0.58408225", "0.5750117", "0.57142246", "0.56885105", "0.5686779", "0.5672562", "0.56290096", "0.56214625", "0.561331", "0.5579664", "0.5546426", "0.5521108", "0.5521108", "0.5520313", "0.55181736", "0.55035865", "0.5490816", "0.54873...
0.6621092
0
Retrieves a list of the target servers and empty device bays that are available for assignment to the server profile. This replaces the /rest/serverprofiles/availableservers API. [Arguments]
def fusion_api_get_server_profiles_available_targets(self, uri=None, param='', api=None, headers=None): param = '/available-targets%s' % param return self.profile.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list_servers():\n (code, message) = rest_api.list_servers(request)\n if (code == 200):\n return message\n else:\n abort(code)", "def fusion_api_get_server_profiles_available_networks(self, uri=None, param='', api=None, headers=None):\n param = '/available-networks%s' % param...
[ "0.63462883", "0.6167778", "0.61399084", "0.59553576", "0.59076846", "0.58945465", "0.5873588", "0.5869044", "0.5823339", "0.5819195", "0.57711154", "0.57705265", "0.57296467", "0.5689249", "0.56749696", "0.56244224", "0.559568", "0.55720776", "0.5557791", "0.5500594", "0.545...
0.6263745
1
Retrieves the port model associated with a server or server hardware type and enclosure group. [Arguments]
def fusion_api_get_server_profiles_profile_ports(self, uri=None, param='', api=None, headers=None): param = '/profile-ports%s' % param return self.profile.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getPort(self, *args):\n return _libsbml.CompModelPlugin_getPort(self, *args)", "def get_slot_model(device):\n\n try:\n out = device.parse('show module')\n except SubCommandFailure as e:\n log.info('Failed to get slot model: {e}'.format(e=e))\n return None\n\n return {key:...
[ "0.6321868", "0.563817", "0.55429894", "0.5501858", "0.5446982", "0.5446599", "0.5166288", "0.5152879", "0.514248", "0.51392776", "0.51281804", "0.51019865", "0.5066201", "0.50620294", "0.50509405", "0.50509405", "0.5037655", "0.5019654", "0.4966513", "0.4937762", "0.49209747...
0.0
-1
A server profile template object will be returned with the configuration based on this profile. [Arguments]
def fusion_api_get_server_profile_new_template(self, uri, api=None, headers=None): return self.profile.get(uri=uri, api=api, headers=headers, param="/new-profile-template")
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_create_server_profile_template(self, body, api=None, headers=None):\n return self.profile_template.create(body, api, headers)", "def fusion_api_get_server_profile_template_new_profile(self, uri, api=None, headers=None):\n return self.profile_template.get(uri=uri, api=api, hea...
[ "0.66830575", "0.66017467", "0.65351486", "0.64352024", "0.62832457", "0.6248971", "0.6214098", "0.6076305", "0.58839446", "0.5786617", "0.564346", "0.56402904", "0.5597847", "0.5524104", "0.5458989", "0.5417375", "0.5369805", "0.5351991", "0.5331617", "0.53293836", "0.531944...
0.6721189
0
Creates a Server Profile Template. [Arguments]
def fusion_api_create_server_profile_template(self, body, api=None, headers=None): return self.profile_template.create(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_server_profile_template(profile_template_obj):\n FusionUIBase.navigate_to_section(SectionType.SERVER_PROFILE_TEMPLATES, time_for_loading=5)\n\n total = len(profile_template_obj)\n created = 0\n already_exists = 0\n\n for n, profile_template in enumerate(profile_template_obj):\n log...
[ "0.7527531", "0.7168965", "0.6981659", "0.67174834", "0.6471081", "0.6322875", "0.631694", "0.62575513", "0.6226413", "0.6182713", "0.61035097", "0.6093237", "0.5918352", "0.5867897", "0.5746021", "0.5742268", "0.57117236", "0.5659141", "0.5619936", "0.56015855", "0.55628175"...
0.7511335
1
Updates a Server Profile Template. [Arguments]
def fusion_api_edit_server_profile_template(self, body, uri, api=None, headers=None): return self.profile_template.update(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def edit_server_profile_template(profile_template_obj):\n FusionUIBase.navigate_to_section(SectionType.SERVER_PROFILE_TEMPLATES, time_for_loading=5)\n\n total = len(profile_template_obj)\n not_exists = 0\n edited = 0\n\n for n, profile_template in enumerate(profile_template_obj):\n logger.inf...
[ "0.74402344", "0.7077035", "0.6430932", "0.632963", "0.63004065", "0.626157", "0.62599885", "0.604261", "0.5994675", "0.582607", "0.57136095", "0.56366116", "0.56342983", "0.55626786", "0.55037796", "0.547783", "0.54008967", "0.5393341", "0.5388835", "0.5370036", "0.536683", ...
0.73386496
1
Deletes server profile templates bulk based on name OR uri. If name AND uri are omitted, ALL templates are deleted. [Arguments]
def fusion_api_delete_server_profile_template(self, name=None, uri=None, api=None, headers=None): return self.profile_template.delete(name, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_all_appliance_server_profile_templates():\n FusionUIBase.navigate_to_section(SectionType.SERVER_PROFILE_TEMPLATES, time_for_loading=5)\n profile_template_name_list = CommonOperationServerProfileTemplate.get_server_profile_template_list()\n\n total = len(profile_template_name_list)\n not_exis...
[ "0.6297934", "0.5755474", "0.5740489", "0.56800824", "0.5628092", "0.5583906", "0.5538198", "0.5437258", "0.53984183", "0.5396571", "0.53511995", "0.5314962", "0.5293291", "0.5268441", "0.5177119", "0.5115355", "0.51009566", "0.5064228", "0.50254196", "0.49820438", "0.4977950...
0.7412199
0
Gets a default or paginated collection of Server Profile Templates. [Arguments]
def fusion_api_get_server_profile_templates(self, uri=None, param='', api=None, headers=None): return self.profile_template.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_templates(self):\n return self.http_call(\"get\", url=f\"{self.base_url}/templates\").json()", "def get_templates(self):\n\n data = self.request_from_server('templates')\n self.templates = data", "def get_schemas(self):\n templates = [['Template GUID']]\n ...
[ "0.66311127", "0.62959546", "0.61771345", "0.6101747", "0.6013465", "0.59713155", "0.5837419", "0.58203477", "0.5802853", "0.5784255", "0.57497895", "0.5706248", "0.5664112", "0.5597598", "0.5589706", "0.55824775", "0.5561664", "0.5554667", "0.55245626", "0.55197805", "0.5512...
0.7232698
0
A profile object will be returned with the configuration based on this template. [Arguments]
def fusion_api_get_server_profile_template_new_profile(self, uri, api=None, headers=None): return self.profile_template.get(uri=uri, api=api, headers=headers, param="/new-profile")
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def profile():\n \n return render_template(\"profile.html\")", "def get_config_template(self) -> cconfig.Config:", "def _get_profile(self):\n return self.sqlfluff_config.get_section(\n (self.templater_selector, self.name, \"profile\")\n )", "def globalProfile():\n return co...
[ "0.6798785", "0.6240613", "0.6083445", "0.59476393", "0.59396094", "0.58258533", "0.57727337", "0.5725135", "0.57045346", "0.5627095", "0.56241167", "0.5608127", "0.5608127", "0.5596228", "0.55957526", "0.55887157", "0.5565023", "0.5558767", "0.5556946", "0.554772", "0.554689...
0.5620496
11
Enables\disables service access on the appliance [Arguments]
def fusion_api_set_service_access(self, host, status='enabled', api=None, headers=None): return self.service_access.save(host, status, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def app_enable(resource, appkernel, enable=True, dry_run=False):\n import argparse\n log.info((\"Enabling \" if enable else \"Disabling \") +\n (\"%s\" % resource if appkernel is None else\"%s on %s\" % (appkernel, resource) ))\n if enable:\n return on_parsed(argparse.Namespace(resource...
[ "0.6717801", "0.64306", "0.6394739", "0.63439685", "0.63439685", "0.63439685", "0.63439685", "0.63439685", "0.63439685", "0.63439685", "0.63439685", "0.63439685", "0.63439685", "0.63439685", "0.6340937", "0.6296609", "0.6193929", "0.61715144", "0.61715144", "0.61715144", "0.6...
0.53076535
55
Retrieves the current service access setting from the appliance [Arguments]
def fusion_api_get_service_access(self, host=None, api=None, headers=None): return self.service_access.get(host, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def access_config(self) -> Optional[pulumi.Input['RuntimeAccessConfigArgs']]:\n return pulumi.get(self, \"access_config\")", "def tenant_access(self) -> Optional[pulumi.Input['ServiceTenantAccessArgs']]:\n return pulumi.get(self, \"tenant_access\")", "def tenant_access(self) -> Optional[pulumi.In...
[ "0.6167423", "0.5965725", "0.5965725", "0.5850481", "0.5740332", "0.57395804", "0.5706215", "0.56674516", "0.5557075", "0.55084777", "0.5490134", "0.5475604", "0.5475604", "0.54469174", "0.5369273", "0.5341444", "0.53327906", "0.53206056", "0.5319895", "0.5317568", "0.5312063...
0.0
-1
Retrieves the user session. [Arguments]
def fusion_api_get_session_info(self, api=None, headers=None, param='', sessionID=None): return self.sessions.get(api, headers, param, sessionID)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getSession():\n return call(\"getSession\")", "def get_logged_user():\n return get_from_session(KEY_USER)", "def user_info(self):\n return self.auth.get_user_by_session()", "def getsessionuser(cls, session):\n sessionkey = session[\"credential\"][\"Authorization\"]\n if sessionkey ...
[ "0.7591804", "0.7133331", "0.69286543", "0.69190216", "0.6877672", "0.68453205", "0.6786143", "0.6760622", "0.6740305", "0.67382544", "0.6702853", "0.66982394", "0.6697586", "0.66843873", "0.6633628", "0.6632462", "0.66305625", "0.66271996", "0.6623371", "0.6606491", "0.66031...
0.0
-1
Gets the status of the appliance startup. This API does not require authorization. [Arguments]
def fusion_api_get_startup_progress(self, host, api=None, headers=None): return self.progress.get(host, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_appliance_status(self, api=None, headers=None):\n return self.info.get_status(api=api, headers=headers)", "def __get_status_api(self):\r\n try:\r\n return Call_shelly_api(url=self.__api_address + \"/status\")\r\n except ShellyException as err:\r\n ...
[ "0.5911816", "0.5639965", "0.55809796", "0.5543112", "0.55428416", "0.5506082", "0.5469635", "0.54636276", "0.5442472", "0.544123", "0.5435184", "0.538707", "0.5378648", "0.5332839", "0.53326124", "0.53269285", "0.5318032", "0.52429426", "0.52378595", "0.52270246", "0.5215241...
0.51430964
31
Gets a default or paginated collection of storage Pools. [Arguments]
def fusion_api_get_storage_pools(self, uri=None, param='', api=None, headers=None): return self.pool.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _get_pools():\n conn = libvirt.open(None)\n try:\n _spsfs = list()\n _spsnetfs = list()\n if conn:\n # file system pool\n _spsfs = conn.listAllStoragePools(flags=128)\n # nfs pool\n _spsnetfs = conn.listAllStoragePools(flags=256)\n e...
[ "0.6266214", "0.6186386", "0.60942817", "0.5933658", "0.58059144", "0.5733373", "0.57271314", "0.5716223", "0.5694731", "0.5654598", "0.5603055", "0.55755794", "0.5481993", "0.54776025", "0.5448125", "0.54426765", "0.5428386", "0.53938913", "0.5393048", "0.53884286", "0.53833...
0.6554763
0
Creates a storage pool [Arguments]
def fusion_api_edit_storage_pool(self, body, uri, api=None, headers=None): return self.pool.update(body, uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def storage_pool_create(context, values):\n if not values.get('id'):\n values['id'] = uuidutils.generate_uuid()\n\n storage_pool_ref = models.StoragePool()\n storage_pool_ref.update(values)\n\n session = get_session()\n with session.begin():\n session.add(storage_pool_ref)\n\n retur...
[ "0.7463586", "0.7361189", "0.6986963", "0.66295934", "0.6504835", "0.64952785", "0.64597714", "0.6380026", "0.6177337", "0.60740566", "0.6059767", "0.6011962", "0.59736717", "0.5946794", "0.5946019", "0.59173447", "0.5880063", "0.5859043", "0.5854558", "0.5802523", "0.57832",...
0.0
-1
Deletes storage pool based on name OR uri. [Arguments]
def fusion_api_delete_storage_pool(self, uri=None, api=None, headers=None): return self.pool.delete(uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def storage_pool_delete_by_storage(context, storage_id):\n _storage_pool_get_query(context).filter_by(storage_id=storage_id).delete()", "def delete_pool(self, pool):\r\n return self.delete(self.pool_path % (pool))", "def delete(self):\n self._lbcall('delete_pool', [self._name])", "def delete...
[ "0.7378843", "0.72491455", "0.69974256", "0.6925014", "0.68403524", "0.67333746", "0.6620511", "0.6578201", "0.6543454", "0.6318132", "0.62581223", "0.6236893", "0.6212297", "0.6185523", "0.6152458", "0.60878736", "0.6049331", "0.6023816", "0.60171694", "0.6000202", "0.599686...
0.79339015
0
Gets a collection of Storage systems. [Arguments]
def fusion_api_get_storage_system(self, uri=None, param='', api=None, headers=None): return self.system.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def find_all():\n return ItopapiPrototype.find_all(ItopapiStorageSystem)", "def fusion_api_get_server_profiles_available_storage_systems(self, uri=None, param='', api=None, headers=None):\n param = '/available-storage-systems%s' % param\n return self.profile.get(uri=uri, api=api, hea...
[ "0.72300583", "0.67324096", "0.6577859", "0.6365303", "0.63226676", "0.6316031", "0.6084149", "0.6045237", "0.6035955", "0.60016465", "0.59970427", "0.5992337", "0.59816015", "0.5942096", "0.5889566", "0.5865372", "0.5842589", "0.58372796", "0.58260256", "0.5720975", "0.56882...
0.6994998
1
Creates a storage system [Arguments]
def fusion_api_create_storage_system(self, body, api=None, headers=None): return self.system.create(body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_system(sys_structure):\n pass", "def do_create_volume(self, arg):\n args = self.parse_arguments(arg)\n if len(args) == 0:\n self.perror(\"No name given.\")\n return\n if len(args) == 1:\n self.perror(\"No path given.\")\n return\n ...
[ "0.68909466", "0.676477", "0.6605614", "0.6419755", "0.6357417", "0.6257824", "0.6233322", "0.61544156", "0.6116278", "0.6047319", "0.6047319", "0.6040705", "0.6036012", "0.5999103", "0.59540313", "0.5937024", "0.5922111", "0.5921285", "0.5895358", "0.58862776", "0.5884522", ...
0.7146697
0
Updates a storage system [Arguments]
def fusion_api_update_storage_system(self, body, uri, api=None, headers=None): return self.system.update(body=body, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_system(self, system):\n try:\n rc, storage_system = self.request(\"storage-systems/%s\" % system[\"ssid\"], method=\"POST\", data=system[\"changes\"])\n except Exception as error:\n self.module.warn(\"Failed to update storage system. Array [%s]. Error [%s]\" % (system...
[ "0.71529925", "0.6376557", "0.62272817", "0.61972594", "0.6157025", "0.60285354", "0.5975653", "0.59703285", "0.595285", "0.59182453", "0.58770084", "0.58490056", "0.5829536", "0.58065957", "0.57692236", "0.5761438", "0.5749751", "0.569957", "0.5686913", "0.5655247", "0.55898...
0.69415796
1
Deletes storage systems based on name OR uri. [Arguments]
def fusion_api_delete_storage_system(self, uri=None, api=None, headers=None): return self.system.delete(uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_delete_storage_volume(self, name=None, uri=None, param='', api=None, headers=None):\n return self.volume.delete(name=name, uri=uri, param=param, api=api, headers=headers)", "def volume_delete_by_storage(context, storage_id):\n _volume_get_query(context).filter_by(storage_id=storage_i...
[ "0.6747735", "0.65936804", "0.6574242", "0.6561652", "0.64618254", "0.639014", "0.6384477", "0.6309357", "0.6251605", "0.6201774", "0.62011224", "0.61768955", "0.6151359", "0.61185914", "0.60658145", "0.6045823", "0.60403293", "0.60095286", "0.6000621", "0.5978106", "0.596370...
0.77971196
0
Returns Reachable Ports of Specified Storage System [Arguments]
def fusion_api_storage_system_get_reachable_ports(self, uri=None, param='', api=None, headers=None): return self.system.get_reachable_ports(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def read_all_ram_ports(self):\n return self.RAM_PORT", "def list_ports(state):\n\tstate.report()", "def look_for_available_ports():\n available_ports = glob.glob('/dev/ttyACM*')\n print(\"Available porst: \")\n print(available_ports)\n\n return available_ports", "def list_occupied_adb_ports():...
[ "0.6260427", "0.6184044", "0.5920856", "0.5918714", "0.5892136", "0.5839744", "0.5819546", "0.58051527", "0.57387537", "0.5708297", "0.5635481", "0.5631053", "0.56215024", "0.55690616", "0.5567119", "0.5548749", "0.5545921", "0.554013", "0.5537568", "0.55270517", "0.5516075",...
0.66462207
0
Returns Templates of Specified Storage System [Arguments]
def fusion_api_storage_system_get_templates(self, uri=None, param='', api=None, headers=None): return self.system.get_templates(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_storage_volumes_template(self, uri=None, param='', api=None, headers=None):\n return self.template.get(uri=uri, api=api, headers=headers, param=param)", "def find_templates(self, name):\n script = (\n 'Get-SCVMTemplate -Name \\\"{}\\\" -VMMServer $scvmm_server')\n ...
[ "0.6130852", "0.5904958", "0.5899262", "0.5819744", "0.57762927", "0.5706322", "0.56789964", "0.56496763", "0.5636637", "0.56168526", "0.56025994", "0.55965084", "0.5466135", "0.5463602", "0.54628754", "0.5458414", "0.54406357", "0.5440389", "0.5435754", "0.54191256", "0.5416...
0.715283
0
Createsa storage volume template [Arguments]
def fusion_api_create_storage_volume_template(self, body, api=None, headers=None): return self.template.create(body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def do_create_volume(self, arg):\n args = self.parse_arguments(arg)\n if len(args) == 0:\n self.perror(\"No name given.\")\n return\n if len(args) == 1:\n self.perror(\"No path given.\")\n return\n if not os.path.isabs(args[1]):\n p...
[ "0.6814054", "0.67270184", "0.63690454", "0.6242397", "0.62349063", "0.62077343", "0.6189123", "0.61831164", "0.61421955", "0.6133715", "0.60924095", "0.6034682", "0.5951743", "0.59173465", "0.58347845", "0.5762987", "0.5725603", "0.5716367", "0.5713912", "0.57078236", "0.570...
0.7235573
0
Edits a storage volume template [Arguments]
def fusion_api_edit_storage_volume_template(self, body, uri, api=None, headers=None): return self.template.update(body=body, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def edit(self, connection_id, arguments, template):\n context = self.context\n self.connection_id = str(connection_id)\n arguments = str(arguments)\n self.arguments_src = arguments\n self._arg = Aqueduct.parse(arguments)\n if not isinstance(template, (str, unicode)):\n ...
[ "0.6604789", "0.6382298", "0.627123", "0.61627245", "0.57500106", "0.5632828", "0.557544", "0.548894", "0.5487666", "0.5487666", "0.54597175", "0.54359376", "0.5409239", "0.5394115", "0.53886133", "0.53731084", "0.53463495", "0.53461826", "0.5322886", "0.5322886", "0.5293684"...
0.7517243
0
Gets a collection of Storage Volumes template. [Arguments]
def fusion_api_get_storage_volumes_template(self, uri=None, param='', api=None, headers=None): return self.template.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_storage_volumes(self, uri=None, param='', api=None, headers=None):\n return self.volume.get(uri=uri, api=api, headers=headers, param=param)", "def get_volumes(self):\n url = self._get_url() + 'volumes'\n volumes = self._request(url)\n return volumes.json()", "...
[ "0.66193295", "0.6232202", "0.6216252", "0.61740613", "0.6091448", "0.6026836", "0.5980668", "0.5839226", "0.5821388", "0.580545", "0.57947487", "0.57925844", "0.5769682", "0.5715384", "0.5713581", "0.5696221", "0.56869644", "0.5641485", "0.56224024", "0.56187606", "0.5549489...
0.75884503
0
Deletes storage volumes template based on name OR uri. [Arguments]
def fusion_api_delete_storage_volume_template(self, name=None, uri=None, api=None, headers=None): return self.template.delete(name=name, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_delete_storage_volume(self, name=None, uri=None, param='', api=None, headers=None):\n return self.volume.delete(name=name, uri=uri, param=param, api=api, headers=headers)", "def volume_delete_by_storage(context, storage_id):\n _volume_get_query(context).filter_by(storage_id=storage_i...
[ "0.69322246", "0.66325945", "0.6535928", "0.64637643", "0.64629805", "0.63880926", "0.63642126", "0.6279384", "0.6176047", "0.6130483", "0.6120978", "0.6117986", "0.61067766", "0.61050576", "0.60910296", "0.60836864", "0.60775805", "0.6065635", "0.60409033", "0.5998365", "0.5...
0.831892
0
Createsa storage volume [Arguments]
def fusion_api_create_storage_volume(self, body, api=None, headers=None): return self.volume.create(body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def do_create_volume(self, arg):\n args = self.parse_arguments(arg)\n if len(args) == 0:\n self.perror(\"No name given.\")\n return\n if len(args) == 1:\n self.perror(\"No path given.\")\n return\n if not os.path.isabs(args[1]):\n p...
[ "0.7941576", "0.7089558", "0.70177823", "0.69405454", "0.6881909", "0.6872605", "0.6853059", "0.68054694", "0.6770245", "0.6698523", "0.65701807", "0.6498982", "0.649659", "0.6495716", "0.63821924", "0.6364152", "0.6358835", "0.6351863", "0.62834316", "0.62829244", "0.6264964...
0.6957713
3
update storage volume [Arguments]
def fusion_api_update_storage_volume(self, body, uri, api=None, headers=None): return self.volume.update(body=body, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_volume(VolumeId=None, Name=None, MountPoint=None):\n pass", "def update_volume( opencloud_volume ):\n\n client = connect_syndicate()\n\n vol_name = opencloud_volume.name\n vol_description = opencloud_volume.description\n vol_private = opencloud_volume.private\n vol_archive = openclou...
[ "0.7190459", "0.7092629", "0.6981456", "0.6419218", "0.6410365", "0.62468994", "0.6128892", "0.61107886", "0.60772836", "0.60474294", "0.59711313", "0.5960724", "0.59175813", "0.5858114", "0.58509284", "0.5834266", "0.5816146", "0.5813269", "0.5780586", "0.5769371", "0.575916...
0.715785
1
Gets a collection of Storage Volumes. [Arguments]
def fusion_api_get_storage_volumes(self, uri=None, param='', api=None, headers=None): return self.volume.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_volumes(self):\n url = self._get_url() + 'volumes'\n volumes = self._request(url)\n return volumes.json()", "def list_volumes(self):\n print '# Listing existing volumes'\n self.compute.list_volumes()", "def get_volumes(self):\n res = self.get('%s/volumes' % sel...
[ "0.7352446", "0.7275717", "0.713416", "0.70805156", "0.69414204", "0.69319326", "0.6845503", "0.6827726", "0.67976844", "0.6723703", "0.6651151", "0.6629031", "0.6606961", "0.6578981", "0.65522295", "0.6530312", "0.64605623", "0.6416945", "0.63577414", "0.63155895", "0.627000...
0.77948713
0
Deletes storage volumes based on name OR uri. [Arguments]
def fusion_api_delete_storage_volume(self, name=None, uri=None, param='', api=None, headers=None): return self.volume.delete(name=name, uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_volumes(volumes):\n if type(volumes) is not list:\n volumes = [volumes]\n for volume in volumes:\n command = 'cinder delete %s' % volume['id']\n a = Popen(command.split(), stdout=STDOUT, stderr=STDERR).communicate()[0]", "def volume_delete_by_storage(context, storage_id):\n ...
[ "0.7386203", "0.7326507", "0.70525193", "0.67831665", "0.6738581", "0.6667749", "0.65804183", "0.65754896", "0.65166175", "0.6488847", "0.6486761", "0.6472515", "0.63933235", "0.63833314", "0.6362582", "0.6329666", "0.6297816", "0.624408", "0.62437993", "0.6227428", "0.622419...
0.78018206
0
Add existing storage volume on the storage system into Oneview [Arguments]
def fusion_api_add_existing_storage_volume(self, body, api=None, headers=None): return self.volume.add_existing(body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_create_storage_volume(self, body, api=None, headers=None):\n return self.volume.create(body=body, api=api, headers=headers)", "def do_create_volume(self, arg):\n args = self.parse_arguments(arg)\n if len(args) == 0:\n self.perror(\"No name given.\")\n ...
[ "0.64701086", "0.6464822", "0.6329343", "0.6256644", "0.6083061", "0.60799366", "0.60161775", "0.6015726", "0.5991257", "0.59508777", "0.5932107", "0.592002", "0.5906367", "0.58913493", "0.5878204", "0.5808978", "0.57532054", "0.5737604", "0.5717718", "0.5694623", "0.5679895"...
0.6710524
0
Get storage volume attachments. [Arguments]
def fusion_api_get_storage_volume_attachments(self, uri=None, param='', api=None, headers=None): return self.volume_attachment.get(uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_volumes(self, oid):\n path = '/servers/%s/os-volume_attachments' % oid\n res = self.client.call(path, 'GET', data='', \n token=self.manager.identity.token)\n self.logger.debug('List volumes for server %s: %s' % \n (oid, truncate(re...
[ "0.7300456", "0.7208481", "0.6899568", "0.6569004", "0.6527376", "0.63582116", "0.631158", "0.6246561", "0.61307013", "0.6094036", "0.60406727", "0.60042816", "0.59712315", "0.5970954", "0.59668416", "0.59643215", "0.5960853", "0.59218377", "0.58457655", "0.579255", "0.576867...
0.82864267
0
Create, update, and delete volume attachments via patch [Arguments]
def fusion_api_patch_storage_volume_attachments(self, body, param='', api=None, headers=None): return self.volume_attachment.patch(body=body, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_aws_service_api_volume_attachment_put(self):\n pass", "def test_aws_service_api_volume_attachment_delete(self):\n pass", "def test_manage_volume_attachments(self, volume, instance, volumes_steps):\n volumes_steps.attach_instance(volume.name, instance.name)\n volumes_steps.d...
[ "0.69271636", "0.6763079", "0.6706392", "0.6365676", "0.6276474", "0.62318283", "0.61483425", "0.6080413", "0.6048534", "0.60193163", "0.60192627", "0.600426", "0.5877835", "0.5871101", "0.57794565", "0.572767", "0.5701827", "0.5693271", "0.568384", "0.5607973", "0.5607061", ...
0.7713857
0
Adds a Switch. [Arguments]
def fusion_api_add_switch(self, body, api=None, headers=None): return self.switch.create(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _add_switch(self, switchdesc):\n # Check switch definition parameters\n switch_attributes = list(switchdesc.keys())\n if not set(switch_attributes).issubset(self.switch_attributes):\n raise ValueError(\n \"Switch definition: '{0}' defined in '{1}' is not supported...
[ "0.7197816", "0.7047896", "0.67928106", "0.670183", "0.6418482", "0.628637", "0.61727667", "0.6144492", "0.59654", "0.5946293", "0.5946293", "0.5946293", "0.5946293", "0.58870834", "0.58350474", "0.57910943", "0.574242", "0.56971276", "0.56793344", "0.56316096", "0.5453238", ...
0.626518
6