summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2015-04-08 22:52:29 -0700
committerJustin Pettit <jpettit@nicira.com>2015-04-09 12:39:18 -0700
commita0149f4776b6a7e607cba6fb5134e0db1a0d7616 (patch)
treefc576503131322bf6a2552de1046e54316829a83
parent1369720c6ce1a7117bff8f8fcc8f76f0808f1fcd (diff)
downloadopenvswitch-a0149f4776b6a7e607cba6fb5134e0db1a0d7616.tar.gz
ovn: Update comments related to "ovn" to "ovn-sb" switch.
Signed-off-by: Justin Pettit <jpettit@nicira.com> Acked-by: Russell Bryant <rbryant@redhat.com>
-rw-r--r--ovn/ovn-architecture.7.xml7
-rw-r--r--ovn/ovn-nbd.c18
2 files changed, 13 insertions, 12 deletions
diff --git a/ovn/ovn-architecture.7.xml b/ovn/ovn-architecture.7.xml
index 57e3042e0..c7a4f3718 100644
--- a/ovn/ovn-architecture.7.xml
+++ b/ovn/ovn-architecture.7.xml
@@ -329,9 +329,10 @@
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>
diff --git a/ovn/ovn-nbd.c b/ovn/ovn-nbd.c
index 54cd3c875..230437ec2 100644
--- a/ovn/ovn-nbd.c
+++ b/ovn/ovn-nbd.c
@@ -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);