]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
OVS agent: fix a comment on CANARY_TABLE
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Tue, 1 Jul 2014 01:50:57 +0000 (10:50 +0900)
committerYAMAMOTO Takashi <yamamoto@valinux.co.jp>
Wed, 2 Jul 2014 16:12:06 +0000 (01:12 +0900)
CANARY_TABLE is for br-int, not for br-tun.  Grouping it with
constants for br-tun tables together is misleading.  Move it into
a separate section and comment appropriately.  No functional changes.

Change-Id: Ic1aed992776a87ed77665b712de7ec3bd9dab397

neutron/plugins/openvswitch/common/constants.py

index da45415cae626733b1e069c404b7d78e3e6cf696..9cf6637dacc4a0dd0592161b1bf4c4ff7ecc2d4e 100644 (file)
@@ -45,6 +45,9 @@ LEARN_FROM_TUN = 10
 UCAST_TO_TUN = 20
 ARP_RESPONDER = 21
 FLOOD_TO_TUN = 22
+
+# Tables for integration bridge
+# Table 0 is used for forwarding.
 CANARY_TABLE = 23
 
 # Map tunnel types to tables number