> I am trying to generate binary API's using latest GoVPP with 18.07 VPP JSON. 
> I get the following error 
> 
> binapi-generator --input-dir=/home/akshay/vpp1807json/vpp/api/core/ 
> --output-dir=./
>       • We get the following error
>            
> panic: Unknown VPP type vl_api_address_family_t

I guess it breaks with

VPPAPIGEN: Add union and enum support and IP4/IP6 address type.
2c2feab7d89239c92df4622c96e853230393deb9

Which adds a support for address types and uses the relatively new union and 
enum support in the API compiler.

Guess this could be an argument for having the Go language binding inside of 
the repository...

Best regards,
Ole

>  
> goroutine 1 [running]:
> main.translateVppType(0xc4200a08c0, 0xc420199580, 0x17, 0x51eb00, 0x1, 
> 0xc420291710)
>         
> /home/akshay/cnwlcwork/cnwlc45/src/git.fd.io/govpp.git/cmd/binapi-generator/generator.go:543
>  +0x569
> main.processMessageField(0xc4200a08c0, 0xc4200b7be0, 0xc4201fe828, 0x1, 
> 0xc4201fe828, 0x0)
>         
> /home/akshay/cnwlcwork/cnwlc45/src/git.fd.io/govpp.git/cmd/binapi-generator/generator.go:376
>  +0x4d6
> main.generateMessage(0xc4200a08c0, 0x5ac260, 0xc420058340, 0xc4200a7290, 
> 0xc4200a7201, 0x0, 0x0)
>         
> /home/akshay/cnwlcwork/cnwlc45/src/git.fd.io/govpp.git/cmd/binapi-generator/generator.go:287
>  +0x441
> main.generatePackage(0xc4200a08c0, 0xc420058340, 0xc4204bcaa0, 0xc42012c000, 
> 0x1000)
>         
> /home/akshay/cnwlcwork/cnwlc45/src/git.fd.io/govpp.git/cmd/binapi-generator/generator.go:220
>  +0x26a
> main.generateFromFile(0xc420017c00, 0x32, 0x7fff3a8206d2, 0x2, 0x0, 0x0)
>         
> /home/akshay/cnwlcwork/cnwlc45/src/git.fd.io/govpp.git/cmd/binapi-generator/generator.go:151
>  +0x4a4
> main.main()
>         
> /home/akshay/cnwlcwork/cnwlc45/src/git.fd.io/govpp.git/cmd/binapi-generator/generator.go:91
>  +0x1e2
> 
> Thanks in advance,
> Akshay
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> 
> View/Reply Online (#10226): https://lists.fd.io/g/vpp-dev/message/10226
> Mute This Topic: https://lists.fd.io/mt/24873049/675193
> Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480722
> Mute #govpp: https://lists.fd.io/mk?hashtag=govpp&subid=1480722
> Mute #binapi: https://lists.fd.io/mk?hashtag=binapi&subid=1480722
> Group Owner: [email protected]
> Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10231): https://lists.fd.io/g/vpp-dev/message/10231
Mute This Topic: https://lists.fd.io/mt/24873049/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
Mute #govpp: https://lists.fd.io/mk?hashtag=govpp&subid=1480452
Mute #binapi: https://lists.fd.io/mk?hashtag=binapi&subid=1480452
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
  • ... akjosh
    • ... Ole Troan
      • ... Ondrej Fabry -X (ofabry - PANTHEON TECHNOLOGIES at Cisco) via Lists.Fd.Io
        • ... akjosh
          • ... Ondrej Fabry -X (ofabry - PANTHEON TECHNOLOGIES at Cisco) via Lists.Fd.Io
      • ... via Lists.Fd.Io

Reply via email to