From 98b9571f6720a0da06b1d430e7338a0734023232 Mon Sep 17 00:00:00 2001 From: Vishwesh M Rudramuni Date: Mon, 25 Sep 2017 03:36:02 +0530 Subject: REST_API: rest api client implementation JIRA: SAMPLEVNF-78 This patch implements rest api's for VNF clients. This comprises of * vnf api's for common functionality * vnf api's for CGNAPT * vnf api's for VFW Change-Id: I56d22c64bf3ee5b0a2e536da8169ac7583499041 Signed-off-by: Vishwesh M Rudramuni --- common/VIL/pipeline_master/pipeline_master_be.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'common/VIL/pipeline_master/pipeline_master_be.c') diff --git a/common/VIL/pipeline_master/pipeline_master_be.c b/common/VIL/pipeline_master/pipeline_master_be.c index 425e2334..cc50497e 100644 --- a/common/VIL/pipeline_master/pipeline_master_be.c +++ b/common/VIL/pipeline_master/pipeline_master_be.c @@ -28,6 +28,8 @@ #include "app.h" #include "pipeline_master_be.h" +struct cmdline *pipe_cl; + struct pipeline_master { struct app_params *app; struct cmdline *cl; @@ -59,6 +61,7 @@ pipeline_init(__rte_unused struct pipeline_params *params, void *arg) rte_free(p); return NULL; } + pipe_cl = p->cl; p->script_file_done = 0; if (app->script_file == NULL) @@ -85,6 +88,7 @@ static int pipeline_run(void *pipeline) { struct pipeline_master *p = (struct pipeline_master *) pipeline; + int status; if (p->script_file_done == 0) { -- cgit 1.2.3-korg