ovn-northd: Fix table ID in a comment.
authorRussell Bryant <rbryant@redhat.com>
Sun, 25 Oct 2015 00:24:29 +0000 (20:24 -0400)
committerRussell Bryant <rbryant@redhat.com>
Tue, 3 Nov 2015 21:20:09 +0000 (16:20 -0500)
This changed from 2 to 3 when ACLs got implemented, as it turned out
ACLs needed two tables (1 and 2).

While we're at it, do a bit of OCD formatting cleanup by fixing the
alignment of '\' at the end of each line in the logical flow table
defininitions.

Signed-off-by: Russell Bryant <rbryant@redhat.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ovn/northd/ovn-northd.c

index 60786d2..b196837 100644 (file)
@@ -86,12 +86,12 @@ enum ovn_stage {
 #define PIPELINE_STAGES                                                 \
     /* Logical switch ingress stages. */                                \
     PIPELINE_STAGE(SWITCH, IN,  PORT_SEC,    0, "switch_in_port_sec")   \
-    PIPELINE_STAGE(SWITCH, IN,  PRE_ACL,     1, "switch_in_pre_acl")        \
+    PIPELINE_STAGE(SWITCH, IN,  PRE_ACL,     1, "switch_in_pre_acl")    \
     PIPELINE_STAGE(SWITCH, IN,  ACL,         2, "switch_in_acl")        \
     PIPELINE_STAGE(SWITCH, IN,  L2_LKUP,     3, "switch_in_l2_lkup")    \
                                                                         \
     /* Logical switch egress stages. */                                 \
-    PIPELINE_STAGE(SWITCH, OUT, PRE_ACL,     0, "switch_out_pre_acl")       \
+    PIPELINE_STAGE(SWITCH, OUT, PRE_ACL,     0, "switch_out_pre_acl")   \
     PIPELINE_STAGE(SWITCH, OUT, ACL,         1, "switch_out_acl")       \
     PIPELINE_STAGE(SWITCH, OUT, PORT_SEC,    2, "switch_out_port_sec")  \
                                                                         \
@@ -1151,7 +1151,7 @@ build_lswitch_flows(struct hmap *datapaths, struct hmap *ports,
         ds_destroy(&match);
     }
 
-    /* Ingress table 2: Destination lookup, broadcast and multicast handling
+    /* Ingress table 3: Destination lookup, broadcast and multicast handling
      * (priority 100). */
     HMAP_FOR_EACH (op, key_node, ports) {
         if (!op->nbs) {