diff options
author | Brian Freeman <bf1936@att.com> | 2020-03-27 14:17:29 -0500 |
---|---|---|
committer | Brian Freeman <bf1936@att.com> | 2020-03-27 14:19:06 -0500 |
commit | 645a5594bf3e28eb94754fc6e25c0a896b10825b (patch) | |
tree | f41adfc9901904406df89feda04dd8cba12e01f9 /vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c | |
parent | bea11319edf8ec6ade8e0b8c936bc7b7e69b1d2f (diff) |
HTTPS VES vLB,vLBMS and vFWs
vFWDT, vFW_HPA,vFW_NextGen,vLB,vLBMS
Issue-ID: INT-1319
Change-Id: I38c6115b0921cc6c709e5de3c33fcb743bf0c899
Signed-off-by: Brian Freeman <bf1936@att.com>
Diffstat (limited to 'vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c')
-rw-r--r-- | vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c b/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c index d641f95f..66368431 100644 --- a/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c +++ b/vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c @@ -122,6 +122,10 @@ int main(int argc, char** argv) char* vnic = argv[3]; char* fqdn2 = NULL; int port2 = 0; + char* caFile = "/opt/config/onap-ca.crt"; + char* userName = "sample1"; + char* passWord = "sample1"; + if(argc == 6) { @@ -157,15 +161,15 @@ int main(int argc, char** argv) NULL, /* optional path */ NULL, /* optional topic */ 100, /* Ring Buffer size */ - 0, /* HTTPS? */ + 1, /* HTTPS? */ NULL, /* cert file */ NULL, /* key file */ - NULL, /* ca info */ + caFile, /* ca info */ NULL, /* ca file */ 0, /* verify peer */ 0, /* verify host */ - "sample1", /* Username */ - "sample1", /* Password */ + userName, /* Username */ + passWord, /* Password */ "sample1", /* Username2 */ "sample1", /* Password2 */ NULL, /* Source ip */ |