Skip to content

Commit

Permalink
Merge pull request #2374 from anarkiwi/master
Browse files Browse the repository at this point in the history
copy canonical table config.
  • Loading branch information
anarkiwi authored Aug 28, 2018
2 parents 4dc9bff + 3788573 commit b661dc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion faucet/dp.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ def _configure_tables(self, override_table_config, valve_cl, vlan_port_factor):
tables = {}
self.groups = ValveGroupTable()
relative_table_id = 0
for table_id, table_config in enumerate(faucet_pipeline.FAUCET_PIPELINE):
for table_id, canonical_table_config in enumerate(faucet_pipeline.FAUCET_PIPELINE):
table_config = copy.deepcopy(canonical_table_config)
table_name = table_config.name
if table_name in override_table_config:
table_config = override_table_config[table_name]
Expand Down

0 comments on commit b661dc0

Please sign in to comment.