Consume the foo config in one place, not two. Then use vlib_get_plugin_symbol (“plugin_that_consumes_foo.so”, “timeout_parameter”) in contestant #2 to find &timeout_parameter at runtime.
HTH... D. From: [email protected] <[email protected]> On Behalf Of shaligram.prakash Sent: Friday, March 8, 2019 9:30 AM To: [email protected] Subject: [vpp-dev] calling VLIB_CONFIG_FUNCTION on same parameter block #vpp #vpp Hi, I want to share the parameter block across different plugins. startup.conf has -- foo { timeout 10 .. .. } Plugin A - VLIB_CONFIG_FUNCTION(foo_fn_a, "foo") Plugin B - VLIB_CONFIG_FUNCTION(foo_fn_b, "foo") Is this possible ? I am not able to get the parameter block -foo shared. Any guidance to achieve that please. Thanks, Shaligram
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#12469): https://lists.fd.io/g/vpp-dev/message/12469 Mute This Topic: https://lists.fd.io/mt/30309100/21656 Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452 Group Owner: [email protected] Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
