X-Git-Url: https://gerrit.onap.org/r/gitweb?p=demo.git;a=blobdiff_plain;f=vnfs%2FVESreporting_vFW5.0%2Fvpp_measurement_reporter.c;fp=vnfs%2FVESreporting_vFW5.0%2Fvpp_measurement_reporter.c;h=123d50364f3ccb3faa8d100f7fb80e43eb116a1d;hp=180f8037a30b8c994a067c3d0942e4fe3967849c;hb=bea11319edf8ec6ade8e0b8c936bc7b7e69b1d2f;hpb=676591091ff3c154193213b26103c694f1a5f1be diff --git a/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c b/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c index 180f8037..123d5036 100644 --- a/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c +++ b/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c @@ -67,6 +67,10 @@ int main(int argc, char** argv) char* fqdn = argv[1]; int port = atoi(argv[2]); + char* caFile = "/opt/config/onap-ca.crt"; + char* userName = "sample1"; + char* passWord = "sample1"; + if(argc == 6) { fqdn2 = argv[3]; @@ -97,15 +101,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 */ - NULL, /* ca file */ + caFile, /* ca file */ + NULL, /* ca directory */ 0, /* verify peer */ 0, /* verify host */ - "sample1", /* Username */ - "sample1", /* Password */ + userName, /* Username */ + passWord, /* Password */ "sample1", /* Username2 */ "sample1", /* Password2 */ NULL, /* Source ip */