|
|
@@ -342,8 +342,8 @@ def gen_report_notebook():
|
|
342
|
342
|
reg_cond = f'(?=.*pppoe-out)(?=.*{sla_splt[-1]})'
|
|
343
|
343
|
|
|
344
|
344
|
pprint(reg_cond)
|
|
345
|
|
- # temp_addr = list(c2.find({'ts': {'$lte': utc, '$gte': yest }, 'interface': {'$regex': reg_cond, '$not': { '$regex': '^pppoe-out5'}, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
|
|
346
|
|
- temp_addr = list(c2.find({'ts': {'$lte': utc, '$gte': yest }, 'interface': {'$regex': reg_cond, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
|
|
|
345
|
+ temp_addr = list(c2.find({'ts': {'$lte': utc, '$gte': yest }, 'interface': {'$regex': reg_cond, '$not': { '$regex': '^pppoe-out5'}, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
|
|
|
346
|
+ # temp_addr = list(c2.find({'ts': {'$lte': utc, '$gte': yest }, 'interface': {'$regex': reg_cond, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
|
|
347
|
347
|
# temp_addr = list(c2.find({'interface': {'$regex': reg_cond, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
|
|
348
|
348
|
pprint("-------")
|
|
349
|
349
|
pprint("temp addr")
|