Skip to content

unknown message: sw_interface_set_flags_f5aec1b8 #52

Answered by ondrej-fabry
jinyan-0805 asked this question in Q&A
Discussion options

You must be logged in to vote

My guess is that [version of VPP you are running] is INCOMPATIBLE with the [VPP version used to generate the binapi] code you are using. If you are using the generated binapi code from the GoVPP repo then your VPP version must match the one specified at the top of the file (see package doc comment).

Try running CheckCompatibility method for the generated messages in a specific binapi package you are trying to use.

if err := ch.CheckCompatiblity(interfaces.AllMessages()...); err != nil {
	log.Fatal(err)
}

See full code in simple-client example.

The error that is returned should tell you which messages are incompatible.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ondrej-fabry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants