diff --git a/main.py b/main.py index 0347bfb..3ffe42a 100644 --- a/main.py +++ b/main.py @@ -223,7 +223,7 @@ def getActiveFlowRoutes(self): if hex_dig not in self.flow_active: - self.flow_active[hex_dig] = {'router': name, 'term': flow.term, 'destination': destination, + self.flow_active[hex_dig] = {'router': name, 'vrf': flowtable, 'term': flow.term, 'destination': destination, 'commAction': commAction, 'krtAction': krt_actions, 'age': str(_age['current']), 'hash': hex_dig, 'status': 'new'} @@ -273,7 +273,7 @@ def getActiveFlowRouteFilter(self): _item = item.split('=') data[didx] = _item[1] if len(_item) > 1 else _item[0] - self.filter_active[name].append({'data': data, 'packet_count': filter.packet_count, + self.filter_active[name].append({'vrf': table, 'data': data, 'packet_count': filter.packet_count, 'byte_count': filter.byte_count}) return True, self.filter_active diff --git a/ui/index.html b/ui/index.html index 8f2c417..4cc11cc 100644 --- a/ui/index.html +++ b/ui/index.html @@ -53,7 +53,7 @@
+