summaryrefslogtreecommitdiffstats
path: root/binapi/virtio/virtio_rpc.ba.go
diff options
context:
space:
mode:
authormhalaj1 <matus.halaj@pantheon.tech>2021-08-26 13:10:48 +0200
committermhalaj1 <matus.halaj@pantheon.tech>2021-08-26 13:10:48 +0200
commitdebc52dea8a81417bb08ca5bb934c7876b6d65e0 (patch)
tree23909430d78d6b77c2b414814e843708a6bab08e /binapi/virtio/virtio_rpc.ba.go
parentc0da1f2999a6b08d003c0fed1a23e1ca60dd1571 (diff)
regenerate binapi
Signed-off-by: mhalaj1 <matus.halaj@pantheon.tech> Change-Id: I9bb6a5ca00aa542128bde0bfbbba7b57b9f16ed2
Diffstat (limited to 'binapi/virtio/virtio_rpc.ba.go')
-rw-r--r--binapi/virtio/virtio_rpc.ba.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/binapi/virtio/virtio_rpc.ba.go b/binapi/virtio/virtio_rpc.ba.go
index 4ee8ff7..22716e1 100644
--- a/binapi/virtio/virtio_rpc.ba.go
+++ b/binapi/virtio/virtio_rpc.ba.go
@@ -15,6 +15,7 @@ import (
type RPCService interface {
SwInterfaceVirtioPciDump(ctx context.Context, in *SwInterfaceVirtioPciDump) (RPCService_SwInterfaceVirtioPciDumpClient, error)
VirtioPciCreate(ctx context.Context, in *VirtioPciCreate) (*VirtioPciCreateReply, error)
+ VirtioPciCreateV2(ctx context.Context, in *VirtioPciCreateV2) (*VirtioPciCreateV2Reply, error)
VirtioPciDelete(ctx context.Context, in *VirtioPciDelete) (*VirtioPciDeleteReply, error)
}
@@ -74,6 +75,15 @@ func (c *serviceClient) VirtioPciCreate(ctx context.Context, in *VirtioPciCreate
return out, api.RetvalToVPPApiError(out.Retval)
}
+func (c *serviceClient) VirtioPciCreateV2(ctx context.Context, in *VirtioPciCreateV2) (*VirtioPciCreateV2Reply, error) {
+ out := new(VirtioPciCreateV2Reply)
+ err := c.conn.Invoke(ctx, in, out)
+ if err != nil {
+ return nil, err
+ }
+ return out, api.RetvalToVPPApiError(out.Retval)
+}
+
func (c *serviceClient) VirtioPciDelete(ctx context.Context, in *VirtioPciDelete) (*VirtioPciDeleteReply, error) {
out := new(VirtioPciDeleteReply)
err := c.conn.Invoke(ctx, in, out)