Skip to content

Commit

Permalink
Change TABLE_FP to FP_TABLE for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
rsanger committed Jun 29, 2015
1 parent a9044d7 commit a7bc6f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rfserver/rfserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class RouteModTranslator(object):
DEFAULT_PRIORITY = Option.PRIORITY(PRIORITY_LOWEST + PRIORITY_BAND + 1000)

#The table used to tag fastpath packets
TABLE_FP = 1
FP_TABLE = 1

def __init__(self, dp_id, ct_id, rftable, isltable, conf, islconf, fpconf, log, labeller):
self.dp_id = dp_id
Expand Down Expand Up @@ -137,7 +137,7 @@ def _register_fpports(self, fp_port, ports):
self.labeller.rfaction_push_meta(port.fp_label, rm)
rm.add_action(Action.OUTPUT(fp_port))
rm.add_option(self.CONTROLLER_PRIORITY)
rm.set_table(self.TABLE_FP)
rm.set_table(self.FP_TABLE)
rms.append(rm)

# For each incomming fp packet set the correct output port
Expand Down Expand Up @@ -220,7 +220,7 @@ def configure_datapath(self):

def handle_controller_route_mod(self, entry, rm):
if self.fpconf.enabled and not self.fpconf.notables:
rm.add_action(Action.GOTO(self.TABLE_FP))
rm.add_action(Action.GOTO(self.FP_TABLE))
elif self.fpconf.enabled:
rms = []
master_port = self._get_fastpath_port()
Expand Down

0 comments on commit a7bc6f9

Please sign in to comment.