- # create all tables
- self.tables = []
- ids = sorted(set(ipv4_table_id))
- for i in range(len(ids)):
- if 0 != ids[i]:
- self.tables.append(VppIpTable(self, ids[i]))
- ids = sorted(set(ipv6_table_id))
- for i in range(len(ids)):
- if 0 != ids[i]:
- self.tables.append(VppIpTable(self, ids[i], is_ip6=1))
- for t in self.tables:
- t.add_vpp_config()
-