VCL: config api prefix using env var. 20/10620/4
authorDave Wallace <dwallacelf@gmail.com>
Fri, 16 Feb 2018 23:26:11 +0000 (18:26 -0500)
committerKeith Burns <alagalah@gmail.com>
Mon, 19 Feb 2018 14:57:39 +0000 (14:57 +0000)
commitb5a86eed8bd889f5c8986e5fa569a50b997ccd77
treec7d7d4ac845fbf7c6abf3fb116d52ad2ab9faad7
parent1d3ab72941432c0f690841924630c45d282e1e88
VCL: config api prefix using env var.

- Configure vpp api prefix using VCL_API_PREFIX
  environment variable.
- Prepend api prefix to vpp api filename when
  connecting to vpp.
- Fix stale vcl_cfg ptr after heap allocation.
- Cleanup misleading warning messages wrt.
  reading the vcl config file.

Change-Id: I908c9b567ff4f6f0c21ae43a4627a1a3202a3290
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
src/vcl/vppcom.c
src/vcl/vppcom.h
test/scripts/socket_test.sh