Update VES agents to VES 5.4.1 03/65603/1
authorMarco Platania <platania@research.att.com>
Mon, 10 Sep 2018 21:16:05 +0000 (17:16 -0400)
committerMarco Platania <platania@research.att.com>
Mon, 10 Sep 2018 21:16:05 +0000 (17:16 -0400)
- 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>
vnfs/VESreporting_vFW5.0/vpp_measurement_reporter.c
vnfs/VESreporting_vLB5.0/vpp_measurement_reporter.c

index 4cc4ab8..6f6a7c0 100644 (file)
@@ -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);
index 14ca294..7e83d1e 100644 (file)
@@ -136,23 +136,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           */
-                     "vLoadBalancer",              /* Role                  */
-                     1))                           /* Verbosity             */
+                       port,                         /* Port                  */
+                       "",                           /* Backup FQDN           */
+                       5566,                         /* 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           */
+                       "vLoadBalancer",              /* Role                  */
+                       1))                           /* Verbosity             */
   {
     fprintf(stderr, "\nFailed to initialize the EVEL library!!!\n");
     exit(-1);