diff options
author | Marco Platania <platania@research.att.com> | 2018-09-10 17:16:05 -0400 |
---|---|---|
committer | Marco Platania <platania@research.att.com> | 2018-09-10 17:16:05 -0400 |
commit | cb40cd40f576c9a624cea022f1bab84cebfedd25 (patch) | |
tree | deddf2ce3d3f459b91714817eb55b23cb55f8f69 /vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c | |
parent | a5105e9a8ca5604c56edf19e8c970aca01c30441 (diff) |
Update VES agents to VES 5.4.1
- Add fields for backup entity in vFWCL and vLB evel_initialize
Change-Id: I7710e083ce3a5e503ce92e8ea5f0f7096c5846e0
Issue-ID: CERT-15
Signed-off-by: Marco Platania <platania@research.att.com>
Diffstat (limited to 'vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c')
-rw-r--r-- | vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c | 40 |
1 files changed, 23 insertions, 17 deletions
diff --git a/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c b/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c index 4cc4ab85..6f6a7c04 100644 --- a/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c +++ b/vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c @@ -188,23 +188,29 @@ int main(int argc, char** argv) /* Initialize */ /**************************************************************************/ if(evel_initialize(fqdn, /* FQDN */ - port, /* Port */ - NULL, /* optional path */ - NULL, /* optional topic */ - 100, /* Ring Buffer size */ - 0, /* HTTPS? */ - NULL, /* cert file */ - NULL, /* key file */ - NULL, /* ca info */ - NULL, /* ca file */ - 0, /* verify peer */ - 0, /* verify host */ - "", /* Username */ - "", /* Password */ - NULL, /* Source ip */ - EVEL_SOURCE_VIRTUAL_MACHINE, /* Source type */ - "vFirewall", /* Role */ - 1)) /* Verbosity */ + port, /* Port */ + "", /* Backup FQDN */ + 5555, /* Backup Port */ + NULL, /* optional path */ + NULL, /* optional topic */ + 100, /* Ring Buffer size */ + 0, /* HTTPS? */ + 0, /* Active mode */ + NULL, /* cert file */ + NULL, /* key file */ + NULL, /* ca info */ + NULL, /* ca file */ + 0, /* verify peer */ + 0, /* verify host */ + "", /* Username */ + "", /* Password */ + "", /* Backup Username */ + "", /* Backup Password */ + NULL, /* Source ip */ + NULL, /* Backup Source IP */ + EVEL_SOURCE_VIRTUAL_MACHINE, /* Source type */ + "vFirewall", /* Role */ + 1)) /* Verbosity */ { fprintf(stderr, "\nFailed to initialize the EVEL library!!!\n"); exit(-1); |