The VPP config file (/etc/vpp/startup.conf) allows an "exec" command which 
loads a file and runs it like the lines are input to the CLI.

https://wiki.fd.io/view/VPP/Command-line_Arguments#.22unix.22_parameters see 
"exec"

which is closely related to the CLI command of the same name:

https://docs.fd.io/vpp/18.04/clicmd_src_vlib_unix_cli_c.html#clicmd_exec

Chris.

> -----Original Message-----
> From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Avi Cohen (A)
> Sent: Sunday, April 1, 2018 7:09
> To: vpp-dev@lists.fd.io
> Subject: [vpp-dev] Auto script invocation after VPP init completed
> 
> Hi All
> 
> I want to automatically invoke a script after VPP init is completed.
> This script just set all interfaces up and set ip-addresses
> 
> What us the best-practice for that ?
> 
> Best Regards
> Avi
> 
> 


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

You receive all messages sent to this group.

View/Reply Online (#8752): https://lists.fd.io/g/vpp-dev/message/8752
View All Messages In Topic (2): https://lists.fd.io/g/vpp-dev/topic/16658059
Mute This Topic: https://lists.fd.io/mt/16658059/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