regenerate binapi
[govpp.git] / binapi / pppoe / pppoe_rpc.ba.go
index 075803f..778e7a7 100644 (file)
@@ -13,6 +13,7 @@ import (
 
 // RPCService defines RPC service pppoe.
 type RPCService interface {
+       PppoeAddDelCp(ctx context.Context, in *PppoeAddDelCp) (*PppoeAddDelCpReply, error)
        PppoeAddDelSession(ctx context.Context, in *PppoeAddDelSession) (*PppoeAddDelSessionReply, error)
        PppoeSessionDump(ctx context.Context, in *PppoeSessionDump) (RPCService_PppoeSessionDumpClient, error)
 }
@@ -25,6 +26,15 @@ func NewServiceClient(conn api.Connection) RPCService {
        return &serviceClient{conn}
 }
 
+func (c *serviceClient) PppoeAddDelCp(ctx context.Context, in *PppoeAddDelCp) (*PppoeAddDelCpReply, error) {
+       out := new(PppoeAddDelCpReply)
+       err := c.conn.Invoke(ctx, in, out)
+       if err != nil {
+               return nil, err
+       }
+       return out, api.RetvalToVPPApiError(out.Retval)
+}
+
 func (c *serviceClient) PppoeAddDelSession(ctx context.Context, in *PppoeAddDelSession) (*PppoeAddDelSessionReply, error) {
        out := new(PppoeAddDelSessionReply)
        err := c.conn.Invoke(ctx, in, out)