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
Deletes the trap destination associated with id [Example] ${resp} = Fusion Api Delete Appliance Trap Destination | | | |
def fusion_api_delete_appliance_trap_destination(self, id=None, api=None, headers=None): # pylint: disable=W0622 return self.trap.delete(id=id, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_delete_appliance_snmpv3_trap_destination(self, id=None, api=None, headers=None): # pylint: disable=W0622\n return self.snmpv3trap.delete(id=id, api=api, headers=headers)", "def delete(id):\n r = requests.delete(API_ROUTE + '/' + str(id), headers={'Auth': _auth()})\n if r.status_c...
[ "0.7169179", "0.6183716", "0.6171733", "0.5891423", "0.5883739", "0.5883739", "0.58711326", "0.5850136", "0.58202666", "0.5785711", "0.57626516", "0.5716147", "0.5701345", "0.56500584", "0.5644843", "0.56413263", "0.559493", "0.55848175", "0.55716556", "0.5553562", "0.5550309...
0.77792716
0
Returns appliance SNMPv3 trap destinations [Example] ${resp} = Fusion Api Get Appliance SNMPv3 Trap Destinations | | | |
def fusion_api_get_appliance_snmpv3_trap_destinations(self, id=None, param='', api=None, headers=None): # pylint: disable=W0622 return self.snmpv3trap.get(id=id, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_appliance_trap_destinations(self, id=None, param='', api=None, headers=None): # pylint: disable=W0622\n return self.trap.get(id=id, param=param, api=api, headers=headers)", "def fusion_api_add_appliance_snmpv3_trap_destination(self, body=None, api=None, headers=None):\n ...
[ "0.6452569", "0.56578344", "0.54804915", "0.5134963", "0.5104358", "0.48025116", "0.4775512", "0.47501403", "0.46201384", "0.45593098", "0.4524613", "0.44882345", "0.44875172", "0.4471129", "0.446934", "0.44567436", "0.4438928", "0.44336593", "0.44281107", "0.44168553", "0.44...
0.7171664
0
Adds SNMPv3 trap forwarding destination. [Example] ${resp} = Fusion Api Add Appliance SNMPv3 Trap Destination | | |
def fusion_api_add_appliance_snmpv3_trap_destination(self, body=None, api=None, headers=None): return self.snmpv3trap.create(body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_edit_appliance_snmpv3_trap_destination(self, body=None, id=None, api=None, headers=None): # pylint: disable=W0622\n return self.snmpv3trap.put(body=body, id=id, api=api, headers=headers)", "def fusion_api_add_or_update_appliance_trap_destination(self, body=None, id=None, api=None, head...
[ "0.5947996", "0.5868191", "0.5803545", "0.555319", "0.52671266", "0.52026045", "0.4991366", "0.49749583", "0.49404338", "0.493424", "0.4829489", "0.47948322", "0.47238278", "0.47180727", "0.47138092", "0.47075", "0.46764702", "0.46099842", "0.4608544", "0.45971972", "0.457480...
0.72208995
0
Edits the SNMPv3 trap destination associated with id [Example] ${resp} = Fusion Api Edit Appliance SNMPv3 Trap Destination | | | |
def fusion_api_edit_appliance_snmpv3_trap_destination(self, body=None, id=None, api=None, headers=None): # pylint: disable=W0622 return self.snmpv3trap.put(body=body, id=id, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_update_appliance_trap_destination(self, body, id, api=None, headers=None): # pylint: disable=W0622\n return self.trap.put(body=body, id=id, api=api, headers=headers)", "def fusion_api_add_appliance_snmpv3_trap_destination(self, body=None, api=None, headers=None):\n return se...
[ "0.624998", "0.595249", "0.5786376", "0.5525899", "0.54481405", "0.5194094", "0.51593745", "0.51566964", "0.5087404", "0.50645834", "0.4958187", "0.4930071", "0.4916984", "0.49127147", "0.4853215", "0.4799228", "0.47734588", "0.4762119", "0.47091353", "0.46930063", "0.4662609...
0.7082064
0
Deletes the SNMPv3 trap destination associated with id [Example] ${resp} = Fusion Api Delete Appliance SNMPv3 Trap Destination | | |
def fusion_api_delete_appliance_snmpv3_trap_destination(self, id=None, api=None, headers=None): # pylint: disable=W0622 return self.snmpv3trap.delete(id=id, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_delete_appliance_trap_destination(self, id=None, api=None, headers=None): # pylint: disable=W0622\n return self.trap.delete(id=id, api=api, headers=headers)", "def fusion_api_get_appliance_snmpv3_trap_destinations(self, id=None, param='', api=None, headers=None): # pylint: disable=W06...
[ "0.7257434", "0.5992244", "0.5957023", "0.5828099", "0.5784412", "0.5744131", "0.5703777", "0.56876636", "0.5585665", "0.55755144", "0.55749446", "0.556508", "0.55482614", "0.5519527", "0.5519527", "0.55003023", "0.5499752", "0.5490947", "0.54691553", "0.54597276", "0.5442648...
0.78651416
0
Returns appliance SNMPv3 trap forwarding users [Example] ${resp} = Fusion Api Get Appliance SNMPv3 Trap Forwarding Users | | | |
def fusion_api_get_appliance_snmpv3_trap_forwarding_users(self, id=None, param='', api=None, headers=None): # pylint: disable=W0622 return self.snmpv3user.get(id=id, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_add_appliance_snmpv3_trap_forwarding_user(self, body=None, api=None, headers=None):\n return self.snmpv3user.create(body=body, api=api, headers=headers)", "def fusion_api_delete_appliance_snmpv3_trap_forwarding_user(self, id=None, api=None, headers=None): # pylint: disable=W0622\n ...
[ "0.6175718", "0.5447409", "0.53035015", "0.5199775", "0.5180488", "0.5141749", "0.5136664", "0.5105145", "0.5090195", "0.5084039", "0.5067903", "0.49992546", "0.49987787", "0.4993332", "0.49735498", "0.49573854", "0.49499086", "0.49497983", "0.4907812", "0.48920804", "0.48858...
0.7442269
0
Adds SNMPv3 trap forwarding user. [Example] ${resp} = Fusion Api Add Appliance SNMPv3 Trap Forwarding User | | |
def fusion_api_add_appliance_snmpv3_trap_forwarding_user(self, body=None, api=None, headers=None): return self.snmpv3user.create(body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_edit_appliance_snmpv3_trap_forwarding_user(self, body=None, id=None, api=None, headers=None): # pylint: disable=W0622\n return self.snmpv3user.put(body=body, id=id, api=api, headers=headers)", "def fusion_api_get_appliance_snmpv3_trap_forwarding_users(self, id=None, param='', api=None,...
[ "0.6939913", "0.5976426", "0.58757097", "0.5855446", "0.51126504", "0.5057027", "0.4986211", "0.49599764", "0.49044636", "0.4904454", "0.48323953", "0.48296493", "0.4788959", "0.4776318", "0.47702244", "0.47659114", "0.47518277", "0.47437558", "0.47392562", "0.47388226", "0.4...
0.7938626
0
Edits SNMPv3 trap forwarding user associated with id [Example] ${resp} = Fusion Api Edit Appliance SNMPv3 Trap Forwarding User | |
def fusion_api_edit_appliance_snmpv3_trap_forwarding_user(self, body=None, id=None, api=None, headers=None): # pylint: disable=W0622 return self.snmpv3user.put(body=body, id=id, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_add_appliance_snmpv3_trap_forwarding_user(self, body=None, api=None, headers=None):\n return self.snmpv3user.create(body=body, api=api, headers=headers)", "def update_user(id):\n pass", "def fusion_api_delete_appliance_snmpv3_trap_forwarding_user(self, id=None, api=None, headers=No...
[ "0.64520043", "0.60710645", "0.6002895", "0.57764155", "0.5557158", "0.55425996", "0.5484981", "0.54391134", "0.54175264", "0.5394457", "0.5381147", "0.53033", "0.53024733", "0.5267579", "0.5251395", "0.52505785", "0.5223246", "0.520376", "0.5195357", "0.5168125", "0.5167796"...
0.7626561
0
Deletes the SNMPv3 trap forwarding user associated with id [Example] ${resp} = Fusion Api Delete Appliance SNMPv3 Trap Forwarding User | |
def fusion_api_delete_appliance_snmpv3_trap_forwarding_user(self, id=None, api=None, headers=None): # pylint: disable=W0622 return self.snmpv3user.delete(id=id, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_delete_appliance_snmpv3_trap_destination(self, id=None, api=None, headers=None): # pylint: disable=W0622\n return self.snmpv3trap.delete(id=id, api=api, headers=headers)", "def delete_user(id):\n pass", "def delete_user():\n user_id = validate_id(request.args.get(\"id\"))\n ...
[ "0.65136087", "0.64713705", "0.63645256", "0.6336111", "0.6335194", "0.63321716", "0.63135046", "0.62973535", "0.6286232", "0.62428766", "0.62398744", "0.6206671", "0.617713", "0.617306", "0.61483526", "0.6131463", "0.6121467", "0.6104523", "0.6087752", "0.60877126", "0.60702...
0.84660083
0
Checks if a user has permissions on a specific category and action. Returns "true" if user has permissions on the specified category and action, "false" if user does not have permissions. [Arguments]
def fusion_api_check_authorization(self, body=None, api=None, headers=None, sessionID=None): return self.auth.check(body=body, api=api, headers=headers, sessionID=sessionID)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def action_allowed_for(user, permission):\n if user is None or not user.is_authenticated:\n return False\n\n assert permission in amo.permissions.PERMISSIONS_LIST # constants only.\n return any(\n match_rules(group.rules, permission.app, permission.action)\n for group in user.groups_...
[ "0.72864044", "0.7225292", "0.6851106", "0.68126184", "0.6722678", "0.6715033", "0.6702577", "0.6687147", "0.6614356", "0.660632", "0.6601022", "0.655983", "0.65587866", "0.6515114", "0.65122163", "0.64744353", "0.64689827", "0.64689827", "0.63849586", "0.6325411", "0.6320395...
0.0
-1
Retrieves a list of category and actions [Arguments] [Example] ${resp} = Fusion Api Get Authorization Category Actions | | | |
def fusion_api_get_authorization_category_actions(self, api=None, headers=None, resource_uri='', sessionID=None,): param = '/category-actions%s' % resource_uri return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_authorization_role_category_actions(self, api=None, headers=None, sessionID=None):\n param = '/role-category-actions'\n return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)", "def fusion_api_get_authorization_permission_actions(self, api=None, ...
[ "0.72943723", "0.70284075", "0.6173326", "0.6108947", "0.5853997", "0.5831378", "0.58130175", "0.5803924", "0.5767478", "0.5740511", "0.56732655", "0.565956", "0.5625802", "0.5619425", "0.55742353", "0.557309", "0.5536828", "0.55304563", "0.546844", "0.5437171", "0.5403862", ...
0.77807516
0
Retrieves a list of all roles and associated category and actions. [Arguments] [Example] ${resp} = Fusion Api Get Authorization Role Category Actions | | |
def fusion_api_get_authorization_role_category_actions(self, api=None, headers=None, sessionID=None): param = '/role-category-actions' return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_authorization_category_actions(self, api=None, headers=None, resource_uri='', sessionID=None,):\n param = '/category-actions%s' % resource_uri\n return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)", "async def command_rolecall(self, context):\...
[ "0.68973285", "0.6569231", "0.62580717", "0.6199698", "0.6108623", "0.6103739", "0.61035544", "0.60652286", "0.605099", "0.598602", "0.59292746", "0.58605164", "0.58121884", "0.57386696", "0.57254803", "0.5724486", "0.5723421", "0.56763756", "0.56353784", "0.558605", "0.55661...
0.7601334
0
Lists the user session permissions that would authorize a particular action and resource category. [Arguments] [Example] ${resp} = Fusion Api Get Authorization Permission Actions | | | |
def fusion_api_get_authorization_permission_actions(self, api=None, headers=None, category_action='', sessionID=None): param = '/authorizing-permissions%s' % category_action return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_authorization_category_actions(self, api=None, headers=None, resource_uri='', sessionID=None,):\n param = '/category-actions%s' % resource_uri\n return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)", "def fusion_api_get_authorization_role_categ...
[ "0.6482365", "0.64557904", "0.6069945", "0.60467374", "0.59383446", "0.57589465", "0.5753795", "0.5751748", "0.5732013", "0.5685957", "0.5685957", "0.5683999", "0.5656991", "0.56460035", "0.56306535", "0.5603984", "0.56025666", "0.5601795", "0.55961245", "0.5596", "0.55540574...
0.74333566
0
Lists the permission scope. [Arguments] [Example] ${resp} = Fusion Api Get Authorization Permission Actions | | | |
def fusion_api_list_permission_scopes(self, api=None, headers=None, resource_uri='', sessionID=None): param = '/association-scopes%s' % resource_uri return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def permissions(self) -> 'outputs.PermissionsResponse':\n return pulumi.get(self, \"permissions\")", "def fusion_api_get_authorization_permission_actions(self, api=None, headers=None, category_action='', sessionID=None):\n param = '/authorizing-permissions%s' % category_action\n retu...
[ "0.65290165", "0.6478964", "0.637014", "0.6203895", "0.61429197", "0.61306375", "0.6116834", "0.60866284", "0.5969837", "0.59249896", "0.5917814", "0.59140855", "0.58482", "0.58374697", "0.5819706", "0.5795554", "0.57797724", "0.57768506", "0.5727272", "0.5715865", "0.5682023...
0.6607175
0
Lists the permission scope. [Arguments] [Example] ${resp} = Fusion Api list Permission Scopes Auth Creation Resource | | | |
def fusion_api_list_permission_scopes_auth_creation_resource(self, api=None, headers=None, resource_uri='', sessionID=None): param = '/associator-scopes%s' % resource_uri return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_list_permission_scopes(self, api=None, headers=None, resource_uri='', sessionID=None):\n param = '/association-scopes%s' % resource_uri\n return self.auth.get(api=api, param=param, headers=headers, sessionID=sessionID)", "def ListScopes(self, request, context):\n context.s...
[ "0.6913755", "0.65023345", "0.6389445", "0.6303606", "0.6164184", "0.61104393", "0.60109156", "0.5992203", "0.59574205", "0.5911801", "0.58344525", "0.58288985", "0.5827482", "0.5806445", "0.57354546", "0.563093", "0.56283593", "0.55610836", "0.55162734", "0.5499117", "0.5496...
0.6677038
1
Cancels an inprogress backup. The backup URI may be obtained from the task returned when starting a backup, or by listing the backups [Arguments]
def fusion_api_cancel_backup(self, backup, api=None, headers=None): return self.backup.cancel(backup=backup, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_backup(BackupId=None):\n pass", "def delete_backup(self, backup):\n aname = \"cinder_v%s.delete_backup\" % self.version\n with atomic.ActionTimer(self, aname):\n self._get_client().backups.delete(backup)\n bench_utils.wait_for_status(\n backup,\n ...
[ "0.6074363", "0.5915743", "0.5699145", "0.5403056", "0.53551537", "0.5338421", "0.53317684", "0.5293905", "0.5208342", "0.51806414", "0.51683414", "0.51478064", "0.5142927", "0.5110171", "0.50827575", "0.5061864", "0.5055457", "0.5054801", "0.503485", "0.5029968", "0.5022354"...
0.6775087
0
Create a new appliance backup. Any existing backup on the appliance is removed. [Example] ${resp} = Fusion Api Create Backup | |
def fusion_api_create_backup(self, api=None, headers=None): return self.backup.create(api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_backup(\n self,\n request: dds_20151201_models.CreateBackupRequest,\n ) -> dds_20151201_models.CreateBackupResponse:\n runtime = util_models.RuntimeOptions()\n return self.create_backup_with_options(request, runtime)", "def create_backup_with_options(\n self,\n ...
[ "0.71544784", "0.663603", "0.63791287", "0.63514477", "0.62523586", "0.61538434", "0.61149126", "0.5964317", "0.5938151", "0.5883149", "0.57419795", "0.5724489", "0.5643536", "0.5501559", "0.5416815", "0.5396462", "0.5314764", "0.52601314", "0.52175057", "0.52039903", "0.5183...
0.6859653
1
Retrieve the details for any current appliance backup. [Arguments]
def fusion_api_get_backup(self, param='', api=None, headers=None, uri=None): return self.backup.get(param=param, api=api, headers=headers, uri=uri)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getBackup(self):\n\t\tquery = ''\n\t\tconn = self.get_connection()\n\t\theaders = { 'Content-type' : 'application/json', 'Authorization' : 'A10 %s' %self.sessionid}\n\t\tconn.request('GET', self.get_path() + '/' + query, headers=headers)\n\t\tresponse = conn.getresponse()\n\t\texpected_status = 200\n\t\terrors...
[ "0.7169605", "0.6997594", "0.6734981", "0.6351064", "0.631958", "0.6297726", "0.61973304", "0.61793154", "0.6170705", "0.60308003", "0.59781295", "0.5949514", "0.5925017", "0.5897332", "0.58862156", "0.58719206", "0.582674", "0.58258265", "0.58135927", "0.58129245", "0.575204...
0.61691105
9
Retrieves the specified backup and saves it locally. [Arguments]
def fusion_api_download_backup(self, uri, localfile, api=None, headers=None): return self.backup.download(uri=uri, localfile=localfile, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def backup():\n local_filename = get_backup_filename(hostname=socket.gethostname())\n local(BACKUP_COMMAND + local_filename)\n\n return local_filename", "def getBackup(self):\n\t\tquery = ''\n\t\tconn = self.get_connection()\n\t\theaders = { 'Content-type' : 'application/json', 'Authorization' : 'A10 %s...
[ "0.7060012", "0.69318056", "0.6888191", "0.65857303", "0.6478564", "0.6326417", "0.6305949", "0.6289269", "0.6203165", "0.6194968", "0.6184835", "0.61757976", "0.6158331", "0.6140219", "0.6119722", "0.6119613", "0.61128557", "0.60237", "0.598227", "0.5976467", "0.5938095", ...
0.5848131
26
Uploads the specified backup file. [Arguments]
def fusion_api_upload_backup(self, localfile, api=None, headers=None): return self.backup.upload(localfile=localfile, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def push_backup(args: Arguments) -> None:\n\n files = get_files_from_previous_backup(args.site)\n bucket = get_bucket(args)\n\n for path in files:\n upload_file(\n path=path,\n site_name=args.site,\n bucket=bucket,\n bucket_directory=args.bucket_directory...
[ "0.7197757", "0.6842295", "0.6684498", "0.6453418", "0.62992114", "0.6253434", "0.62268686", "0.6161197", "0.6126723", "0.6125984", "0.6119298", "0.6102406", "0.6081736", "0.6081205", "0.606851", "0.6063615", "0.604964", "0.59533495", "0.594451", "0.5936447", "0.59199685", ...
0.6224036
7
Updates the remote server configuration and the automatic backup schedule for backup. [Arguments]
def fusion_api_update_backup_config(self, body, api=None, headers=None): return self.backup.update(body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update_server(DisableAutomatedBackup=None, BackupRetentionCount=None, ServerName=None, PreferredMaintenanceWindow=None, PreferredBackupWindow=None):\n pass", "def backup(self):\n import datetime\n suffix = datetime.datetime.now().strftime('%Y-%m-%d--%H-%M-%S')\n self.host.run(\"test -...
[ "0.6484021", "0.56656784", "0.56172824", "0.5498402", "0.5481355", "0.5475416", "0.5418671", "0.53713375", "0.5359973", "0.5242817", "0.5222662", "0.51564956", "0.51209694", "0.50147176", "0.501252", "0.49795353", "0.49607792", "0.49550328", "0.4948112", "0.49403608", "0.4939...
0.557597
3
Retrieves the ca certificate by aliasname or get the ca certificates list. [Example] ${resp} = Fusion Api Get Ca Certificate | | | |
def fusion_api_get_ca_certificate(self, uri=None, api=None, headers=None, param=''): return self.ca.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_server_certificate(self, aliasname, api=None, headers=None):\n return self.server_certificate.get(aliasname, api, headers)", "def fusion_api_get_certificate_info(self, uri=None, api=None, param='', headers=None):\n param = '/certificates/https/'\n return self.i...
[ "0.6737102", "0.6336662", "0.6227532", "0.6090018", "0.60808045", "0.6077929", "0.59895927", "0.59895927", "0.5879556", "0.58654875", "0.58157027", "0.57867277", "0.5784408", "0.5756572", "0.575524", "0.57094204", "0.56620824", "0.56620824", "0.56620824", "0.5600329", "0.5577...
0.7302024
0
Retrieves the contents of the CRL file maintained by the internal CA; in Base64 encoded format, in the form of a string. [Example] ${resp} = Fusion Api Get Internal Ca Crl | |
def fusion_api_get_internal_ca_crl(self, api=None, headers=None): param = '/ca/crl' return self.ca.get(api=api, param=param, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def as_text(self):\n buf=BIO.MemoryBuffer()\n m2.x509_crl_print(buf.bio_ptr(), self.crl)\n return buf.read_all()", "def _get_cla_raw_data(cla_document_url):\n data = ''\n error = None\n try:\n r = requests.get(cla_document_url)\n except Exception as error:\n pass\n\...
[ "0.6228554", "0.6052844", "0.58945525", "0.56648254", "0.5539024", "0.54497933", "0.53351825", "0.5327286", "0.52844656", "0.52766275", "0.5275653", "0.5241717", "0.52319336", "0.5169041", "0.51577955", "0.5104549", "0.5101868", "0.5093677", "0.5073579", "0.5059927", "0.50190...
0.66197985
0
Revokes a certificate signed by the internal CA. [Arguments]
def fusion_api_revoke_certificate(self, name=None, api=None, headers=None): return self.ca.revoke(name=name, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def revoke_certificate(self):\n return self.__query(\"certificateRevoke\", kwargs)", "def revoke_certificate(\n project_id: str,\n location: str,\n ca_pool_name: str,\n certificate_name: str,\n) -> None:\n\n caServiceClient = privateca_v1.CertificateAuthorityServiceClient()\n\n # Create ...
[ "0.7554832", "0.694549", "0.6213158", "0.6074261", "0.6044288", "0.596315", "0.5957863", "0.57229257", "0.5626334", "0.5592185", "0.5586838", "0.5581402", "0.55342644", "0.5489734", "0.5419862", "0.54156125", "0.5409935", "0.53926045", "0.5356475", "0.5327446", "0.5248461", ...
0.6939461
2
Import external certificates into OneView [Arguments]
def fusion_api_import_external_ca_certificates(self, body, api=None, headers=None): return self.ca.add(body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_import_client_certificate(self, body, api=None, headers=None):\n return self.client_certificate.post(body, api, headers)", "def do_import(args):\n base64str = b''\n for infile_name in args.infile_names:\n if args.png:\n chunk = subprocess.check_output(['zbarimg',...
[ "0.5300228", "0.5245058", "0.5231525", "0.5186091", "0.50556266", "0.5055115", "0.5031747", "0.50013864", "0.49969247", "0.4977673", "0.4964511", "0.49186605", "0.48720825", "0.48224446", "0.48116574", "0.47745743", "0.4768785", "0.47382626", "0.47160086", "0.46878648", "0.46...
0.51234645
4
Remove external CA Certificates in Oneview [Arguments]
def fusion_api_remove_external_ca_certificates(self, aliasName, api=None, headers=None): return self.ca.delete(aliasName, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def remove_ca_certs_from_systemwide_ca_store(self):\n\n raise NotImplementedError()", "def fusion_api_revoke_certificate(self, name=None, api=None, headers=None):\n return self.ca.revoke(name=name, api=api, headers=headers)", "def revoke_certificate(self):\n return self.__query(\"certi...
[ "0.6013904", "0.565803", "0.5591083", "0.55188787", "0.54182845", "0.5397607", "0.523788", "0.52177835", "0.52039444", "0.5153776", "0.51488674", "0.51408875", "0.51112974", "0.50869256", "0.50488645", "0.50306964", "0.5020207", "0.5018251", "0.4996934", "0.49696755", "0.4961...
0.6606943
0
[Arguments] [Example] ${resp} = Fusion Api Get Certificate Validation Configuration | |
def fusion_api_get_certificate_validation_configuration(self, api=None, headers=None): return self.cv.get(api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_ssl_certificate() :", "def getCampaignConfig(docName, url=reqmgr_url):\n headers = {\"Content-type\": \"application/json\", \"Accept\": \"application/json\"}\n conn = make_x509_conn(url)\n url = '/reqmgr2/data/campaignconfig/%s' % docName\n conn.request(\"GET\", url, headers=headers)\n r2 ...
[ "0.56574243", "0.5644858", "0.5579412", "0.55728805", "0.5509885", "0.5457003", "0.54091847", "0.5372856", "0.5328325", "0.53195554", "0.5303918", "0.52742136", "0.5230642", "0.52138305", "0.5192459", "0.5187366", "0.51676726", "0.5148341", "0.51295745", "0.5124653", "0.50914...
0.60469764
0
[Arguments] Config = {
def fusion_api_update_certificate_validation_configuration(self, config, api=None, headers=None): return self.cv.put(config, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def config( **kwargs ):", "def config():", "def config():", "def configure(self, args):\n pass", "def config(ctx):\n return", "def configuration():", "def cli(ctx):\n config = get_config_data()\n\n ctx.obj = config", "def config(self):\n pass", "def config(self):\n pas...
[ "0.7436056", "0.7341484", "0.7341484", "0.7078108", "0.7066279", "0.695429", "0.6804748", "0.6771154", "0.6771154", "0.6706159", "0.668272", "0.668272", "0.668272", "0.66633135", "0.66518587", "0.66518587", "0.6574369", "0.6574369", "0.6574114", "0.6574114", "0.65472716", "...
0.0
-1
Get web server certificate information
def fusion_api_get_appliance_certificate(self, api=None, headers=None): return self.wsc.get(api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_ssl_certificate():", "def get_ssl_certificate() :", "def get_certinfo(doc):\n\n #set a two second default timeout to recieve a cert\n socket.setdefaulttimeout(2)\n doc['ssl'] = {} \n\n try:\n cert = ssl.get_server_certificate((doc['hostname'], 443))\n #sometimes certs come ...
[ "0.80187356", "0.79122674", "0.72709835", "0.71193457", "0.6894888", "0.6852808", "0.6816763", "0.6706032", "0.664074", "0.6625", "0.6625", "0.6619695", "0.6592437", "0.6592437", "0.6592437", "0.65768176", "0.6525126", "0.64383715", "0.64059526", "0.64059526", "0.6405794", ...
0.55222803
84
Generate certificate signing request used to get certificate [Arguments]
def fusion_api_generate_certificate_signing_request(self, body, api=None, headers=None): return self.wsc.post(body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def req_handler(args):\n key = _get_key(args)\n subject = get_subject_arguments()\n req = create_certificate_request(key, subject=subject, file_name=args.req_out)\n if not args.req_out:\n print(print_certificate_request(req))\n return req", "def req_command(args):\n if args.files:\n ...
[ "0.7107218", "0.69851446", "0.6928943", "0.68775123", "0.6876872", "0.68521", "0.68254477", "0.6718467", "0.6630469", "0.6468456", "0.64300436", "0.64171946", "0.6409522", "0.6374398", "0.6368085", "0.6367285", "0.6330612", "0.61382043", "0.6105512", "0.6057998", "0.60406613"...
0.7087885
1
Used to import appliance certificate into OneView [Arguments]
def fusion_api_import_appliance_certificate(self, body, api=None, headers=None, param=''): return self.wsc.put(body, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_import_client_certificate(self, body, api=None, headers=None):\n return self.client_certificate.post(body, api, headers)", "def show_command(args):\n for fn in args.files:\n ext = os.path.splitext(fn)[1].lower()\n if ext == '.csr':\n cmd = ['openssl', 'req', ...
[ "0.5239947", "0.5211276", "0.5210403", "0.51984346", "0.5181014", "0.51681864", "0.50820124", "0.5056354", "0.5039777", "0.50120467", "0.49912164", "0.49804226", "0.4976095", "0.4974017", "0.49715108", "0.49638125", "0.4950888", "0.49498275", "0.494732", "0.4929162", "0.49192...
0.5713314
0
Generates a self signed certificate or an internal CA signed certificate for RabbitMq clients. This is an asynchronous call. It is recommended that you poll for completion of the task and then use GET on the Task returned as part of Location header in the response body to get the certificate and the key. [Arguments]
def fusion_api_create_rabbitmq_client_certificate(self, body, uri=None, api=None, headers=None, param=''): return self.rabmq.post(body, uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_ssl_certificate():", "def get_ssl_certificate() :", "def generate_certificates():\n print('GEN CERTS')\n domain = os.environ.get('SSL_DOMAIN_NAME', 'localhost')\n email = os.environ.get('SSL_EMAIL', 'none@syntithenai.com')\n print(domain)\n cert_path = '/etc/letsencrypt/live/' + domain\n...
[ "0.64301926", "0.6297748", "0.62009734", "0.60943615", "0.5909983", "0.5855064", "0.5818804", "0.5709046", "0.55742115", "0.55465937", "0.5534416", "0.5516025", "0.5510373", "0.5500949", "0.5475458", "0.5446789", "0.5445314", "0.54415387", "0.5420854", "0.54159486", "0.538486...
0.5998802
4
Retrieve internal CA signed Rabbitmq client certificate. [Example] ${resp} = Fusion Api Get Rabbitmq Client Certificates | | |
def fusion_api_get_rabbitmq_client_certificate(self, param='', api=None, headers=None): return self.rabmq.get(param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_ssl_certificate():", "def get_ssl_certificate() :", "def fusion_api_get_ca_certificate(self, uri=None, api=None, headers=None, param=''):\n return self.ca.get(uri=uri, api=api, headers=headers, param=param)", "def client_certificate(self) -> str:\n return pulumi.get(self, \"client_c...
[ "0.72408545", "0.718397", "0.66533136", "0.65521437", "0.65521437", "0.6517693", "0.6469372", "0.64545226", "0.64545226", "0.6448066", "0.64047617", "0.6286404", "0.62447995", "0.61983234", "0.61817825", "0.60603267", "0.6026877", "0.60216177", "0.6007357", "0.60045433", "0.5...
0.75156265
0
Gets a default or paginated collection of Connections [Arguments]
def fusion_api_get_connections(self, uri=None, param='', api=None, headers=None): return self.conn.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_connections(self, id, connection_name, **args):\n return self.request(id + \"/\" + connection_name, args)", "def get_connections(self, id, connection_name, **args):\n return self.request(\n \"{0}/{1}/{2}\".format(self.version, id, connection_name), args\n )", "def get_al...
[ "0.6931733", "0.663533", "0.65736204", "0.65408987", "0.6520295", "0.6483001", "0.6483001", "0.6461461", "0.6389838", "0.623619", "0.6185604", "0.60714126", "0.60550255", "0.5961917", "0.5955461", "0.5941752", "0.5908974", "0.58920044", "0.5880017", "0.58781475", "0.5866742",...
0.5358474
39
Gets a default or paginated collection of connection templates [Arguments]
def fusion_api_get_connection_templates(self, uri=None, param='', api=None, headers=None): return self.ct.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 load_network_templates(self) -> List:\n try:\n network_templates = self.api.get(host=self.host, endpoint=f\"/api/v1/orgs/{self.oid}/networktemplates\")\n except Exception as...
[ "0.6215655", "0.6188987", "0.61315364", "0.6072817", "0.60249364", "0.59981847", "0.5976192", "0.58907515", "0.5838264", "0.5799378", "0.5787603", "0.57628065", "0.56953496", "0.559609", "0.55930907", "0.5544358", "0.5491033", "0.5429208", "0.5394012", "0.53638613", "0.536198...
0.6771585
0
Gets the default network connection template. During a network create the default connection value will be inherited from this template. [Example] ${resp} = Fusion Api Get Default Connection Template | |
def fusion_api_get_default_connection_template(self, api=None, headers=None): return self.ct.get_default(api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_default_network_policy(con):\n try:\n return con.network_policy_read(fq_name=conf.get('default_network_policy', 'UNEXPECTED_VALUE'))\n except NoIdError:\n log.debug('Unable to find default_network_policy')\n return None", "def get_default(self, create=True):\n if self._d...
[ "0.6309045", "0.62490034", "0.5907235", "0.5905433", "0.5886933", "0.58698976", "0.5831931", "0.58188957", "0.5802485", "0.5784825", "0.5722665", "0.57059497", "0.5699278", "0.56755865", "0.56710696", "0.565251", "0.5624445", "0.562275", "0.560671", "0.5573889", "0.5573223", ...
0.78695226
0
Updates a specific connection template. [Arguments]
def fusion_api_update_connection_template(self, body, uri=None, api=None, headers=None): return self.ct.update(body, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_update_default_connection_template(self, body, api=None, headers=None):\n return self.ct.update_default(body, api=api, headers=headers)", "def update_question_template(xblock_id, question_template, image_url, resolver, updated_variables, answer_template):\n \n connection = mys...
[ "0.6099811", "0.59442204", "0.5905751", "0.57469434", "0.5522224", "0.5516845", "0.5464372", "0.5455976", "0.54337114", "0.5396981", "0.5396981", "0.53957087", "0.5352702", "0.5321659", "0.5236404", "0.51731855", "0.51170504", "0.511649", "0.5103829", "0.5086445", "0.50662416...
0.6841243
0
Updates the default network connection template. During a network create the default connection value will be inherited from this template. [Arguments]
def fusion_api_update_default_connection_template(self, body, api=None, headers=None): return self.ct.update_default(body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_default_network(context):\n return [{\n 'type': 'templates/network.py',\n 'name': 'fc-network',\n 'properties': {\n 'resourceName': 'network',\n 'name': 'network',\n 'projectId': '$(ref.fc-project.projectId)',\n 'autoCreateSubnetworks': True,\n # We pass the dependsOn ...
[ "0.6304816", "0.5861226", "0.5853684", "0.5806563", "0.55561864", "0.5391252", "0.5345937", "0.52172774", "0.5185026", "0.514164", "0.51319385", "0.5113893", "0.5094148", "0.5078497", "0.5038522", "0.503765", "0.4990501", "0.49837723", "0.49665818", "0.4938572", "0.4913054", ...
0.653577
0
Creates an Datacenter. [Arguments]
def fusion_api_add_datacenter(self, body, api=None, headers=None): return self.dc.create(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_datacenter(call=None, kwargs=None):\n if call != \"function\":\n raise SaltCloudSystemExit(\n \"The create_address function must be called with -f or --function.\"\n )\n\n if kwargs is None:\n kwargs = {}\n\n if kwargs.get(\"name\") is None:\n raise SaltCl...
[ "0.7443374", "0.6926445", "0.69234055", "0.6916368", "0.6092167", "0.5985382", "0.597227", "0.5970743", "0.5937612", "0.58171827", "0.5813382", "0.57900625", "0.5742421", "0.5742421", "0.5712657", "0.56403553", "0.563824", "0.5605844", "0.55997175", "0.55749834", "0.5559675",...
0.62713814
4
Updates a Datacenter. [Arguments]
def fusion_api_edit_datacenter(self, body, uri, api=None, headers=None): return self.dc.update(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def update(self, code, *args, **kwargs):\n\n if not args and not kwargs:\n raise Exception('attributes for CostCenter are missing')\n\n attributes = args[0] if args else kwargs\n attributes = dict((k, v) for k, v in attributes.items())\n attributes.update({'service': self.SER...
[ "0.64845985", "0.6361359", "0.57992005", "0.5709713", "0.5695884", "0.5656915", "0.56096", "0.5583279", "0.5574616", "0.5565574", "0.54715985", "0.5468011", "0.5464512", "0.5455433", "0.5455433", "0.5455433", "0.54455954", "0.5437029", "0.5397037", "0.53785485", "0.5373082", ...
0.68879116
0
Removes Datacenters. If name or uri are not specified, all datacenters are removed. [Arguments]
def fusion_api_remove_datacenter(self, name=None, uri=None, api=None, headers=None): return self.dc.delete(name, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def cleanUp(name):\n clovr = pymongo.Connection().clovr\n clovr.clusters.remove(dict(name=name))", "def fusion_api_delete_network_set(self, name=None, uri=None, api=None, headers=None):\n return self.network_set.delete(name, uri, api, headers)", "def delete_cluster(self):", "def deletecollec...
[ "0.6081035", "0.57693714", "0.56088656", "0.5605488", "0.559625", "0.55759764", "0.55257326", "0.5464747", "0.54225147", "0.541714", "0.5382911", "0.5354284", "0.5338459", "0.52975005", "0.5288256", "0.5257809", "0.5253959", "0.52303916", "0.5221915", "0.52050453", "0.5193717...
0.7384288
0
Gets a default or paginated collection of Datacenters. [Arguments]
def fusion_api_get_datacenter(self, uri=None, param='', api=None, headers=None): return self.dc.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list_datacenters(conn=None, call=None):\n if call != \"function\":\n raise SaltCloudSystemExit(\n \"The list_datacenters function must be called with -f or --function.\"\n )\n\n datacenters = []\n\n if not conn:\n conn = get_conn()\n\n for item in conn.list_datacente...
[ "0.7283109", "0.67726135", "0.666604", "0.6545241", "0.6421111", "0.6389584", "0.59926814", "0.59325916", "0.5835996", "0.580439", "0.5778442", "0.57763314", "0.5697751", "0.5688286", "0.56803095", "0.564153", "0.5626023", "0.56173706", "0.5568054", "0.5524551", "0.5497158", ...
0.5703306
12
Adds a SAN Manager. [Arguments]
def fusion_api_add_san_manager(self, body, providerId=None, uri=None, api=None, headers=None): return self.dm.create(body, providerId, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def add_manager(self, agent):\n with self.simulation_mutex:\n self.get(\"manager_agents\")[agent.name] = agent", "def add_sap (self):\n raise NotImplementedError", "def do_add(self, args):\n argument_list = args.split()\n if len(argument_list) < 1:\n self.__bad_arg...
[ "0.5886489", "0.54768324", "0.54341", "0.5215697", "0.5150486", "0.5121677", "0.5074849", "0.5028252", "0.49931267", "0.49460495", "0.48038888", "0.47869223", "0.4780261", "0.47727942", "0.47576386", "0.47391835", "0.47355863", "0.47277775", "0.4703621", "0.4696103", "0.46918...
0.70052266
0
Updates a SAN Manager. [Arguments]
def fusion_api_edit_san_manager(self, body, uri, api=None, headers=None): return self.dm.update(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def manager_update(self, manager, config):\n self.request('/v1.1/managers/configs/%s' % manager, 'POST', body=config)", "def fusion_api_update_managed_san(self, body, uri, api=None, headers=None):\n return self.ms.update(body, uri, api, headers)", "def update_podmanager(cls, podmanager_uuid, ...
[ "0.6040223", "0.58976823", "0.52411103", "0.5226321", "0.50675595", "0.50528103", "0.504731", "0.5045723", "0.5035978", "0.5009271", "0.4999926", "0.4980094", "0.49456164", "0.4914688", "0.48902246", "0.4888154", "0.4880528", "0.48619416", "0.48463622", "0.48116904", "0.47927...
0.6545071
0
Removes SAN Managers. [Arguments]
def fusion_api_remove_san_manager(self, name=None, uri=None, api=None, headers=None): return self.dm.delete(name, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def test_004_delete(self):\n ret = svcmgr.main(argv=[\"delete\", \"-s\", SVCNAME, \"--local\"])\n assert ret == 0", "def remove(self, packages):\n if packages:\n cmd = ['dnf', 'remove'] + list(packages)\n subprocess.Popen(cmd).wait()", "def manager_remove(self, manage...
[ "0.57020456", "0.56861764", "0.5684826", "0.56704986", "0.5632607", "0.5630097", "0.5622593", "0.5586767", "0.5557375", "0.55300087", "0.5490273", "0.5488082", "0.5471423", "0.5471423", "0.5450497", "0.54431635", "0.5434717", "0.5434458", "0.53943706", "0.5377902", "0.5369805...
0.68998647
0
Gets a default or paginated collection of SAN Managers. [Arguments]
def fusion_api_get_san_manager(self, uri=None, param='', api=None, headers=None): return self.dm.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_managers():\n return {'managers': get_users('managers')}", "def manager(model):\n return model.objects", "def list_podmanager(cls):\n return cls.dbdriver.list_podmanager()", "def manager_active_list(self):\n _, body = self.request('/v1.1/managers/active', 'GET')\n return bo...
[ "0.6058825", "0.5749238", "0.5650289", "0.5557747", "0.5509893", "0.54246277", "0.53360915", "0.53125733", "0.5299747", "0.5293385", "0.521855", "0.51953477", "0.5093463", "0.50840014", "0.50631934", "0.5049018", "0.50417084", "0.50401676", "0.5027836", "0.49998373", "0.49812...
0.6093169
0
Gets a default or paginated collection of Drive Enclosures. [Arguments]
def fusion_api_get_drive_enclosure(self, uri=None, param='', api=None, headers=None): return self.drive_enclosure.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_sas_li_logical_drive_enclosures(self, uri=None, param='', api=None, headers=None):\n param = \"/logical-drive-enclosures%s\" % param\n return self.sasli.get(uri=uri, param=param, api=api, headers=headers)", "def fusion_api_get_enclosures(self, uri=None, param='', api=None...
[ "0.64401037", "0.575162", "0.55596346", "0.55056226", "0.5100261", "0.50478417", "0.5040822", "0.49720213", "0.493435", "0.49305773", "0.49068353", "0.4835804", "0.47633725", "0.47319296", "0.47230875", "0.47124046", "0.46805602", "0.46699175", "0.4662321", "0.4651771", "0.46...
0.6370821
1
Issues a PATCH request to a drive enclosure. See RESTAPI docs for valid request bodies [Arguments]
def fusion_api_patch_drive_enclosure(self, body, uri, api=None, headers=None): return self.drive_enclosure.patch(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def patch(self, *args, **kwargs):\n self.request(\"patch\", *args, **kwargs)", "def client_patch(self, path, data=None, content_type=client.MULTIPART_CONTENT, follow=False, **extra):\r\n\r\n data = data or {}\r\n response = super(client.Client, self).patch(path, data=data, content_type=content_type,...
[ "0.69250757", "0.6663205", "0.6662519", "0.664325", "0.65036833", "0.6449954", "0.64494", "0.6431868", "0.6422519", "0.6397085", "0.639598", "0.63724047", "0.63440573", "0.6308826", "0.62631166", "0.6232683", "0.6213324", "0.6213324", "0.6213324", "0.6213324", "0.6213324", ...
0.6808087
1
Issues a PUT request to a drive enclosure. See RESTAPI docs for valid request bodies [Arguments]
def fusion_api_put_drive_enclosure(self, body, uri, param='', api=None, headers=None): return self.drive_enclosure.put(body=body, uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def put(self, *args, **kwargs):\n self.request(\"put\", *args, **kwargs)", "def _put(self, *args, **kwargs):\n return self._request('put', *args, **kwargs)", "def do_PUT(self,):\n self.http_method = 'PUT'\n # Nothing to do for now.\n pass", "def put(self, *args, **kw):\n ...
[ "0.72172344", "0.7166577", "0.71286005", "0.70112306", "0.68267727", "0.6770514", "0.6760071", "0.6683008", "0.66027224", "0.65128016", "0.6479687", "0.6458144", "0.6457014", "0.6411887", "0.63934046", "0.63861746", "0.638544", "0.63830477", "0.63397056", "0.63353956", "0.632...
0.7271593
0
Gets a default or paginated collection of Sas Logical JBODs. [Arguments]
def fusion_api_get_sas_logical_jbods(self, uri=None, param='', api=None, headers=None): return self.sas_logical_jbods.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def list_datasets(self):\n if self.list_type == \"base\":\n ds = Dataset(f\"{self.pool}/iocage/releases\").get_dependents()\n elif self.list_type == \"template\":\n ds = Dataset(\n f\"{self.pool}/iocage/templates\").get_dependents()\n else:\n ds ...
[ "0.50539637", "0.5036113", "0.48488405", "0.4846214", "0.48281786", "0.4822341", "0.48127362", "0.48126644", "0.48031247", "0.47811225", "0.4769286", "0.47678027", "0.47659242", "0.47375947", "0.4730729", "0.47272998", "0.47253639", "0.4722152", "0.47209123", "0.47147042", "0...
0.47652328
13
Creates independent sas logical jbods [Arguments]
def fusion_api_post_sas_logical_jbods(self, body, api=None, headers=None): return self.sas_logical_jbods.post(body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def write_mesh_java(self):\n fout = open(self.javaBatch1File+\".java\",\"w\")\n fout.write(\"\"\"\\\n// STAR-CCM+ macro\npackage macro;\n\nimport java.util.*;\n\nimport star.common.*;\nimport star.base.neo.*;\nimport star.resurfacer.*;\nimport star.trimmer.*;\nimport star.prismmesher.*;\nimport star....
[ "0.54142535", "0.5274596", "0.50874454", "0.5075501", "0.4990759", "0.49766293", "0.49568054", "0.4930684", "0.4930611", "0.49111018", "0.48671573", "0.48432696", "0.48261032", "0.47949788", "0.47848707", "0.47655132", "0.4760693", "0.475955", "0.47541136", "0.47470814", "0.4...
0.55910516
0
Deletes independent sas logical jbods from the appliance based on uri [Arguments]
def fusion_api_delete_sas_logical_jbods(self, uri, api=None, headers=None): return self.sas_logical_jbods.delete(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.6884551", "0.6660939", "0.66185933", "0.6468747", "0.6230566", "0.6153764", "0.6016363", "0.5933864", "0.5921936", "0.58827883", "0.5882349", "0.5878072", "0.5875323", "0.58577526", "0.58542216", "0.5836818", "0.58298755", "0.58044356", "0.5769623", "0.57540727", "0.572006...
0.7457779
0
Updates independent sas logical jbods [Arguments]
def fusion_api_edit_sas_logical_jbods(self, body, uri, api=None, headers=None): return self.sas_logical_jbods.put(body=body, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_patch_sas_logical_jbods(self, body, uri, api=None, headers=None):\n return self.sas_logical_jbods.patch(body=body, uri=uri, api=api, headers=headers)", "def update(all=True, QDomni=False, omni=False, omni2=False, leapsecs=False, PSDdata=False):\n from spacepy.datamodel import SpaceDa...
[ "0.59633976", "0.55347496", "0.5399242", "0.538885", "0.5283675", "0.5071874", "0.5064917", "0.5011597", "0.4963516", "0.48926964", "0.48888305", "0.48228374", "0.4788545", "0.4787641", "0.47791782", "0.4741496", "0.47407743", "0.46761432", "0.46562803", "0.46489465", "0.4643...
0.610272
0
Issues a Patch request for independent sas logical jbods. [Arguments]
def fusion_api_patch_sas_logical_jbods(self, body, uri, api=None, headers=None): return self.sas_logical_jbods.patch(body=body, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_edit_sas_logical_jbods(self, body, uri, api=None, headers=None):\n return self.sas_logical_jbods.put(body=body, uri=uri, api=api, headers=headers)", "def fusion_api_post_sas_logical_jbods(self, body, api=None, headers=None):\n return self.sas_logical_jbods.post(body=body, api...
[ "0.5980176", "0.55514956", "0.5444114", "0.5345474", "0.5314434", "0.5190509", "0.5173068", "0.51346314", "0.5098097", "0.50588393", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", "0.5053951", ...
0.7037723
0
Gets a default or paginated collection of Sas Logical JBOD Attachments. [Arguments]
def fusion_api_get_sas_logical_jbod_attachments(self, uri=None, param='', api=None, headers=None): return self.sas_logical_jbod_attachments.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def attachments(self):\n if \"attachments\" in self._prop_dict:\n return AttachmentsCollectionPage(self._prop_dict[\"attachments\"])\n else:\n return None", "def attachments(self):\r\n return Attachments(self)", "def l10n_mx_edi_retrieve_attachments(self):\n se...
[ "0.62926215", "0.6057352", "0.6050825", "0.6040367", "0.5984288", "0.5875885", "0.57648206", "0.5750347", "0.57250994", "0.5604628", "0.55684406", "0.5516798", "0.5447954", "0.54462016", "0.54374933", "0.53657293", "0.53414655", "0.5287317", "0.52812994", "0.52628624", "0.522...
0.5385949
15
Configure the appliance to send an email notification, generated by specified alert filter queries [Arguments]
def fusion_api_email_config(self, body, api=None, headers=None): param = "/email-config" return self.email.post(body, api, headers, param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def main(arguments, emailer):\n emailer.read_config()\n print(\"Config read.\")\n emailer.setup_config(pages=arguments.pages,\n email_list=arguments.email_list,\n items_range=arguments.range,\n config=arguments.config,\n ...
[ "0.6282071", "0.6027258", "0.5963717", "0.58628166", "0.5842373", "0.58041483", "0.57684976", "0.57540846", "0.561873", "0.55867445", "0.5565869", "0.5523929", "0.55164677", "0.5485044", "0.53873456", "0.53690666", "0.53647447", "0.52852714", "0.5275853", "0.5275192", "0.5263...
0.4930451
69
Sends email from appliance to specified user. Both HTML and text content are embedded in the single email message. [Arguments]
def fusion_api_send_email(self, body, api=None, headers=None): param = "/send-email" return self.email.post(body, api, headers, param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def email_user(self, subject, message, from_email=None):\n send_mail(subject, message, from_email, [self.email])", "def send_reminder():\n\n name = config[\"email\"][\"name\"]\n user = config[\"email\"][\"user\"]\n subject = \"REMINDER: %s\" % sys.argv[1]\n body = sys.argv[2] if len(sys.argv) > 2 ...
[ "0.7024398", "0.6859583", "0.6831678", "0.6828097", "0.67626876", "0.6740623", "0.6736968", "0.67137575", "0.67135596", "0.6684763", "0.6684763", "0.66694695", "0.6654992", "0.66383207", "0.6619539", "0.65074396", "0.64878196", "0.6475052", "0.6458738", "0.64442533", "0.64442...
0.60893655
88
Retrieve email notification details with configured filters [Arguments]
def fusion_api_get_email_config(self, api=None, headers=None, param=''): return self.email.get(api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def match_notification_email(obj):\n results = []\n\n # some objects may not have this attribute, in this case we should fall\n # back to default criteria email\n if hasattr(obj, \"country\") and obj.country:\n results = Criterium.objects.filter(countries__contains=obj.country).values_list(\n ...
[ "0.60715723", "0.60373014", "0.60289764", "0.5962907", "0.5945919", "0.57590526", "0.56881183", "0.5665515", "0.5649928", "0.5638574", "0.5619291", "0.5544684", "0.55218965", "0.55039775", "0.54400325", "0.5437338", "0.54290766", "0.5426596", "0.54213315", "0.53908426", "0.53...
0.54011667
19
Adds scope to setting page [Arguments]
def fusion_api_create_scope(self, body, api=None, headers=None): return self.scope.post(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def enterScope(self, name):", "def scope(self, scope):\n self._scope = scope", "def set_scope(self, scope):\n self.vis.set_scope(scope)", "def scope(self, scope):\n\n self._scope = scope", "def SetDefaultScopeIfEmpty(unused_ref, args, request):\n request.scope = GetDefaultScopeIfEmpty...
[ "0.63168585", "0.6219495", "0.6147037", "0.59788173", "0.58571297", "0.58097523", "0.5780102", "0.57414305", "0.56879675", "0.56381005", "0.55436283", "0.55418986", "0.5504792", "0.5502658", "0.5457389", "0.54023117", "0.5389007", "0.52961695", "0.5260399", "0.5254479", "0.52...
0.49169192
51
Gets a scope [Arguments]
def fusion_api_get_scope(self, uri=None, param='', api=None, headers=None): return self.scope.get(uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_scope(self):\n raise NotImplementedError()", "def scope(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"scope\")", "def scope(self) -> pulumi.Input[str]:\n return pulumi.get(self, \"scope\")", "def scope(self): # noqa: ANN201", "def scope(self) -> pulumi.Output[str]:\n...
[ "0.6683968", "0.6542555", "0.6542555", "0.64431196", "0.61619866", "0.61352676", "0.60877377", "0.6041388", "0.6026428", "0.60247165", "0.6014444", "0.6001462", "0.5940042", "0.5940042", "0.5923221", "0.5879453", "0.5879453", "0.58243567", "0.57652175", "0.57652175", "0.57417...
0.5983463
12
patch a scope [Arguments]
def fusion_api_patch_scope(self, uri, body=None, api=None, headers=None, etag=None): return self.scope.patch(uri=uri, body=body, api=api, headers=headers, etag=etag)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def override(self,scope):", "def scope_reset(client, args):\n result = client.get_scope()\n if result.is_custom:\n print(\"Proxy is using a custom function to check scope. Cannot set context to scope.\")\n return\n client.context.set_query(result.filter)", "def updateScopes(markup):\n ...
[ "0.6150769", "0.5922721", "0.5863875", "0.5782693", "0.5780058", "0.57643557", "0.5706636", "0.56096774", "0.55088556", "0.5479934", "0.5457914", "0.5456176", "0.5436474", "0.5418265", "0.5416216", "0.5395018", "0.5330931", "0.5314338", "0.52900195", "0.52900195", "0.52524596...
0.65478545
0
Edit a scope [Arguments]
def fusion_api_edit_scope(self, uri, body=None, api=None, headers=None, eTag=None): return self.scope.put(uri=uri, body=body, api=api, headers=headers, eTag=eTag)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def enterScope(self, name):", "def edit():", "def scope_save(client, args):\n client.set_scope(client.context.query)", "def scope(self, name):\r\n raise NotImplementedError", "def set_scope(self, scope):\n self.vis.set_scope(scope)", "def edit(self, **kwargs):\n ...", "def scope(sel...
[ "0.6353248", "0.6125861", "0.5881737", "0.5809606", "0.5768116", "0.5761448", "0.57126087", "0.5673723", "0.5620026", "0.5583249", "0.557514", "0.5560509", "0.5555093", "0.55379164", "0.55369115", "0.55180043", "0.5493361", "0.54585934", "0.543936", "0.54201126", "0.5402684",...
0.6117095
2
Deletes a Scope from the appliance based on name OR uri [Arguments]
def fusion_api_delete_scope(self, uri=None, api=None, headers=None): return self.scope.delete(uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def scope_delete(client, args):\n client.set_scope([])", "def delete_scope_cli(args: Namespace):\n\n # Get the base profile\n profile, base_config = extract_profile(args)\n\n # Get the workspace groups\n groups = get_groups(profile)\n\n # Get the existing scopes\n scopes = extract_scopes(pro...
[ "0.73025864", "0.7263487", "0.603533", "0.59936666", "0.5951854", "0.58858526", "0.5821072", "0.5802672", "0.57769704", "0.56434864", "0.56293416", "0.5628568", "0.55978626", "0.5558368", "0.5539387", "0.55280393", "0.5519028", "0.5513393", "0.55118746", "0.5482532", "0.54714...
0.7602069
0
Fusion API Get Appliance Certificate [Example] ${resp} = Fusion Api Get Appliance Certificate | |
def fusion_api_get_appliance_certificate(self, api=None, headers=None): return self.appliance_certificate.get(api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_get_appliance_certificate(self, api=None, headers=None):\n return self.wsc.get(api=api, headers=headers)", "def get_ssl_certificate() :", "def certificate_auth():\r\n url = 'https://www.12306.cn'\r\n response = requests.get(url, verify=False)\r\n print(response.status_code)\r...
[ "0.6914495", "0.64815027", "0.64781034", "0.64724874", "0.644901", "0.63908297", "0.6243455", "0.6158818", "0.6155777", "0.6155777", "0.6079546", "0.5998563", "0.5967901", "0.58697426", "0.5802458", "0.58006537", "0.5792219", "0.5792219", "0.5792219", "0.5684703", "0.5648874"...
0.70567644
0
Fusion API Create Appliance Selfsigned Certificate [Arguments] body [Example] ${resp} = Fusion Api Create Appliance Selfsigned Certificate | | |
def fusion_api_create_appliance_selfsigned_certificate(self, body, api=None, headers=None): return self.appliance_certificate.put(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_create_certificate_request(self, body, uri=None, api=None, param='', headers=None):\n param = '/certificates/https/certificaterequest'\n return self.ic.post(uri=uri, body=body, api=api, headers=headers, param=param)", "def fusion_api_generate_certificate_signing_request(self,...
[ "0.6971027", "0.69361377", "0.68268514", "0.63815004", "0.62957174", "0.6160668", "0.6160668", "0.6114752", "0.6106183", "0.60284036", "0.6020332", "0.59913826", "0.5973368", "0.5967798", "0.5933598", "0.59006125", "0.5893792", "0.58749163", "0.5872739", "0.5861752", "0.58191...
0.7743001
0
Get Remote Certificate [Arguments]
def fusion_api_get_remote_certificate(self, ip, api=None, headers=None): return self.remote_certificate.get(ip, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_ssl_certificate():", "def get_ssl_certificate() :", "def fusion_api_get_certificate_info(self, uri=None, api=None, param='', headers=None):\n param = '/certificates/https/'\n return self.ic.get(uri=uri, api=api, headers=headers, param=param)", "def fusion_api_get_client_certific...
[ "0.7108284", "0.69801885", "0.6434288", "0.6255552", "0.62373865", "0.61934626", "0.6150075", "0.6104605", "0.60285634", "0.5978037", "0.58507806", "0.57769924", "0.57670623", "0.57441795", "0.572235", "0.57032377", "0.57032377", "0.57032377", "0.56818783", "0.56648785", "0.5...
0.71719384
0
Get Client Certificate in One View [Arguments]
def fusion_api_get_client_certificate(self, ip, api=None, headers=None): return self.client_certificate.get(ip, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_certificate_command(client: KeyVaultClient, args: dict[str, Any]) -> CommandResults:\n vault_name = args.get('vault_name', '')\n certificate_name = args.get('certificate_name', '')\n certificate_version = args.get('certificate_version', '')\n response = client.get_certificate_request(\n ...
[ "0.6596076", "0.6478391", "0.6216674", "0.6216674", "0.62051207", "0.61669564", "0.61669564", "0.6118241", "0.60985315", "0.59401757", "0.57963705", "0.577072", "0.57148623", "0.5640214", "0.56109947", "0.5604198", "0.56036454", "0.5587894", "0.55738294", "0.55738294", "0.557...
0.62418866
2
Import Client Certificate to Oneview [Arguments]
def fusion_api_import_client_certificate(self, body, api=None, headers=None): return self.client_certificate.post(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AddClientCertificateFlag(parser, required=False):\n help_text = \"\"\"\\\n x509 PEM-encoded certificate that will be used by the replica to\n authenticate against the database server. Database Migration Service\n encrypts the value when storing it.\n \"\"\"\n parser.add_argument('--client-certifica...
[ "0.5857431", "0.51808554", "0.51713127", "0.51159406", "0.51159406", "0.51053613", "0.5080026", "0.5057473", "0.5015352", "0.497699", "0.4970104", "0.49373612", "0.49193794", "0.4890044", "0.48616487", "0.48438507", "0.48412257", "0.4810169", "0.4780042", "0.47724333", "0.475...
0.59895074
0
Update Client Certificate in Oneview [Arguments]
def fusion_api_update_client_certificate(self, aliasname, body, api=None, headers=None): return self.client_certificate.put(aliasname, body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def edit_certificate(self, certificate):\r\n return self.ssl.editObject(certificate, id=certificate['id'])", "def renew_certificate(self, kwargs):\n return self.__query(\"certificateRenew\", kwargs)", "def AddClientCertificateFlag(parser, required=False):\n help_text = \"\"\"\\\n x509 PEM-enc...
[ "0.58557314", "0.56805027", "0.566867", "0.56002045", "0.54227984", "0.54112077", "0.54112077", "0.5403928", "0.5353365", "0.535133", "0.52481216", "0.5242505", "0.5226197", "0.5186496", "0.5183812", "0.5158893", "0.51565576", "0.5068806", "0.5057645", "0.50548595", "0.505211...
0.6258567
0
Delete Client Certificate in Oneview [Arguments]
def fusion_api_delete_client_certificate(self, aliasname, api=None, headers=None): return self.client_certificate.delete(aliasname, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_key_command(client: KeyVaultClient, args: dict[str, Any]) -> CommandResults:\n vault_name = args['vault_name']\n key_name = args['key_name']\n response = client.delete_key_request(vault_name, key_name)\n\n outputs = copy.deepcopy(response)\n outputs['deletedDate'] = convert_timestamp_to_r...
[ "0.625013", "0.6244312", "0.62095284", "0.6144197", "0.60847956", "0.6029214", "0.598694", "0.5954224", "0.5932226", "0.5910795", "0.5881732", "0.58764726", "0.58708096", "0.5808192", "0.58025086", "0.57821757", "0.5762548", "0.5756545", "0.5754441", "0.5750061", "0.57493013"...
0.685999
0
Validator CA or selfsigned leaf Certificate or CA signed leaf certificate chain [Arguments]
def fusion_api_validator_certificate(self, body, api=None, headers=None): return self.client_certificate.post_validator(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def main():\n ssl_date_fmt = r'%b %d %H:%M:%S %Y %Z'\n #cert_file_name = os.path.join(os.path.dirname(__file__), \"testcert.pem\")\n\n parser = argparse.ArgumentParser(description='Parse a certificate and show days left')\n parser.add_argument('-v', '--verbose', action='store_true', help='show full cer...
[ "0.59815294", "0.5970688", "0.5899741", "0.5865514", "0.5815009", "0.5812974", "0.5795692", "0.5770464", "0.5701223", "0.5698495", "0.566493", "0.5642125", "0.5632878", "0.56123084", "0.5604088", "0.55985147", "0.55609274", "0.54677016", "0.5466645", "0.54657596", "0.5452596"...
0.49242693
75
Get Server Certificate in Oneview [Arguments]
def fusion_api_get_server_certificate(self, aliasname, api=None, headers=None): return self.server_certificate.get(aliasname, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def get_ssl_certificate():", "def get_ssl_certificate() :", "def get_certificate_command(client: KeyVaultClient, args: dict[str, Any]) -> CommandResults:\n vault_name = args.get('vault_name', '')\n certificate_name = args.get('certificate_name', '')\n certificate_version = args.get('certificate_versio...
[ "0.66951466", "0.66779196", "0.6391321", "0.62507755", "0.62507755", "0.59920746", "0.5968472", "0.59460765", "0.5945997", "0.58664435", "0.5851941", "0.5811641", "0.5811641", "0.5811641", "0.57775646", "0.5736693", "0.5724674", "0.5705557", "0.5705557", "0.5683472", "0.56456...
0.6136898
5
Import Server Certificate to Oneview [Arguments]
def fusion_api_import_server_certificate(self, body, api=None, headers=None): return self.server_certificate.post(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def AddClientCertificateFlag(parser, required=False):\n help_text = \"\"\"\\\n x509 PEM-encoded certificate that will be used by the replica to\n authenticate against the database server. Database Migration Service\n encrypts the value when storing it.\n \"\"\"\n parser.add_argument('--client-certifica...
[ "0.5506298", "0.53837276", "0.5316408", "0.51833266", "0.5115405", "0.51070744", "0.50870794", "0.5043834", "0.5043834", "0.49950194", "0.49598062", "0.49210295", "0.49089193", "0.48697874", "0.4866097", "0.48488688", "0.48398224", "0.48291233", "0.48273656", "0.48074907", "0...
0.5582675
0
Update Server Certificate in Oneview [Arguments]
def fusion_api_update_server_certificate(self, aliasname, body, api=None, headers=None): return self.server_certificate.put(aliasname, body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def edit_certificate(self, certificate):\r\n return self.ssl.editObject(certificate, id=certificate['id'])", "def renew_certificate(self, kwargs):\n return self.__query(\"certificateRenew\", kwargs)", "def fusion_api_update_client_certificate(self, aliasname, body, api=None, headers=None):\n ...
[ "0.5565858", "0.55483586", "0.5518446", "0.5513929", "0.54373205", "0.542909", "0.5301142", "0.5301142", "0.52330923", "0.5218268", "0.5203179", "0.5186676", "0.51695204", "0.5164349", "0.5158582", "0.5125818", "0.5072391", "0.5009334", "0.49991253", "0.49973583", "0.49760723...
0.6071537
0
Delete Server Certificate in Oneview [Arguments]
def fusion_api_delete_server_certificate(self, aliasname, api=None, headers=None): return self.server_certificate.delete(aliasname, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def delete_server_cert(self, cert_name):\r\n params = {'ServerCertificateName' : cert_name}\r\n return self.get_response('DeleteServerCertificate', params)", "def delete_server(ServerName=None):\n pass", "def fusion_api_delete_client_certificate(self, aliasname, api=None, headers=None):\n ...
[ "0.6339691", "0.6308228", "0.6220074", "0.59610146", "0.59122694", "0.5907533", "0.58121276", "0.58015686", "0.5714405", "0.57131284", "0.56532806", "0.5625814", "0.559648", "0.5585206", "0.5582829", "0.5567907", "0.55342", "0.5526059", "0.5492054", "0.54811555", "0.54777545"...
0.6733296
0
Get Certificate status in Oneview [Example] ${resp} = Fusion Api Get Server Certificate | |
def fusion_api_get_certificate_status(self, api=None, headers=None): return self.certificate_status.get(api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def certificate_auth():\r\n url = 'https://www.12306.cn'\r\n response = requests.get(url, verify=False)\r\n print(response.status_code)\r\n print(response.text)", "def cert_status(self) -> str:\n return pulumi.get(self, \"cert_status\")", "def get_certificate(self, url):\n bearer = 'A...
[ "0.6732982", "0.636036", "0.6296492", "0.61848366", "0.5782088", "0.5774162", "0.5774162", "0.5769534", "0.5746093", "0.5686152", "0.56757915", "0.5651092", "0.56043833", "0.5604218", "0.55934715", "0.55675757", "0.5563659", "0.55380785", "0.5512679", "0.5492537", "0.5462718"...
0.6891181
0
Adds repository to setting page [Arguments]
def fusion_api_add_repository(self, body, api=None, headers=None): return self.repository.post(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def addRepository(self, uri):\n pass", "def add(name, url):\n click.echo(\"registered repo {} at url {}\".format(name, url))", "def __gitConfigure(self):\n e5App().getObject(\"UserInterface\").showPreferences(\"zzz_gitPage\")", "def set_repository(repository_):\n global repository\n\n ...
[ "0.61258173", "0.6067002", "0.6066725", "0.5994514", "0.5884608", "0.5864554", "0.57863396", "0.57797396", "0.562154", "0.56207657", "0.5616083", "0.55964345", "0.55789644", "0.5568714", "0.5507879", "0.5422919", "0.54131943", "0.53945005", "0.5370583", "0.53591484", "0.53139...
0.0
-1
Get a repository [Arguments]
def fusion_api_get_repository(self, uri=None, param='', api=None, headers=None): return self.repository.get(uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "async def repository(self, *args, **kwargs):\n\n return await self._makeApiCall(self.funcinfo[\"repository\"], *args, **kwargs)", "def query_repository(repo_name):\n return buildapi.query_repository(repo_name)", "def repository(self, host: (str), owner: (str), repo: (str)) -> Any:\n\n return s...
[ "0.75981295", "0.6720173", "0.6648267", "0.6598336", "0.6475589", "0.6468052", "0.6363539", "0.6341088", "0.6307053", "0.6261044", "0.6234887", "0.620047", "0.6164706", "0.60984445", "0.6051138", "0.6022318", "0.60153884", "0.59661", "0.5959398", "0.5955617", "0.5954103", "...
0.66078764
3
Patch a repository [Arguments]
def fusion_api_patch_repository(self, uri, body=None, api=None, headers=None): return self.repository.patch(uri=uri, body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def patch_repos(self):", "def patch(*args, **kwargs):\n return update(*args, patch=True, **kwargs)", "def update_from_repo():\n\treturn", "def patch(self, *args, **kwargs):\n self.request(\"patch\", *args, **kwargs)", "def api_repo_patch(access_key):\n repo = Repo.query.get(access_key)\n da...
[ "0.7066204", "0.6683677", "0.65605366", "0.63167346", "0.63158214", "0.6150471", "0.6095984", "0.6056761", "0.6045145", "0.5932524", "0.586323", "0.58172005", "0.5756495", "0.57462513", "0.57409424", "0.5704608", "0.5668698", "0.55694014", "0.55665874", "0.5550886", "0.549689...
0.6544737
3
Edit a repository [Arguments]
def fusion_api_edit_repository(self, uri, body=None, api=None, headers=None): return self.repository.put(uri=uri, body=body, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def _edit_command(self, lib, opts, args):\n # Get the objects to edit.\n query = ui.decargs(args)\n items, albums = _do_query(lib, query, opts.album, False)\n objs = albums if opts.album else items\n if not objs:\n ui.print_('Nothing to edit.')\n return\n\n ...
[ "0.69316834", "0.66795653", "0.6662441", "0.65185136", "0.6471079", "0.6338613", "0.6226166", "0.61368203", "0.6004803", "0.59889144", "0.59881455", "0.5895749", "0.58763987", "0.58218217", "0.5817411", "0.5811635", "0.5800568", "0.57828665", "0.5763466", "0.5745255", "0.5726...
0.6069579
8
Delete a Repository from the appliance based on uri [Arguments]
def fusion_api_delete_repository(self, uri, api=None, headers=None): return self.repository.delete(uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def repository_delete(ctx: click.Context, repository_name):\n subcommand_repository.cmd_delete(ctx.obj, repository_name)", "def delete(ctx: click.Context, repository_path):\n root_commands.cmd_delete(ctx.obj, repository_path)", "def delete(repo):\n print('Repo: %s' % repo)\n print('Deleted')", "d...
[ "0.7315825", "0.71764034", "0.7037648", "0.69510937", "0.6805352", "0.6645103", "0.64232045", "0.637457", "0.630849", "0.63075745", "0.6225126", "0.62168294", "0.6214386", "0.6177097", "0.6175985", "0.61539304", "0.6138644", "0.61281085", "0.60665095", "0.6013469", "0.5942364...
0.78250545
0
Gets the ssh access from appliance [Arguments]
def fusion_api_get_ssh_access(self, uri=None, api=None, headers=None): return self.sshaccess.get(uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def ssh_access(self) -> Optional[pulumi.Input[Union[str, 'AgentPoolSSHAccess']]]:\n return pulumi.get(self, \"ssh_access\")", "def client_ssh_access(self) -> Optional[pulumi.Input[str]]:\n return pulumi.get(self, \"client_ssh_access\")", "def client_ssh_access(self) -> Optional[pulumi.Input[str]]...
[ "0.65911853", "0.65124744", "0.65124744", "0.6461358", "0.5900902", "0.57852006", "0.56950563", "0.567006", "0.56571496", "0.5605361", "0.55856943", "0.55844957", "0.55641323", "0.55065364", "0.55023366", "0.54846245", "0.54835445", "0.54749405", "0.54409343", "0.54106104", "...
0.6911141
0
Edits the ssh access for appliance [Arguments]
def fusion_api_edit_ssh_access(self, body, uri=None, api=None, headers=None): return self.sshaccess.put(body=body, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def appsec_update(config, **kwargs):\n logger.info('Start Akamai CLI onboard')\n _, wrapper_object = init_config(config)\n util = utility.utility()\n click_args = kwargs\n\n onboard_object = onboard_appsec_update.onboard(click_args)\n\n # Validate setup and akamai cli and cli pipeline are install...
[ "0.59500366", "0.5788264", "0.5785551", "0.5748906", "0.5721119", "0.5685838", "0.56322545", "0.5620057", "0.5607988", "0.5520972", "0.5506001", "0.54976606", "0.54757434", "0.5405314", "0.53769195", "0.53689694", "0.5329173", "0.5327672", "0.5293718", "0.5277495", "0.5255005...
0.687422
0
Adds an enclosure to the appliance [Arguments]
def fusion_api_add_enclosure(self, body, api=None, headers=None): return self.enclosure.add(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def addEnclosure(self, enclosure):\n self.enclosures.append(enclosure)", "def addAnimalToEnclosure(self, animal, enclosureID):\n for e in self.enclosures:\n if(enclosureID == e.getID()):\n e.addAnimal(animal)", "def add_appliance(itemcode, description, marketprice, renta...
[ "0.70115876", "0.56879956", "0.5439087", "0.5382266", "0.53373885", "0.5330535", "0.52169186", "0.5206843", "0.5172596", "0.51174074", "0.5097141", "0.5072619", "0.50204265", "0.50086886", "0.49856225", "0.49476922", "0.49233353", "0.48971295", "0.48884445", "0.48786825", "0....
0.62107855
1
Update an enclosure. Currently the only attribute that can be updated is the name. [Arguments]
def fusion_api_edit_enclosure(self, body, uri, api=None, headers=None): return self.enclosure.update(body, uri, api, 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 enclosure_id(self, enclosure_id):\n\n self._enclosure_id = enclosure_id", "def fusion_api_patch_enclosure(self, body, uri, api=None, headers=None,...
[ "0.6253273", "0.58676934", "0.5731988", "0.56564224", "0.5643177", "0.55411965", "0.5414261", "0.5191689", "0.5146749", "0.5146749", "0.5146749", "0.5146749", "0.5146749", "0.5146749", "0.51454026", "0.5128274", "0.50855374", "0.50823885", "0.507266", "0.50626427", "0.504875"...
0.6698176
0
Issues a PATCH request to an enclosure. See RESTAPI docs for valid request bodies [Arguments]
def fusion_api_patch_enclosure(self, body, uri, api=None, headers=None, etag=None): return self.enclosure.patch(body, uri, api, headers, etag)
{ "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 httpPatch(self, url='', data='', params={}, headers={}):\n\n return self.httpRequest('PATCH', url, data,...
[ "0.7322979", "0.68914396", "0.68123513", "0.6810135", "0.67109245", "0.6618471", "0.660938", "0.65981245", "0.65977496", "0.6591905", "0.6591386", "0.6590417", "0.65834326", "0.6566933", "0.6551695", "0.6551422", "0.652787", "0.6520931", "0.65115", "0.6510823", "0.6449295", ...
0.71574557
1
Removes an enclosure from the appliance based on name OR uri [Arguments]
def fusion_api_remove_enclosure(self, name=None, uri=None, param='', api=None, headers=None): return self.enclosure.delete(name=name, uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_delete_enclosure_group(self, name=None, uri=None, api=None, headers=None):\n return self.enclosure_group.delete(name, uri, api, headers)", "def remove(name):", "def fusion_api_delete_logical_enclosure(self, name=None, uri=None, param='', api=None, headers=None):\n return se...
[ "0.59871954", "0.59854525", "0.5881928", "0.5877077", "0.56499386", "0.5634551", "0.54864186", "0.5345892", "0.5345892", "0.52494717", "0.5209986", "0.51710707", "0.51697314", "0.51480526", "0.51217175", "0.5116495", "0.50978315", "0.50975955", "0.5095221", "0.509381", "0.505...
0.68903214
0
Gets a default or paginated collection of Enclosures [Arguments]
def fusion_api_get_enclosures(self, uri=None, param='', api=None, headers=None): return self.enclosure.get(uri=uri, param=param, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def getEnclosures(self):\n return self.enclosures", "def get_enclosures(self, controller='all'):\n output = self.run_json('/c{}/eall show all'.format(controller))\n try:\n controllers = output['Controllers']\n except KeyError:\n raise StorcliException('Output is ...
[ "0.605165", "0.54892236", "0.5281014", "0.521672", "0.51407933", "0.51326174", "0.5096011", "0.5005433", "0.50014704", "0.4951049", "0.4901131", "0.4885012", "0.48817846", "0.48252463", "0.4802431", "0.47987792", "0.47889432", "0.47860327", "0.47808155", "0.47803268", "0.4768...
0.6208389
0
Refreshes a specified Enclosure URI [Arguments]
def fusion_api_refresh_enclosure(self, body={"refreshState": "RefreshPending"}, uri=None, api=None, headers=None): return self.enclosure.put(body, uri=uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def refresh(self, url, args, cancellationSignal):\n pass", "def Refresh(self, *args, **kwargs):\n # type: (*Any, **Any) -> None\n payload = {}\n for i in range(len(args)):\n payload[\"Arg%s\" % (i + 1)] = args[i]\n for item in kwargs.items():\n payload[ite...
[ "0.67384696", "0.5728506", "0.53511006", "0.5258038", "0.5185052", "0.5173393", "0.5173393", "0.5118185", "0.5077461", "0.5077461", "0.5072432", "0.50466037", "0.49766743", "0.49741447", "0.49734172", "0.49493074", "0.4925644", "0.49079332", "0.48920047", "0.48747337", "0.484...
0.5801159
1
Import server hardware type for a specified Enclosure [Arguments]
def fusion_api_import_server_hardware_type_for_enclosure(self, body, uri, api=None, headers=None): return self.enclosure.post(body, uri, api=api, headers=headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def setup(args):\n print(\"[INFO] args:\", json.dumps(args))\n\n token = args['_parameters'].get('token')\n device_type = args['_parameters'].get('device_type')\n\n if not token:\n print(\"[ERROR] Ubidots token not specified\")\n return {\"status\":\"error\"}\n\n elif not device_type a...
[ "0.52070135", "0.51823914", "0.5084796", "0.505941", "0.4996679", "0.49802524", "0.49404544", "0.49346665", "0.48633078", "0.48547235", "0.48510465", "0.48264375", "0.48194587", "0.4804756", "0.47828266", "0.4745861", "0.47377896", "0.47187185", "0.46815425", "0.46599594", "0...
0.63638186
0
Creates the payload required to create an enclosure group [Arguments]
def fusion_api_create_enclosure_group_payload(self, body, lig_map=None, api=None): return self.enclosure_group.make_body(api, body, lig_map)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_create_enclosure_group(self, body, api=None, headers=None):\n return self.enclosure_group.create(body, api, headers)", "def post_security_group_create(self, resource_dict):\n pass", "def create( self, trans, payload, **kwd ):\n group_dict = dict( message='', status='ok' ...
[ "0.6800435", "0.6043101", "0.58894837", "0.5621423", "0.5621423", "0.5619241", "0.5539789", "0.5523746", "0.5501674", "0.5499325", "0.54890144", "0.5478458", "0.5457122", "0.5455454", "0.5379649", "0.53306776", "0.5327032", "0.53155494", "0.53141737", "0.5246716", "0.52463305...
0.73352313
0
Creates an enclosure group [Arguments]
def fusion_api_create_enclosure_group(self, body, api=None, headers=None): return self.enclosure_group.create(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_create_enclosure_group_payload(self, body, lig_map=None, api=None):\n return self.enclosure_group.make_body(api, body, lig_map)", "def group(self, *args, **kwargs):\n def decorator(f):\n cmd = group( *args, **kwargs )( f )\n self.add_command(cmd)\n ...
[ "0.6563358", "0.6013126", "0.58348554", "0.5824765", "0.5731047", "0.5633604", "0.55728775", "0.54996365", "0.5480335", "0.5450153", "0.5426098", "0.539384", "0.5359584", "0.5350015", "0.5280982", "0.5273882", "0.5273159", "0.52682054", "0.52434725", "0.52317363", "0.51879567...
0.6921773
0
Update an enclosure group. Currently the only attribute that can be updated is the name. [Arguments]
def fusion_api_edit_enclosure_group(self, body, uri, api=None, headers=None): return self.enclosure_group.update(body, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def fusion_api_update_logical_enclosure_from_group(self, uri=None, api=None, headers=None):\n param = '/updateFromGroup'\n return self.logical_enclosure.put(body=None, uri=uri, param=param, api=api, headers=headers)", "def update_group():\n _id = request.form['_id']\n name = request.f...
[ "0.66474724", "0.6280426", "0.6084134", "0.58900374", "0.5876445", "0.57525283", "0.5751663", "0.5745694", "0.5724241", "0.5721095", "0.57171476", "0.56950307", "0.5646967", "0.5571251", "0.5569868", "0.5559737", "0.5516183", "0.55124354", "0.5489764", "0.5470734", "0.5447436...
0.75451136
0
Deletes an enclosure group from the appliance based on name OR uri [Arguments]
def fusion_api_delete_enclosure_group(self, name=None, uri=None, api=None, headers=None): return self.enclosure_group.delete(name, uri, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def do_del_group(dbsync, group):\n pass", "def remove_inv_group(**kwargs):\n proxy = kwargs['proxy']\n sessiontoken = kwargs['sessiontoken']\n gw = kwargs['gateway']\n group_id = kwargs['objectname']\n json_response_status_code = delete_inventory_group_json_response(proxy, sessiontoken, gw, gro...
[ "0.6614238", "0.6519363", "0.64859056", "0.6396397", "0.63878655", "0.63591623", "0.6289345", "0.6154435", "0.61432517", "0.61174744", "0.60918987", "0.60578215", "0.60578215", "0.6043282", "0.6029336", "0.60041845", "0.5983331", "0.5981932", "0.59472394", "0.5928828", "0.591...
0.80254894
0
Gets a default or paginated collection of Enclosure Groups. [Arguments]
def fusion_api_get_enclosure_groups(self, uri=None, param='', api=None, headers=None): return self.enclosure_group.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def groups(self):\n #return self.get('{}/groups'.format(ApiVersion.A1.value))\n return self.get('{}/groups'.format(ApiVersion.CM1.value))", "def get(self, *args):\n return _libsbml.ListOfGroups_get(self, *args)", "def get_groups(self):\n return Client._get(self)", "def groups(self):\r\n ...
[ "0.7112889", "0.68916214", "0.6841349", "0.6831971", "0.6728038", "0.6646267", "0.66336536", "0.6627996", "0.6612367", "0.64868766", "0.64684963", "0.64346206", "0.63901246", "0.6382456", "0.63773394", "0.63588524", "0.6355198", "0.633108", "0.63124305", "0.62930447", "0.6275...
0.6323556
18
Generate a compatibility report. [Arguments]
def fusion_api_create_compatibility_report(self, body, api=None, headers=None): return self.migratableVcDomain.create(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def main():\n reportSample = CompatibilityReportSample()\n reportSample.run()", "def _generate_report(self):\n raise NotImplementedError", "def __report(arguments, _):\n ignored_packages, other_packages, invalid_packages, skips = __gather_package_data(\n arguments\n )\n\n packages,...
[ "0.77036303", "0.6248819", "0.6047332", "0.57903486", "0.57889664", "0.575957", "0.56738764", "0.5668321", "0.5608885", "0.56020534", "0.5499473", "0.54944587", "0.54847205", "0.545875", "0.5432109", "0.5429825", "0.54138345", "0.53898567", "0.53832793", "0.53802925", "0.5377...
0.49326795
70
Generate a compatibility report. [Arguments]
def fusion_api_build_create_compatibility_report(self, credentialDict=None, migrationVars=None, iloLicenseType='OneViewNoiLO', api=None, headers=None): return self.migratableVcDomain.build_create(credentialDict, migrationVars, iloLicenseType, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def main():\n reportSample = CompatibilityReportSample()\n reportSample.run()", "def _generate_report(self):\n raise NotImplementedError", "def __report(arguments, _):\n ignored_packages, other_packages, invalid_packages, skips = __gather_package_data(\n arguments\n )\n\n packages,...
[ "0.77036303", "0.6248819", "0.6047332", "0.57903486", "0.57889664", "0.575957", "0.56738764", "0.5668321", "0.5608885", "0.56020534", "0.5499473", "0.54944587", "0.545875", "0.5432109", "0.5429825", "0.54138345", "0.53898567", "0.53832793", "0.53802925", "0.53770417", "0.5376...
0.54847205
12
Gets a compatiblity report. [Arguments]
def fusion_api_get_compatibility_report(self, uri, param='', api=None, headers=None): return self.migratableVcDomain.get(uri=uri, api=api, headers=headers, param=param)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def main():\n reportSample = CompatibilityReportSample()\n reportSample.run()", "def fusion_api_get_security_compatibility_report(self, uri=None, api=None, headers=None, param='/compatibility-report'):\n return self.security_standards.get(uri=uri, api=api, headers=headers, param=param)", "def ...
[ "0.6441463", "0.6036515", "0.59583783", "0.58950293", "0.57708544", "0.5478609", "0.5393911", "0.53844786", "0.53566957", "0.5342869", "0.5335296", "0.53022224", "0.5268538", "0.5234701", "0.51971084", "0.5164213", "0.5138171", "0.5127779", "0.50975144", "0.50963753", "0.5091...
0.6377854
1
Creates an ethernet network. [Arguments]
def fusion_api_create_ethernet_network(self, body, api=None, headers=None): return self.ethernet_network.create(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def create_network(options, vsm_obj):\n edge_id = get_edge(vsm_obj)\n if not edge_id:\n if not add_edge(options):\n print(\"Failed to create edge\")\n return False\n edge_id = get_edge(vsm_obj)\n\n vdn_scope = get_transport_zone(options)\n virtual_wire = VirtualWire(vdn_...
[ "0.7072378", "0.706751", "0.68852335", "0.68721867", "0.6857736", "0.68266195", "0.6801317", "0.67727095", "0.670559", "0.66997755", "0.6598081", "0.65401465", "0.65227395", "0.6479247", "0.647173", "0.64481103", "0.6424945", "0.6411141", "0.6399511", "0.6328404", "0.63178134...
0.73980606
0
Creates ethernet networks in bulk based on a VLAN ID range. [Arguments]
def fusion_api_create_ethernet_bulk_networks(self, body, api=None, headers=None): return self.ethernet_network.bulk_create(body, api, headers)
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "def run(self, network_create_args=None, subnet_create_args=None,\n subnet_cidr_start=None, subnets_per_network=1):\n network = self.neutron.create_network(**(network_create_args or {}))\n for _ in range(subnets_per_network):\n self.neutron.create_subnet(network[\"id\"],\n ...
[ "0.6673296", "0.6300114", "0.61748874", "0.6071634", "0.6015685", "0.60141206", "0.59842396", "0.59668964", "0.5962218", "0.5863182", "0.58117044", "0.5795901", "0.57938695", "0.5750605", "0.57131773", "0.56995904", "0.5686561", "0.56644434", "0.56219095", "0.55827266", "0.55...
0.6486627
1