ligato / vpp-agent

⚡️ Control plane management agent for FD.io's VPP
https://docs.ligato.io/
Apache License 2.0
247 stars 127 forks source link

Question: does vpp-agent support linux-cp plugin? or how to send vpp cli commands through gRPC? #1911

Open WentianBu opened 1 year ago

mmiklus commented 1 year ago

I wouldn't recommend to use vpp debug CLI and the vpp binary API at the same time.

WentianBu commented 1 year ago

I am trying to create linux-cp host-if. It can be created by vpp# lcp create <vpp interface> host-if <host interface>. I know it is better to do this through Ligato (vpp binary API), but currently Ligato seems not support linux-cp plugin. So I have to call this through vpp CLI. I know that there is a Ligato RESTful API to execute vpp commands, but my application uses gRPC.

I wonder is there better method to do this?