Improve binapi generator 57/27957/2
authorOndrej Fabry <ofabry@cisco.com>
Fri, 17 Jul 2020 08:36:28 +0000 (10:36 +0200)
committerOndrej Fabry <ofabry@cisco.com>
Fri, 17 Jul 2020 09:43:41 +0000 (11:43 +0200)
commitd1f24d37bd447b64e402298bb8eb2479681facf9
treea3fc21ba730a91d8a402c7a5bf9c614e3677c4fc
parent1548c7e12531e3d055567d761c580a1c7ff0ac40
Improve binapi generator

- simplified Size/Marshal/Unmarshal methods
- replace struc in unions with custom marshal/unmarshal
- fix imports in generated files
- fix mock adapter
- generate rpc service using low-level stream API (dumps generate control ping or stream msg..)
- move examples/binapi to binapi and generate all API for latest release
- add binapigen.Plugin for developing custom generator plugins
- optionally generate HTTP handlers (REST API) for RPC services
- add govpp program for browsing VPP API

Change-Id: I092e9ed2b0c17972b3476463c3d4b14dd76ed42b
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
367 files changed:
Makefile
adapter/mock/mock_vpp_adapter.go
adapter/socketclient/binapi/gen.go [deleted file]
adapter/socketclient/binapi/memclnt/memclnt.ba.go [deleted file]
adapter/socketclient/socketclient.go
binapi/abf/abf.ba.go [new file with mode: 0644]
binapi/abf/abf_rest.ba.go [new file with mode: 0644]
binapi/abf/abf_rpc.ba.go [new file with mode: 0644]
binapi/acl/acl.ba.go [new file with mode: 0644]
binapi/acl/acl_rest.ba.go [new file with mode: 0644]
binapi/acl/acl_rpc.ba.go [moved from examples/binapi/acl/acl_rpc.ba.go with 51% similarity]
binapi/acl_types/acl_types.ba.go [new file with mode: 0644]
binapi/af_packet/af_packet.ba.go [new file with mode: 0644]
binapi/af_packet/af_packet_rest.ba.go [new file with mode: 0644]
binapi/af_packet/af_packet_rpc.ba.go [moved from examples/binapi/af_packet/af_packet_rpc.ba.go with 52% similarity]
binapi/arp/arp.ba.go [new file with mode: 0644]
binapi/arp/arp_rest.ba.go [new file with mode: 0644]
binapi/arp/arp_rpc.ba.go [new file with mode: 0644]
binapi/avf/avf.ba.go [new file with mode: 0644]
binapi/avf/avf_rest.ba.go [new file with mode: 0644]
binapi/avf/avf_rpc.ba.go [new file with mode: 0644]
binapi/bfd/bfd.ba.go [new file with mode: 0644]
binapi/bfd/bfd_rest.ba.go [new file with mode: 0644]
binapi/bfd/bfd_rpc.ba.go [new file with mode: 0644]
binapi/bier/bier.ba.go [new file with mode: 0644]
binapi/bier/bier_rest.ba.go [new file with mode: 0644]
binapi/bier/bier_rpc.ba.go [new file with mode: 0644]
binapi/bond/bond.ba.go [new file with mode: 0644]
binapi/bond/bond_rest.ba.go [new file with mode: 0644]
binapi/bond/bond_rpc.ba.go [new file with mode: 0644]
binapi/builtinurl/builtinurl.ba.go [new file with mode: 0644]
binapi/builtinurl/builtinurl_rest.ba.go [new file with mode: 0644]
binapi/builtinurl/builtinurl_rpc.ba.go [new file with mode: 0644]
binapi/cdp/cdp.ba.go [new file with mode: 0644]
binapi/cdp/cdp_rest.ba.go [new file with mode: 0644]
binapi/cdp/cdp_rpc.ba.go [new file with mode: 0644]
binapi/classify/classify.ba.go [new file with mode: 0644]
binapi/classify/classify_rest.ba.go [new file with mode: 0644]
binapi/classify/classify_rpc.ba.go [new file with mode: 0644]
binapi/cop/cop.ba.go [new file with mode: 0644]
binapi/cop/cop_rest.ba.go [new file with mode: 0644]
binapi/cop/cop_rpc.ba.go [new file with mode: 0644]
binapi/ct6/ct6.ba.go [new file with mode: 0644]
binapi/ct6/ct6_rest.ba.go [new file with mode: 0644]
binapi/ct6/ct6_rpc.ba.go [new file with mode: 0644]
binapi/dhcp/dhcp.ba.go [new file with mode: 0644]
binapi/dhcp/dhcp_rest.ba.go [new file with mode: 0644]
binapi/dhcp/dhcp_rpc.ba.go [new file with mode: 0644]
binapi/dhcp6_ia_na_client_cp/dhcp6_ia_na_client_cp.ba.go [new file with mode: 0644]
binapi/dhcp6_ia_na_client_cp/dhcp6_ia_na_client_cp_rest.ba.go [new file with mode: 0644]
binapi/dhcp6_ia_na_client_cp/dhcp6_ia_na_client_cp_rpc.ba.go [new file with mode: 0644]
binapi/dhcp6_pd_client_cp/dhcp6_pd_client_cp.ba.go [new file with mode: 0644]
binapi/dhcp6_pd_client_cp/dhcp6_pd_client_cp_rest.ba.go [new file with mode: 0644]
binapi/dhcp6_pd_client_cp/dhcp6_pd_client_cp_rpc.ba.go [new file with mode: 0644]
binapi/dns/dns.ba.go [new file with mode: 0644]
binapi/dns/dns_rest.ba.go [new file with mode: 0644]
binapi/dns/dns_rpc.ba.go [new file with mode: 0644]
binapi/dslite/dslite.ba.go [new file with mode: 0644]
binapi/dslite/dslite_rest.ba.go [new file with mode: 0644]
binapi/dslite/dslite_rpc.ba.go [new file with mode: 0644]
binapi/ethernet_types/ethernet_types.ba.go [new file with mode: 0644]
binapi/feature/feature.ba.go [new file with mode: 0644]
binapi/feature/feature_rest.ba.go [new file with mode: 0644]
binapi/feature/feature_rpc.ba.go [new file with mode: 0644]
binapi/fib_types/fib_types.ba.go [moved from examples/binapi/fib_types/fib_types.ba.go with 70% similarity]
binapi/flowprobe/flowprobe.ba.go [new file with mode: 0644]
binapi/flowprobe/flowprobe_rest.ba.go [new file with mode: 0644]
binapi/flowprobe/flowprobe_rpc.ba.go [new file with mode: 0644]
binapi/gbp/gbp.ba.go [new file with mode: 0644]
binapi/gbp/gbp_rest.ba.go [new file with mode: 0644]
binapi/gbp/gbp_rpc.ba.go [new file with mode: 0644]
binapi/geneve/geneve.ba.go [new file with mode: 0644]
binapi/geneve/geneve_rest.ba.go [new file with mode: 0644]
binapi/geneve/geneve_rpc.ba.go [new file with mode: 0644]
binapi/gre/gre.ba.go [new file with mode: 0644]
binapi/gre/gre_rest.ba.go [new file with mode: 0644]
binapi/gre/gre_rpc.ba.go [new file with mode: 0644]
binapi/gso/gso.ba.go [new file with mode: 0644]
binapi/gso/gso_rest.ba.go [new file with mode: 0644]
binapi/gso/gso_rpc.ba.go [new file with mode: 0644]
binapi/gtpu/gtpu.ba.go [new file with mode: 0644]
binapi/gtpu/gtpu_rest.ba.go [new file with mode: 0644]
binapi/gtpu/gtpu_rpc.ba.go [new file with mode: 0644]
binapi/http_static/http_static.ba.go [new file with mode: 0644]
binapi/http_static/http_static_rest.ba.go [new file with mode: 0644]
binapi/http_static/http_static_rpc.ba.go [new file with mode: 0644]
binapi/igmp/igmp.ba.go [new file with mode: 0644]
binapi/igmp/igmp_rest.ba.go [new file with mode: 0644]
binapi/igmp/igmp_rpc.ba.go [new file with mode: 0644]
binapi/ikev2/ikev2.ba.go [new file with mode: 0644]
binapi/ikev2/ikev2_rest.ba.go [new file with mode: 0644]
binapi/ikev2/ikev2_rpc.ba.go [new file with mode: 0644]
binapi/interface/interface.ba.go [new file with mode: 0644]
binapi/interface/interface_rest.ba.go [new file with mode: 0644]
binapi/interface/interface_rpc.ba.go [moved from examples/binapi/interfaces/interfaces_rpc.ba.go with 75% similarity]
binapi/interface_types/interface_types.ba.go [moved from examples/binapi/interface_types/interface_types.ba.go with 77% similarity]
binapi/ioam_cache/ioam_cache.ba.go [new file with mode: 0644]
binapi/ioam_cache/ioam_cache_rest.ba.go [new file with mode: 0644]
binapi/ioam_cache/ioam_cache_rpc.ba.go [new file with mode: 0644]
binapi/ioam_export/ioam_export.ba.go [new file with mode: 0644]
binapi/ioam_export/ioam_export_rest.ba.go [new file with mode: 0644]
binapi/ioam_export/ioam_export_rpc.ba.go [new file with mode: 0644]
binapi/ioam_vxlan_gpe/ioam_vxlan_gpe.ba.go [new file with mode: 0644]
binapi/ioam_vxlan_gpe/ioam_vxlan_gpe_rest.ba.go [new file with mode: 0644]
binapi/ioam_vxlan_gpe/ioam_vxlan_gpe_rpc.ba.go [new file with mode: 0644]
binapi/ip/ip.ba.go [new file with mode: 0644]
binapi/ip/ip_rest.ba.go [new file with mode: 0644]
binapi/ip/ip_rpc.ba.go [new file with mode: 0644]
binapi/ip6_nd/ip6_nd.ba.go [new file with mode: 0644]
binapi/ip6_nd/ip6_nd_rest.ba.go [new file with mode: 0644]
binapi/ip6_nd/ip6_nd_rpc.ba.go [new file with mode: 0644]
binapi/ip_neighbor/ip_neighbor.ba.go [new file with mode: 0644]
binapi/ip_neighbor/ip_neighbor_rest.ba.go [new file with mode: 0644]
binapi/ip_neighbor/ip_neighbor_rpc.ba.go [new file with mode: 0644]
binapi/ip_types/ip_types.ba.go [moved from examples/binapi/ip_types/ip_types.ba.go with 50% similarity]
binapi/ipfix_export/ipfix_export.ba.go [new file with mode: 0644]
binapi/ipfix_export/ipfix_export_rest.ba.go [new file with mode: 0644]
binapi/ipfix_export/ipfix_export_rpc.ba.go [new file with mode: 0644]
binapi/ipip/ipip.ba.go [new file with mode: 0644]
binapi/ipip/ipip_rest.ba.go [new file with mode: 0644]
binapi/ipip/ipip_rpc.ba.go [new file with mode: 0644]
binapi/ipsec/ipsec.ba.go [new file with mode: 0644]
binapi/ipsec/ipsec_rest.ba.go [new file with mode: 0644]
binapi/ipsec/ipsec_rpc.ba.go [new file with mode: 0644]
binapi/ipsec_types/ipsec_types.ba.go [new file with mode: 0644]
binapi/l2/l2.ba.go [new file with mode: 0644]
binapi/l2/l2_rest.ba.go [new file with mode: 0644]
binapi/l2/l2_rpc.ba.go [new file with mode: 0644]
binapi/l2e/l2e.ba.go [new file with mode: 0644]
binapi/l2e/l2e_rest.ba.go [new file with mode: 0644]
binapi/l2e/l2e_rpc.ba.go [new file with mode: 0644]
binapi/l2tp/l2tp.ba.go [new file with mode: 0644]
binapi/l2tp/l2tp_rest.ba.go [new file with mode: 0644]
binapi/l2tp/l2tp_rpc.ba.go [new file with mode: 0644]
binapi/l3xc/l3xc.ba.go [new file with mode: 0644]
binapi/l3xc/l3xc_rest.ba.go [new file with mode: 0644]
binapi/l3xc/l3xc_rpc.ba.go [new file with mode: 0644]
binapi/lacp/lacp.ba.go [new file with mode: 0644]
binapi/lacp/lacp_rest.ba.go [new file with mode: 0644]
binapi/lacp/lacp_rpc.ba.go [new file with mode: 0644]
binapi/lb/lb.ba.go [new file with mode: 0644]
binapi/lb/lb_rest.ba.go [new file with mode: 0644]
binapi/lb/lb_rpc.ba.go [new file with mode: 0644]
binapi/lb_types/lb_types.ba.go [new file with mode: 0644]
binapi/lisp/lisp.ba.go [new file with mode: 0644]
binapi/lisp/lisp_rest.ba.go [new file with mode: 0644]
binapi/lisp/lisp_rpc.ba.go [new file with mode: 0644]
binapi/lisp_gpe/lisp_gpe.ba.go [new file with mode: 0644]
binapi/lisp_gpe/lisp_gpe_rest.ba.go [new file with mode: 0644]
binapi/lisp_gpe/lisp_gpe_rpc.ba.go [new file with mode: 0644]
binapi/lisp_types/lisp_types.ba.go [new file with mode: 0644]
binapi/lldp/lldp.ba.go [new file with mode: 0644]
binapi/lldp/lldp_rest.ba.go [new file with mode: 0644]
binapi/lldp/lldp_rpc.ba.go [new file with mode: 0644]
binapi/mactime/mactime.ba.go [new file with mode: 0644]
binapi/mactime/mactime_rest.ba.go [new file with mode: 0644]
binapi/mactime/mactime_rpc.ba.go [new file with mode: 0644]
binapi/map/map.ba.go [new file with mode: 0644]
binapi/map/map_rest.ba.go [new file with mode: 0644]
binapi/map/map_rpc.ba.go [new file with mode: 0644]
binapi/mdata/mdata.ba.go [new file with mode: 0644]
binapi/mdata/mdata_rest.ba.go [new file with mode: 0644]
binapi/mdata/mdata_rpc.ba.go [new file with mode: 0644]
binapi/memclnt/memclnt.ba.go [new file with mode: 0644]
binapi/memclnt/memclnt_rest.ba.go [new file with mode: 0644]
binapi/memclnt/memclnt_rpc.ba.go [new file with mode: 0644]
binapi/memif/memif.ba.go [new file with mode: 0644]
binapi/memif/memif_rest.ba.go [new file with mode: 0644]
binapi/memif/memif_rpc.ba.go [new file with mode: 0644]
binapi/mfib_types/mfib_types.ba.go [new file with mode: 0644]
binapi/mpls/mpls.ba.go [new file with mode: 0644]
binapi/mpls/mpls_rest.ba.go [new file with mode: 0644]
binapi/mpls/mpls_rpc.ba.go [new file with mode: 0644]
binapi/nat/nat.ba.go [new file with mode: 0644]
binapi/nat/nat_rest.ba.go [new file with mode: 0644]
binapi/nat/nat_rpc.ba.go [new file with mode: 0644]
binapi/nsh/nsh.ba.go [new file with mode: 0644]
binapi/nsh/nsh_rest.ba.go [new file with mode: 0644]
binapi/nsh/nsh_rpc.ba.go [new file with mode: 0644]
binapi/nsim/nsim.ba.go [new file with mode: 0644]
binapi/nsim/nsim_rest.ba.go [new file with mode: 0644]
binapi/nsim/nsim_rpc.ba.go [new file with mode: 0644]
binapi/oddbuf/oddbuf.ba.go [new file with mode: 0644]
binapi/oddbuf/oddbuf_rest.ba.go [new file with mode: 0644]
binapi/oddbuf/oddbuf_rpc.ba.go [new file with mode: 0644]
binapi/one/one.ba.go [new file with mode: 0644]
binapi/one/one_rest.ba.go [new file with mode: 0644]
binapi/one/one_rpc.ba.go [new file with mode: 0644]
binapi/p2p_ethernet/p2p_ethernet.ba.go [new file with mode: 0644]
binapi/p2p_ethernet/p2p_ethernet_rest.ba.go [new file with mode: 0644]
binapi/p2p_ethernet/p2p_ethernet_rpc.ba.go [new file with mode: 0644]
binapi/pci_types/pci_types.ba.go [new file with mode: 0644]
binapi/pg/pg.ba.go [new file with mode: 0644]
binapi/pg/pg_rest.ba.go [new file with mode: 0644]
binapi/pg/pg_rpc.ba.go [new file with mode: 0644]
binapi/pipe/pipe.ba.go [new file with mode: 0644]
binapi/pipe/pipe_rest.ba.go [new file with mode: 0644]
binapi/pipe/pipe_rpc.ba.go [new file with mode: 0644]
binapi/policer/policer.ba.go [new file with mode: 0644]
binapi/policer/policer_rest.ba.go [new file with mode: 0644]
binapi/policer/policer_rpc.ba.go [new file with mode: 0644]
binapi/policer_types/policer_types.ba.go [new file with mode: 0644]
binapi/pot/pot.ba.go [new file with mode: 0644]
binapi/pot/pot_rest.ba.go [new file with mode: 0644]
binapi/pot/pot_rpc.ba.go [new file with mode: 0644]
binapi/pppoe/pppoe.ba.go [new file with mode: 0644]
binapi/pppoe/pppoe_rest.ba.go [new file with mode: 0644]
binapi/pppoe/pppoe_rpc.ba.go [new file with mode: 0644]
binapi/punt/punt.ba.go [new file with mode: 0644]
binapi/punt/punt_rest.ba.go [new file with mode: 0644]
binapi/punt/punt_rpc.ba.go [new file with mode: 0644]
binapi/qos/qos.ba.go [new file with mode: 0644]
binapi/qos/qos_rest.ba.go [new file with mode: 0644]
binapi/qos/qos_rpc.ba.go [new file with mode: 0644]
binapi/rd_cp/rd_cp.ba.go [new file with mode: 0644]
binapi/rd_cp/rd_cp_rest.ba.go [new file with mode: 0644]
binapi/rd_cp/rd_cp_rpc.ba.go [new file with mode: 0644]
binapi/rdma/rdma.ba.go [new file with mode: 0644]
binapi/rdma/rdma_rest.ba.go [new file with mode: 0644]
binapi/rdma/rdma_rpc.ba.go [new file with mode: 0644]
binapi/session/session.ba.go [new file with mode: 0644]
binapi/session/session_rest.ba.go [new file with mode: 0644]
binapi/session/session_rpc.ba.go [new file with mode: 0644]
binapi/span/span.ba.go [new file with mode: 0644]
binapi/span/span_rest.ba.go [new file with mode: 0644]
binapi/span/span_rpc.ba.go [new file with mode: 0644]
binapi/sr/sr.ba.go [new file with mode: 0644]
binapi/sr/sr_rest.ba.go [new file with mode: 0644]
binapi/sr/sr_rpc.ba.go [new file with mode: 0644]
binapi/sr_mpls/sr_mpls.ba.go [new file with mode: 0644]
binapi/sr_mpls/sr_mpls_rest.ba.go [new file with mode: 0644]
binapi/sr_mpls/sr_mpls_rpc.ba.go [new file with mode: 0644]
binapi/sr_types/sr_types.ba.go [new file with mode: 0644]
binapi/stn/stn.ba.go [new file with mode: 0644]
binapi/stn/stn_rest.ba.go [new file with mode: 0644]
binapi/stn/stn_rpc.ba.go [new file with mode: 0644]
binapi/svs/svs.ba.go [new file with mode: 0644]
binapi/svs/svs_rest.ba.go [new file with mode: 0644]
binapi/svs/svs_rpc.ba.go [new file with mode: 0644]
binapi/syslog/syslog.ba.go [new file with mode: 0644]
binapi/syslog/syslog_rest.ba.go [new file with mode: 0644]
binapi/syslog/syslog_rpc.ba.go [new file with mode: 0644]
binapi/tapv2/tapv2.ba.go [new file with mode: 0644]
binapi/tapv2/tapv2_rest.ba.go [new file with mode: 0644]
binapi/tapv2/tapv2_rpc.ba.go [new file with mode: 0644]
binapi/tcp/tcp.ba.go [new file with mode: 0644]
binapi/tcp/tcp_rest.ba.go [new file with mode: 0644]
binapi/tcp/tcp_rpc.ba.go [new file with mode: 0644]
binapi/teib/teib.ba.go [new file with mode: 0644]
binapi/teib/teib_rest.ba.go [new file with mode: 0644]
binapi/teib/teib_rpc.ba.go [new file with mode: 0644]
binapi/tls_openssl/tls_openssl.ba.go [new file with mode: 0644]
binapi/tls_openssl/tls_openssl_rest.ba.go [new file with mode: 0644]
binapi/tls_openssl/tls_openssl_rpc.ba.go [new file with mode: 0644]
binapi/trace/trace.ba.go [new file with mode: 0644]
binapi/trace/trace_rest.ba.go [new file with mode: 0644]
binapi/trace/trace_rpc.ba.go [new file with mode: 0644]
binapi/tunnel_types/tunnel_types.ba.go [new file with mode: 0644]
binapi/udp/udp.ba.go [new file with mode: 0644]
binapi/udp/udp_rest.ba.go [new file with mode: 0644]
binapi/udp/udp_rpc.ba.go [new file with mode: 0644]
binapi/udp_ping/udp_ping.ba.go [new file with mode: 0644]
binapi/udp_ping/udp_ping_rest.ba.go [new file with mode: 0644]
binapi/udp_ping/udp_ping_rpc.ba.go [new file with mode: 0644]
binapi/urpf/urpf.ba.go [new file with mode: 0644]
binapi/urpf/urpf_rest.ba.go [new file with mode: 0644]
binapi/urpf/urpf_rpc.ba.go [new file with mode: 0644]
binapi/vhost_user/vhost_user.ba.go [new file with mode: 0644]
binapi/vhost_user/vhost_user_rest.ba.go [new file with mode: 0644]
binapi/vhost_user/vhost_user_rpc.ba.go [new file with mode: 0644]
binapi/virtio/virtio.ba.go [new file with mode: 0644]
binapi/virtio/virtio_rest.ba.go [new file with mode: 0644]
binapi/virtio/virtio_rpc.ba.go [new file with mode: 0644]
binapi/virtio_types/virtio_types.ba.go [new file with mode: 0644]
binapi/vmxnet3/vmxnet3.ba.go [new file with mode: 0644]
binapi/vmxnet3/vmxnet3_rest.ba.go [new file with mode: 0644]
binapi/vmxnet3/vmxnet3_rpc.ba.go [new file with mode: 0644]
binapi/vpe/vpe.ba.go [new file with mode: 0644]
binapi/vpe/vpe_rest.ba.go [new file with mode: 0644]
binapi/vpe/vpe_rpc.ba.go [moved from examples/binapi/vpe/vpe_rpc.ba.go with 72% similarity]
binapi/vpe_types/vpe_types.ba.go [new file with mode: 0644]
binapi/vrrp/vrrp.ba.go [new file with mode: 0644]
binapi/vrrp/vrrp_rest.ba.go [new file with mode: 0644]
binapi/vrrp/vrrp_rpc.ba.go [new file with mode: 0644]
binapi/vxlan/vxlan.ba.go [new file with mode: 0644]
binapi/vxlan/vxlan_rest.ba.go [new file with mode: 0644]
binapi/vxlan/vxlan_rpc.ba.go [new file with mode: 0644]
binapi/vxlan_gbp/vxlan_gbp.ba.go [new file with mode: 0644]
binapi/vxlan_gbp/vxlan_gbp_rest.ba.go [new file with mode: 0644]
binapi/vxlan_gbp/vxlan_gbp_rpc.ba.go [new file with mode: 0644]
binapi/vxlan_gpe/vxlan_gpe.ba.go [new file with mode: 0644]
binapi/vxlan_gpe/vxlan_gpe_rest.ba.go [new file with mode: 0644]
binapi/vxlan_gpe/vxlan_gpe_rpc.ba.go [new file with mode: 0644]
binapi/vxlan_gpe_ioam_export/vxlan_gpe_ioam_export.ba.go [new file with mode: 0644]
binapi/vxlan_gpe_ioam_export/vxlan_gpe_ioam_export_rest.ba.go [new file with mode: 0644]
binapi/vxlan_gpe_ioam_export/vxlan_gpe_ioam_export_rpc.ba.go [new file with mode: 0644]
binapigen/binapigen.go
binapigen/binapigen_test.go [new file with mode: 0644]
binapigen/gen_encoding.go [new file with mode: 0644]
binapigen/gen_helpers.go [new file with mode: 0644]
binapigen/gen_helpers_test.go [new file with mode: 0644]
binapigen/gen_rest.go [new file with mode: 0644]
binapigen/gen_rpc.go [new file with mode: 0644]
binapigen/generate.go
binapigen/generate_rpc.go [deleted file]
binapigen/generate_test.go
binapigen/generator.go
binapigen/generator_test.go
binapigen/plugin.go [new file with mode: 0644]
binapigen/run.go
binapigen/types.go
binapigen/validate.go [deleted file]
binapigen/vppapi.go [new file with mode: 0644]
binapigen/vppapi/api.go [deleted file]
binapigen/vppapi/api_schema.go [new file with mode: 0644]
binapigen/vppapi/parse_json.go
binapigen/vppapi/util.go [new file with mode: 0644]
binapigen/vppapi/vppapi.go [moved from binapigen/vppapi/parser.go with 63% similarity]
binapigen/vppapi/vppapi_test.go [moved from binapigen/vppapi/parser_test.go with 85% similarity]
cmd/binapi-generator/main.go
cmd/binapi-generator/util.go [deleted file]
cmd/govpp/main.go [new file with mode: 0644]
cmd/vpp-proxy/main.go
codec/bench_test.go
codec/codec.go
codec/marshaler_test.go
codec/msg_codec.go
codec/msg_codec_test.go
core/channel_test.go
core/connection_test.go
core/stream.go
examples/binapi-types/binapi_types.go [moved from examples/union-example/union_example.go with 63% similarity]
examples/binapi/acl/acl.ba.go [deleted file]
examples/binapi/af_packet/af_packet.ba.go [deleted file]
examples/binapi/gen.go [deleted file]
examples/binapi/interfaces/interfaces.ba.go [deleted file]
examples/binapi/ip/ip.ba.go [deleted file]
examples/binapi/ip/ip_rpc.ba.go [deleted file]
examples/binapi/mactime/mactime.ba.go [deleted file]
examples/binapi/mactime/mactime_rpc.ba.go [deleted file]
examples/binapi/memif/memif.ba.go [deleted file]
examples/binapi/memif/memif_rpc.ba.go [deleted file]
examples/binapi/sr/sr.ba.go [deleted file]
examples/binapi/sr/sr_rpc.ba.go [deleted file]
examples/binapi/vpe/vpe.ba.go [deleted file]
examples/multi-vpp/multi_vpp.go
examples/perf-bench/perf-bench.go
examples/rpc-service/rpc_service.go
examples/simple-client/simple_client.go
gen.go [new file with mode: 0644]
internal/testbinapi/binapi2001/acl/acl.ba.go [moved from codec/testdata/binapi2001/acl/acl.ba.go with 100% similarity]
internal/testbinapi/binapi2001/acl/acl_rpc.ba.go [moved from codec/testdata/binapi2001/acl/acl_rpc.ba.go with 100% similarity]
internal/testbinapi/binapi2001/af_packet/af_packet.ba.go [moved from codec/testdata/binapi2001/af_packet/af_packet.ba.go with 100% similarity]
internal/testbinapi/binapi2001/af_packet/af_packet_rpc.ba.go [moved from codec/testdata/binapi2001/af_packet/af_packet_rpc.ba.go with 100% similarity]
internal/testbinapi/binapi2001/interfaces/interfaces.ba.go [moved from codec/testdata/binapi2001/interfaces/interfaces.ba.go with 100% similarity]
internal/testbinapi/binapi2001/interfaces/interfaces_rpc.ba.go [moved from codec/testdata/binapi2001/interfaces/interfaces_rpc.ba.go with 100% similarity]
internal/testbinapi/binapi2001/ip/ip.ba.go [moved from codec/testdata/binapi2001/ip/ip.ba.go with 100% similarity]
internal/testbinapi/binapi2001/ip/ip_rpc.ba.go [moved from codec/testdata/binapi2001/ip/ip_rpc.ba.go with 100% similarity]
internal/testbinapi/binapi2001/memclnt/memclnt.ba.go [moved from codec/testdata/binapi2001/memclnt/memclnt.ba.go with 100% similarity]
internal/testbinapi/binapi2001/memclnt/memclnt_rpc.ba.go [moved from codec/testdata/binapi2001/memclnt/memclnt_rpc.ba.go with 100% similarity]
internal/testbinapi/binapi2001/memif/memif.ba.go [moved from codec/testdata/binapi2001/memif/memif.ba.go with 100% similarity]
internal/testbinapi/binapi2001/memif/memif_rpc.ba.go [moved from codec/testdata/binapi2001/memif/memif_rpc.ba.go with 100% similarity]
internal/testbinapi/binapi2001/sr/sr.ba.go [moved from codec/testdata/binapi2001/sr/sr.ba.go with 100% similarity]
internal/testbinapi/binapi2001/sr/sr_rpc.ba.go [moved from codec/testdata/binapi2001/sr/sr_rpc.ba.go with 100% similarity]
internal/testbinapi/binapi2001/vpe/vpe.ba.go [moved from codec/testdata/binapi2001/vpe/vpe.ba.go with 100% similarity]
internal/testbinapi/binapi2001/vpe/vpe_rpc.ba.go [moved from codec/testdata/binapi2001/vpe/vpe_rpc.ba.go with 100% similarity]
internal/version/version.go [moved from version/version.go with 83% similarity]