Bug 1918997
| Summary: | Allow adding bfd uuid/name to the lr-route-add command | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux Fast Datapath | Reporter: | Tim Rozet <trozet> |
| Component: | OVN | Assignee: | lorenzo bianconi <lorenzo.bianconi> |
| Status: | CLOSED ERRATA | QA Contact: | Jianlin Shi <jishi> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | RHEL 8.0 | CC: | ctrautma |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovn2.13-20.12.0-14.el7fdn | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-03-15 14:36:03 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Tim Rozet
2021-01-21 21:09:41 UTC
Verified on ovn2.13-20.12.0-15:
systemctl start ovn-northd
ovn-nbctl set-connection ptcp:6641
ovn-sbctl set-connection ptcp:6642
systemctl start openvswitch
ovs-vsctl set open . external_ids:system-id=hv0 external_ids:ovn-remote=tcp:1.1.173.25:6642 external_ids:ovn-encap-type=geneve external_ids:ovn-encap-ip=1.1.173.25
systemctl start ovn-controller
ovn-nbctl lr-add lr1
ovn-nbctl lrp-add lr1 lr1p1 00:00:00:01:0f:01 1.1.1.1/24 1111::1/64
ovn-nbctl lr-route-add lr1 2.1.1.0/24 1.1.1.2 lr1p1
bfd_uuid=$(ovn-nbctl create bfd logical_port=lr1p1 dst_ip=1.1.1.3 min_tx=250 min_rx=250 detect_mult=10)
ovn-nbctl --bfd=$bfd_uuid lr-route-add lr1 3.1.1.0/24 1.1.1.3 lr1p1
ovn-nbctl --ecmp lr-route-add lr1 4.1.1.0/24 1.1.1.4 lr1p1
ovn-nbctl --ecmp lr-route-add lr1 4.1.1.0/24 1.1.1.5 lr1p1
ovn-nbctl --ecmp-symmetric-reply lr-route-add lr1 5.1.1.0/24 1.1.1.5 lr1p1
ovn-nbctl --ecmp-symmetric-reply lr-route-add lr1 5.1.1.0/24 1.1.1.4 lr1p1
ovn-nbctl lr-route-list lr1
[root@wsfd-advnetlab21 bz1918997]# rpm -qa | grep -E "openvswitch2.13|ovn2.13"
ovn2.13-central-20.12.0-15.el8fdp.x86_64
openvswitch2.13-2.13.0-93.el8fdp.x86_64
ovn2.13-20.12.0-15.el8fdp.x86_64
ovn2.13-host-20.12.0-15.el8fdp.x86_64
+ ovn-nbctl --bfd=3f957ee0-0dae-4e80-b829-af29ffc45925 lr-route-add lr1 3.1.1.0/24 1.1.1.3 lr1p1
<--- bfd is set
+ ovn-nbctl --ecmp lr-route-add lr1 4.1.1.0/24 1.1.1.4 lr1p1
+ ovn-nbctl --ecmp lr-route-add lr1 4.1.1.0/24 1.1.1.5 lr1p1
+ ovn-nbctl --ecmp-symmetric-reply lr-route-add lr1 5.1.1.0/24 1.1.1.5 lr1p1
+ ovn-nbctl --ecmp-symmetric-reply lr-route-add lr1 5.1.1.0/24 1.1.1.4 lr1p1
+ ovn-nbctl lr-route-list lr1
IPv4 Routes
2.1.1.0/24 1.1.1.2 dst-ip lr1p1
3.1.1.0/24 1.1.1.3 dst-ip lr1p1 bfd
4.1.1.0/24 1.1.1.4 dst-ip lr1p1 ecmp
4.1.1.0/24 1.1.1.5 dst-ip lr1p1 ecmp
5.1.1.0/24 1.1.1.4 dst-ip lr1p1 ecmp ecmp-symmetric-reply
5.1.1.0/24 1.1.1.5 dst-ip lr1p1 ecmp ecmp-symmetric-reply
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (ovn2.13 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:0836 |