Hi,
i've implemented 2 plugins plgA and plgB

1. plgA is running immediately after 'device-input' node
2. plgB should run after plgA
3. interface-output should run after plgB

i set this these for plgA and plgB
VNET_FEATURE_INIT (plgA, static) =
{
  .arc_name = "device-input",
  .node_name = "plgA",
  .runs_before = VNET_FEATURES ("plgB"),
};

VNET_FEATURE_INIT (plgB, static) =
{
  .arc_name = "plgA-input",
  .node_name = "plgB",
  .runs_before = VNET_FEATURES ("ethernet-input"),
};


and i set the next0 accodingly in the nodes for example in plgA
next0 = AMETHYST_POLICER_NEXT_plgB_INPUT
in plgB i set
next0 = AMETHYST_POLICER_NEXT_ETHERNET_INPUT

are these settings OK ? is there any other setting required ?

Thank you in advance
-Sara

-=-=-=-=-=-=-=-=-=-=-=-
Links:

You receive all messages sent to this group.

View/Reply Online (#8522): https://lists.fd.io/g/vpp-dev/message/8522
View All Messages In Topic (1): https://lists.fd.io/g/vpp-dev/topic/14532428
Mute This Topic: https://lists.fd.io/mt/14532428/21656
New Topic: https://lists.fd.io/g/vpp-dev/post

Change Your Subscription: https://lists.fd.io/g/vpp-dev/editsub/21656
Group Home: https://lists.fd.io/g/vpp-dev
Contact Group Owner: vpp-dev+ow...@lists.fd.io
Terms of Service: https://lists.fd.io/static/tos
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to