aboutsummaryrefslogtreecommitdiffstats
path: root/codec
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2022-05-30 17:18:34 +0200
committerNathan Skrzypczak <nathan.skrzypczak@gmail.com>2022-05-30 18:49:43 +0200
commite9567fa8c853dda16c54afbd2ba99b7263fa37f1 (patch)
treef722a72f13cccdd9f13bdaff200e734849ee0853 /codec
parent4102c72bce694babd94a481b1201d33895a6f9c5 (diff)
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 <nathan.skrzypczak@gmail.com> Change-Id: I99063ed571eb193271b3cda805d692155ac90f61
Diffstat (limited to 'codec')
-rw-r--r--codec/marshaler_test.go5
1 files changed, 3 insertions, 2 deletions
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,