From e9567fa8c853dda16c54afbd2ba99b7263fa37f1 Mon Sep 17 00:00:00 2001 From: Nathan Skrzypczak Date: Mon, 30 May 2022 17:18:34 +0200 Subject: binapi: remove internal/testbinapi This patch is a proposal to remove the necessity to version two versions of the generated api. We would rely on `./binapi/` for 'internal' logic, making the dependancy on VPP a bit stronger, but removing a folder and a .json file we don't upgrade regularly. Signed-off-by: Nathan Skrzypczak Change-Id: I99063ed571eb193271b3cda805d692155ac90f61 --- codec/marshaler_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'codec/marshaler_test.go') diff --git a/codec/marshaler_test.go b/codec/marshaler_test.go index 985dd31..9600c55 100644 --- a/codec/marshaler_test.go +++ b/codec/marshaler_test.go @@ -23,7 +23,8 @@ import ( "git.fd.io/govpp.git/binapi/ip_types" "git.fd.io/govpp.git/binapi/sr" "git.fd.io/govpp.git/codec" - interfaces "git.fd.io/govpp.git/internal/testbinapi/binapi2001/interface" + interfaces "git.fd.io/govpp.git/binapi/interface" + "git.fd.io/govpp.git/binapi/interface_types" ) // CliInband represents VPP binary API message 'cli_inband'. @@ -101,7 +102,7 @@ func TestWrapperDecode(t *testing.T) { func TestNewCodecEncodeDecode4(t *testing.T) { m := &interfaces.SwInterfaceSetRxMode{ - Mode: interfaces.RX_MODE_API_POLLING, + Mode: interface_types.RX_MODE_API_POLLING, QueueID: 70000, QueueIDValid: true, SwIfIndex: 300, -- cgit 1.2.3-korg