Search is not available for this dataset
id int64 0 10.8M | vector listlengths 1.54k 1.54k | ast_depth int64 3 164 | ast_data stringlengths 297 510k | full_path stringlengths 0 319 | code stringlengths 60 56.5k |
|---|---|---|---|---|---|
12,001 | [
0.011693393811583519,
0.016902832314372063,
-0.00837098527699709,
-0.0023680669255554676,
0.03053893893957138,
-0.011433540843427181,
-0.02374563366174698,
-0.005450730212032795,
-0.0011670192470774055,
-0.0009883702732622623,
0.02213701792061329,
-0.030241962522268295,
-0.000972129404544830... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/gtm/wideip/aaaa".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError ... | |
12,002 | [
0.014310532249510288,
0.05282361060380936,
0.05719248205423355,
-0.05242644250392914,
0.003236314980313182,
0.0437631718814373,
-0.017413422465324402,
0.0120454216375947,
-0.002547473181039095,
0.01942409574985504,
0.005457984749227762,
-0.043837640434503555,
0.0006504434859380126,
-0.0167... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
if 'gtm' not in self.provisioned_modules:
return []
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
... | |
12,003 | [
-0.0096885422244668,
0.06838684529066086,
0.03614454343914986,
-0.017645463347434998,
-0.03763227537274361,
0.009328803978860378,
-0.02114528976380825,
-0.026047484949231148,
-0.015804091468453407,
0.014596834778785706,
0.04746105521917343,
-0.0460708811879158,
-0.038949280977249146,
-0.04... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class GtmCnameWideIpsFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(GtmCnameWideIpsFactManager, self).__init__(**kwargs)
self.want = GtmXWideIpsParameters(params=self.module.params... | |
12,004 | [
0.014310532249510288,
0.05282361060380936,
0.05719248205423355,
-0.05242644250392914,
0.003236314980313182,
0.0437631718814373,
-0.017413422465324402,
0.0120454216375947,
-0.002547473181039095,
0.01942409574985504,
0.005457984749227762,
-0.043837640434503555,
0.0006504434859380126,
-0.0167... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
if 'gtm' not in self.provisioned_modules:
return []
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
... | |
12,005 | [
0.017970183864235878,
0.02937944047152996,
-0.0024920061696320772,
0.0011728861136361957,
0.030199555680155754,
-0.013568091206252575,
-0.029524166136980057,
-0.010830352082848549,
-0.008110703900456429,
0.004368925467133522,
0.02343360148370266,
-0.016667647287249565,
-0.0036573545075953007... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/gtm/wideip/cname".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError... | |
12,006 | [
-0.021641792729496956,
0.06553534418344498,
0.026936344802379608,
-0.02289833314716816,
-0.03130374103784561,
0.0006595317972823977,
-0.018604133278131485,
-0.012602012604475021,
-0.006392502225935459,
0.01978747919201851,
0.038623400032520294,
-0.04845614358782768,
-0.039721351116895676,
... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class GtmMxWideIpsFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(GtmMxWideIpsFactManager, self).__init__(**kwargs)
self.want = GtmXWideIpsParameters(params=self.module.params)
... | |
12,007 | [
0.014310532249510288,
0.05282361060380936,
0.05719248205423355,
-0.05242644250392914,
0.003236314980313182,
0.0437631718814373,
-0.017413422465324402,
0.0120454216375947,
-0.002547473181039095,
0.01942409574985504,
0.005457984749227762,
-0.043837640434503555,
0.0006504434859380126,
-0.0167... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
if 'gtm' not in self.provisioned_modules:
return []
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
... | |
12,008 | [
0.01061534509062767,
0.0273174699395895,
-0.010371874086558819,
-0.0016099533531814814,
0.02785310707986355,
-0.011729225516319275,
-0.026538362726569176,
0.0003109964309260249,
0.005402017384767532,
0.002109069377183914,
0.0198550783097744,
-0.022301962599158287,
-0.00342685729265213,
-0.... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/gtm/wideip/mx".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError as... | |
12,009 | [
0.018918268382549286,
0.0549078993499279,
0.061397016048431396,
-0.05680472031235695,
0.008754066191613674,
0.041430506855249405,
-0.019529741257429123,
0.013390040025115013,
-0.0006762095144949853,
0.024970615282654762,
0.005812126211822033,
-0.052312254905700684,
-0.015386691316962242,
-... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
if 'gtm' not in self.provisioned_modules:
return []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
... | |
12,010 | [
-0.028576606884598732,
0.0707843005657196,
0.033323146402835846,
-0.029087772592902184,
-0.029793668538331985,
0.013667602092027664,
-0.01858453080058098,
-0.022637346759438515,
-0.009973820298910141,
0.025972094386816025,
0.04172087088227272,
-0.033152759075164795,
-0.04106365889310837,
-... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class GtmNaptrWideIpsFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(GtmNaptrWideIpsFactManager, self).__init__(**kwargs)
self.want = GtmXWideIpsParameters(params=self.module.params... | |
12,011 | [
-0.020097702741622925,
0.07169990986585617,
0.042585402727127075,
-0.023561991751194,
-0.03611551225185394,
0.0040195407345891,
-0.024708706885576248,
-0.018866492435336113,
-0.005621924996376038,
0.031456224620342255,
0.04265782609581947,
-0.04644802585244179,
-0.039229750633239746,
-0.03... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class GtmSrvWideIpsFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(GtmSrvWideIpsFactManager, self).__init__(**kwargs)
self.want = GtmXWideIpsParameters(params=self.module.params)
... | |
12,012 | [
0.002217388479039073,
0.02654019556939602,
-0.0016385334311053157,
-0.007892346940934658,
0.03313789889216423,
-0.0047646621242165565,
-0.030399229377508163,
-0.006915139965713024,
0.0025348251219838858,
0.002170706633478403,
0.018710089847445488,
-0.01599631831049919,
-0.0019201806280761957... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/gtm/wideip/naptr".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError... | |
12,013 | [
0.014310532249510288,
0.05282361060380936,
0.05719248205423355,
-0.05242644250392914,
0.003236314980313182,
0.0437631718814373,
-0.017413422465324402,
0.0120454216375947,
-0.002547473181039095,
0.01942409574985504,
0.005457984749227762,
-0.043837640434503555,
0.0006504434859380126,
-0.0167... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
if 'gtm' not in self.provisioned_modules:
return []
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
... | |
12,014 | [
0.010774034075438976,
0.023378869518637657,
-0.007648419588804245,
-0.0031165804248303175,
0.02938920259475708,
-0.009629782289266586,
-0.03155725821852684,
-0.0015703350072726607,
-0.0006056253332644701,
0.0034297441598027945,
0.02296934835612774,
-0.020656755194067955,
-0.00322799431160092... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/gtm/wideip/srv".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError a... | |
12,015 | [
-0.013578602112829685,
0.03986164554953575,
0.007261346559971571,
-0.05426778644323349,
-0.0012099816231057048,
0.01599127985537052,
-0.00802477914839983,
-0.01773959770798683,
0.013497013598680496,
0.023707188665866852,
0.04065421596169472,
-0.07823139429092407,
-0.05314886197447777,
-0.0... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class HttpMonitorsFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(HttpMonitorsFactManager, self).__init__(**kwargs)
self.want = HttpMonitorsParameters(params=self.module.params)
... | |
12,016 | [
-0.023088723421096802,
0.025390172377228737,
0.029572373256087303,
-0.029869334772229195,
-0.0013533382443711162,
-0.01698864810168743,
-0.019252976402640343,
-0.0130786607041955,
0.04585573822259903,
0.00415436178445816,
0.014971788041293621,
-0.08102088421583176,
0.0013162181712687016,
0... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "defaultsFrom"}}, {"_type": ... | class HttpMonitorsParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'defaultsFrom': 'parent',
'adaptiveDivergenceType': 'adaptive_divergence_type',
'adaptiveDivergenceValue': 'adaptive_divergence_value',
'adaptiveLimit': 'adaptive_limit',
'adaptiveSampl... | |
12,017 | [
0.012165111489593983,
0.012902036309242249,
-0.00824654195457697,
-0.0135453836992383,
0.05170172080397606,
-0.0027605444192886353,
-0.019007986411452293,
-0.02107839472591877,
0.010006973519921303,
0.0002555112005211413,
0.010346192866563797,
-0.028658194467425346,
-0.004164210986346006,
... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/ltm/monitor/http".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError... | |
12,018 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,019 | [
-0.01814795285463333,
0.04084763303399086,
0.017711646854877472,
-0.045399364084005356,
0.0033607319928705692,
0.015541911125183105,
-0.0199049673974514,
-0.013466511853039265,
0.007735579740256071,
0.030942318961024284,
0.04377206042408943,
-0.07150694727897644,
-0.062120478600263596,
-0.... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class HttpsMonitorsFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(HttpsMonitorsFactManager, self).__init__(**kwargs)
self.want = HttpsMonitorsParameters(params=self.module.params)
... | |
12,020 | [
-0.01814284734427929,
0.026943113654851913,
0.02415759488940239,
-0.022629257291555405,
0.0023649176582694054,
-0.022703208029270172,
-0.03113371692597866,
-0.022703208029270172,
0.03589128330349922,
0.007241115439683199,
0.008689338341355324,
-0.08041027933359146,
0.0046836151741445065,
0... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "defaultsFrom"}}, {"_type": ... | class HttpsMonitorsParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'defaultsFrom': 'parent',
'adaptiveDivergenceType': 'adaptive_divergence_type',
'adaptiveDivergenceValue': 'adaptive_divergence_value',
'adaptiveLimit': 'adaptive_limit',
'adaptiveSamp... | |
12,021 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,022 | [
0.010788649320602417,
0.012314848601818085,
-0.010835429653525352,
-0.013437570072710514,
0.05150483921170235,
0.00048753584269434214,
-0.023425111547112465,
-0.019565757364034653,
0.008905752561986446,
0.002450105268508196,
0.009408637881278992,
-0.026875140145421028,
-0.0034324864391237497... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/ltm/monitor/https".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueErro... | |
12,023 | [
-0.0018835472874343395,
0.018501080572605133,
0.019152110442519188,
-0.04114507511258125,
-0.009197274222970009,
0.023898707702755928,
-0.02058437466621399,
0.00823256652802229,
0.011321998201310635,
0.040529556572437286,
0.029686953872442245,
-0.07788682729005814,
-0.01428714208304882,
-0... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class HttpProfilesFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(HttpProfilesFactManager, self).__init__(**kwargs)
self.want = HttpProfilesParameters(params=self.module.params)
... | |
12,024 | [
-0.011965028941631317,
-0.01676356978714466,
0.0378119982779026,
-0.01646287739276886,
0.013293084688484669,
-0.007398271933197975,
-0.05432498827576637,
-0.015548272989690304,
0.050766803324222565,
0.028164800256490707,
0.012892162427306175,
-0.06479908525943756,
0.009960416704416275,
-0.... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "defaultsFrom"}}, {"_type": ... | class HttpProfilesParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'defaultsFrom': 'parent',
'acceptXff': 'accept_xff',
'explicitProxy': 'explicit_proxy',
'insertXforwardedFor': 'insert_x_forwarded_for',
'lwsWidth': 'lws_max_columns',
'oneconne... | |
12,025 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,026 | [
0.013193607330322266,
0.007391458842903376,
-0.003917765337973833,
-0.0064156693406403065,
0.041602518409490585,
-0.002848487114533782,
-0.03356248140335083,
-0.0004287338233552873,
0.002416101284325123,
0.005182785447686911,
0.0052733528427779675,
-0.018499096855521202,
0.02118690125644207,... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/ltm/profile/http".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError... | |
12,027 | [
-0.006461725104600191,
0.02761024422943592,
0.022099796682596207,
-0.02078888937830925,
-0.020023226737976074,
-0.04002325236797333,
-0.06728547066450119,
-0.025870101526379585,
0.021380538120865822,
0.017111390829086304,
-0.01599770039319992,
-0.07791192829608917,
-0.004103833343833685,
-... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "deviceGroup"}}, {"_type": "... | class IappServicesParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'deviceGroup': 'device_group',
'inheritedDevicegroup': 'inherited_device_group',
'inheritedTrafficGroup': 'inherited_traffic_group',
'strictUpdates': 'strict_updates',
'templateModified... | |
12,028 | [
0.00008354397868970409,
0.04899980500340462,
0.02428104355931282,
-0.05359581485390663,
-0.019855255261063576,
0.0032646271865814924,
-0.018238140270113945,
-0.02282199263572693,
-0.00241503375582397,
0.02604406513273716,
0.031928904354572296,
-0.08992619067430496,
-0.058070238679647446,
-... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class IappServicesFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(IappServicesFactManager, self).__init__(**kwargs)
self.want = IappServicesParameters(params=self.module.params)
... | |
12,029 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,030 | [
0.016218114644289017,
0.02581324800848961,
-0.001199391670525074,
-0.005104728043079376,
0.0415165014564991,
-0.010829628445208073,
-0.03377018868923187,
0.0029736135620623827,
0.01218113861978054,
0.0033524457830935717,
0.01867540553212166,
-0.04521413892507553,
0.016124503687024117,
-0.0... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/sys/application/service".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except Val... | |
12,031 | [
0.046292781829833984,
0.04960811510682106,
0.028716636821627617,
-0.06645293533802032,
0.020147964358329773,
0.05606813728809357,
-0.06089487299323082,
-0.007550915703177452,
-0.00674036517739296,
0.02540130354464054,
0.0013224767753854394,
-0.08229827880859375,
-0.038857657462358475,
0.00... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['name'])
return results | |
12,032 | [
-0.02464851178228855,
0.021526366472244263,
0.011913447640836239,
-0.036656759679317474,
-0.013487160205841064,
0.0015950431115925312,
-0.011742804199457169,
-0.017216037958860397,
-0.008468976244330406,
0.0228409543633461,
0.021412605419754982,
-0.07068435102701187,
-0.04891781508922577,
... | 11 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class IapplxPackagesFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(IapplxPackagesFactManager, self).__init__(**kwargs)
self.want = IapplxPackagesParameters(params=self.module.param... | |
12,033 | [
-0.026971008628606796,
-0.008401870727539062,
-0.027183564379811287,
-0.009470555000007153,
-0.004699851851910353,
-0.008289688266813755,
0.014146789908409119,
0.03726816922426224,
0.04055098071694374,
0.024538422003388405,
0.03356024622917175,
-0.011041108518838882,
-0.0324738509953022,
-... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}, {"_type": "arg", "_fields": {"arg": "task_id", "annotation": null, "type_comment": null}}], "kwarg": n... | def wait_for_task(self, task_id):
uri = "https://{0}:{1}/mgmt/shared/iapp/package-management-tasks/{2}".format(
self.client.provider['server'],
self.client.provider['server_port'],
task_id
)
for x in range(0, 60):
resp = self.client.api.get(uri)
... | |
12,034 | [
-0.0013042576611042023,
0.014124604873359203,
-0.006994867231696844,
-0.013879385776817799,
0.04771958291530609,
-0.019691072404384613,
-0.052476830780506134,
-0.0006525120115838945,
-0.01292303204536438,
-0.009894579648971558,
0.015142262913286686,
-0.05164308473467827,
0.006492168642580509... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
params = dict(operation='QUERY')
uri = "https://{0}:{1}/mgmt/shared/iapp/package-management-tasks".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.post(uri, json=params)
... | |
12,035 | [
-0.005455601494759321,
0.05957091599702835,
0.012047913856804371,
-0.05072037875652313,
-0.007239689584821463,
0.0039906431920826435,
-0.008151489309966564,
-0.025846483185887337,
-0.008966030552983284,
0.03639904409646988,
0.040727052837610245,
-0.06842145323753357,
-0.05991131812334061,
... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class IcmpMonitorsFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(IcmpMonitorsFactManager, self).__init__(**kwargs)
self.want = IcmpMonitorsParameters(params=self.module.params)
... | |
12,036 | [
-0.005581958219408989,
0.0350528322160244,
0.04550150781869888,
-0.023696111515164375,
-0.015610824339091778,
-0.04378494247794151,
-0.026669008657336235,
-0.025126585736870766,
0.038859136402606964,
0.012787193059921265,
0.013595721684396267,
-0.06582667678594589,
0.0016870263498276472,
0... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "defaultsFrom"}}, {"_type": ... | class IcmpMonitorsParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'defaultsFrom': 'parent',
'adaptiveDivergenceType': 'adaptive_divergence_type',
'adaptiveDivergenceValue': 'adaptive_divergence_value',
'adaptiveLimit': 'adaptive_limit',
'adaptiveSampl... | |
12,037 | [
0.011669749394059181,
0.012380082160234451,
-0.008989587426185608,
-0.016570447012782097,
0.04825486242771149,
-0.01255915779620409,
-0.027076207101345062,
-0.011514551006257534,
0.005190203431993723,
0.011723472736775875,
0.019292393699288368,
-0.03204256668686867,
-0.0019787836354225874,
... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/ltm/monitor/icmp".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError... | |
12,038 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,039 | [
-0.015710795298218727,
0.043841779232025146,
0.01562420092523098,
-0.04022953286767006,
-0.022861063480377197,
0.020758043974637985,
-0.04084806889295578,
-0.01082436740398407,
0.002659701742231846,
0.028625812381505966,
0.012129477225244045,
-0.0757582038640976,
-0.0463654063642025,
-0.02... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class InterfacesFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(InterfacesFactManager, self).__init__(**kwargs)
self.want = InterfacesParameters(params=self.module.params)
def ... | |
12,040 | [
-0.015216905623674393,
-0.021763307973742485,
0.031107023358345032,
-0.03646950051188469,
-0.0542747899889946,
-0.029830241575837135,
-0.08329253643751144,
0.006772741675376892,
0.02769453637301922,
0.0050403825007379055,
0.0050577931106090546,
-0.02315616048872471,
-0.004474536050111055,
... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "mediaActive"}}, {"_type": "... | class InterfacesParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'mediaActive': 'active_media_type',
'flowControl': 'flow_control',
'bundleSpeed': 'bundle_speed',
'ifIndex': 'if_index',
'macAddress': 'mac_address',
'mediaSfp': 'media_sfp',
... | |
12,041 | [
0.012211794033646584,
0.012814845889806747,
-0.014067336916923523,
-0.006679955869913101,
0.044741787016391754,
-0.011226036585867405,
-0.02841300517320633,
0.0020541443955153227,
0.008315153419971466,
0.006471206899732351,
0.010570798069238663,
-0.03203131631016731,
0.008842823095619678,
... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/net/interface".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError as... | |
12,042 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,043 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,044 | [
-0.014958763495087624,
0.046290185302495956,
0.0474783293902874,
-0.03745037689805031,
-0.016681576147675514,
0.03647609427571297,
-0.015291444025933743,
-0.003623846685513854,
-0.014970645308494568,
-0.012843863107264042,
0.030511600896716118,
-0.05608051270246506,
-0.031794797629117966,
... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class InternalDataGroupsFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(InternalDataGroupsFactManager, self).__init__(**kwargs)
self.want = InternalDataGroupsParameters(params=self.... | |
12,045 | [
-0.01336949598044157,
0.006649626884609461,
0.025123413652181625,
-0.008909095078706741,
-0.02449123002588749,
-0.045400094240903854,
-0.05942518636584282,
-0.0162260252982378,
0.03474663943052292,
0.03205401077866554,
0.00856958981603384,
-0.06949327886104584,
-0.0005827935528941453,
-0.0... | 11 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "ignoreVerification"}}], "va... | class IrulesParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'ignoreVerification': 'ignore_verification',
}
returnables = [
'full_path',
'name',
'ignore_verification',
'checksum',
'definition',
'signature'
]
@property
... | |
12,046 | [
0.007257230579853058,
0.01750950887799263,
0.015643363818526268,
-0.00457032723352313,
0.03911992907524109,
0.004414814990013838,
-0.036447424441576004,
0.0013873693533241749,
-0.0008164384053088725,
-0.02051607519388199,
0.01056906208395958,
-0.025319671258330345,
0.015182586386799812,
-0... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/ltm/data-group/internal".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except Val... | |
12,047 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,048 | [
-0.004475769121199846,
0.06661267578601837,
0.014043070375919342,
-0.032669130712747574,
-0.016567392274737358,
0.007444297894835472,
-0.016138501465320587,
-0.00654975650832057,
-0.010771255940198898,
0.036663930863142014,
0.034482721239328384,
-0.09038541465997696,
-0.04847677797079086,
... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class IrulesFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(IrulesFactManager, self).__init__(**kwargs)
self.want = IrulesParameters(params=self.module.params)
def exec_module(... | |
12,049 | [
0.015770278871059418,
0.03358617424964905,
0.007587810978293419,
-0.01749478094279766,
0.025927003473043442,
0.0005545167368836701,
-0.03677352890372276,
-0.00475724833086133,
-0.009990221820771694,
0.014592859894037247,
0.016793087124824524,
-0.04414726421236992,
0.009389619342982769,
-0.... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/ltm/rule".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError as ex:
... | |
12,050 | [
0.04464694857597351,
-0.008532154373824596,
0.02383408509194851,
-0.04867524281144142,
-0.018518971279263496,
0.03493987396359444,
-0.04092636704444885,
0.011952009983360767,
0.0414578802883625,
0.04501061141490936,
0.04484276846051216,
-0.019274277612566948,
0.008189469575881958,
-0.00125... | 13 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def members(self):
if not self._values['members']:
return None
result = []
for member in self._values['members']:
member['connection_limit'] = member.pop('connectionLimit', None)
member['dynamic_ratio'] = member.pop('dynamicRatio', None)
member['fu... | |
12,051 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,052 | [
0.035165149718523026,
0.020003626123070717,
0.03003540262579918,
-0.04904424026608467,
-0.027686264365911484,
0.026104191318154335,
-0.010589097626507282,
-0.012872315011918545,
0.02440226636826992,
0.054317813366651535,
0.0011902996338903904,
-0.03156953305006027,
-0.010313432663679123,
0... | 12 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def monitors(self):
if self._values['monitors'] is None:
return None
try:
result = re.findall(r'/[\w-]+/[^\s}]+', self._values['monitors'])
return result
except Exception:
return [self._values['monitors'].strip()] | |
12,053 | [
0.006474101450294256,
0.022643955424427986,
-0.027226954698562622,
-0.01547378022223711,
0.05095506086945534,
0.008383684791624546,
-0.05573517829179764,
0.029592372477054596,
0.017100006341934204,
0.005054234527051449,
0.024085383862257004,
-0.037551023066043854,
0.002135960850864649,
-0.... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}, {"_type": "arg", "_fields": {"arg": "full_path", "annotation": null, "type_comment": null}}], "kwarg":... | def read_member_from_device(self, full_path):
uri = "https://{0}:{1}/mgmt/tm/ltm/pool/{2}/members".format(
self.client.provider['server'],
self.client.provider['server_port'],
transform_name(name=full_path)
)
resp = self.client.api.get(uri)
try:
... | |
12,054 | [
0.04154420644044876,
-0.023382533341646194,
0.051317859441041946,
-0.025906363502144814,
0.05735525116324425,
-0.014029520563781261,
-0.048596080392599106,
0.028380705043673515,
-0.0172585379332304,
0.01738225482404232,
0.007423026487231255,
-0.045750588178634644,
-0.012186135165393353,
-0... | 8 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_facts(self):
results = []
collection = self.read_collection_from_device()
for resource in collection:
attrs = resource
members = self.read_member_from_device(attrs['fullPath'])
attrs['members'] = members
attrs['stats'] = self.read_stats_fr... | |
12,055 | [
0.006017625331878662,
0.02963435836136341,
-0.017296595498919487,
-0.038508057594299316,
0.047097038477659225,
0.0047245328314602375,
-0.05993305891752243,
-0.02035730890929699,
0.011815780773758888,
0.03570833429694176,
0.011359046213328838,
-0.0024571723770350218,
-0.010060022585093975,
... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}, {"_type": "arg", "_fields": {"arg": "full_path", "annotation": null, "type_comment": null}}], "kwarg":... | def read_stats_from_device(self, full_path):
uri = "https://{0}:{1}/mgmt/tm/ltm/pool/{2}/stats".format(
self.client.provider['server'],
self.client.provider['server_port'],
transform_name(name=full_path)
)
resp = self.client.api.get(uri)
try:
... | |
12,056 | [
-0.01180416438728571,
0.029246138408780098,
0.025458235293626785,
-0.059989821165800095,
-0.002736319787800312,
-0.024973737075924873,
-0.04545484110713005,
-0.023542260751128197,
0.030347274616360664,
0.012475856579840183,
-0.01000380888581276,
-0.05721496045589447,
-0.012817208655178547,
... | 11 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "connectionLimit"}}, {"_type... | class NodesParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'connectionLimit': 'connection_limit',
'dynamicRatio': 'dynamic_ratio',
'rateLimit': 'rate_limit',
'monitor': 'monitors'
}
returnables = [
'full_path',
'name',
'ratio'... | |
12,057 | [
0.0027169957756996155,
0.06894081830978394,
-0.0007538186619058251,
-0.05457617715001106,
0.014447329565882683,
0.019715938717126846,
-0.04444060102105141,
-0.015321494080126286,
-0.01463633868843317,
0.04503125324845314,
0.021121690049767494,
-0.05240257829427719,
-0.058120083063840866,
-... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class NodesFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(NodesFactManager, self).__init__(**kwargs)
self.want = NodesParameters(params=self.module.params)
def exec_module(sel... | |
12,058 | [
-0.004652600269764662,
0.0311727374792099,
0.035683587193489075,
-0.0623454749584198,
-0.014049151912331581,
0.030089126899838448,
0.013003340922296047,
-0.006476470269262791,
0.03916122391819954,
0.012178031727671623,
-0.013406544923782349,
-0.05226536840200424,
-0.002675954019650817,
0.0... | 8 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def monitor_type(self):
if self._values['monitors'] is None:
return None
pattern = r'min\s+\d+\s+of'
matches = re.search(pattern, self._values['monitors'])
if matches:
return 'm_of_n'
else:
return 'and_list' | |
12,059 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,060 | [
0.05189356580376625,
0.002261927118524909,
0.02791864238679409,
-0.04145713895559311,
0.05285544693470001,
-0.003943718504160643,
-0.042346879839897156,
0.00047417805762961507,
-0.009636861272156239,
0.027990782633423805,
0.011446402408182621,
-0.018059344962239265,
-0.026379629969596863,
... | 8 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_facts(self):
results = []
collection = self.read_collection_from_device()
for resource in collection:
attrs = resource
attrs['stats'] = self.read_stats_from_device(attrs['fullPath'])
params = NodesParameters(params=attrs)
results.append(pa... | |
12,061 | [
0.015179422684013844,
0.023749012500047684,
-0.004986364860087633,
-0.008552195504307747,
0.04436705261468887,
-0.0031135790050029755,
-0.033675357699394226,
0.0020307840313762426,
0.004476132337003946,
0.005044345743954182,
0.007236027158796787,
-0.01666373573243618,
-0.00396879855543375,
... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/ltm/node".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError as ex:
... | |
12,062 | [
0.00966469943523407,
0.03331361711025238,
-0.02635081298649311,
-0.04022953286767006,
0.037721049040555954,
0.010321125388145447,
-0.05664018169045448,
-0.02285768836736679,
0.011909442022442818,
0.03368871659040451,
0.011557785794138908,
0.010608311742544174,
-0.011129936203360558,
-0.021... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}, {"_type": "arg", "_fields": {"arg": "full_path", "annotation": null, "type_comment": null}}], "kwarg":... | def read_stats_from_device(self, full_path):
uri = "https://{0}:{1}/mgmt/tm/ltm/node/{2}/stats".format(
self.client.provider['server'],
self.client.provider['server_port'],
transform_name(name=full_path)
)
resp = self.client.api.get(uri)
try:
... | |
12,063 | [
0.06263083219528198,
-0.03761163726449013,
0.017255432903766632,
0.003654056927189231,
0.01800103858113289,
0.012935657985508442,
0.00994140189141035,
0.03183615580201149,
0.025847645476460457,
0.00884074717760086,
0.025374244898557663,
0.01333804801106453,
-0.04547007754445076,
-0.0239658... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def idle_timeout_override(self):
if self._values['idle_timeout_override'] is None:
return None
elif self._values['idle_timeout_override'] == 'disabled':
return 0
elif self._values['idle_timeout_override'] == 'indefinite':
return 4294967295
return int(s... | |
12,064 | [
-0.01576881855726242,
-0.02368917316198349,
0.04375966638326645,
-0.011784674599766731,
-0.012317891232669353,
-0.01430696714669466,
-0.033071380108594894,
0.019627146422863007,
0.01911190338432789,
0.01841692440211773,
-0.004733041860163212,
-0.05717993900179863,
0.04462239891290665,
0.01... | 11 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "clientTimeout"}}, {"_type":... | class OneConnectProfilesParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'clientTimeout': 'client_timeout',
'defaultsFrom': 'parent',
'idleTimeoutOverride': 'idle_timeout_override',
'limitType': 'limit_type',
'maxAge': 'max_age',
'maxReuse': 'm... | |
12,065 | [
0.0021666802931576967,
0.010225052945315838,
0.016901904717087746,
-0.036153290420770645,
-0.0018879786366596818,
0.02051004022359848,
-0.014324663206934929,
-0.0040696426294744015,
-0.0077497027814388275,
0.041092004626989365,
0.021852603182196617,
-0.06242915987968445,
0.000356243574060499... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class OneConnectProfilesFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(OneConnectProfilesFactManager, self).__init__(**kwargs)
self.want = OneConnectProfilesParameters(params=self.... | |
12,066 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,067 | [
0.010486986488103867,
-0.005810277070850134,
-0.0036677743773907423,
-0.00197484134696424,
0.04724188521504402,
-0.007477986626327038,
-0.03192981705069542,
0.00648685684427619,
0.006190111394971609,
0.005344386678189039,
0.010843080468475819,
-0.020214304327964783,
0.025448894128203392,
-... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/ltm/profile/one-connect".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except Val... | |
12,068 | [
0.008395405486226082,
0.05710062012076378,
0.029191089794039726,
-0.010323678143322468,
0.0026625003665685654,
0.023732593283057213,
-0.020421896129846573,
0.02508535236120224,
-0.015758441761136055,
0.010543204843997955,
0.028123123571276665,
-0.04777371138334274,
-0.01585337333381176,
-0... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class PartitionFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(PartitionFactManager, self).__init__(**kwargs)
self.want = PartitionParameters(params=self.module.params)
def exe... | |
12,069 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,070 | [
0.03564031794667244,
0.028516879305243492,
0.0036918141413480043,
0.010361364111304283,
0.04907771199941635,
0.0017187028424814343,
-0.03018209896981716,
0.015518917702138424,
0.006579928565770388,
-0.01104942336678505,
0.01817864365875721,
-0.0251401849091053,
0.01255852822214365,
-0.0175... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/auth/partition".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError a... | |
12,071 | [
-0.00638074055314064,
0.03972388803958893,
0.020636100322008133,
-0.027627699077129364,
-0.009017709642648697,
0.000486871664179489,
0.00875159353017807,
0.013644502498209476,
-0.020515138283371925,
0.01844668947160244,
0.04115124046802521,
-0.05849717557430267,
-0.020938506349921227,
-0.0... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class ProvisionInfoFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(ProvisionInfoFactManager, self).__init__(**kwargs)
self.want = ProvisionInfoParameters(params=self.module.params)
... | |
12,072 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,073 | [
0.01495972741395235,
0.03176715970039368,
0.001655698986724019,
-0.014848419465124607,
-0.03788907080888748,
-0.004129508044570684,
-0.07096965610980988,
-0.011097356677055359,
0.005693378392606974,
0.058191556483507156,
0.00460813008248806,
-0.07096965610980988,
0.0022984996903687716,
0.0... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "bwcPolicy"}}, {"_type": "Co... | class RouteDomainParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'bwcPolicy': 'bandwidth_controller_policy',
'connectionLimit': 'connection_limit',
'flowEvictionPolicy': 'flow_eviction_policy',
'servicePolicy': 'service_policy',
'routingProtocol': 'ro... | |
12,074 | [
0.018583247438073158,
0.01669764705002308,
-0.0007241477724164724,
-0.0007182182162068784,
0.04169668257236481,
-0.005223944317549467,
-0.02096693217754364,
-0.003726729890331626,
0.009629609063267708,
-0.0066351802088320255,
0.016614632681012154,
-0.03365619480609894,
0.007732149213552475,
... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/sys/provision".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError as... | |
12,075 | [
-0.0021012481302022934,
0.07957033812999725,
-0.011331730522215366,
-0.02881711721420288,
-0.004701831378042698,
0.022698096930980682,
-0.007562184240669012,
0.0025154363829642534,
-0.017849063500761986,
0.06756320595741272,
0.03442814201116562,
-0.08206412941217422,
-0.04756671562790871,
... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class RouteDomainFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(RouteDomainFactManager, self).__init__(**kwargs)
self.want = RouteDomainParameters(params=self.module.params)
d... | |
12,076 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,077 | [
-0.02369479276239872,
-0.008739408105611801,
0.04620889574289322,
0.009711739607155323,
-0.01394832693040371,
-0.06297004222869873,
-0.08621339499950409,
0.0014917764347046614,
0.016020318493247032,
0.033082421869039536,
0.010001123882830143,
-0.07704569399356842,
0.017918679863214493,
-0.... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "trafficGroup"}}, {"_type": ... | class SelfIpsParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'trafficGroup': 'traffic_group',
'servicePolicy': 'service_policy',
'allowService': 'allow_access_list',
'inheritedTrafficGroup': 'traffic_group_inherited'
}
returnables = [
'full_p... | |
12,078 | [
0.005443150643259287,
0.026593931019306183,
-0.012224249541759491,
-0.007503119297325611,
0.045643486082553864,
-0.011752725578844547,
-0.022232338786125183,
0.014110344462096691,
0.005404839292168617,
0.03284161910414696,
0.0151594839990139,
-0.04583209380507469,
0.007214311044663191,
-0.... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/net/route-domain".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError... | |
12,079 | [
-0.02048465609550476,
0.048284415155649185,
0.013122055679559708,
-0.014416448771953583,
-0.010646084323525429,
0.0005629569641314447,
-0.035055480897426605,
0.00045199840678833425,
-0.0042988089844584465,
0.027882883325219154,
0.03287045285105705,
-0.08493117243051529,
-0.04073181003332138,... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class SelfIpsFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(SelfIpsFactManager, self).__init__(**kwargs)
self.want = SelfIpsParameters(params=self.module.params)
def exec_modu... | |
12,080 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,081 | [
0.03056834079325199,
-0.003756174584850669,
0.0584184005856514,
-0.033953841775655746,
0.0038859108462929726,
0.03042007051408291,
-0.025453025475144386,
-0.03617789223790169,
0.02337724342942238,
0.02844313718378544,
0.018496688455343246,
-0.055947232991456985,
0.014666378498077393,
0.000... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "alertTimeout"}}, {"_type": ... | class ServerSslProfilesParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'alertTimeout': 'alert_timeout',
'allowExpiredCrl': 'allow_expired_crl',
'authenticate': 'authentication_frequency',
'authenticateDepth': 'authenticate_depth',
'authenticateName': ... | |
12,082 | [
0.019455794245004654,
0.021551214158535004,
-0.010401006788015366,
-0.0027875518426299095,
0.047808341681957245,
-0.009564009495079517,
-0.029523173347115517,
0.006338936742395163,
0.004006465431302786,
0.0030699651688337326,
0.009089906699955463,
-0.03376083821058273,
0.008908459916710854,
... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/net/self".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueError as ex:
... | |
12,083 | [
0.03131049871444702,
0.03227248787879944,
0.013593841344118118,
-0.048465996980667114,
-0.0003641463117673993,
0.048053715378046036,
-0.016319481655955315,
-0.0011151644866913557,
-0.02530951052904129,
0.03094402700662613,
0.03770086541771889,
-0.08204404264688492,
-0.024026857689023018,
-... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class ServerSslProfilesFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(ServerSslProfilesFactManager, self).__init__(**kwargs)
self.want = ServerSslProfilesParameters(params=self.mod... | |
12,084 | [
0.035557523369789124,
0.04953530803322792,
0.03354668617248535,
-0.07023224234580994,
0.023455705493688583,
0.055665917694568634,
-0.04906938225030899,
-0.007007284555584192,
-0.013033672235906124,
0.04698497802019119,
0.002259128959849477,
-0.07180167734622955,
-0.030751127749681473,
-0.0... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,085 | [
-0.01677299104630947,
0.041105013340711594,
0.013798581436276436,
-0.018383199349045753,
-0.03466418385505676,
-0.05541796609759331,
-0.03535746783018112,
-0.01257974375039339,
0.01997104287147522,
-0.005146512761712074,
-0.0009735323837958276,
-0.03833187744021416,
-0.010276253335177898,
... | 11 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "basebuild"}}], "values": [{... | class SoftwareVolumesParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'basebuild': 'base_build',
}
returnables = [
'full_path',
'name',
'active',
'base_build',
'build',
'product',
'status',
'version',
'i... | |
12,086 | [
0.01816149614751339,
0.0075394934974610806,
0.0009726291755214334,
-0.016505222767591476,
0.03968154639005661,
0.0019337564008310437,
-0.04113078489899635,
-0.0015541937900707126,
-0.001285337028093636,
0.005992488469928503,
0.0077120219357311726,
-0.025442196056246758,
0.015964632853865623,... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/ltm/profile/server-ssl".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except Valu... | |
12,087 | [
0.007992872968316078,
0.07137143611907959,
-0.006888314615935087,
-0.04187610000371933,
-0.016641197726130486,
0.01764865219593048,
-0.00818708073347807,
-0.02131432667374611,
0.0026991877239197493,
0.026533666998147964,
0.03855028748512268,
-0.06700176000595093,
-0.06797279417514801,
-0.0... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class SoftwareVolumesFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(SoftwareVolumesFactManager, self).__init__(**kwargs)
self.want = SoftwareVolumesParameters(params=self.module.pa... | |
12,088 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,089 | [
0.01586579717695713,
0.02961454913020134,
-0.02014799788594246,
0.0010630324250087142,
0.031779706478118896,
-0.003918334376066923,
-0.02942209132015705,
0.002497449517250061,
-0.0007401381735689938,
-0.0016103362431749701,
0.016635630279779434,
-0.02137492038309574,
-0.017297206446528435,
... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/sys/software/volume".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueEr... | |
12,090 | [
-0.013403615914285183,
0.049570370465517044,
0.020595800131559372,
-0.0684831514954567,
0.008082126267254353,
0.024409836158156395,
-0.01915494166314602,
-0.021903470158576965,
0.008227422833442688,
0.0174961369484663,
0.028986681252717972,
-0.06683645397424698,
-0.06136361509561539,
0.000... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class SoftwareHotfixesFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(SoftwareHotfixesFactManager, self).__init__(**kwargs)
self.want = SoftwareHotfixesParameters(params=self.module... | |
12,091 | [
0.0043365079909563065,
0.015848355367779732,
0.0010273503139615059,
-0.011422846466302872,
0.046575259417295456,
-0.005975358188152313,
-0.03461840748786926,
-0.01096249558031559,
0.018058041110634804,
-0.012779347598552704,
0.014510268345475197,
-0.028161214664578438,
-0.00938502512872219,
... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/sys/software/hotfix".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueEr... | |
12,092 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,093 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,094 | [
0.02103380486369133,
0.07548986375331879,
-0.008820433169603348,
-0.04086015745997429,
-0.018594752997159958,
0.008077850565314293,
-0.01553990039974451,
-0.003571037668734789,
-0.0282302163541317,
0.02902713418006897,
0.03252874314785004,
-0.07631093263626099,
-0.0570400096476078,
-0.0461... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class SoftwareImagesFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(SoftwareImagesFactManager, self).__init__(**kwargs)
self.want = SoftwareImagesParameters(params=self.module.param... | |
12,095 | [
0.029590921476483345,
-0.0023322959896177053,
0.047159209847450256,
0.005146132316440344,
-0.03564457222819328,
-0.010953721590340137,
-0.055287186056375504,
-0.012953965924680233,
-0.004368259571492672,
0.003257012227550149,
-0.0028654299676418304,
-0.06760615855455399,
-0.02637359686195850... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "Assign", "_fields": {"value": {"_type": "Dict", "_fields": {"keys": [{"_type": "Constant", "_fields": {"kind": null, "value": "fullPath"}}, {"_type": "Constant", "_fields": {"kind": null, "value": "keyType"}}, {"_type": "Cons... | class SslCertificatesParameters(BaseParameters):
api_map = {
'fullPath': 'full_path',
'keyType': 'key_type',
'certificateKeySize': 'key_size',
'systemPath': 'system_path',
'checksum': 'sha1_checksum',
'lastUpdateTime': 'last_update_time',
'isBundle': 'is_bundl... | |
12,096 | [
0.014295052736997604,
0.026058940216898918,
-0.022973330691456795,
0.0005171560915187001,
0.03088020719587803,
-0.012896886095404625,
-0.023696521297097206,
-0.000473086693091318,
-0.004248740617185831,
-0.004932757467031479,
0.014789232984185219,
-0.034689005464315414,
-0.002303661080077290... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/sys/software/image".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueErr... | |
12,097 | [
0.020532388240098953,
0.04913892224431038,
0.025309784337878227,
-0.0250552985817194,
-0.010029059834778309,
0.02396794967353344,
-0.027091186493635178,
-0.007108255289494991,
-0.020428281277418137,
0.0250552985817194,
0.03683105856180191,
-0.0774562656879425,
-0.04138866811990738,
-0.0340... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class SslCertificatesFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(SslCertificatesFactManager, self).__init__(**kwargs)
self.want = SslCertificatesParameters(params=self.module.pa... | |
12,098 | [
0.03554072603583336,
0.04957060515880585,
0.03352944925427437,
-0.07019845396280289,
0.023485330864787102,
0.05572707578539848,
-0.04905552417039871,
-0.007008807733654976,
-0.013061032630503178,
0.04701972007751465,
0.002268817974254489,
-0.07186634093523026,
-0.03083139657974243,
-0.0048... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def _exec_module(self):
results = []
facts = self.read_facts()
for item in facts:
attrs = item.to_return()
results.append(attrs)
results = sorted(results, key=lambda k: k['full_path'])
return results | |
12,099 | [
0.0289048720151186,
0.022501008585095406,
-0.007261211983859539,
-0.006188069004565477,
0.03716340661048889,
0.0005660975002683699,
-0.04402219131588936,
-0.009378336369991302,
-0.0029759304597973824,
0.00445004366338253,
0.02811167947947979,
-0.03975294902920723,
-0.001059291185811162,
-0... | 9 | {"_type": "Module", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": null, "vararg": null, "defaults": [], "kwonlyargs": [], "kw_defaults": [], "posonlyargs": []... | def read_collection_from_device(self):
uri = "https://{0}:{1}/mgmt/tm/sys/file/ssl-cert".format(
self.client.provider['server'],
self.client.provider['server_port'],
)
resp = self.client.api.get(uri)
try:
response = resp.json()
except ValueErro... | |
12,100 | [
0.02898004837334156,
0.05708678811788559,
0.030473865568637848,
-0.041321273893117905,
0.012387189082801342,
0.019224274903535843,
-0.023970015347003937,
0.005265704821795225,
-0.03254222497344017,
0.01729380339384079,
0.029393719509243965,
-0.0832400768995285,
-0.050376102328300476,
-0.01... | 10 | {"_type": "Module", "_fields": {"body": [{"_type": "ClassDef", "_fields": {"body": [{"_type": "FunctionDef", "_fields": {"args": {"_type": "arguments", "_fields": {"args": [{"_type": "arg", "_fields": {"arg": "self", "annotation": null, "type_comment": null}}], "kwarg": {"_type": "arg", "_fields": {"arg": "kwargs", "an... | class SslKeysFactManager(BaseManager):
def __init__(self, *args, **kwargs):
self.client = kwargs.get('client', None)
self.module = kwargs.get('module', None)
super(SslKeysFactManager, self).__init__(**kwargs)
self.want = SslKeysParameters(params=self.module.params)
def exec_modu... |