</dd>
<dt>
- <code>external-ids:ovn-patch-port</code> in the <code>Port</code> table
+ <code>external-ids:ovn-localnet-port</code> in the <code>Port</code>
+ table
</dt>
<dd>
<p>
<p>
Each <code>localnet</code> logical port is implemented as a pair of
patch ports, one in the integration bridge, one in a different
- bridge, with the same <code>external-ids:ovn-patch-port</code> value.
+ bridge, with the same <code>external-ids:ovn-localnet-port</code>
+ value.
</p>
</dd>
</dl>
/* Creates a patch port in bridge 'src' named 'src_name', whose peer is
* 'dst_name' in bridge 'dst'. Initializes the patch port's
- * external-ids:ovn-patch-port to 'network'.
+ * external-ids:ovn-localnet-port to 'network'.
*
* If such a patch port already exists, removes it from 'existing_ports'. */
static void
port = ovsrec_port_insert(ctx->ovs_idl_txn);
ovsrec_port_set_name(port, src_name);
ovsrec_port_set_interfaces(port, &iface, 1);
- const struct smap ids = SMAP_CONST1(&ids, "ovn-patch-port", network);
+ const struct smap ids = SMAP_CONST1(&ids, "ovn-localnet-port", network);
ovsrec_port_set_external_ids(port, &ids);
struct ovsrec_port **ports;
/* Creates a pair of patch ports that connect bridges 'b1' and 'b2', using a
* port named 'name1' and 'name2' in each respective bridge.
- * external-ids:ovn-patch-port in each port is initialized to 'network'.
+ * external-ids:ovn-localnet-port in each port is initialized to 'network'.
*
* If one or both of the ports already exists, leaves it there and removes it
* from 'existing_ports'. */
struct shash existing_ports = SHASH_INITIALIZER(&existing_ports);
const struct ovsrec_port *port;
OVSREC_PORT_FOR_EACH (port, ctx->ovs_idl) {
- if (smap_get(&port->external_ids, "ovn-patch-port")) {
+ if (smap_get(&port->external_ids, "ovn-localnet-port")) {
shash_add(&existing_ports, port->name, port);
}
}