diff options
Diffstat (limited to 'internal/testbinapi/binapi2001/flowprobe')
-rw-r--r-- | internal/testbinapi/binapi2001/flowprobe/flowprobe.ba.go | 5 | ||||
-rw-r--r-- | internal/testbinapi/binapi2001/flowprobe/flowprobe_rpc.ba.go | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/internal/testbinapi/binapi2001/flowprobe/flowprobe.ba.go b/internal/testbinapi/binapi2001/flowprobe/flowprobe.ba.go index fc610eb..158242a 100644 --- a/internal/testbinapi/binapi2001/flowprobe/flowprobe.ba.go +++ b/internal/testbinapi/binapi2001/flowprobe/flowprobe.ba.go @@ -1,6 +1,6 @@ // Code generated by GoVPP's binapi-generator. DO NOT EDIT. // versions: -// binapi-generator: v0.4.0-dev +// binapi-generator: v0.5.0-dev // VPP: 20.01 // source: .vppapi/plugins/flowprobe.api.json @@ -14,9 +14,10 @@ package flowprobe import ( + "strconv" + api "git.fd.io/govpp.git/api" codec "git.fd.io/govpp.git/codec" - "strconv" ) // This is a compile-time assertion to ensure that this generated file diff --git a/internal/testbinapi/binapi2001/flowprobe/flowprobe_rpc.ba.go b/internal/testbinapi/binapi2001/flowprobe/flowprobe_rpc.ba.go index 42c6887..3b0178d 100644 --- a/internal/testbinapi/binapi2001/flowprobe/flowprobe_rpc.ba.go +++ b/internal/testbinapi/binapi2001/flowprobe/flowprobe_rpc.ba.go @@ -4,10 +4,11 @@ package flowprobe import ( "context" + api "git.fd.io/govpp.git/api" ) -// RPCService defines RPC service flowprobe. +// RPCService defines RPC service flowprobe. type RPCService interface { FlowprobeParams(ctx context.Context, in *FlowprobeParams) (*FlowprobeParamsReply, error) FlowprobeTxInterfaceAddDel(ctx context.Context, in *FlowprobeTxInterfaceAddDel) (*FlowprobeTxInterfaceAddDelReply, error) @@ -27,7 +28,7 @@ func (c *serviceClient) FlowprobeParams(ctx context.Context, in *FlowprobeParams if err != nil { return nil, err } - return out, nil + return out, api.RetvalToVPPApiError(out.Retval) } func (c *serviceClient) FlowprobeTxInterfaceAddDel(ctx context.Context, in *FlowprobeTxInterfaceAddDel) (*FlowprobeTxInterfaceAddDelReply, error) { @@ -36,5 +37,5 @@ func (c *serviceClient) FlowprobeTxInterfaceAddDel(ctx context.Context, in *Flow if err != nil { return nil, err } - return out, nil + return out, api.RetvalToVPPApiError(out.Retval) } |