Skip to content

Commit

Permalink
incremental
Browse files Browse the repository at this point in the history
  • Loading branch information
dceara committed Aug 9, 2024
1 parent f996128 commit a979456
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions northd/northd.c
Original file line number Diff line number Diff line change
Expand Up @@ -14009,7 +14009,6 @@ apply_r_p_redirect__(
ds_cstr(match),
ds_cstr(actions),
ls_peer->lflow_ref);

}
}

Expand All @@ -14036,6 +14035,7 @@ parse_redirected_routing_protocols(struct ovn_port *lrp) {
redirected_protocol_flags |= REDIRECT_BFD;
continue;
}

static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
VLOG_WARN_RL(&rl, "Option 'routing-protocols' encountered unknown "
"value %s",
Expand All @@ -14054,6 +14054,7 @@ build_lrouter_routing_protocol_redirect(
if (op->peer == NULL) {
return;
}

/* LRP has to have NB record.*/
if (op->nbrp == NULL) {
return;
Expand All @@ -14077,7 +14078,7 @@ build_lrouter_routing_protocol_redirect(
}

/* Ensure that LSP, to which the routing protocol traffic is redirected,
* exists.*/
* exists. */
struct ovn_port *peer_lsp;
bool redirect_port_exists = false;
HMAP_FOR_EACH (peer_lsp, dp_node, &op->peer->od->ports) {
Expand Down Expand Up @@ -14111,7 +14112,7 @@ build_lrouter_routing_protocol_redirect(
return;
}

/* Redirecte traffic destined for LRP's IPs and the specified routing
/* Redirect traffic destined for LRP's IPs and the specified routing
* protocol ports to the port defined in 'routing-protocol-redirect'
* option.*/
for (size_t i = 0; i < op->lrp_networks.n_ipv4_addrs; i++) {
Expand Down
2 changes: 1 addition & 1 deletion northd/ovn-northd.8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2035,7 +2035,7 @@ output;
Logical Router Port), we redirect the traffic related to protocols
specified in <code>routing-protocols</code> option. It's acoomplished
with following priority-100 flows:
<p>
</p>
<ul>
<li>
Flows that match Logical Router Port's IPs and destination port of
Expand Down
2 changes: 1 addition & 1 deletion ovn-nb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3614,7 +3614,7 @@ or
<li>
<code>BFD</code> (forwards UDP port 3748)
</li>
<ul>
</ul>
</column>

<column name="options" key="gateway_mtu_bypass">
Expand Down

0 comments on commit a979456

Please sign in to comment.