When trying to use the Active-Passive NAT HA functionality described
at https://docs.fd.io/vpp/20.01/dd/d2e/nat_ha_doc.html and trying the
"nat ha resync" command, VPP crashes with the following message:

symbol lookup error: [...] nat_plugin.so: undefined symbol:
nat_ha_resync

The attempted function call is in nat_ha_resync_command_fn in
plugins/nat/nat44_cli.c and looks like this:

  if (nat_ha_resync (0, 0, 0))
    error = clib_error_return (0, "NAT HA resync already running");

The nat_ha_resync function is declared in plugins/nat/nat_ha.h like
this:

/**
 * @brief Resync HA (resend existing sessions to new failover)
 */
int nat_ha_resync (u32 client_index, u32 pid,
                   nat_ha_resync_event_cb_t event_callback);

so it is declared so the compiler accepts the function call, but
apparently the function is not implemented anywhere, leading to
the symbol lookup error.

We tried this with 19.08 as well as the current master branch and
encounter the same problem for both.

Any ideas on how to make this work?

Also, any other advice regarding the NAT HA functionality or links to
further documentation or example usage (if there is more than 
https://docs.fd.io/vpp/20.01/dd/d2e/nat_ha_doc.html) would be much
appreciated.

Best regards,
Elias

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#14696): https://lists.fd.io/g/vpp-dev/message/14696
Mute This Topic: https://lists.fd.io/mt/61957444/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to