ovn: Update comments related to "ovn" to "ovn-sb" switch.
authorJustin Pettit <jpettit@nicira.com>
Thu, 9 Apr 2015 05:52:29 +0000 (22:52 -0700)
committerJustin Pettit <jpettit@nicira.com>
Thu, 9 Apr 2015 19:39:18 +0000 (12:39 -0700)
Signed-off-by: Justin Pettit <jpettit@nicira.com>
Acked-by: Russell Bryant <rbryant@redhat.com>
ovn/ovn-architecture.7.xml
ovn/ovn-nbd.c

index 57e3042..c7a4f37 100644 (file)
       notices <code>external-ids</code>:<code>iface-id</code> in the new
       Interface.  In response, it updates the local hypervisor's OpenFlow
       tables so that packets to and from the VIF are properly handled.
-      Afterward, in the OVN DB, it updates the <code>Bindings</code> table's
-      <code>chassis</code> column for the row that links the logical port
-      from <code>external-ids</code>:<code>iface-id</code> to the hypervisor.
+      Afterward, in the OVN Southbound DB, it updates the
+      <code>Bindings</code> table's <code>chassis</code> column for the
+      row that links the logical port from
+      <code>external-ids</code>:<code>iface-id</code> to the hypervisor.
     </li>
 
     <li>
index 54cd3c8..230437e 100644 (file)
@@ -347,8 +347,8 @@ main(int argc, char *argv[])
     ctx.ovnnb_idl = ovnnb_idl = ovsdb_idl_create(ovnnb_db,
             &nbrec_idl_class, true, true);
 
-    /* There is only a small subset of changes to the ovn db that ovn-nbd has to
-     * care about, so we'll enable monitoring those directly. */
+    /* There is only a small subset of changes to the ovn-sb db that ovn-nbd
+     * has to care about, so we'll enable monitoring those directly. */
     ctx.ovnsb_idl = ovnsb_idl = ovsdb_idl_create(ovnsb_db,
             &sbrec_idl_class, false, true);
     ovsdb_idl_add_table(ovnsb_idl, &sbrec_table_bindings);
@@ -360,12 +360,12 @@ main(int argc, char *argv[])
      * The loop here just runs the IDL in a loop waiting for the seqno to
      * change, which indicates that the contents of the db have changed.
      *
-     * If the contents of the ovn-nb db change, the mappings to the ovn db must
-     * be recalculated.
+     * If the contents of the ovn-nb db change, the mappings to the ovn-sb
+     * db must be recalculated.
      *
-     * If the contents of the ovn db change, it means the 'up' state of a port
-     * may have changed, as that's the only type of change ovn-nbd is watching
-     * for.
+     * If the contents of the ovn-sb db change, it means the 'up' state of
+     * a port may have changed, as that's the only type of change ovn-nbd is
+     * watching for.
      */
 
     ovnnb_seqno = ovsdb_idl_get_seqno(ovnnb_idl);
@@ -412,7 +412,7 @@ main(int argc, char *argv[])
         if (ovnnb_changes_pending && !ctx.ovnsb_txn) {
             /*
              * The OVN-nb db contents have changed, so create a transaction for
-             * updating the OVN DB.
+             * updating the OVN-sb DB.
              */
             ctx.ovnsb_txn = ovsdb_idl_txn_create(ctx.ovnsb_idl);
             ovsdb_idl_txn_add_comment(ctx.ovnsb_txn,
@@ -423,7 +423,7 @@ main(int argc, char *argv[])
 
         if (ovn_changes_pending && !ctx.ovnnb_txn) {
             /*
-             * The OVN db contents have changed, so create a transaction for
+             * The OVN-sb db contents have changed, so create a transaction for
              * updating the northbound DB.
              */
             ctx.ovnnb_txn = ovsdb_idl_txn_create(ctx.ovnnb_idl);