|
|
@@ -345,7 +345,7 @@ def gen_report_notebook():
|
|
345
|
345
|
reg_cond = f'(?=.*pppoe-out)(?=.*{sla_splt[-1]})'
|
|
346
|
346
|
|
|
347
|
347
|
pprint(reg_cond)
|
|
348
|
|
- 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))
|
|
|
348
|
+ 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))
|
|
349
|
349
|
# temp_addr = list(c2.find({'ts': {'$lte': utc, '$gte': yest }, 'interface': {'$regex': reg_cond, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
|
|
350
|
350
|
# temp_addr = list(c2.find({'interface': {'$regex': reg_cond, '$options': 'i' }, 'invalid': 'false'}).sort("ts", -1))
|
|
351
|
351
|
pprint("-------")
|