On Wed, 2025-10-01 at 10:08 +0200, Lars Olzem wrote: > Hi Martin, > > thanks for your feedback. > > The kernel module is loaded (`modprobe vrf` returns code 0). My > previous > tests had no warnings/errors when the module were missing.
Hmm, this is bit suspicious in itself. Just to double check, are you using OVN at least 25.03? Because this feature was added relatively recently[0]. > > I can successful create vrf entries manually. > > Any further ideas? Re-reading your original question, I realize that I may have misunderstood your problem, so I just wanted to clarify. Is the issue that the vrf table is not created at all, or it is created but there are no routes in it? Could you share the exact steps you took? The link you provided does not point to "dynamic routing"-related test, but I assume that the file just changed slightly since you posted and you meant the nearby "dynamic-routing - BGP" test[1] (it's better to use permalinks). Did you follow it all the way to the point in which the test itself checks that the routes are inserted into the VRF[2]? If you do have the VRF, but no routes, and you followed the test steps all the way to the point where the test expects the routes. Could you share `ovn-nbctl list` for `logical_router`, `logical_router_port`, `logical_switch` and `logical_switch_port` [0] https://www.ovn.org/en/releases/25.03/ [1] https://github.com/ovn-org/ovn/blob/79f4cfd9c5d4812ac704904677cd7a81ca589f25/tests/system-ovn.at#L16000 [2] https://github.com/ovn-org/ovn/blob/79f4cfd9c5d4812ac704904677cd7a81ca589f25/tests/system-ovn.at#L16170 Martin. > > Lars > > On 30.09.25 21:32, [email protected] wrote: > > Hi Lars, > > > > Do you have vrf kernel module available on your system? Depending > > on > > the distribution, the module may have to be explicitly installed. > > > > You'd likely see some warnings/errors in the ovn-controller logs if > > the > > module is missing. You can also try creating vrf manually [0] to > > see if > > it succeeds. > > > > Martin. > > > > [0] https://docs.kernel.org/networking/vrf.html#setup > > > > On Fri, 2025-09-26 at 22:47 +0200, Lars Olzem via discuss wrote: > > > Hello everone, > > > I'm exploring the new dynamic routing feature introduced in OVN > > > v25.03. > > > I set up a lab environment similar to the tests found > > > ( > > > https://github.com/ovn-org/ovn/blob/main/tests/system-ovn.at#L15944 > > > ). > > > It includes the following lines: > > > ``` > > > ovn-nbctl lrp-add internet [...] \ > > > -- set Logical_Router_Port internet-phys > > > options:dynamic-routing-maintain-vrf=true > > > ``` > > > However, my vrf table (`ip vrf`) is empty. Am I missing > > > something? > > > > > > Thanks > > > Lars > > > _______________________________________________ > > > discuss mailing list > > > [email protected] > > > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
