Add support for ABATED alerts within CDAP TCA 83/12783/2
authoran4828 <nekrassov@att.com>
Fri, 15 Sep 2017 19:28:53 +0000 (15:28 -0400)
committeran4828 <nekrassov@att.com>
Mon, 18 Sep 2017 13:24:04 +0000 (09:24 -0400)
Change-Id: Iae560a2d0a47b30b41cd31206dc481a08e4930f7
Signed-off-by: an4828 <nekrassov@att.com>
Issue-ID: DCAEGEN2-107
Signed-off-by: an4828 <nekrassov@att.com>
157 files changed:
dcae-analytics-cdap-common/src/main/java/org/openecomp/dcae/apod/analytics/cdap/common/CDAPComponentsConstants.java
dcae-analytics-cdap-common/src/main/java/org/openecomp/dcae/apod/analytics/cdap/common/domain/tca/ThresholdCalculatorOutput.java [new file with mode: 0644]
dcae-analytics-cdap-common/src/main/java/org/openecomp/dcae/apod/analytics/cdap/common/persistance/tca/TCAAlertsAbatementEntity.java [new file with mode: 0644]
dcae-analytics-cdap-common/src/main/java/org/openecomp/dcae/apod/analytics/cdap/common/persistance/tca/TCAAlertsAbatementPersister.java [new file with mode: 0644]
dcae-analytics-cdap-common/src/main/java/org/openecomp/dcae/apod/analytics/cdap/common/persistance/tca/TCAMessageStatusEntity.java
dcae-analytics-cdap-common/src/main/java/org/openecomp/dcae/apod/analytics/cdap/common/persistance/tca/TCAMessageStatusPersister.java
dcae-analytics-cdap-common/src/main/java/org/openecomp/dcae/apod/analytics/cdap/common/persistance/tca/TCAVESAlertsPersister.java
dcae-analytics-cdap-common/src/test/java/org/openecomp/dcae/apod/analytics/cdap/common/BaseAnalyticsCDAPCommonUnitTest.java
dcae-analytics-cdap-common/src/test/java/org/openecomp/dcae/apod/analytics/cdap/common/persistance/tca/TCAAlertsAbatementPersisterTest.java [new file with mode: 0644]
dcae-analytics-cdap-common/src/test/java/org/openecomp/dcae/apod/analytics/cdap/common/persistance/tca/TCAMessageStatusPersisterTest.java
dcae-analytics-cdap-common/src/test/resources/data/json/cef_message.json [deleted file]
dcae-analytics-cdap-common/src/test/resources/data/json/tca_policy.json [deleted file]
dcae-analytics-cdap-plugins/src/main/java/org/openecomp/dcae/apod/analytics/cdap/plugins/sparkcompute/tca/SimpleTCAPlugin.java
dcae-analytics-cdap-plugins/src/test/java/org/openecomp/dcae/apod/analytics/cdap/plugins/BaseAnalyticsCDAPPluginsUnitTest.java
dcae-analytics-cdap-plugins/src/test/resources/data/json/cef/cef_message.json [deleted file]
dcae-analytics-cdap-plugins/src/test/resources/data/json/cef/non_compliant_cef_message.json [deleted file]
dcae-analytics-cdap-tca/src/main/java/org/openecomp/dcae/apod/analytics/cdap/tca/TCAAnalyticsApplication.java
dcae-analytics-cdap-tca/src/main/java/org/openecomp/dcae/apod/analytics/cdap/tca/flow/TCAVESCollectorFlow.java
dcae-analytics-cdap-tca/src/main/java/org/openecomp/dcae/apod/analytics/cdap/tca/flowlet/TCAVESAlertsAbatementFlowlet.java [new file with mode: 0644]
dcae-analytics-cdap-tca/src/main/java/org/openecomp/dcae/apod/analytics/cdap/tca/flowlet/TCAVESAlertsSinkFlowlet.java
dcae-analytics-cdap-tca/src/main/java/org/openecomp/dcae/apod/analytics/cdap/tca/flowlet/TCAVESMessageRouterFlowlet.java
dcae-analytics-cdap-tca/src/main/java/org/openecomp/dcae/apod/analytics/cdap/tca/flowlet/TCAVESThresholdViolationCalculatorFlowlet.java
dcae-analytics-cdap-tca/src/main/java/org/openecomp/dcae/apod/analytics/cdap/tca/settings/TCAAppConfig.java
dcae-analytics-cdap-tca/src/main/java/org/openecomp/dcae/apod/analytics/cdap/tca/settings/TCAAppPreferences.java
dcae-analytics-cdap-tca/src/main/java/org/openecomp/dcae/apod/analytics/cdap/tca/utils/CDAPTCAUtils.java
dcae-analytics-cdap-tca/src/main/java/org/openecomp/dcae/apod/analytics/cdap/tca/validator/TCAPolicyPreferencesValidator.java
dcae-analytics-cdap-tca/src/main/resources/quartz-publisher.properties
dcae-analytics-cdap-tca/src/main/resources/quartz-subscriber.properties
dcae-analytics-cdap-tca/src/main/resources/ves_mock_messages.json
dcae-analytics-cdap-tca/src/test/java/org/openecomp/dcae/apod/analytics/cdap/tca/BaseAnalyticsCDAPTCAUnitTest.java
dcae-analytics-cdap-tca/src/test/java/org/openecomp/dcae/apod/analytics/cdap/tca/flow/TCAVESCollectorFlowTest.java
dcae-analytics-cdap-tca/src/test/java/org/openecomp/dcae/apod/analytics/cdap/tca/flowlet/TCAVESAlertsAbatementFlowletTest.java [new file with mode: 0644]
dcae-analytics-cdap-tca/src/test/java/org/openecomp/dcae/apod/analytics/cdap/tca/flowlet/TCAVESThresholdViolationCalculatorFlowletTest.java
dcae-analytics-cdap-tca/src/test/java/org/openecomp/dcae/apod/analytics/cdap/tca/utils/CDAPTCAUtilsTest.java
dcae-analytics-cdap-tca/src/test/java/org/openecomp/dcae/apod/analytics/cdap/tca/validator/TCAPolicyPreferencesValidatorTest.java
dcae-analytics-cdap-tca/src/test/java/org/openecomp/dcae/apod/analytics/cdap/tca/worker/TCADMaaPPublisherWorkerTest.java
dcae-analytics-cdap-tca/src/test/java/org/openecomp/dcae/apod/analytics/cdap/tca/worker/TCADMaaPSubscriberWorkerTest.java
dcae-analytics-cdap-tca/src/test/resources/data/json/cef/cef_message.json [deleted file]
dcae-analytics-cdap-tca/src/test/resources/data/json/cef/cef_message_with_threshold_violation.json [deleted file]
dcae-analytics-cdap-tca/src/test/resources/data/json/cef/cef_messages.json [deleted file]
dcae-analytics-cdap-tca/src/test/resources/data/json/policy/tca_policy.json [deleted file]
dcae-analytics-cdap-tca/src/test/resources/data/properties/tca_controller_policy.properties [deleted file]
dcae-analytics-cdap-tca/src/test/resources/data/properties/tca_controller_policy_from_json.properties [deleted file]
dcae-analytics-common/src/main/java/org/openecomp/dcae/apod/analytics/common/AnalyticsConstants.java
dcae-analytics-common/src/test/java/org/openecomp/dcae/apod/analytics/common/BaseAnalyticsCommonUnitTest.java
dcae-analytics-common/src/test/java/org/openecomp/dcae/apod/analytics/common/service/filter/GenericJsonMessageFilterTest.java
dcae-analytics-common/src/test/java/org/openecomp/dcae/apod/analytics/common/utils/MessageProcessorUtilsTest.java
dcae-analytics-common/src/test/resources/data/json/cef_message.json [deleted file]
dcae-analytics-dmaap/src/main/java/org/openecomp/dcae/apod/analytics/dmaap/service/BaseDMaaPMRComponent.java
dcae-analytics-dmaap/src/test/java/org/openecomp/dcae/apod/analytics/dmaap/service/publisher/DMaaPMRPublisherImplTest.java
dcae-analytics-dmaap/src/test/java/org/openecomp/dcae/apod/analytics/dmaap/service/subscriber/DMaaPMRSubscriberImplTest.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/ConfigModel.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/BaseTCAAppConfigModel.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/BaseTCAHandle.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/DMAAPInfo.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/StreamsPublishes.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/StreamsSubscribes.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/TCAAppConfigModel.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/TCAControllerAppConfig.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/TCAHandleIn.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/TCAHandleOut.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/AlertAction.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/AlertType.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/BaseCEFModel.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/CEFModel.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/CommonEventHeader.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/Criticality.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/Domain.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/Event.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/EventListener.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/EventSeverity.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/Field.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/InternalHeaderFields.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/MeasurementsForVfScalingFields.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/NamedArrayOfFields.java [moved from dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/VNicUsageArray.java with 52% similarity]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/PerformanceCounter.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/Priority.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/ThresholdCrossingAlertFields.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/VNicPerformance.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/ControlLoopEventStatus.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/ControlLoopSchemaType.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/Direction.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/MetricsPerEventName.java [moved from dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/MetricsPerFunctionalRole.java with 52% similarity]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/TCAPolicy.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/Threshold.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/AnalyticsModelObjectMapperSupplier.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/CommonEventFormatModule.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/TCAControllerConfigModule.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/TCAPolicyModule.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/AlertActionMixin.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/AlertTypeMixin.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/BaseCEFModelMixin.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/CommonEventHeaderMixin.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/CriticalityMixin.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/DomainMixin.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/EventListenerMixin.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/EventMixin.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/EventSeverityMixin.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/FieldMixin.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/InternalHeaderFieldsMixin.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/MeasurementsForVfScalingFieldsMixin.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/NamedArrayOfFieldsMixin.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/PerformanceCounterMixin.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/PriorityMixin.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/ThresholdCrossingAlertFieldsMixin.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/VNicUsageArrayMixin.java
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/BaseTCAAppConfigModelMixin.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/BaseTCAHandleMixin.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/DMAAPInfoMixin.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/StreamsPublishesMixin.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/StreamsSubscribesMixin.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/TCAControllerAppConfigMixin.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/policy/tca/ControlLoopEventStatusMixin.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/policy/tca/ControlLoopSchemaTypeMixin.java [new file with mode: 0644]
dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/policy/tca/MetricsPerEventNameMixin.java [moved from dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/policy/tca/MetricsPerFunctionalRoleMixin.java with 93% similarity]
dcae-analytics-model/src/test/java/org/openecomp/dcae/apod/analytics/model/util/AnalyticsModelIOUtilsTest.java
dcae-analytics-model/src/test/java/org/openecomp/dcae/apod/analytics/model/util/AnalyticsModelJsonUtilsTest.java
dcae-analytics-model/src/test/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/EventListenerMixinTest.java
dcae-analytics-model/src/test/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/TCAControllerAppConfigMixinTest.java [new file with mode: 0644]
dcae-analytics-model/src/test/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/policy/tca/TCAPolicyMixinTest.java
dcae-analytics-model/src/test/resources/data/json/cef/cef_messages.json [deleted file]
dcae-analytics-model/src/test/resources/data/json/cef/event_listener.json [deleted file]
dcae-analytics-model/src/test/resources/data/json/policy/tca_policy.json [deleted file]
dcae-analytics-tca/src/main/java/org/openecomp/dcae/apod/analytics/tca/processor/TCACEFPolicyDomainFilter.java
dcae-analytics-tca/src/main/java/org/openecomp/dcae/apod/analytics/tca/processor/TCACEFPolicyEventNameFilter.java [moved from dcae-analytics-tca/src/main/java/org/openecomp/dcae/apod/analytics/tca/processor/TCACEFPolicyFunctionalRoleFilter.java with 83% similarity]
dcae-analytics-tca/src/main/java/org/openecomp/dcae/apod/analytics/tca/processor/TCACEFPolicyThresholdsProcessor.java
dcae-analytics-tca/src/main/java/org/openecomp/dcae/apod/analytics/tca/processor/TCACEFProcessorContext.java
dcae-analytics-tca/src/main/java/org/openecomp/dcae/apod/analytics/tca/utils/TCAUtils.java
dcae-analytics-tca/src/test/java/org/openecomp/dcae/apod/analytics/tca/BaseAnalyticsTCAUnitTest.java
dcae-analytics-tca/src/test/java/org/openecomp/dcae/apod/analytics/tca/processor/TCACEFPolicyDomainFilterTest.java
dcae-analytics-tca/src/test/java/org/openecomp/dcae/apod/analytics/tca/processor/TCACEFPolicyEventNameFilterTest.java [moved from dcae-analytics-tca/src/test/java/org/openecomp/dcae/apod/analytics/tca/processor/TCACEFPolicyFunctionalRoleFilterTest.java with 70% similarity]
dcae-analytics-tca/src/test/java/org/openecomp/dcae/apod/analytics/tca/processor/TCACEFPolicyThresholdsProcessorTest.java
dcae-analytics-tca/src/test/java/org/openecomp/dcae/apod/analytics/tca/utils/TCAUtilsTest.java
dcae-analytics-tca/src/test/resources/data/json/cef/cef_message.json [deleted file]
dcae-analytics-tca/src/test/resources/data/json/cef/cef_message_with_threshold_violation.json [deleted file]
dcae-analytics-tca/src/test/resources/data/json/cef/cef_messages.json [deleted file]
dcae-analytics-tca/src/test/resources/data/json/policy/tca_policy.json [deleted file]
dcae-analytics-tca/src/test/resources/data/properties/tca_controller_policy.properties [deleted file]
dcae-analytics-test/src/main/resources/data/json/cef/cef_message.json [new file with mode: 0644]
dcae-analytics-test/src/main/resources/data/json/cef/cef_message_with_threshold_violation.json [new file with mode: 0644]
dcae-analytics-test/src/main/resources/data/json/cef/cef_messages.json [new file with mode: 0644]
dcae-analytics-test/src/main/resources/data/json/config/controller_app_config.json [new file with mode: 0644]
dcae-analytics-test/src/main/resources/data/json/config/invalidJsonConfig.json [moved from dcae-analytics-model/src/test/resources/data/json/config/invalidJsonConfig.json with 100% similarity]
dcae-analytics-test/src/main/resources/data/json/config/testAppConfig.json [moved from dcae-analytics-model/src/test/resources/data/json/config/testAppConfig.json with 100% similarity]
dcae-analytics-test/src/main/resources/data/json/facade/tca_ves_cef_response.json [moved from dcae-analytics-model/src/test/resources/data/json/facade/tca_ves_cef_response.json with 100% similarity]
dcae-analytics-test/src/main/resources/data/json/policy/tca_policy.json [moved from dcae-analytics-cdap-plugins/src/test/resources/data/json/policy/tca_policy.json with 62% similarity]
dcae-analytics-test/src/main/resources/data/json/tca/ves_mock_messages.json [new file with mode: 0644]
dcae-analytics-test/src/main/resources/data/properties/quartz-test.properties [moved from dcae-analytics-tca/src/test/resources/data/properties/quartz-test.properties with 100% similarity]
dcae-analytics-test/src/main/resources/data/properties/tca_controller_policy.properties [new file with mode: 0644]
dcae-analytics-test/src/main/resources/data/properties/tca_controller_policy_from_json.properties [new file with mode: 0644]
dcae-analytics-test/src/main/resources/data/properties/testApp.properties [moved from dcae-analytics-model/src/test/resources/data/testApp.properties with 100% similarity]
dpo/commands
dpo/dmaap.json
dpo/tcaInput.json
dpo/tcaOutput.json
dpo/tcaSpec.json
pom.xml

index d00bc1b..3121c0e 100644 (file)
@@ -157,6 +157,22 @@ public abstract class CDAPComponentsConstants {
     public static final String TCA_FIXED_VES_TCA_CALCULATOR_NAME_OUTPUT = "TCAThresholdViolationCalculatorOutput";
 
 
+    /**
+     * Fixed Name for TCA VES Alerts Abatement Flowlet
+     */
+    public static final String TCA_FIXED_VES_ALERTS_ABATEMENT_NAME_FLOWLET = "TCAVESAlertsAbatementFlowlet";
+
+    /**
+     * Fixed Description for TCA VES Alerts Abatement Flowlet
+     */
+    public static final String TCA_FIXED_VES_ALERTS_ABATEMENT_DESCRIPTION_FLOWLET =
+            "Determines if abatement event needs to be posted to downstream systems";
+
+    /**
+     * Fixed Name for TCA VES Alerts Abatement Flowlet output
+     */
+    public static final String TCA_FIXED_VES_ALERTS_ABATEMENT_NAME_OUTPUT = "TCAVESAlertsAbatementFlowletOutput";
+
     /**
      * Fixed Name for TCA VES Alerts Sink Flowlet
      */
@@ -189,9 +205,20 @@ public abstract class CDAPComponentsConstants {
     /**
      * Fixed Description for TCA VES Alerts table which contains alerts that can be send to downstream systems
      */
-    public static final String TCA_DEFAULT_VES_ALERTS_DESCRIPTION_TABLE =
+    public static final String TCA_FIXED_VES_ALERTS_DESCRIPTION_TABLE =
             "Stores alert messages that need to be DMaaP";
 
+    /**
+     * Default Name for TCA Alerts abatement table which contains information to send out abated alerts
+     */
+    public static final String TCA_DEFAULT_ALERTS_ABATEMENT_NAME_TABLE = "TCAAlertsAbatementTable";
+
+    /**
+     * Fixed Description for TCA Alerts abatement table which contains information to determine abatement alerts
+     */
+    public static final String TCA_FIXED_ALERTS_ABATEMENT_DESCRIPTION_TABLE =
+            "Stores information to determine creation of abatement alerts";
+
 
     private CDAPComponentsConstants() {
 
diff --git a/dcae-analytics-cdap-common/src/main/java/org/openecomp/dcae/apod/analytics/cdap/common/domain/tca/ThresholdCalculatorOutput.java b/dcae-analytics-cdap-common/src/main/java/org/openecomp/dcae/apod/analytics/cdap/common/domain/tca/ThresholdCalculatorOutput.java
new file mode 100644 (file)
index 0000000..786faca
--- /dev/null
@@ -0,0 +1,94 @@
+/*
+ * ===============================LICENSE_START======================================
+ *  dcae-analytics
+ * ================================================================================
+ *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *          http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *  ============================LICENSE_END===========================================
+ */
+
+package org.openecomp.dcae.apod.analytics.cdap.common.domain.tca;
+
+import com.google.common.base.Objects;
+
+import java.io.Serializable;
+
+/**
+ * Simple POJO emitted by threshold calculator
+ *
+ * @author rs153v (Rajiv Singla) . Creation Date: 9/11/2017.
+ */
+public class ThresholdCalculatorOutput implements Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    private String cefMessage;
+    private String tcaPolicy;
+    private String violatedMetricsPerEventName;
+    private String alertMessage;
+
+    public ThresholdCalculatorOutput() {
+        // no arg constructor
+    }
+
+    public ThresholdCalculatorOutput(String cefMessage, String tcaPolicy,
+                                     String violatedMetricsPerEventName, String alertMessage) {
+        this.cefMessage = cefMessage;
+        this.tcaPolicy = tcaPolicy;
+        this.violatedMetricsPerEventName = violatedMetricsPerEventName;
+        this.alertMessage = alertMessage;
+    }
+
+    public String getCefMessage() {
+        return cefMessage;
+    }
+
+    public void setCefMessage(String cefMessage) {
+        this.cefMessage = cefMessage;
+    }
+
+    public String getTcaPolicy() {
+        return tcaPolicy;
+    }
+
+    public void setTcaPolicy(String tcaPolicy) {
+        this.tcaPolicy = tcaPolicy;
+    }
+
+    public String getViolatedMetricsPerEventName() {
+        return violatedMetricsPerEventName;
+    }
+
+    public void setViolatedMetricsPerEventName(String violatedMetricsPerEventName) {
+        this.violatedMetricsPerEventName = violatedMetricsPerEventName;
+    }
+
+    public String getAlertMessage() {
+        return alertMessage;
+    }
+
+    public void setAlertMessage(String alertMessage) {
+        this.alertMessage = alertMessage;
+    }
+
+    @Override
+    public String toString() {
+        return Objects.toStringHelper(this)
+                .add("cefMessage", cefMessage)
+                .add("tcaPolicy", tcaPolicy)
+                .add("violatedMetricsPerEventName", violatedMetricsPerEventName)
+                .add("alertMessage", alertMessage)
+                .toString();
+    }
+}
diff --git a/dcae-analytics-cdap-common/src/main/java/org/openecomp/dcae/apod/analytics/cdap/common/persistance/tca/TCAAlertsAbatementEntity.java b/dcae-analytics-cdap-common/src/main/java/org/openecomp/dcae/apod/analytics/cdap/common/persistance/tca/TCAAlertsAbatementEntity.java
new file mode 100644 (file)
index 0000000..6f71801
--- /dev/null
@@ -0,0 +1,157 @@
+/*
+ * ===============================LICENSE_START======================================
+ *  dcae-analytics
+ * ================================================================================
+ *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *          http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *  ============================LICENSE_END===========================================
+ */
+
+package org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca;
+
+import com.google.common.base.Objects;
+import org.apache.hadoop.io.Writable;
+import org.apache.hadoop.io.WritableUtils;
+
+import java.io.DataInput;
+import java.io.DataOutput;
+import java.io.IOException;
+import java.io.Serializable;
+
+/**
+ * TCA Alerts Abatement Entity is used to persist information to determine if abatement event need to sent to downstream
+ * systems
+ *
+ *  @author rs153v (Rajiv Singla) . Creation Date: 9/11/2017.
+ */
+public class TCAAlertsAbatementEntity implements Writable, Serializable {
+
+    private static final long serialVersionUID = 1L;
+
+    private long creationTS;
+    private String requestId;
+    // Kept as string to avoid null checks
+    private String abatementSentTS;
+
+    /**
+     * No Arg constructor required for Jackson Json Serialization / Deserialization
+     */
+    public TCAAlertsAbatementEntity() {
+        // required no arg constructor
+    }
+
+    /**
+     * Creates TCA Alerts Abatement Entity to persist information to determine if abatement alerts need to be posted
+     *
+     * @param creationTS record creation time
+     * @param requestId request ID of generated alert
+     * @param abatementSentTS time when abatement was sent out for that alert if any
+     */
+    public TCAAlertsAbatementEntity(long creationTS, String requestId, String abatementSentTS) {
+        this.creationTS = creationTS;
+        this.requestId = requestId;
+        this.abatementSentTS = abatementSentTS;
+    }
+
+    /**
+     * Timestamp when record was created
+     *
+     * @return timestamp when record was created
+     */
+    public long getCreationTS() {
+        return creationTS;
+    }
+
+    /**
+     * Set value for timestamp when record was created
+     *
+     * @param creationTS new value for timestamp when record was created
+     */
+    public void setCreationTS(long creationTS) {
+        this.creationTS = creationTS;
+    }
+
+    /**
+     * Request Id of ONSET alert which was sent
+     *
+     * @return request Id of ONSET alert which was sent
+     */
+    public String getRequestId() {
+        return requestId;
+    }
+
+    /**
+     * Set Request Id of ONSET alert
+     *
+     * @param requestId set new value for ONSET alert request id
+     */
+    public void setRequestId(String requestId) {
+        this.requestId = requestId;
+    }
+
+
+    /**
+     * Get abatement Sent Timestamp
+     *
+     * @return get abatement alert sent timestamp
+     */
+    public String getAbatementSentTS() {
+        return abatementSentTS;
+    }
+
+    /**
+     * Set timestamp when abatement alert is sent
+     *
+     * @param abatementSentTS sent new value for timestamp when abatement alert is sent
+     */
+    public void setAbatementSentTS(String abatementSentTS) {
+        this.abatementSentTS = abatementSentTS;
+    }
+
+    /**
+     * Write entity to Table
+     *
+     * @param dataOutput data output
+     * @throws IOException io exception
+     */
+    @Override
+    public void write(DataOutput dataOutput) throws IOException {
+        WritableUtils.writeVLong(dataOutput, creationTS);
+        WritableUtils.writeString(dataOutput, requestId);
+        WritableUtils.writeString(dataOutput, abatementSentTS);
+    }
+
+    /**
+     * Read entity from table
+     *
+     * @param dataInput data input
+     * @throws IOException io exception
+     */
+    @Override
+    public void readFields(DataInput dataInput) throws IOException {
+        creationTS = WritableUtils.readVLong(dataInput);
+        requestId = WritableUtils.readString(dataInput);
+        abatementSentTS = WritableUtils.readString(dataInput);
+    }
+
+
+    @Override
+    public String toString() {
+        return Objects.toStringHelper(this)
+                .add("creationTS", creationTS)
+                .add("requestId", requestId)
+                .add("abatementSentTS", abatementSentTS)
+                .toString();
+    }
+}
diff --git a/dcae-analytics-cdap-common/src/main/java/org/openecomp/dcae/apod/analytics/cdap/common/persistance/tca/TCAAlertsAbatementPersister.java b/dcae-analytics-cdap-common/src/main/java/org/openecomp/dcae/apod/analytics/cdap/common/persistance/tca/TCAAlertsAbatementPersister.java
new file mode 100644 (file)
index 0000000..318fca8
--- /dev/null
@@ -0,0 +1,127 @@
+/*
+ * ===============================LICENSE_START======================================
+ *  dcae-analytics
+ * ================================================================================
+ *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *          http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *  ============================LICENSE_END===========================================
+ */
+
+package org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca;
+
+import co.cask.cdap.api.data.schema.Schema;
+import co.cask.cdap.api.data.schema.UnsupportedTypeException;
+import co.cask.cdap.api.dataset.DatasetProperties;
+import co.cask.cdap.api.dataset.lib.IndexedTable;
+import co.cask.cdap.api.dataset.lib.ObjectMappedTable;
+import co.cask.cdap.api.dataset.lib.ObjectMappedTableProperties;
+import com.google.common.base.Joiner;
+import com.google.common.collect.ImmutableList;
+import org.openecomp.dcae.apod.analytics.cdap.common.CDAPComponentsConstants;
+import org.openecomp.dcae.apod.analytics.common.exception.DCAEAnalyticsRuntimeException;
+import org.openecomp.dcae.apod.analytics.common.utils.PersistenceUtils;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.EventListener;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
+import org.openecomp.dcae.apod.analytics.model.facade.tca.TCAVESResponse;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.util.Date;
+import java.util.List;
+
+import static org.openecomp.dcae.apod.analytics.common.utils.PersistenceUtils.TABLE_ROW_KEY_COLUMN_NAME;
+
+/**
+ * Utility methods to persist TCA Alerts Abatement information
+ *
+ * @author rs153v (Rajiv Singla) . Creation Date: 9/11/2017.
+ */
+public abstract class TCAAlertsAbatementPersister {
+
+    private static final Logger LOG = LoggerFactory.getLogger(TCAAlertsAbatementPersister.class);
+
+    private static final Joiner KEY_JOINER = Joiner.on(PersistenceUtils.ROW_KEY_DELIMITER);
+
+    private TCAAlertsAbatementPersister() {
+        // private constructor
+    }
+
+    /**
+     * Creates {@link DatasetProperties} for Alerts Table
+     *
+     * @param timeToLiveSeconds alerts table Time to Live
+     *
+     * @return Alerts Abatement table properties
+     */
+    public static DatasetProperties getDatasetProperties(final int timeToLiveSeconds) {
+        try {
+            return ObjectMappedTableProperties.builder()
+                    .setType(TCAAlertsAbatementEntity.class)
+                    .setRowKeyExploreName(TABLE_ROW_KEY_COLUMN_NAME)
+                    .setRowKeyExploreType(Schema.Type.STRING)
+                    .add(IndexedTable.PROPERTY_TTL, timeToLiveSeconds)
+                    .setDescription(CDAPComponentsConstants.TCA_FIXED_ALERTS_ABATEMENT_DESCRIPTION_TABLE)
+                    .build();
+        } catch (UnsupportedTypeException e) {
+            final String errorMessage = "Unable to convert TCAAlertsAbatementEntity class to Schema";
+            throw new DCAEAnalyticsRuntimeException(errorMessage, LOG, e);
+        }
+    }
+
+
+    public static void persist(final EventListener eventListener,
+                               final MetricsPerEventName violatedMetricsPerEventName,
+                               final TCAVESResponse tcavesResponse,
+                               final String abatementTS,
+                               final ObjectMappedTable<TCAAlertsAbatementEntity> tcaAlertsAbatementTable) {
+        final String abatementTableKey = createKey(eventListener, violatedMetricsPerEventName);
+
+        final long currentTimestamp = new Date().getTime();
+        final String requestID = tcavesResponse.getRequestID();
+        final TCAAlertsAbatementEntity tcaAlertsAbatementEntity = new TCAAlertsAbatementEntity(currentTimestamp,
+                requestID, abatementTS);
+        tcaAlertsAbatementTable.write(abatementTableKey, tcaAlertsAbatementEntity);
+
+        LOG.debug("Persisted AlertsAbatementEntity: {} with Key: {}", tcaAlertsAbatementEntity, abatementTableKey);
+
+    }
+
+    public static TCAAlertsAbatementEntity lookUpByKey(final EventListener eventListener,
+                                                       final MetricsPerEventName violatedMetricsPerEventName,
+                                                       final ObjectMappedTable<TCAAlertsAbatementEntity>
+                                                               tcaAlertsAbatementTable) {
+        final String abatementTableKey = createKey(eventListener, violatedMetricsPerEventName);
+        return tcaAlertsAbatementTable.read(abatementTableKey);
+    }
+
+
+    public static String createKey(final EventListener eventListener,
+                                   final MetricsPerEventName violatedMetricsPerEventName) {
+        // no null check required as all are required fields
+        final String eventName = violatedMetricsPerEventName.getEventName();
+        final String sourceName = eventListener.getEvent().getCommonEventHeader().getSourceName();
+        final String reportingEntityName = eventListener.getEvent().getCommonEventHeader().getReportingEntityName();
+        // violated threshold will always be present
+        final Threshold violatedThreshold = violatedMetricsPerEventName.getThresholds().get(0);
+        final String closedLoopControlName = violatedThreshold.getClosedLoopControlName();
+        final String fieldPath = violatedThreshold.getFieldPath();
+
+        final List<String> abatementKeyList =
+                ImmutableList.of(eventName, sourceName, reportingEntityName, closedLoopControlName, fieldPath);
+
+        return KEY_JOINER.join(abatementKeyList);
+    }
+
+}
index c529e55..d6b3099 100644 (file)
@@ -22,12 +22,11 @@ package org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca;
 
 import org.apache.hadoop.io.Writable;
 import org.apache.hadoop.io.WritableUtils;
-import org.openecomp.dcae.apod.analytics.model.domain.cef.EventSeverity;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Direction;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFJsonProcessor;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFPolicyDomainFilter;
-import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFPolicyFunctionalRoleFilter;
+import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFPolicyEventNameFilter;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFPolicyThresholdsProcessor;
 
 import java.io.DataInput;
@@ -49,7 +48,7 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
     private String messageType;
     private String vesMessage;
     private String domain;
-    private String functionalRole;
+    private String eventName;
     private String thresholdPath;
     private String thresholdSeverity;
     private String thresholdDirection;
@@ -58,8 +57,8 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
     private String jsonProcessorMessage;
     private String domainFilterStatus;
     private String domainFilterMessage;
-    private String functionalRoleFilterStatus;
-    private String functionalRoleFilterMessage;
+    private String eventNameFilterStatus;
+    private String eventNameFilterMessage;
     private String thresholdCalculatorStatus;
     private String thresholdCalculatorMessage;
     private String alertMessage;
@@ -79,11 +78,11 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
      * @param messageType {@link TCACalculatorMessageType}
      * @param vesMessage incoming VES message from collector
      * @param domain VES message domain if present
-     * @param functionalRole VES message functional role if present
+     * @param eventName VES message functional role if present
      */
     public TCAMessageStatusEntity(final long creationTS, final int instanceId, final String messageType,
-                                  final String vesMessage, final String domain, final String functionalRole) {
-        this(creationTS, instanceId, messageType, vesMessage, domain, functionalRole, null, null, null, null,
+                                  final String vesMessage, final String domain, final String eventName) {
+        this(creationTS, instanceId, messageType, vesMessage, domain, eventName, null, null, null, null,
                 null, null, null, null, null, null, null, null, null);
     }
 
@@ -96,7 +95,7 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
      * @param messageType {@link TCACalculatorMessageType}
      * @param vesMessage incoming VES message from collector
      * @param domain VES message domain if present
-     * @param functionalRole VES message functional role if present
+     * @param eventName VES message event name if present
      * @param thresholdPath Violated threshold path
      * @param thresholdSeverity Violated threshold Severity if any
      * @param thresholdDirection Violated threshold Direction if any
@@ -105,23 +104,19 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
      * @param jsonProcessorMessage {@link TCACEFJsonProcessor} message
      * @param domainFilterStatus {@link TCACEFPolicyDomainFilter} status
      * @param domainFilterMessage {@link TCACEFPolicyDomainFilter} message
-     * @param functionalRoleFilterStatus
-     * {@link TCACEFPolicyFunctionalRoleFilter} status
-     * @param functionalRoleFilterMessage
-     * {@link TCACEFPolicyFunctionalRoleFilter} message
-     * @param thresholdCalculatorStatus
-     * {@link TCACEFPolicyThresholdsProcessor} status
-     * @param thresholdCalculatorMessage
-     * {@link TCACEFPolicyThresholdsProcessor} message
+     * @param eventNameFilterStatus {@link TCACEFPolicyEventNameFilter} status
+     * @param eventNameFilterMessage {@link TCACEFPolicyEventNameFilter} message
+     * @param thresholdCalculatorStatus {@link TCACEFPolicyThresholdsProcessor} status
+     * @param thresholdCalculatorMessage {@link TCACEFPolicyThresholdsProcessor} message
      * @param alertMessage alert message that will be sent out in case of threshold violation
      */
     public TCAMessageStatusEntity(long creationTS, int instanceId, String messageType, String vesMessage,
-                                  String domain, String functionalRole,
+                                  String domain, String eventName,
                                   String thresholdPath, String thresholdSeverity, String thresholdDirection,
                                   Long thresholdValue,
                                   String jsonProcessorStatus, String jsonProcessorMessage,
                                   String domainFilterStatus, String domainFilterMessage,
-                                  String functionalRoleFilterStatus, String functionalRoleFilterMessage,
+                                  String eventNameFilterStatus, String eventNameFilterMessage,
                                   String thresholdCalculatorStatus, String thresholdCalculatorMessage,
                                   String alertMessage) {
         this.creationTS = creationTS;
@@ -129,7 +124,7 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
         this.messageType = messageType;
         this.vesMessage = vesMessage;
         this.domain = domain;
-        this.functionalRole = functionalRole;
+        this.eventName = eventName;
         this.thresholdPath = thresholdPath;
         this.thresholdSeverity = thresholdSeverity;
         this.thresholdDirection = thresholdDirection;
@@ -138,8 +133,8 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
         this.jsonProcessorMessage = jsonProcessorMessage;
         this.domainFilterStatus = domainFilterStatus;
         this.domainFilterMessage = domainFilterMessage;
-        this.functionalRoleFilterStatus = functionalRoleFilterStatus;
-        this.functionalRoleFilterMessage = functionalRoleFilterMessage;
+        this.eventNameFilterStatus = eventNameFilterStatus;
+        this.eventNameFilterMessage = eventNameFilterMessage;
         this.thresholdCalculatorStatus = thresholdCalculatorStatus;
         this.thresholdCalculatorMessage = thresholdCalculatorMessage;
         this.alertMessage = alertMessage;
@@ -237,21 +232,21 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
     }
 
     /**
-     * Provides VES Message Functional Role
+     * Provides VES Message Event Name
      *
-     * @return ves message functional role
+     * @return ves message Event Name
      */
-    public String getFunctionalRole() {
-        return functionalRole;
+    public String getEventName() {
+        return eventName;
     }
 
     /**
      * Sets VES Message Functional Role
      *
-     * @param functionalRole ves message Functional Role
+     * @param eventName ves message Functional Role
      */
-    public void setFunctionalRole(String functionalRole) {
-        this.functionalRole = functionalRole;
+    public void setEventName(String eventName) {
+        this.eventName = eventName;
     }
 
     /**
@@ -273,7 +268,7 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
     }
 
     /**
-     * Violated threshold {@link EventSeverity}
+     * Violated threshold Event Severity
      *
      * @return event severity
      */
@@ -398,35 +393,35 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
         this.domainFilterMessage = domainFilterMessage;
     }
 
-    public String getFunctionalRoleFilterStatus() {
-        return functionalRoleFilterStatus;
+    public String getEventNameFilterStatus() {
+        return eventNameFilterStatus;
     }
 
     /**
-     * Provides {@link TCACEFPolicyFunctionalRoleFilter} status
+     * Provides {@link TCACEFPolicyEventNameFilter} status
      *
-     * @param functionalRoleFilterStatus functional Role filter status
+     * @param eventNameFilterStatus functional Role filter status
      */
-    public void setFunctionalRoleFilterStatus(String functionalRoleFilterStatus) {
-        this.functionalRoleFilterStatus = functionalRoleFilterStatus;
+    public void setEventNameFilterStatus(String eventNameFilterStatus) {
+        this.eventNameFilterStatus = eventNameFilterStatus;
     }
 
     /**
-     * Provides {@link TCACEFPolicyFunctionalRoleFilter} message
+     * Provides {@link TCACEFPolicyEventNameFilter} message
      *
      * @return functional role filter message
      */
-    public String getFunctionalRoleFilterMessage() {
-        return functionalRoleFilterMessage;
+    public String getEventNameFilterMessage() {
+        return eventNameFilterMessage;
     }
 
     /**
      * Sets Functional Role filter message
      *
-     * @param functionalRoleFilterMessage functional role filter message
+     * @param eventNameFilterMessage functional role filter message
      */
-    public void setFunctionalRoleFilterMessage(String functionalRoleFilterMessage) {
-        this.functionalRoleFilterMessage = functionalRoleFilterMessage;
+    public void setEventNameFilterMessage(String eventNameFilterMessage) {
+        this.eventNameFilterMessage = eventNameFilterMessage;
     }
 
     /**
@@ -498,7 +493,7 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
         WritableUtils.writeString(dataOutput, vesMessage);
 
         WritableUtils.writeString(dataOutput, domain);
-        WritableUtils.writeString(dataOutput, functionalRole);
+        WritableUtils.writeString(dataOutput, eventName);
 
         WritableUtils.writeString(dataOutput, thresholdPath);
         WritableUtils.writeString(dataOutput, thresholdSeverity);
@@ -509,8 +504,8 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
         WritableUtils.writeString(dataOutput, jsonProcessorMessage);
         WritableUtils.writeString(dataOutput, domainFilterStatus);
         WritableUtils.writeString(dataOutput, domainFilterMessage);
-        WritableUtils.writeString(dataOutput, functionalRoleFilterStatus);
-        WritableUtils.writeString(dataOutput, functionalRoleFilterMessage);
+        WritableUtils.writeString(dataOutput, eventNameFilterStatus);
+        WritableUtils.writeString(dataOutput, eventNameFilterMessage);
         WritableUtils.writeString(dataOutput, thresholdCalculatorStatus);
         WritableUtils.writeString(dataOutput, thresholdCalculatorMessage);
 
@@ -532,7 +527,7 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
         vesMessage = WritableUtils.readString(dataInput);
 
         domain = WritableUtils.readString(dataInput);
-        functionalRole = WritableUtils.readString(dataInput);
+        eventName = WritableUtils.readString(dataInput);
 
         thresholdPath = WritableUtils.readString(dataInput);
         thresholdSeverity = WritableUtils.readString(dataInput);
@@ -543,8 +538,8 @@ public class TCAMessageStatusEntity implements Writable, Serializable {
         jsonProcessorMessage = WritableUtils.readString(dataInput);
         domainFilterStatus = WritableUtils.readString(dataInput);
         domainFilterMessage = WritableUtils.readString(dataInput);
-        functionalRoleFilterStatus = WritableUtils.readString(dataInput);
-        functionalRoleFilterMessage = WritableUtils.readString(dataInput);
+        eventNameFilterStatus = WritableUtils.readString(dataInput);
+        eventNameFilterMessage = WritableUtils.readString(dataInput);
         thresholdCalculatorStatus = WritableUtils.readString(dataInput);
         thresholdCalculatorMessage = WritableUtils.readString(dataInput);
 
index 0f4c539..cb63ffb 100644 (file)
@@ -34,11 +34,11 @@ import org.openecomp.dcae.apod.analytics.common.exception.DCAEAnalyticsRuntimeEx
 import org.openecomp.dcae.apod.analytics.common.service.processor.MessageProcessor;
 import org.openecomp.dcae.apod.analytics.common.service.processor.ProcessorContext;
 import org.openecomp.dcae.apod.analytics.common.utils.PersistenceUtils;
-import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerFunctionalRole;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFJsonProcessor;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFPolicyDomainFilter;
-import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFPolicyFunctionalRoleFilter;
+import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFPolicyEventNameFilter;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFPolicyThresholdsProcessor;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFProcessorContext;
 import org.openecomp.dcae.apod.analytics.tca.utils.TCAUtils;
@@ -102,12 +102,12 @@ public abstract class TCAMessageStatusPersister {
         final String vesMessage = StringEscapeUtils.unescapeJson(processorContext.getMessage());
 
         // Find Functional Role and domain
-        final Pair<String, String> domainAndFunctionalRole = TCAUtils.getDomainAndFunctionalRole(processorContext);
-        final String domain = domainAndFunctionalRole.getLeft();
-        final String functionalRole = domainAndFunctionalRole.getRight();
+        final Pair<String, String> domainAndEventName = TCAUtils.getDomainAndEventName(processorContext);
+        final String domain = domainAndEventName.getLeft();
+        final String eventName = domainAndEventName.getRight();
 
         final TCAMessageStatusEntity tcaMessageStatusEntity = new TCAMessageStatusEntity(currentTS,
-                instanceId, calculatorMessageType.name(), vesMessage, domain, functionalRole);
+                instanceId, calculatorMessageType.name(), vesMessage, domain, eventName);
 
         // add threshold violation fields
         addViolatedThreshold(tcaMessageStatusEntity, processorContext);
@@ -161,13 +161,13 @@ public abstract class TCAMessageStatusPersister {
     public static TCAMessageStatusEntity addViolatedThreshold(final TCAMessageStatusEntity tcaMessageStatusEntity,
                                                                final TCACEFProcessorContext processorContext) {
 
-        final MetricsPerFunctionalRole metricsPerFunctionalRole = processorContext.getMetricsPerFunctionalRole();
+        final MetricsPerEventName metricsPerEventName = processorContext.getMetricsPerEventName();
 
-        if (metricsPerFunctionalRole != null
-                && metricsPerFunctionalRole.getThresholds() != null
-                && metricsPerFunctionalRole.getThresholds().get(0) != null) {
+        if (metricsPerEventName != null
+                && metricsPerEventName.getThresholds() != null
+                && metricsPerEventName.getThresholds().get(0) != null) {
 
-            final Threshold threshold = metricsPerFunctionalRole.getThresholds().get(0);
+            final Threshold threshold = metricsPerEventName.getThresholds().get(0);
             tcaMessageStatusEntity.setThresholdPath(threshold.getFieldPath());
             tcaMessageStatusEntity.setThresholdSeverity(threshold.getSeverity().name());
             tcaMessageStatusEntity.setThresholdDirection(threshold.getDirection().name());
@@ -209,9 +209,9 @@ public abstract class TCAMessageStatusPersister {
                     tcaMessageStatusEntity.setDomainFilterMessage(processingMessage);
                 }
 
-                if (messageProcessor.getClass().equals(TCACEFPolicyFunctionalRoleFilter.class)) {
-                    tcaMessageStatusEntity.setFunctionalRoleFilterStatus(processingState);
-                    tcaMessageStatusEntity.setFunctionalRoleFilterMessage(processingMessage);
+                if (messageProcessor.getClass().equals(TCACEFPolicyEventNameFilter.class)) {
+                    tcaMessageStatusEntity.setEventNameFilterStatus(processingState);
+                    tcaMessageStatusEntity.setEventNameFilterMessage(processingMessage);
                 }
 
                 if (messageProcessor.getClass().equals(TCACEFPolicyThresholdsProcessor.class)) {
index 18293c7..36e3496 100644 (file)
@@ -79,7 +79,7 @@ public abstract class TCAVESAlertsPersister {
                     .setRowKeyExploreName(TABLE_ROW_KEY_COLUMN_NAME)
                     .setRowKeyExploreType(Schema.Type.STRING)
                     .add(IndexedTable.PROPERTY_TTL, timeToLiveSeconds)
-                    .setDescription(CDAPComponentsConstants.TCA_DEFAULT_VES_ALERTS_DESCRIPTION_TABLE)
+                    .setDescription(CDAPComponentsConstants.TCA_FIXED_VES_ALERTS_DESCRIPTION_TABLE)
                     .build();
         } catch (UnsupportedTypeException e) {
             final String errorMessage = "Unable to convert TCAVESAlertEntity class to Schema";
index 825cdf0..55a2198 100644 (file)
@@ -35,8 +35,8 @@ import org.openecomp.dcae.apod.analytics.test.BaseDCAEAnalyticsUnitTest;
  */
 public abstract class BaseAnalyticsCDAPCommonUnitTest extends BaseDCAEAnalyticsUnitTest {
 
-    protected static final String CEF_MESSAGE_FILE_LOCATION = "data/json/cef_message.json";
-    protected static final String TCA_POLICY_FILE_LOCATION = "data/json/tca_policy.json";
+    protected static final String CEF_MESSAGE_FILE_LOCATION = "data/json/cef/cef_message.json";
+    protected static final String TCA_POLICY_FILE_LOCATION = "data/json/policy/tca_policy.json";
     protected static final ObjectMapper ANALYTICS_MODEL_OBJECT_MAPPER =
             Suppliers.memoize(new AnalyticsModelObjectMapperSupplier()).get();
 
diff --git a/dcae-analytics-cdap-common/src/test/java/org/openecomp/dcae/apod/analytics/cdap/common/persistance/tca/TCAAlertsAbatementPersisterTest.java b/dcae-analytics-cdap-common/src/test/java/org/openecomp/dcae/apod/analytics/cdap/common/persistance/tca/TCAAlertsAbatementPersisterTest.java
new file mode 100644 (file)
index 0000000..36d72fa
--- /dev/null
@@ -0,0 +1,103 @@
+package org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca;
+
+import co.cask.cdap.api.dataset.DatasetProperties;
+import co.cask.cdap.api.dataset.lib.ObjectMappedTable;
+import com.google.common.base.Joiner;
+import com.google.common.collect.ImmutableList;
+import org.junit.Before;
+import org.junit.Test;
+import org.openecomp.dcae.apod.analytics.cdap.common.BaseAnalyticsCDAPCommonUnitTest;
+import org.openecomp.dcae.apod.analytics.common.utils.PersistenceUtils;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.CommonEventHeader;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.Event;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.EventListener;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
+import org.openecomp.dcae.apod.analytics.model.facade.tca.TCAVESResponse;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.ArgumentMatchers.anyString;
+import static org.mockito.ArgumentMatchers.eq;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.times;
+import static org.mockito.Mockito.verify;
+import static org.mockito.Mockito.when;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 9/13/2017.
+ */
+public class TCAAlertsAbatementPersisterTest extends BaseAnalyticsCDAPCommonUnitTest {
+
+    private static final String EVENT_NAME = "testEventName";
+    private static final String SOURCE_NAME = "testSourceName";
+    private static final String REPORTING_ENTITY_NAME = "testReportingEntityName";
+    private static final String THRESHOLD_CLOSED_LOOP_CONTROL_NAME = "testControlLoopName";
+    private static final String THRESHOLD_FIELD_PATH = "testFieldPath";
+    private static final String EXPECTED_LOOKUP_KEY = Joiner.on(PersistenceUtils.ROW_KEY_DELIMITER).join(
+            ImmutableList.of(EVENT_NAME, SOURCE_NAME, REPORTING_ENTITY_NAME,
+                    THRESHOLD_CLOSED_LOOP_CONTROL_NAME, THRESHOLD_FIELD_PATH));
+
+    private ObjectMappedTable<TCAAlertsAbatementEntity> alertsAbatementTable;
+    private EventListener eventListener;
+    private MetricsPerEventName violatedMetricsPerEventName;
+    private TCAVESResponse tcavesResponse;
+    private String abatementTS;
+    private Event event;
+    private CommonEventHeader commonEventHeader;
+    private Threshold violatedThreshold;
+
+    @Before
+    public void before() throws Exception {
+        alertsAbatementTable = mock(ObjectMappedTable.class);
+        eventListener = mock(EventListener.class);
+        event = mock(Event.class);
+        commonEventHeader = mock(CommonEventHeader.class);
+
+        when(eventListener.getEvent()).thenReturn(event);
+        when(event.getCommonEventHeader()).thenReturn(commonEventHeader);
+        when(commonEventHeader.getEventName()).thenReturn(EVENT_NAME);
+        when(commonEventHeader.getSourceName()).thenReturn(SOURCE_NAME);
+        when(commonEventHeader.getReportingEntityName()).thenReturn(REPORTING_ENTITY_NAME);
+
+        violatedMetricsPerEventName = mock(MetricsPerEventName.class);
+        when(violatedMetricsPerEventName.getEventName()).thenReturn(EVENT_NAME);
+        violatedThreshold = mock(Threshold.class);
+        when(violatedMetricsPerEventName.getThresholds()).thenReturn(ImmutableList.of(violatedThreshold));
+        when(violatedThreshold.getClosedLoopControlName()).thenReturn(THRESHOLD_CLOSED_LOOP_CONTROL_NAME);
+        when(violatedThreshold.getFieldPath()).thenReturn(THRESHOLD_FIELD_PATH);
+        tcavesResponse = mock(TCAVESResponse.class);
+        abatementTS = "1234";
+    }
+
+    @Test
+    public void testGetDatasetProperties() throws Exception {
+        final DatasetProperties datasetProperties = TCAAlertsAbatementPersister.getDatasetProperties(20000);
+        assertNotNull(datasetProperties);
+    }
+
+    @Test
+    public void testPersist() throws Exception {
+
+        TCAAlertsAbatementPersister.persist(eventListener, violatedMetricsPerEventName, tcavesResponse,
+                abatementTS, alertsAbatementTable);
+        verify(alertsAbatementTable, times(1)).write(anyString(),
+                any(TCAAlertsAbatementEntity.class));
+
+    }
+
+    @Test
+    public void testLookUpByKey() throws Exception {
+        TCAAlertsAbatementPersister.lookUpByKey(eventListener, violatedMetricsPerEventName, alertsAbatementTable);
+        verify(alertsAbatementTable, times(1)).read(eq(EXPECTED_LOOKUP_KEY));
+    }
+
+    @Test
+    public void testCreateKey() throws Exception {
+        final String createdKey = TCAAlertsAbatementPersister.createKey(eventListener, violatedMetricsPerEventName);
+        assertEquals(createdKey, EXPECTED_LOOKUP_KEY);
+
+    }
+
+}
index a062b37..7dfd74d 100644 (file)
@@ -28,11 +28,12 @@ import org.junit.Before;
 import org.junit.Test;
 import org.openecomp.dcae.apod.analytics.cdap.common.BaseAnalyticsCDAPCommonUnitTest;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.CommonEventHeader;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.Domain;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.Event;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventListener;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventSeverity;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Direction;
-import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerFunctionalRole;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFProcessorContext;
@@ -51,8 +52,8 @@ import static org.mockito.Mockito.when;
 public class TCAMessageStatusPersisterTest extends BaseAnalyticsCDAPCommonUnitTest {
 
     private static final int TEST_INSTANCE_ID = 0;
-    private static final String TEST_DOMAIN = "TEST_DOMAIN";
-    private static final String TEST_FUNCTIONAL_ROLE = "TEST_FUNCIONAL_ROLE";
+    private static final Domain TEST_DOMAIN = Domain.other;
+    private static final String TEST_EVENT_NAME = "TEST_EVENT_NAME";
 
     private ObjectMappedTable<TCAMessageStatusEntity> vesMessageStatusTable;
     private TCACEFProcessorContext processorContext;
@@ -73,7 +74,7 @@ public class TCAMessageStatusPersisterTest extends BaseAnalyticsCDAPCommonUnitTe
         when(processorContext.getCEFEventListener()).thenReturn(eventListener);
         when(eventListener.getEvent()).thenReturn(event);
         when(event.getCommonEventHeader()).thenReturn(commonEventHeader);
-        when(commonEventHeader.getFunctionalRole()).thenReturn(TEST_FUNCTIONAL_ROLE);
+        when(commonEventHeader.getEventName()).thenReturn(TEST_EVENT_NAME);
         when(commonEventHeader.getDomain()).thenReturn(TEST_DOMAIN);
     }
 
@@ -88,10 +89,10 @@ public class TCAMessageStatusPersisterTest extends BaseAnalyticsCDAPCommonUnitTe
 
     @Test
     public void testPersistWithNonCompliantMessage() throws Exception {
-        final MetricsPerFunctionalRole metricsPerFunctionalRole = mock(MetricsPerFunctionalRole.class);
+        final MetricsPerEventName metricsPerEventName = mock(MetricsPerEventName.class);
         final Threshold threshold = mock(Threshold.class);
-        when(processorContext.getMetricsPerFunctionalRole()).thenReturn(metricsPerFunctionalRole);
-        when((metricsPerFunctionalRole.getThresholds())).thenReturn(ImmutableList.of(threshold));
+        when(processorContext.getMetricsPerEventName()).thenReturn(metricsPerEventName);
+        when((metricsPerEventName.getThresholds())).thenReturn(ImmutableList.of(threshold));
         when(threshold.getDirection()).thenReturn(Direction.GREATER);
         when(threshold.getSeverity()).thenReturn(EventSeverity.CRITICAL);
         TCAMessageStatusPersister.persist(
diff --git a/dcae-analytics-cdap-common/src/test/resources/data/json/cef_message.json b/dcae-analytics-cdap-common/src/test/resources/data/json/cef_message.json
deleted file mode 100644 (file)
index 52cf53b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-{
-  "event": {
-    "measurementsForVfScalingFields": {
-      "measurementInterval": 10,
-      "measurementsForVfScalingVersion": 1.1,
-      "vNicUsageArray": [
-        {
-          "bytesIn": 6086,
-          "multicastPacketsIn": 0,
-          "multicastPacketsOut": 0,
-          "unicastPacketsIn": 0,
-          "broadcastPacketsOut": 0,
-          "packetsOut": 42,
-          "bytesOut": 7156,
-          "packetsIn": 93,
-          "broadcastPacketsIn": 0,
-          "vNicIdentifier": "eth0",
-          "unicastPacketsOut": 0
-        }
-      ]
-    },
-    "commonEventHeader": {
-      "reportingEntityName": "vpp-test",
-      "startEpochMicrosec": 1477070210290442,
-      "eventId": "375",
-      "lastEpochMicrosec": 1477070220290442,
-      "priority": "Normal",
-      "sequence": 375,
-      "sourceName": "Dummy VM name - No Metadata available",
-      "domain": "measurementsForVfScaling",
-      "functionalRole": "vFirewall",
-      "reportingEntityId": "No UUID available",
-      "version": 1.1,
-      "sourceId": "Dummy VM UUID - No Metadata available"
-    }
-  }
-}
diff --git a/dcae-analytics-cdap-common/src/test/resources/data/json/tca_policy.json b/dcae-analytics-cdap-common/src/test/resources/data/json/tca_policy.json
deleted file mode 100644 (file)
index 1bf9e83..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-{
-  "domain": "measurementsForVfScaling",
-  "metricsPerFunctionalRole": [
-    {
-      "functionalRole": "vFirewall",
-      "policyScope": "resource=vFirewall;type=configuration",
-      "policyName": "configuration.dcae.microservice.tca.xml",
-      "policyVersion": "v0.0.1",
-      "thresholds": [
-        {
-          "closedLoopControlName": "CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8",
-          "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn",
-          "thresholdValue": 4000,
-          "direction": "LESS_OR_EQUAL",
-          "severity": "MAJOR"
-        },
-        {
-          "closedLoopControlName": "CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09",
-          "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn",
-          "thresholdValue": 20000,
-          "direction": "GREATER_OR_EQUAL",
-          "severity": "CRITICAL"
-        }
-      ]
-    },
-    {
-      "functionalRole": "vLoadBalancer",
-      "policyScope": "resource=vLoadBalancer;type=configuration",
-      "policyName": "configuration.dcae.microservice.tca.xml",
-      "policyVersion": "v0.0.1",
-      "thresholds": [
-        {
-          "closedLoopControlName": "CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A",
-          "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn",
-          "thresholdValue": 500,
-          "direction": "LESS_OR_EQUAL",
-          "severity": "MAJOR"
-        },
-        {
-          "closedLoopControlName": "CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B",
-          "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn",
-          "thresholdValue": 5000,
-          "direction": "GREATER_OR_EQUAL",
-          "severity": "CRITICAL"
-        }
-      ]
-    }
-  ]
-}
index b915ade..cc11512 100644 (file)
@@ -39,7 +39,7 @@ import org.openecomp.dcae.apod.analytics.cdap.common.utils.ValidationUtils;
 import org.openecomp.dcae.apod.analytics.cdap.plugins.domain.config.tca.SimpleTCAPluginConfig;
 import org.openecomp.dcae.apod.analytics.cdap.plugins.utils.CDAPPluginUtils;
 import org.openecomp.dcae.apod.analytics.cdap.plugins.validator.SimpleTCAPluginConfigValidator;
-import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerFunctionalRole;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFJsonProcessor;
@@ -128,12 +128,12 @@ public class SimpleTCAPlugin extends SparkCompute<StructuredRecord, StructuredRe
                         LOG.debug("VES Threshold Violation Detected.An alert message is be generated: {}",
                                 alertMessage);
 
-                        final MetricsPerFunctionalRole metricsPerFunctionalRole =
-                                processorContextWithViolations.getMetricsPerFunctionalRole();
-                        if (metricsPerFunctionalRole != null
-                                && metricsPerFunctionalRole.getThresholds() != null
-                                && metricsPerFunctionalRole.getThresholds().get(0) != null) {
-                            final Threshold violatedThreshold = metricsPerFunctionalRole.getThresholds().get(0);
+                        final MetricsPerEventName metricsPerEventName =
+                                processorContextWithViolations.getMetricsPerEventName();
+                        if (metricsPerEventName != null
+                                && metricsPerEventName.getThresholds() != null
+                                && metricsPerEventName.getThresholds().get(0) != null) {
+                            final Threshold violatedThreshold = metricsPerEventName.getThresholds().get(0);
                             LOG.debug("CEF Message: {}, Violated Threshold: {}", cefMessage, violatedThreshold);
                         }
 
index 34f70f1..54df808 100644 (file)
@@ -49,7 +49,7 @@ public abstract class BaseAnalyticsCDAPPluginsUnitTest extends BaseDCAEAnalytics
     protected static final String TCA_POLICY_JSON_FILE_LOCATION = "data/json/policy/tca_policy.json";
     protected static final String CEF_MESSAGE_JSON_FILE_LOCATION = "data/json/cef/cef_message.json";
     protected static final String CEF_NON_COMPLIANT_MESSAGE_JSON_FILE_LOCATION =
-            "data/json/cef/non_compliant_cef_message.json";
+            "data/json/cef/cef_message_with_threshold_violation.json";
 
 
     protected static final String DMAAP_MR_SOURCE_PLUGIN_REFERENCE_NAME = "testDMaaPMRSource";
@@ -89,7 +89,7 @@ public abstract class BaseAnalyticsCDAPPluginsUnitTest extends BaseDCAEAnalytics
     protected static final String JSON_PATH_FILTER_PLUGIN_OUTPUT_SCHEMA_FILED_NAME = "filterMatched";
     protected static final String JSON_PATH_FILTER_PLUGIN_JSON_FILTER_MAPPINGS =
             "$.event.commonEventHeader.domain:measurementsForVfScaling," +
-                    "$.event.commonEventHeader.functionalRole:vLoadBalancer;vFirewall";
+                    "$.event.commonEventHeader.eventName:vLoadBalancer;vFirewall";
     protected static final String JSON_PATH_FILTER_PLUGIN_JSON_FILTER_OUTPUT_SCHEMA =
             "{\"type\":\"record\"," +
                     "\"name\":\"etlSchemaBody\",\"fields\":" +
diff --git a/dcae-analytics-cdap-plugins/src/test/resources/data/json/cef/cef_message.json b/dcae-analytics-cdap-plugins/src/test/resources/data/json/cef/cef_message.json
deleted file mode 100644 (file)
index 52cf53b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-{
-  "event": {
-    "measurementsForVfScalingFields": {
-      "measurementInterval": 10,
-      "measurementsForVfScalingVersion": 1.1,
-      "vNicUsageArray": [
-        {
-          "bytesIn": 6086,
-          "multicastPacketsIn": 0,
-          "multicastPacketsOut": 0,
-          "unicastPacketsIn": 0,
-          "broadcastPacketsOut": 0,
-          "packetsOut": 42,
-          "bytesOut": 7156,
-          "packetsIn": 93,
-          "broadcastPacketsIn": 0,
-          "vNicIdentifier": "eth0",
-          "unicastPacketsOut": 0
-        }
-      ]
-    },
-    "commonEventHeader": {
-      "reportingEntityName": "vpp-test",
-      "startEpochMicrosec": 1477070210290442,
-      "eventId": "375",
-      "lastEpochMicrosec": 1477070220290442,
-      "priority": "Normal",
-      "sequence": 375,
-      "sourceName": "Dummy VM name - No Metadata available",
-      "domain": "measurementsForVfScaling",
-      "functionalRole": "vFirewall",
-      "reportingEntityId": "No UUID available",
-      "version": 1.1,
-      "sourceId": "Dummy VM UUID - No Metadata available"
-    }
-  }
-}
diff --git a/dcae-analytics-cdap-plugins/src/test/resources/data/json/cef/non_compliant_cef_message.json b/dcae-analytics-cdap-plugins/src/test/resources/data/json/cef/non_compliant_cef_message.json
deleted file mode 100644 (file)
index 2fdf202..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-{
-  "event": {
-    "measurementsForVfScalingFields": {
-      "measurementInterval": 10,
-      "measurementsForVfScalingVersion": 1.1,
-      "vNicUsageArray": [
-        {
-          "bytesIn": 20001,
-          "multicastPacketsIn": 0,
-          "multicastPacketsOut": 0,
-          "unicastPacketsIn": 0,
-          "broadcastPacketsOut": 0,
-          "packetsOut": 42,
-          "bytesOut": 7156,
-          "packetsIn": 93,
-          "broadcastPacketsIn": 0,
-          "vNicIdentifier": "eth0",
-          "unicastPacketsOut": 0
-        }
-      ]
-    },
-    "commonEventHeader": {
-      "reportingEntityName": "vpp-test",
-      "startEpochMicrosec": 1477070210290442,
-      "eventId": "375",
-      "lastEpochMicrosec": 1477070220290442,
-      "priority": "Normal",
-      "sequence": 375,
-      "sourceName": "Dummy VM name - No Metadata available",
-      "domain": "measurementsForVfScaling",
-      "functionalRole": "vFirewall",
-      "reportingEntityId": "No UUID available",
-      "version": 1.1,
-      "sourceId": "Dummy VM UUID - No Metadata available"
-    }
-  }
-}
index 1a8cb5e..8c634a7 100644 (file)
@@ -25,6 +25,7 @@ import co.cask.cdap.api.data.stream.Stream;
 import co.cask.cdap.api.dataset.DatasetProperties;
 import co.cask.cdap.api.dataset.lib.ObjectMappedTable;
 import org.openecomp.dcae.apod.analytics.cdap.common.CDAPComponentsConstants;
+import org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca.TCAAlertsAbatementPersister;
 import org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca.TCAMessageStatusPersister;
 import org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca.TCAVESAlertsPersister;
 import org.openecomp.dcae.apod.analytics.cdap.common.utils.ValidationUtils;
@@ -79,6 +80,16 @@ public class TCAAnalyticsApplication extends AbstractApplication<TCAAppConfig> {
                 TCAMessageStatusPersister.getDatasetProperties(messageStatusTableTTLSeconds);
         createDataset(tcaVESMessageStatusTableName, ObjectMappedTable.class, messageStatusTableProperties);
 
+
+        // Create TCA Alerts Abatement Table
+        final String tcaAlertsAbatementTableName = tcaAppConfig.getTcaAlertsAbatementTableName();
+        final Integer tcaAlertsAbatementTableTTLSeconds = tcaAppConfig.getTcaAlertsAbatementTableTTLSeconds();
+        LOG.info("Creating Alerts Abatement Table: {} with TTL: {}",
+                tcaAlertsAbatementTableName, tcaAlertsAbatementTableTTLSeconds);
+        final DatasetProperties alertsAbatementTableProperties =
+                TCAAlertsAbatementPersister.getDatasetProperties(tcaAlertsAbatementTableTTLSeconds);
+        createDataset(tcaAlertsAbatementTableName, ObjectMappedTable.class, alertsAbatementTableProperties);
+
         // Create TCA VES Alerts Table
         final String tcaVESAlertsTableName = tcaAppConfig.getTcaVESAlertsTableName();
         final Integer alertsTableTTLSeconds = tcaAppConfig.getTcaVESAlertsTableTTLSeconds();
index d880a12..4df35e7 100644 (file)
@@ -22,6 +22,7 @@ package org.openecomp.dcae.apod.analytics.cdap.tca.flow;
 
 import co.cask.cdap.api.flow.AbstractFlow;
 import org.openecomp.dcae.apod.analytics.cdap.common.CDAPComponentsConstants;
+import org.openecomp.dcae.apod.analytics.cdap.tca.flowlet.TCAVESAlertsAbatementFlowlet;
 import org.openecomp.dcae.apod.analytics.cdap.tca.flowlet.TCAVESAlertsSinkFlowlet;
 import org.openecomp.dcae.apod.analytics.cdap.tca.flowlet.TCAVESMessageRouterFlowlet;
 import org.openecomp.dcae.apod.analytics.cdap.tca.flowlet.TCAVESThresholdViolationCalculatorFlowlet;
@@ -53,6 +54,10 @@ public class TCAVESCollectorFlow extends AbstractFlow {
                 new TCAVESThresholdViolationCalculatorFlowlet(tcaAppConfig.getTcaVESMessageStatusTableName());
         addFlowlet(thresholdViolationCalculatorFlowlet, tcaAppConfig.getThresholdCalculatorFlowletInstances());
 
+        final TCAVESAlertsAbatementFlowlet tcavesAlertsAbatementFlowlet =
+                new TCAVESAlertsAbatementFlowlet(tcaAppConfig.getTcaAlertsAbatementTableName());
+        addFlowlet(tcavesAlertsAbatementFlowlet);
+
         final TCAVESAlertsSinkFlowlet alertsSinkFlowlet =
                 new TCAVESAlertsSinkFlowlet(tcaAppConfig.getTcaVESAlertsTableName());
         addFlowlet(alertsSinkFlowlet);
@@ -62,8 +67,10 @@ public class TCAVESCollectorFlow extends AbstractFlow {
         connectStream(tcaAppConfig.getTcaSubscriberOutputStreamName(), messageRouterFlowlet);
         // connect message router to VES threshold calculator
         connect(messageRouterFlowlet, thresholdViolationCalculatorFlowlet);
-        // connect VES threshold calculator flowlet to Alerts Sink Flowlet
-        connect(thresholdViolationCalculatorFlowlet, alertsSinkFlowlet);
+        // connect VES threshold calculator flowlet to Alerts Abatement Flowlet
+        connect(thresholdViolationCalculatorFlowlet, tcavesAlertsAbatementFlowlet);
+        // connect Alerts Abatement flowlet to Alerts Sink Flowlet
+        connect(tcavesAlertsAbatementFlowlet, alertsSinkFlowlet);
 
     }
 }
diff --git a/dcae-analytics-cdap-tca/src/main/java/org/openecomp/dcae/apod/analytics/cdap/tca/flowlet/TCAVESAlertsAbatementFlowlet.java b/dcae-analytics-cdap-tca/src/main/java/org/openecomp/dcae/apod/analytics/cdap/tca/flowlet/TCAVESAlertsAbatementFlowlet.java
new file mode 100644 (file)
index 0000000..543fc9e
--- /dev/null
@@ -0,0 +1,163 @@
+/*
+ * ===============================LICENSE_START======================================
+ *  dcae-analytics
+ * ================================================================================
+ *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *          http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *  ============================LICENSE_END===========================================
+ */
+
+package org.openecomp.dcae.apod.analytics.cdap.tca.flowlet;
+
+import co.cask.cdap.api.annotation.Output;
+import co.cask.cdap.api.annotation.ProcessInput;
+import co.cask.cdap.api.annotation.Property;
+import co.cask.cdap.api.dataset.lib.ObjectMappedTable;
+import co.cask.cdap.api.flow.flowlet.AbstractFlowlet;
+import co.cask.cdap.api.flow.flowlet.FlowletContext;
+import co.cask.cdap.api.flow.flowlet.OutputEmitter;
+import org.apache.commons.lang3.StringUtils;
+import org.openecomp.dcae.apod.analytics.cdap.common.CDAPComponentsConstants;
+import org.openecomp.dcae.apod.analytics.cdap.common.domain.tca.ThresholdCalculatorOutput;
+import org.openecomp.dcae.apod.analytics.cdap.common.exception.CDAPSettingsException;
+import org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca.TCAAlertsAbatementEntity;
+import org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca.TCAAlertsAbatementPersister;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.EventListener;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.ControlLoopEventStatus;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
+import org.openecomp.dcae.apod.analytics.model.facade.tca.TCAVESResponse;
+import org.openecomp.dcae.apod.analytics.tca.utils.TCAUtils;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.util.Date;
+
+/**
+ * Flowlet responsible to sending out abatement alerts
+ *
+ * @author rs153v (Rajiv Singla) . Creation Date: 9/11/2017.
+ */
+public class TCAVESAlertsAbatementFlowlet extends AbstractFlowlet {
+
+    private static final Logger LOG = LoggerFactory.getLogger(TCAVESAlertsAbatementFlowlet.class);
+
+    @Property
+    private final String tcaAlertsAbatementTableName;
+
+    @Output(CDAPComponentsConstants.TCA_FIXED_VES_ALERTS_ABATEMENT_NAME_OUTPUT)
+    protected OutputEmitter<String> alertsAbatementOutputEmitter;
+
+    private ObjectMappedTable<TCAAlertsAbatementEntity> tcaAlertsAbatementTable;
+
+    public TCAVESAlertsAbatementFlowlet(final String tcaAlertsAbatementTableName) {
+        this.tcaAlertsAbatementTableName = tcaAlertsAbatementTableName;
+    }
+
+    @Override
+    public void configure() {
+        setName(CDAPComponentsConstants.TCA_FIXED_VES_ALERTS_ABATEMENT_NAME_FLOWLET);
+        setDescription(CDAPComponentsConstants.TCA_FIXED_VES_ALERTS_ABATEMENT_DESCRIPTION_FLOWLET);
+    }
+
+    @Override
+    public void initialize(FlowletContext flowletContext) throws Exception {
+        super.initialize(flowletContext);
+        tcaAlertsAbatementTable = getContext().getDataset(tcaAlertsAbatementTableName);
+    }
+
+    @ProcessInput(CDAPComponentsConstants.TCA_FIXED_VES_TCA_CALCULATOR_NAME_OUTPUT)
+    public void determineAbatementAlerts(final ThresholdCalculatorOutput thresholdCalculatorOutput) throws Exception {
+
+        final String cefMessage = thresholdCalculatorOutput.getCefMessage();
+        final String alertMessageString = thresholdCalculatorOutput.getAlertMessage();
+        final String violatedMetricsPerEventNameString = thresholdCalculatorOutput.getViolatedMetricsPerEventName();
+
+        // alerts must have violated metrics per event name present
+        if (StringUtils.isBlank(violatedMetricsPerEventNameString)) {
+            final String errorMessage = String.format(
+                    "No violated metricsPerEventName found for VES Message: %s." +
+                            "Ignored alert message: %s", cefMessage, alertMessageString);
+            throw new CDAPSettingsException(errorMessage, LOG, new IllegalStateException(errorMessage));
+        }
+
+        final MetricsPerEventName violatedMetricsPerEventName =
+                TCAUtils.readValue(violatedMetricsPerEventNameString, MetricsPerEventName.class);
+        final EventListener eventListener = TCAUtils.readValue(cefMessage, EventListener.class);
+        final TCAVESResponse tcavesResponse = TCAUtils.readValue(alertMessageString, TCAVESResponse.class);
+        final Threshold violatedThreshold = violatedMetricsPerEventName.getThresholds().get(0);
+        final ControlLoopEventStatus closedLoopEventStatus = violatedThreshold.getClosedLoopEventStatus();
+
+        switch (closedLoopEventStatus) {
+
+            case ONSET:
+
+                LOG.debug("Saving information for ONSET event for cefMessage: {}", cefMessage);
+                TCAAlertsAbatementPersister.persist(eventListener, violatedMetricsPerEventName, tcavesResponse,
+                        null, tcaAlertsAbatementTable);
+                LOG.info("Emitting ONSET alert: {}", alertMessageString);
+                alertsAbatementOutputEmitter.emit(alertMessageString);
+                break;
+
+            case ABATED:
+
+                LOG.debug("Looking up previous sent alert for abated threshold: {}", violatedThreshold);
+                final TCAAlertsAbatementEntity previousAlertsAbatementEntry =
+                        TCAAlertsAbatementPersister.lookUpByKey(eventListener, violatedMetricsPerEventName,
+                                tcaAlertsAbatementTable);
+
+                if (previousAlertsAbatementEntry != null) {
+
+                    LOG.debug("Found previous AlertsAbatementEntity: {}", previousAlertsAbatementEntry);
+
+                    final String abatementSentTS = previousAlertsAbatementEntry.getAbatementSentTS();
+                    if (abatementSentTS != null) {
+                        LOG.debug("Abatement alert was already sent at timestamp: {}. " +
+                                "Skip resending this abatement alert again", abatementSentTS);
+                    } else {
+
+                        final long newAbatementSentTS = new Date().getTime();
+                        LOG.debug(
+                                "No abatement alert was sent before." +
+                                        "Sending abatement alert:{} for the first time at:{}",
+                                alertMessageString, newAbatementSentTS);
+
+                        // save new Abatement alert sent timestamp in table
+                        TCAAlertsAbatementPersister.persist(eventListener, violatedMetricsPerEventName, tcavesResponse,
+                                Long.toString(newAbatementSentTS), tcaAlertsAbatementTable);
+                        LOG.info("Emitting ABATED alert: {}", alertMessageString);
+                        alertsAbatementOutputEmitter.emit(alertMessageString);
+
+                    }
+
+                } else {
+                    LOG.info("No previous ONSET alert was found for this ABATED alert: {}.Skip sending abated alert.",
+                            alertMessageString);
+                }
+
+                break;
+
+            default:
+
+                final String errorMessage = String.format(
+                        "Unexpected ClosedLoopEventStatus: %s. Only ONSET and ABATED are supported." +
+                                "Ignoring alert: %s", closedLoopEventStatus, alertMessageString);
+                throw new CDAPSettingsException(errorMessage, LOG, new IllegalStateException(errorMessage));
+
+        }
+
+
+    }
+
+}
index c2da943..90e8fc2 100644 (file)
@@ -62,7 +62,7 @@ public class TCAVESAlertsSinkFlowlet extends AbstractFlowlet {
      *
      * @param alertMessage alert message
      */
-    @ProcessInput(CDAPComponentsConstants.TCA_FIXED_VES_TCA_CALCULATOR_NAME_OUTPUT)
+    @ProcessInput(CDAPComponentsConstants.TCA_FIXED_VES_ALERTS_ABATEMENT_NAME_OUTPUT)
     public void saveAlerts(String alertMessage) {
         // Saves alert message in alerts table
         TCAVESAlertsPersister.persist(alertMessage, tcaVESAlertsTable);
index 3023c90..b32173b 100644 (file)
@@ -27,8 +27,7 @@ import co.cask.cdap.api.flow.flowlet.OutputEmitter;
 import co.cask.cdap.api.flow.flowlet.StreamEvent;
 import com.google.common.base.Charsets;
 import org.openecomp.dcae.apod.analytics.cdap.common.CDAPComponentsConstants;
-
-import static org.openecomp.dcae.apod.analytics.common.AnalyticsConstants.TCA_VES_MESSAGE_ROUTER_PARTITION_KEY;
+import org.openecomp.dcae.apod.analytics.common.AnalyticsConstants;
 
 
 /**
@@ -54,6 +53,7 @@ public class TCAVESMessageRouterFlowlet extends AbstractFlowlet {
     @ProcessInput
     public void routeVESMessage(StreamEvent vesMessageStreamEvent) {
         final String vesMessage = Charsets.UTF_8.decode(vesMessageStreamEvent.getBody()).toString();
-        vesMessageEmitter.emit(vesMessage, TCA_VES_MESSAGE_ROUTER_PARTITION_KEY, vesMessage.hashCode());
+        vesMessageEmitter.emit(
+                vesMessage, AnalyticsConstants.TCA_VES_MESSAGE_ROUTER_PARTITION_KEY, vesMessage.hashCode());
     }
 }
index b8460dc..a3a35cf 100644 (file)
 
 package org.openecomp.dcae.apod.analytics.cdap.tca.flowlet;
 
+import co.cask.cdap.api.annotation.HashPartition;
 import co.cask.cdap.api.annotation.Output;
 import co.cask.cdap.api.annotation.ProcessInput;
 import co.cask.cdap.api.annotation.Property;
-import co.cask.cdap.api.annotation.RoundRobin;
 import co.cask.cdap.api.dataset.lib.ObjectMappedTable;
 import co.cask.cdap.api.flow.flowlet.AbstractFlowlet;
 import co.cask.cdap.api.flow.flowlet.FlowletContext;
@@ -32,10 +32,12 @@ import co.cask.cdap.api.metrics.Metrics;
 import com.fasterxml.jackson.core.JsonProcessingException;
 import org.openecomp.dcae.apod.analytics.cdap.common.CDAPComponentsConstants;
 import org.openecomp.dcae.apod.analytics.cdap.common.CDAPMetricsConstants;
+import org.openecomp.dcae.apod.analytics.cdap.common.domain.tca.ThresholdCalculatorOutput;
 import org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca.TCACalculatorMessageType;
 import org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca.TCAMessageStatusEntity;
 import org.openecomp.dcae.apod.analytics.cdap.tca.settings.TCAAppPreferences;
 import org.openecomp.dcae.apod.analytics.cdap.tca.utils.CDAPTCAUtils;
+import org.openecomp.dcae.apod.analytics.common.AnalyticsConstants;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFProcessorContext;
 import org.openecomp.dcae.apod.analytics.tca.utils.TCAUtils;
@@ -54,7 +56,7 @@ public class TCAVESThresholdViolationCalculatorFlowlet extends AbstractFlowlet {
     private static final Logger LOG = LoggerFactory.getLogger(TCAVESThresholdViolationCalculatorFlowlet.class);
 
     @Output(CDAPComponentsConstants.TCA_FIXED_VES_TCA_CALCULATOR_NAME_OUTPUT)
-    protected OutputEmitter<String> tcaAlertOutputEmitter;
+    protected OutputEmitter<ThresholdCalculatorOutput> tcaAlertOutputEmitter;
     protected Metrics metrics;
     private ObjectMappedTable<TCAMessageStatusEntity> vesMessageStatusTable;
 
@@ -100,7 +102,7 @@ public class TCAVESThresholdViolationCalculatorFlowlet extends AbstractFlowlet {
      * @throws JsonProcessingException if alert message cannot be parsed into JSON object
      */
     @ProcessInput(CDAPComponentsConstants.TCA_FIXED_VES_MESSAGE_ROUTER_OUTPUT)
-    @RoundRobin
+    @HashPartition(AnalyticsConstants.TCA_VES_MESSAGE_ROUTER_PARTITION_KEY)
     public void filterVESMessages(String vesMessage) throws JsonProcessingException {
 
         TCACalculatorMessageType calculatorMessageType = TCACalculatorMessageType.INAPPLICABLE;
@@ -127,7 +129,12 @@ public class TCAVESThresholdViolationCalculatorFlowlet extends AbstractFlowlet {
                 metrics.count(CDAPMetricsConstants.TCA_VES_NON_COMPLIANT_MESSAGES_METRIC, 1);
 
                 // Step 4: Emit message to Alert Sink Flowlet
-                tcaAlertOutputEmitter.emit(alertMessage);
+                final ThresholdCalculatorOutput thresholdCalculatorOutput =
+                        new ThresholdCalculatorOutput(processorContext.getMessage(),
+                                TCAUtils.writeValueAsString(processorContext.getTCAPolicy()),
+                                TCAUtils.writeValueAsString(processorContextWithViolations.getMetricsPerEventName()),
+                                alertMessage);
+                tcaAlertOutputEmitter.emit(thresholdCalculatorOutput);
 
             } else {
 
index 78ef877..5d74f01 100644 (file)
@@ -43,6 +43,8 @@ public class TCAAppConfig extends CDAPBaseAppConfig {
     protected Integer tcaVESMessageStatusTableTTLSeconds;
     protected String tcaVESAlertsTableName;
     protected Integer tcaVESAlertsTableTTLSeconds;
+    protected String tcaAlertsAbatementTableName;
+    protected Integer tcaAlertsAbatementTableTTLSeconds;
 
 
     public TCAAppConfig() {
@@ -54,6 +56,8 @@ public class TCAAppConfig extends CDAPBaseAppConfig {
         tcaVESMessageStatusTableTTLSeconds = AnalyticsConstants.TCA_DEFAULT_VES_MESSAGE_STATUS_TTL_TABLE;
         tcaVESAlertsTableName = CDAPComponentsConstants.TCA_DEFAULT_VES_ALERTS_NAME_TABLE;
         tcaVESAlertsTableTTLSeconds = AnalyticsConstants.TCA_DEFAULT_VES_ALERTS_TTL_TABLE;
+        tcaAlertsAbatementTableName = CDAPComponentsConstants.TCA_DEFAULT_ALERTS_ABATEMENT_NAME_TABLE;
+        tcaAlertsAbatementTableTTLSeconds = AnalyticsConstants.TCA_DEFAULT_ALERTS_ABATEMENT_TTL_TABLE;
     }
 
     public String getTcaSubscriberOutputStreamName() {
@@ -80,6 +84,14 @@ public class TCAAppConfig extends CDAPBaseAppConfig {
         return thresholdCalculatorFlowletInstances;
     }
 
+    public String getTcaAlertsAbatementTableName() {
+        return tcaAlertsAbatementTableName;
+    }
+
+    public Integer getTcaAlertsAbatementTableTTLSeconds() {
+        return tcaAlertsAbatementTableTTLSeconds;
+    }
+
     @Override
     public String toString() {
         return Objects.toStringHelper(this)
@@ -91,6 +103,8 @@ public class TCAAppConfig extends CDAPBaseAppConfig {
                 .add("tcaVESMessageStatusTableTTLSeconds", tcaVESMessageStatusTableTTLSeconds)
                 .add("tcaVESAlertsTableName", tcaVESAlertsTableName)
                 .add("tcaVESAlertsTableTTLSeconds", tcaVESAlertsTableTTLSeconds)
+                .add("tcaAlertsAbatementTableName", tcaAlertsAbatementTableName)
+                .add("tcaAlertsAbatementTableTTLSeconds", tcaAlertsAbatementTableTTLSeconds)
                 .toString();
     }
 }
index c29b7ce..2f86b37 100644 (file)
@@ -195,6 +195,55 @@ public class TCAAppPreferences implements CDAPAppPreferences {
         return enableAlertCEFFormat;
     }
 
+
+    public void setSubscriberHostName(String subscriberHostName) {
+        this.subscriberHostName = subscriberHostName;
+    }
+
+    public void setSubscriberHostPort(Integer subscriberHostPort) {
+        this.subscriberHostPort = subscriberHostPort;
+    }
+
+    public void setSubscriberTopicName(String subscriberTopicName) {
+        this.subscriberTopicName = subscriberTopicName;
+    }
+
+    public void setSubscriberProtocol(String subscriberProtocol) {
+        this.subscriberProtocol = subscriberProtocol;
+    }
+
+    public void setSubscriberUserName(String subscriberUserName) {
+        this.subscriberUserName = subscriberUserName;
+    }
+
+    public void setSubscriberUserPassword(String subscriberUserPassword) {
+        this.subscriberUserPassword = subscriberUserPassword;
+    }
+
+    public void setPublisherHostName(String publisherHostName) {
+        this.publisherHostName = publisherHostName;
+    }
+
+    public void setPublisherHostPort(Integer publisherHostPort) {
+        this.publisherHostPort = publisherHostPort;
+    }
+
+    public void setPublisherTopicName(String publisherTopicName) {
+        this.publisherTopicName = publisherTopicName;
+    }
+
+    public void setPublisherProtocol(String publisherProtocol) {
+        this.publisherProtocol = publisherProtocol;
+    }
+
+    public void setPublisherUserName(String publisherUserName) {
+        this.publisherUserName = publisherUserName;
+    }
+
+    public void setPublisherUserPassword(String publisherUserPassword) {
+        this.publisherUserPassword = publisherUserPassword;
+    }
+
     @Override
     public String toString() {
         return Objects.toStringHelper(this)
index 29d42d5..89c5a84 100644 (file)
@@ -23,6 +23,7 @@ package org.openecomp.dcae.apod.analytics.cdap.tca.utils;
 import co.cask.cdap.api.RuntimeContext;
 import com.google.common.base.Function;
 import com.google.common.collect.Lists;
+import org.apache.commons.lang3.StringUtils;
 import org.openecomp.dcae.apod.analytics.cdap.common.exception.CDAPSettingsException;
 import org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca.TCAVESAlertEntity;
 import org.openecomp.dcae.apod.analytics.cdap.tca.settings.TCAAppPreferences;
@@ -30,12 +31,19 @@ import org.openecomp.dcae.apod.analytics.cdap.tca.settings.TCAPolicyPreferences;
 import org.openecomp.dcae.apod.analytics.cdap.tca.validator.TCAPolicyPreferencesValidator;
 import org.openecomp.dcae.apod.analytics.cdap.tca.validator.TCAPreferencesValidator;
 import org.openecomp.dcae.apod.analytics.common.AnalyticsConstants;
+import org.openecomp.dcae.apod.analytics.common.exception.DCAEAnalyticsRuntimeException;
+import org.openecomp.dcae.apod.analytics.model.config.tca.DMAAPInfo;
+import org.openecomp.dcae.apod.analytics.model.config.tca.TCAControllerAppConfig;
+import org.openecomp.dcae.apod.analytics.model.config.tca.TCAHandleIn;
+import org.openecomp.dcae.apod.analytics.model.config.tca.TCAHandleOut;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;
 import org.openecomp.dcae.apod.analytics.tca.utils.TCAUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 import java.io.IOException;
+import java.net.MalformedURLException;
+import java.net.URL;
 import java.util.Collection;
 import java.util.List;
 import java.util.Map;
@@ -80,12 +88,123 @@ public abstract class CDAPTCAUtils extends TCAUtils {
         final TCAAppPreferences tcaAppPreferences =
                 ANALYTICS_MODEL_OBJECT_MAPPER.convertValue(runtimeArguments, TCAAppPreferences.class);
 
+        final String appConfigString = runtimeContext.getApplicationSpecification().getConfiguration();
+
+        // populate DMaaP Information from App Config String
+        populateDMaaPInfoFromAppConfiguration(appConfigString, tcaAppPreferences);
+
         // Validate runtime arguments
         validateSettings(tcaAppPreferences, new TCAPreferencesValidator());
 
         return tcaAppPreferences;
     }
 
+    /**
+     * Populated App Preferences DMaaP Information from Application Config String
+     *
+     * @param appConfigString  CDAP Application config String
+     * @param tcaAppPreferences TCA App Preferences
+     */
+    private static void populateDMaaPInfoFromAppConfiguration(final String appConfigString,
+                                                              final TCAAppPreferences tcaAppPreferences) {
+
+        if (null != tcaAppPreferences.getSubscriberHostName() || null != tcaAppPreferences.getPublisherHostName()) {
+            LOG.info("DMaaP Information is set from runtime preferences. Skipping getting DMaaP info from App Config");
+        }
+
+        LOG.info("Fetching DMaaP information from App Configuration String: {}", appConfigString);
+
+        try {
+            final TCAControllerAppConfig tcaControllerAppConfig =
+                    readValue(appConfigString, TCAControllerAppConfig.class);
+
+            // Parse Subscriber DMaaP information from App Config String
+            if (tcaControllerAppConfig.getStreamsSubscribes() != null &&
+                    tcaControllerAppConfig.getStreamsSubscribes().getTcaHandleIn() != null &&
+                    tcaControllerAppConfig.getStreamsSubscribes().getTcaHandleIn().getDmaapInfo() != null) {
+
+                final DMAAPInfo subscriberDmaapInfo =
+                        tcaControllerAppConfig.getStreamsSubscribes().getTcaHandleIn().getDmaapInfo();
+                LOG.debug("App Config Subscriber Host URL: {}", subscriberDmaapInfo.getTopicUrl());
+                final URL subscriberUrl = parseURL(subscriberDmaapInfo.getTopicUrl());
+                tcaAppPreferences.setSubscriberProtocol(subscriberUrl.getProtocol());
+                tcaAppPreferences.setSubscriberHostName(subscriberUrl.getHost());
+                final int subscriberUrlPort = subscriberUrl.getPort() != -1 ?
+                        subscriberUrl.getPort() : getDefaultDMaaPPort(subscriberUrl.getProtocol());
+                tcaAppPreferences.setSubscriberHostPort(subscriberUrlPort);
+                tcaAppPreferences.setSubscriberTopicName(subscriberUrl.getPath().substring(8));
+
+                final TCAHandleIn tcaHandleIn = tcaControllerAppConfig.getStreamsSubscribes().getTcaHandleIn();
+                tcaAppPreferences.setSubscriberUserName(tcaHandleIn.getAafUserName());
+                tcaAppPreferences.setSubscriberUserPassword(tcaHandleIn.getAafPassword());
+            } else {
+                LOG.warn("Unable to populate Subscriber DMaaP Information from App Config String: {}", appConfigString);
+            }
+
+
+            // Parse Publisher DMaaP information from App Config String
+            if (tcaControllerAppConfig.getStreamsPublishes() != null &&
+                    tcaControllerAppConfig.getStreamsPublishes().getTcaHandleOut() != null &&
+                    tcaControllerAppConfig.getStreamsPublishes().getTcaHandleOut().getDmaapInfo() != null) {
+
+                final DMAAPInfo publisherDmaapInfo =
+                        tcaControllerAppConfig.getStreamsPublishes().getTcaHandleOut().getDmaapInfo();
+                LOG.debug("App Config Publisher Host URL: {}", publisherDmaapInfo.getTopicUrl());
+                final URL publisherUrl = parseURL(publisherDmaapInfo.getTopicUrl());
+                tcaAppPreferences.setPublisherProtocol(publisherUrl.getProtocol());
+                tcaAppPreferences.setPublisherHostName(publisherUrl.getHost());
+                final int publisherUrlPort = publisherUrl.getPort() != -1 ?
+                        publisherUrl.getPort() : getDefaultDMaaPPort(publisherUrl.getProtocol());
+                tcaAppPreferences.setPublisherHostPort(publisherUrlPort);
+                tcaAppPreferences.setPublisherTopicName(publisherUrl.getPath().substring(8));
+
+                final TCAHandleOut tcaHandleOut = tcaControllerAppConfig.getStreamsPublishes().getTcaHandleOut();
+                tcaAppPreferences.setPublisherUserName(tcaHandleOut.getAafUserName());
+                tcaAppPreferences.setPublisherUserPassword(tcaHandleOut.getAafPassword());
+            } else {
+                LOG.warn("Unable to populate Publisher DMaaP Information from App Config String: {}", appConfigString);
+            }
+
+
+        } catch (IOException e) {
+            throw new CDAPSettingsException(
+                    "Unable to parse App Config to Json Object.Invalid App Config String: " + appConfigString, LOG, e);
+        }
+    }
+
+    /**
+     * Parses provided DMaaP MR URL string to {@link URL} object
+     *
+     * @param urlString url string
+     *
+     * @return url object
+     */
+    private static URL parseURL(final String urlString) {
+        try {
+            return new URL(urlString);
+        } catch (MalformedURLException e) {
+            final String errorMessage = String.format("Invalid URL format: %s", urlString);
+            throw new DCAEAnalyticsRuntimeException(errorMessage, LOG, e);
+        }
+    }
+
+    /**
+     * Sets up default DMaaP Port if not provided with DMaaP URL
+     *
+     * @param protocol protocol e.g. http or https
+     *
+     * @return default DMaaP MR port number
+     */
+    private static int getDefaultDMaaPPort(final String protocol) {
+        if ("http".equals(protocol)) {
+            return 3904;
+        } else if ("https".equals(protocol)) {
+            return 3905;
+        } else {
+            return 80;
+        }
+    }
+
 
     /**
      * Extracts alert message strings from {@link TCAVESAlertEntity}
@@ -118,28 +237,32 @@ public abstract class CDAPTCAUtils extends TCAUtils {
 
         TCAPolicyPreferences tcaPolicyPreferences = new TCAPolicyPreferences();
 
-        final String tcaPolicy = sortedRuntimeArguments.get(AnalyticsConstants.TCA_POLICY_JSON_KEY);
+        final String tcaPolicyJsonString = sortedRuntimeArguments.get(AnalyticsConstants.TCA_POLICY_JSON_KEY);
 
-        if (tcaPolicy != null) {
+        if (StringUtils.isNotBlank(tcaPolicyJsonString)) {
 
-            LOG.debug(" tcaPolicy is being read from JSON String");
+            LOG.info("TcaPolicy will be set from input argument name: {} as JSON String with value: {}",
+                    AnalyticsConstants.TCA_POLICY_JSON_KEY, tcaPolicyJsonString);
 
             // initialize unquotedTCAPolicy
-            String unquotedTCAPolicy = tcaPolicy;
+            String unquotedTCAPolicy = tcaPolicyJsonString.trim();
 
-            //remove starting and ending quote from tcaPolicy
-            if (tcaPolicy.trim().startsWith(AnalyticsConstants.TCA_POLICY_STRING_DELIMITER) && tcaPolicy.trim().endsWith
-                    (AnalyticsConstants.TCA_POLICY_STRING_DELIMITER)) {
-                unquotedTCAPolicy = tcaPolicy.trim().substring(1, tcaPolicy.trim().length() - 1);
+            //remove starting and ending quote from passed tca policy Json string if present
+            if (tcaPolicyJsonString.trim().startsWith(AnalyticsConstants.TCA_POLICY_STRING_DELIMITER) &&
+                    tcaPolicyJsonString.trim().endsWith(AnalyticsConstants.TCA_POLICY_STRING_DELIMITER)) {
+                unquotedTCAPolicy = tcaPolicyJsonString.trim().substring(1, tcaPolicyJsonString.trim().length() - 1);
             }
 
             try {
                 tcaPolicyPreferences = readValue(unquotedTCAPolicy , TCAPolicyPreferences.class);
             } catch (IOException e) {
-                throw new CDAPSettingsException("Invalid tca policy format", LOG, e);
+                throw new CDAPSettingsException(
+                        "Input tca_policy string format is not correct. tca_policy: " + tcaPolicyJsonString, LOG, e);
             }
 
-        } else {  // old controller is being used.  Validate preferences as received from old controller
+        } else {  // classical controller is being used.  Validate preferences as received from classical controller
+
+            LOG.info("TcaPolicy is being parsed as key value pair from classical controller");
 
             // extract TCA Policy Domain from Runtime Arguments
             final String policyDomain = sortedRuntimeArguments.get(AnalyticsConstants.TCA_POLICY_DOMAIN_PATH);
@@ -156,8 +279,8 @@ public abstract class CDAPTCAUtils extends TCAUtils {
                     extractSubTree(tcaPolicyMap, 2, 3, AnalyticsConstants.TCA_POLICY_DELIMITER);
 
             // create metrics per functional role list
-            tcaPolicyPreferences.setMetricsPerFunctionalRole(
-                    createTCAPolicyMetricsPerFunctionalRoleList(functionalRolesMap));
+            tcaPolicyPreferences.setMetricsPerEventName(
+                    createTCAPolicyMetricsPerEventNameList(functionalRolesMap));
 
         }
 
index 858204a..ceb1857 100644 (file)
@@ -24,8 +24,10 @@ import org.openecomp.dcae.apod.analytics.cdap.common.validation.CDAPAppSettingsV
 import org.openecomp.dcae.apod.analytics.cdap.tca.settings.TCAPolicyPreferences;
 import org.openecomp.dcae.apod.analytics.common.validation.GenericValidationResponse;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventSeverity;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.ControlLoopEventStatus;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.ControlLoopSchemaType;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Direction;
-import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerFunctionalRole;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
 import org.openecomp.dcae.apod.analytics.tca.utils.TCAUtils;
 
@@ -36,6 +38,7 @@ import static org.openecomp.dcae.apod.analytics.cdap.common.utils.ValidationUtil
 /**
  * Validates TCA Policy Preferences
  * <p>
+ *
  * @author Rajiv Singla . Creation Date: 11/29/2016.
  */
 public class TCAPolicyPreferencesValidator implements CDAPAppSettingsValidator<TCAPolicyPreferences,
@@ -55,42 +58,58 @@ public class TCAPolicyPreferencesValidator implements CDAPAppSettingsValidator<T
             validationResponse.addErrorMessage("domain", "TCA Policy must have only one domain present");
         }
 
-        // validate TCA Policy must have at least one functional role
-        final List<String> policyFunctionalRoles = TCAUtils.getPolicyFunctionalRoles(tcaPolicyPreferences);
-        if (policyFunctionalRoles.isEmpty()) {
-            validationResponse.addErrorMessage("metricsPerFunctionalRoles",
-                    "TCA Policy must have at least one or more functional roles");
+        // validate TCA Policy must have at least one event name
+        final List<String> policyEventNames = TCAUtils.getPolicyEventNames(tcaPolicyPreferences);
+        if (policyEventNames.isEmpty()) {
+            validationResponse.addErrorMessage("metricsPerEventNames",
+                    "TCA Policy must have at least one or more event names");
         }
 
-        final List<MetricsPerFunctionalRole> metricsPerFunctionalRoles =
-                tcaPolicyPreferences.getMetricsPerFunctionalRole();
+        final List<MetricsPerEventName> metricsPerEventNames =
+                tcaPolicyPreferences.getMetricsPerEventName();
 
-        // validate each Functional Role must have at least one threshold
-        for (MetricsPerFunctionalRole metricsPerFunctionalRole : metricsPerFunctionalRoles) {
-            if (metricsPerFunctionalRole.getThresholds().isEmpty()) {
-                validationResponse.addErrorMessage("thresholds",
-                        "TCA Policy Functional Role must have at least one threshold. " +
-                                "Functional Role causing this validation error:" + metricsPerFunctionalRole);
+        // validate Metrics Per Event Name
+        for (MetricsPerEventName metricsPerEventName : metricsPerEventNames) {
+
+            // event name must be present
+            final String eventName = metricsPerEventName.getEventName();
+            if (isEmpty(eventName)) {
+                validationResponse.addErrorMessage("eventName",
+                        "TCA Policy eventName is not present for metricsPerEventName:" + metricsPerEventName);
             }
-        }
 
-        // validate each threshold must have non null - fieldPath, thresholdValue, direction and severity
-        for (MetricsPerFunctionalRole metricsPerFunctionalRole : metricsPerFunctionalRoles) {
-            final List<Threshold> functionalRoleThresholds = metricsPerFunctionalRole.getThresholds();
-            for (Threshold functionalRoleThreshold : functionalRoleThresholds) {
-                final String fieldPath = functionalRoleThreshold.getFieldPath();
-                final Long thresholdValue = functionalRoleThreshold.getThresholdValue();
-                final Direction direction = functionalRoleThreshold.getDirection();
-                final EventSeverity severity = functionalRoleThreshold.getSeverity();
-                if (isEmpty(fieldPath) || thresholdValue == null || direction == null || severity == null) {
-                    validationResponse.addErrorMessage("threshold",
-                            "TCA Policy threshold must have fieldPath, thresholdValue, direction and severity present."
-                                    + "Threshold causing this validation error:" + functionalRoleThreshold);
+            // control Loop Schema type must be present
+            final ControlLoopSchemaType controlLoopSchemaType = metricsPerEventName.getControlLoopSchemaType();
+            if (controlLoopSchemaType == null) {
+                validationResponse.addErrorMessage("controlLoopEventType",
+                        "TCA Policy controlLoopSchemaType is not present for metricsPerEventName:"
+                                + metricsPerEventName);
+            }
+
+            // must have at least 1 threshold defined
+            if (metricsPerEventName.getThresholds() == null || metricsPerEventName.getThresholds().isEmpty()) {
+                validationResponse.addErrorMessage("thresholds",
+                        "TCA Policy event Name must have at least one threshold. " +
+                                "Event Name causing this validation error:" + metricsPerEventName);
+            } else {
+                // validate each threshold must have non null - fieldPath, thresholdValue, direction and severity
+                final List<Threshold> eventNameThresholds = metricsPerEventName.getThresholds();
+                for (Threshold eventNameThreshold : eventNameThresholds) {
+                    final String fieldPath = eventNameThreshold.getFieldPath();
+                    final Long thresholdValue = eventNameThreshold.getThresholdValue();
+                    final Direction direction = eventNameThreshold.getDirection();
+                    final EventSeverity severity = eventNameThreshold.getSeverity();
+                    final ControlLoopEventStatus closedLoopEventStatus = eventNameThreshold.getClosedLoopEventStatus();
+                    if (isEmpty(fieldPath) || thresholdValue == null || direction == null || severity == null ||
+                            closedLoopEventStatus == null) {
+                        validationResponse.addErrorMessage("threshold",
+                                "TCA Policy threshold must have fieldPath,thresholdValue,direction, " +
+                                        "closedLoopEventStatus and severity defined." +
+                                        "Threshold causing this validation error:" + eventNameThreshold);
+                    }
                 }
             }
         }
-
-
         return validationResponse;
     }
 }
index 3fd71fb..f630a0d 100644 (file)
@@ -18,7 +18,7 @@
 #  ============================LICENSE_END===========================================
 #
 
-org.quartz.scheduler.instanceName=TCA_Test_Scheduler
-org.quartz.threadPool.threadCount=1
+org.quartz.scheduler.instanceName=TCA_DMaaPMRPublisher_Scheduler
+org.quartz.threadPool.threadCount=2
 org.quartz.jobStore.class=org.quartz.simpl.RAMJobStore
 org.quartz.scheduler.skipUpdateCheck=true
index e8e1bdd..ef07255 100644 (file)
@@ -19,6 +19,6 @@
 #
 
 org.quartz.scheduler.instanceName=TCA_DMaaPMRSubscriber_Scheduler
-org.quartz.threadPool.threadCount=3
+org.quartz.threadPool.threadCount=2
 org.quartz.jobStore.class=org.quartz.simpl.RAMJobStore
 org.quartz.scheduler.skipUpdateCheck=true
index bc7a924..9d3b408 100644 (file)
   {
     "event": {
       "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
+        "vNicPerformanceArray": [
           {
-            "bytesIn": 6086,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 93,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
+            "receivedBroadcastPacketsAccumulated": 5000,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
           }
-        ]
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
       },
       "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070210290442,
-        "eventId": "375",
-        "lastEpochMicrosec": 1477070220290442,
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
         "priority": "Normal",
-        "sequence": 375,
-        "sourceName": "Dummy VM name - No Metadata available",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
         "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
       }
     }
   },
   {
     "event": {
       "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
+        "vNicPerformanceArray": [
           {
-            "bytesIn": 5403,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4530,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
+            "receivedBroadcastPacketsAccumulated": 4000,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
           }
-        ]
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
       },
       "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070260383311,
-        "eventId": "380",
-        "lastEpochMicrosec": 1477070270383311,
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
         "priority": "Normal",
-        "sequence": 380,
-        "sourceName": "Dummy VM name - No Metadata available",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
         "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
       }
     }
   },
   {
     "event": {
       "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
+        "vNicPerformanceArray": [
           {
-            "bytesIn": 3972,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
+            "receivedBroadcastPacketsAccumulated": 3999,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
           }
-        ]
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
       },
       "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070290441950,
-        "eventId": "383",
-        "lastEpochMicrosec": 1477070300441950,
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
         "priority": "Normal",
-        "sequence": 383,
-        "sourceName": "Dummy VM name - No Metadata available",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
         "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
       }
     }
   },
   {
     "event": {
       "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
+        "vNicPerformanceArray": [
           {
-            "bytesIn": 4761,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5528,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
+            "receivedBroadcastPacketsAccumulated": 19999,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
           }
-        ]
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
       },
       "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070380597960,
-        "eventId": "392",
-        "lastEpochMicrosec": 1477070390597960,
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
         "priority": "Normal",
-        "sequence": 392,
-        "sourceName": "Dummy VM name - No Metadata available",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
         "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
       }
     }
   },
   {
     "event": {
       "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
+        "vNicPerformanceArray": [
           {
-            "bytesIn": 5828,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5222,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
+            "receivedBroadcastPacketsAccumulated": 20000,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
           }
-        ]
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
       },
       "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070390615151,
-        "eventId": "393",
-        "lastEpochMicrosec": 1477070400615151,
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
         "priority": "Normal",
-        "sequence": 393,
-        "sourceName": "Dummy VM name - No Metadata available",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
         "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
       }
     }
   },
   {
     "event": {
       "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
+        "vNicPerformanceArray": [
           {
-            "bytesIn": 3834,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4334,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
+            "receivedBroadcastPacketsAccumulated": 20001,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
           }
-        ]
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
       },
       "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070701189940,
-        "eventId": "424",
-        "lastEpochMicrosec": 1477070711189940,
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
         "priority": "Normal",
-        "sequence": 424,
-        "sourceName": "Dummy VM name - No Metadata available",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
         "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
       }
     }
   },
   {
     "event": {
       "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
+        "vNicPerformanceArray": [
           {
-            "bytesIn": 3892,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4400,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
+            "receivedBroadcastPacketsAccumulated": 0,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
           }
-        ]
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
       },
       "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070851466814,
-        "eventId": "439",
-        "lastEpochMicrosec": 1477070861466814,
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
         "priority": "Normal",
-        "sequence": 439,
-        "sourceName": "Dummy VM name - No Metadata available",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
         "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
       }
     }
   },
   {
     "event": {
       "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
+        "vNicPerformanceArray": [
           {
-            "bytesIn": 5948,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5215,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
+            "receivedBroadcastPacketsAccumulated": 0,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
           }
-        ]
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
       },
       "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070931613946,
-        "eventId": "447",
-        "lastEpochMicrosec": 1477070941613946,
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
         "priority": "Normal",
-        "sequence": 447,
-        "sourceName": "Dummy VM name - No Metadata available",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
         "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
       }
     }
   },
+
   {
     "event": {
       "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
+        "vNicPerformanceArray": [
           {
-            "bytesIn": 4324,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5436,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
+            "receivedBroadcastPacketsAccumulated": 20001,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
           }
-        ]
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
       },
       "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070971689950,
-        "eventId": "451",
-        "lastEpochMicrosec": 1477070981689950,
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
         "priority": "Normal",
-        "sequence": 451,
-        "sourceName": "Dummy VM name - No Metadata available",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
         "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
       }
     }
   },
   {
     "event": {
       "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
+        "vNicPerformanceArray": [
           {
-            "bytesIn": 5918,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5668,
-            "packetsIn": 91,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
+            "receivedBroadcastPacketsAccumulated": 0,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
           }
-        ]
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
       },
       "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070991724150,
-        "eventId": "453",
-        "lastEpochMicrosec": 1477071001724150,
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
         "priority": "Normal",
-        "sequence": 453,
-        "sourceName": "Dummy VM name - No Metadata available",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
         "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4200,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5192,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071081905713,
-        "eventId": "462",
-        "lastEpochMicrosec": 1477071091905713,
-        "priority": "Normal",
-        "sequence": 462,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4490,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 5920,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071262221510,
-        "eventId": "480",
-        "lastEpochMicrosec": 1477071272221510,
-        "priority": "Normal",
-        "sequence": 480,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 25940,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 157,
-            "bytesOut": 27474,
-            "packetsIn": 303,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071412476618,
-        "eventId": "495",
-        "lastEpochMicrosec": 1477071422476618,
-        "priority": "Normal",
-        "sequence": 495,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7160,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 112,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071532712315,
-        "eventId": "507",
-        "lastEpochMicrosec": 1477071542712315,
-        "priority": "Normal",
-        "sequence": 507,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5563,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4192,
-            "packetsIn": 81,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071582806156,
-        "eventId": "512",
-        "lastEpochMicrosec": 1477071592806156,
-        "priority": "Normal",
-        "sequence": 512,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4988,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5218,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071592825964,
-        "eventId": "513",
-        "lastEpochMicrosec": 1477071602825964,
-        "priority": "Normal",
-        "sequence": 513,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 9123,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 53,
-            "bytesOut": 8412,
-            "packetsIn": 127,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071642920935,
-        "eventId": "518",
-        "lastEpochMicrosec": 1477071652920935,
-        "priority": "Normal",
-        "sequence": 518,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 18442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 112,
-            "bytesOut": 19404,
-            "packetsIn": 218,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071733101176,
-        "eventId": "527",
-        "lastEpochMicrosec": 1477071743101176,
-        "priority": "Normal",
-        "sequence": 527,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5216,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5130,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071743125902,
-        "eventId": "528",
-        "lastEpochMicrosec": 1477071753125902,
-        "priority": "Normal",
-        "sequence": 528,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5870,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6716,
-            "packetsIn": 91,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071903446337,
-        "eventId": "544",
-        "lastEpochMicrosec": 1477071913446337,
-        "priority": "Normal",
-        "sequence": 544,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 35138,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 220,
-            "bytesOut": 47818,
-            "packetsIn": 407,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071953549981,
-        "eventId": "549",
-        "lastEpochMicrosec": 1477071963549981,
-        "priority": "Normal",
-        "sequence": 549,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 63510,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 398,
-            "bytesOut": 71038,
-            "packetsIn": 703,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071963565170,
-        "eventId": "550",
-        "lastEpochMicrosec": 1477071973565170,
-        "priority": "Normal",
-        "sequence": 550,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4250,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5060,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072103847337,
-        "eventId": "564",
-        "lastEpochMicrosec": 1477072113847337,
-        "priority": "Normal",
-        "sequence": 564,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3344,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4138,
-            "packetsIn": 49,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072163977616,
-        "eventId": "570",
-        "lastEpochMicrosec": 1477072173977616,
-        "priority": "Normal",
-        "sequence": 570,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4190,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5032,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072194037594,
-        "eventId": "573",
-        "lastEpochMicrosec": 1477072204037594,
-        "priority": "Normal",
-        "sequence": 573,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4102,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072234105966,
-        "eventId": "577",
-        "lastEpochMicrosec": 1477072244105966,
-        "priority": "Normal",
-        "sequence": 577,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4040,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5410,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072284197410,
-        "eventId": "582",
-        "lastEpochMicrosec": 1477072294197410,
-        "priority": "Normal",
-        "sequence": 582,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4348,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5556,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072294217952,
-        "eventId": "583",
-        "lastEpochMicrosec": 1477072304217952,
-        "priority": "Normal",
-        "sequence": 583,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4820,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5402,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072354321794,
-        "eventId": "589",
-        "lastEpochMicrosec": 1477072364321794,
-        "priority": "Normal",
-        "sequence": 589,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5006,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 73,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072454499759,
-        "eventId": "599",
-        "lastEpochMicrosec": 1477072464499759,
-        "priority": "Normal",
-        "sequence": 599,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4964,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5834,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072494602015,
-        "eventId": "603",
-        "lastEpochMicrosec": 1477072504602015,
-        "priority": "Normal",
-        "sequence": 603,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5330,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7420,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072634866475,
-        "eventId": "617",
-        "lastEpochMicrosec": 1477072644866475,
-        "priority": "Normal",
-        "sequence": 617,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5330,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7420,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072745069203,
-        "eventId": "628",
-        "lastEpochMicrosec": 1477072755069203,
-        "priority": "Normal",
-        "sequence": 628,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 263112,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 1165,
-            "bytesOut": 337182,
-            "packetsIn": 2570,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072805174346,
-        "eventId": "634",
-        "lastEpochMicrosec": 1477072815174346,
-        "priority": "Normal",
-        "sequence": 634,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 11212,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4232,
-            "packetsIn": 176,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072835250994,
-        "eventId": "637",
-        "lastEpochMicrosec": 1477072845250994,
-        "priority": "Normal",
-        "sequence": 637,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6375,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5516,
-            "packetsIn": 94,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072845276414,
-        "eventId": "638",
-        "lastEpochMicrosec": 1477072855276414,
-        "priority": "Normal",
-        "sequence": 638,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3492,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5252,
-            "packetsIn": 50,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072995553968,
-        "eventId": "653",
-        "lastEpochMicrosec": 1477073005553968,
-        "priority": "Normal",
-        "sequence": 653,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4256,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5407,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073095741898,
-        "eventId": "663",
-        "lastEpochMicrosec": 1477073105741898,
-        "priority": "Normal",
-        "sequence": 663,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4280,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4866,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073195929121,
-        "eventId": "673",
-        "lastEpochMicrosec": 1477073205929121,
-        "priority": "Normal",
-        "sequence": 673,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4076,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5126,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073286097936,
-        "eventId": "682",
-        "lastEpochMicrosec": 1477073296097936,
-        "priority": "Normal",
-        "sequence": 682,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5054,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6600,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073366234417,
-        "eventId": "690",
-        "lastEpochMicrosec": 1477073376234417,
-        "priority": "Normal",
-        "sequence": 690,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5186,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7220,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073426339606,
-        "eventId": "696",
-        "lastEpochMicrosec": 1477073436339606,
-        "priority": "Normal",
-        "sequence": 696,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4568,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6606,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073556577962,
-        "eventId": "709",
-        "lastEpochMicrosec": 1477073566577962,
-        "priority": "Normal",
-        "sequence": 709,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4472,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5630,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073606669965,
-        "eventId": "714",
-        "lastEpochMicrosec": 1477073616669965,
-        "priority": "Normal",
-        "sequence": 714,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3554,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5192,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073666794004,
-        "eventId": "720",
-        "lastEpochMicrosec": 1477073676794004,
-        "priority": "Normal",
-        "sequence": 720,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4682,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6540,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070300458069,
-        "eventId": "384",
-        "lastEpochMicrosec": 1477070310458069,
-        "priority": "Normal",
-        "sequence": 384,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4470,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7250,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070350545310,
-        "eventId": "389",
-        "lastEpochMicrosec": 1477070360545310,
-        "priority": "Normal",
-        "sequence": 389,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5864,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7318,
-            "packetsIn": 88,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070450716636,
-        "eventId": "399",
-        "lastEpochMicrosec": 1477070460716636,
-        "priority": "Normal",
-        "sequence": 399,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3558,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5362,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070470756168,
-        "eventId": "401",
-        "lastEpochMicrosec": 1477070480756168,
-        "priority": "Normal",
-        "sequence": 401,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5022,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7382,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070530883239,
-        "eventId": "407",
-        "lastEpochMicrosec": 1477070540883239,
-        "priority": "Normal",
-        "sequence": 407,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4816,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5344,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070611026436,
-        "eventId": "415",
-        "lastEpochMicrosec": 1477070621026436,
-        "priority": "Normal",
-        "sequence": 415,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8898,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 63,
-            "bytesOut": 9201,
-            "packetsIn": 113,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070831428780,
-        "eventId": "437",
-        "lastEpochMicrosec": 1477070841428780,
-        "priority": "Normal",
-        "sequence": 437,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3836,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4162,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070941633936,
-        "eventId": "448",
-        "lastEpochMicrosec": 1477070951633936,
-        "priority": "Normal",
-        "sequence": 448,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3248,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4546,
-            "packetsIn": 47,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071071883807,
-        "eventId": "461",
-        "lastEpochMicrosec": 1477071081883807,
-        "priority": "Normal",
-        "sequence": 461,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5006,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5286,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071172066272,
-        "eventId": "471",
-        "lastEpochMicrosec": 1477071182066272,
-        "priority": "Normal",
-        "sequence": 471,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5438,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 6084,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071182086282,
-        "eventId": "472",
-        "lastEpochMicrosec": 1477071192086282,
-        "priority": "Normal",
-        "sequence": 472,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 14114,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 92,
-            "bytesOut": 16060,
-            "packetsIn": 172,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071382426114,
-        "eventId": "492",
-        "lastEpochMicrosec": 1477071392426114,
-        "priority": "Normal",
-        "sequence": 492,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5617,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5427,
-            "packetsIn": 86,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071542733962,
-        "eventId": "508",
-        "lastEpochMicrosec": 1477071552733962,
-        "priority": "Normal",
-        "sequence": 508,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4448,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4538,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071682993575,
-        "eventId": "522",
-        "lastEpochMicrosec": 1477071692993575,
-        "priority": "Normal",
-        "sequence": 522,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6113,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5298,
-            "packetsIn": 87,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071703031027,
-        "eventId": "524",
-        "lastEpochMicrosec": 1477071713031027,
-        "priority": "Normal",
-        "sequence": 524,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5542,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5434,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071813273088,
-        "eventId": "535",
-        "lastEpochMicrosec": 1477071823273088,
-        "priority": "Normal",
-        "sequence": 535,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 34574,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 214,
-            "bytesOut": 47040,
-            "packetsIn": 395,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072023686281,
-        "eventId": "556",
-        "lastEpochMicrosec": 1477072033686281,
-        "priority": "Normal",
-        "sequence": 556,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 2798,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4028,
-            "packetsIn": 40,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072093829958,
-        "eventId": "563",
-        "lastEpochMicrosec": 1477072103829958,
-        "priority": "Normal",
-        "sequence": 563,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3446,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5536,
-            "packetsIn": 50,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072153957985,
-        "eventId": "569",
-        "lastEpochMicrosec": 1477072163957985,
-        "priority": "Normal",
-        "sequence": 569,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4190,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6760,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072204053021,
-        "eventId": "574",
-        "lastEpochMicrosec": 1477072214053021,
-        "priority": "Normal",
-        "sequence": 574,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5939,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4522,
-            "packetsIn": 85,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072244123508,
-        "eventId": "578",
-        "lastEpochMicrosec": 1477072254123508,
-        "priority": "Normal",
-        "sequence": 578,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4022,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4584,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072464518421,
-        "eventId": "600",
-        "lastEpochMicrosec": 1477072474518421,
-        "priority": "Normal",
-        "sequence": 600,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3692,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 21,
-            "bytesOut": 3918,
-            "packetsIn": 47,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072654900903,
-        "eventId": "619",
-        "lastEpochMicrosec": 1477072664900903,
-        "priority": "Normal",
-        "sequence": 619,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5006,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5728,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072704996775,
-        "eventId": "624",
-        "lastEpochMicrosec": 1477072714996775,
-        "priority": "Normal",
-        "sequence": 624,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3836,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 5036,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072925428340,
-        "eventId": "646",
-        "lastEpochMicrosec": 1477072935428340,
-        "priority": "Normal",
-        "sequence": 646,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4040,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5382,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072985535172,
-        "eventId": "652",
-        "lastEpochMicrosec": 1477072995535172,
-        "priority": "Normal",
-        "sequence": 652,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4694,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073075701224,
-        "eventId": "661",
-        "lastEpochMicrosec": 1477073085701224,
-        "priority": "Normal",
-        "sequence": 661,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5066,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7120,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073105759457,
-        "eventId": "664",
-        "lastEpochMicrosec": 1477073115759457,
-        "priority": "Normal",
-        "sequence": 664,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5510,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7421,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073155858608,
-        "eventId": "669",
-        "lastEpochMicrosec": 1477073165858608,
-        "priority": "Normal",
-        "sequence": 669,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4146,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073416320492,
-        "eventId": "695",
-        "lastEpochMicrosec": 1477073426320492,
-        "priority": "Normal",
-        "sequence": 695,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5610,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7392,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073436360527,
-        "eventId": "697",
-        "lastEpochMicrosec": 1477073446360527,
-        "priority": "Normal",
-        "sequence": 697,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6777,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5276,
-            "packetsIn": 101,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073506489807,
-        "eventId": "704",
-        "lastEpochMicrosec": 1477073516489807,
-        "priority": "Normal",
-        "sequence": 704,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4898,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 6005,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073516505974,
-        "eventId": "705",
-        "lastEpochMicrosec": 1477073526505974,
-        "priority": "Normal",
-        "sequence": 705,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3902,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5120,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073656765261,
-        "eventId": "719",
-        "lastEpochMicrosec": 1477073666765261,
-        "priority": "Normal",
-        "sequence": 719,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7185,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6488,
-            "packetsIn": 108,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073686831588,
-        "eventId": "722",
-        "lastEpochMicrosec": 1477073696831588,
-        "priority": "Normal",
-        "sequence": 722,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4778,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5084,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070240346627,
-        "eventId": "378",
-        "lastEpochMicrosec": 1477070250346627,
-        "priority": "Normal",
-        "sequence": 378,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5318,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4864,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070270398947,
-        "eventId": "381",
-        "lastEpochMicrosec": 1477070280398947,
-        "priority": "Normal",
-        "sequence": 381,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5079,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5266,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070440700538,
-        "eventId": "398",
-        "lastEpochMicrosec": 1477070450700538,
-        "priority": "Normal",
-        "sequence": 398,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3866,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 3980,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070601009676,
-        "eventId": "414",
-        "lastEpochMicrosec": 1477070611009676,
-        "priority": "Normal",
-        "sequence": 414,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 10154,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7884,
-            "packetsIn": 99,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070751281687,
-        "eventId": "429",
-        "lastEpochMicrosec": 1477070761281687,
-        "priority": "Normal",
-        "sequence": 429,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7970,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5427,
-            "packetsIn": 128,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070781332864,
-        "eventId": "432",
-        "lastEpochMicrosec": 1477070791332864,
-        "priority": "Normal",
-        "sequence": 432,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6052,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7480,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070891536182,
-        "eventId": "443",
-        "lastEpochMicrosec": 1477070901536182,
-        "priority": "Normal",
-        "sequence": 443,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5080,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7288,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071031806592,
-        "eventId": "457",
-        "lastEpochMicrosec": 1477071041806592,
-        "priority": "Normal",
-        "sequence": 457,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4777,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4122,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071041825555,
-        "eventId": "458",
-        "lastEpochMicrosec": 1477071051825555,
-        "priority": "Normal",
-        "sequence": 458,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4736,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4302,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071111957977,
-        "eventId": "465",
-        "lastEpochMicrosec": 1477071121957977,
-        "priority": "Normal",
-        "sequence": 465,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6283,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5272,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071162050981,
-        "eventId": "470",
-        "lastEpochMicrosec": 1477071172050981,
-        "priority": "Normal",
-        "sequence": 470,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5010,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7250,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071192103048,
-        "eventId": "473",
-        "lastEpochMicrosec": 1477071202103048,
-        "priority": "Normal",
-        "sequence": 473,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3360,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5112,
-            "packetsIn": 48,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071252204852,
-        "eventId": "479",
-        "lastEpochMicrosec": 1477071262204852,
-        "priority": "Normal",
-        "sequence": 479,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3912,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5324,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071312304729,
-        "eventId": "485",
-        "lastEpochMicrosec": 1477071322304729,
-        "priority": "Normal",
-        "sequence": 485,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4568,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5294,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071352377904,
-        "eventId": "489",
-        "lastEpochMicrosec": 1477071362377904,
-        "priority": "Normal",
-        "sequence": 489,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 26549,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 158,
-            "bytesOut": 28258,
-            "packetsIn": 311,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071402460522,
-        "eventId": "494",
-        "lastEpochMicrosec": 1477071412460522,
-        "priority": "Normal",
-        "sequence": 494,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5329,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4270,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071462573938,
-        "eventId": "500",
-        "lastEpochMicrosec": 1477071472573938,
-        "priority": "Normal",
-        "sequence": 500,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6232,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7420,
-            "packetsIn": 86,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071572787941,
-        "eventId": "511",
-        "lastEpochMicrosec": 1477071582787941,
-        "priority": "Normal",
-        "sequence": 511,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4532,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 20,
-            "bytesOut": 3809,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071662956095,
-        "eventId": "520",
-        "lastEpochMicrosec": 1477071672956095,
-        "priority": "Normal",
-        "sequence": 520,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4520,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5490,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071672977950,
-        "eventId": "521",
-        "lastEpochMicrosec": 1477071682977950,
-        "priority": "Normal",
-        "sequence": 521,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5002,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4734,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071693013688,
-        "eventId": "523",
-        "lastEpochMicrosec": 1477071703013688,
-        "priority": "Normal",
-        "sequence": 523,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5516,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 5023,
-            "packetsIn": 85,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071893429573,
-        "eventId": "543",
-        "lastEpochMicrosec": 1477071903429573,
-        "priority": "Normal",
-        "sequence": 543,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 18644,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 120,
-            "bytesOut": 20884,
-            "packetsIn": 230,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071923478914,
-        "eventId": "546",
-        "lastEpochMicrosec": 1477071933478914,
-        "priority": "Normal",
-        "sequence": 546,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4914,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5640,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071983602387,
-        "eventId": "552",
-        "lastEpochMicrosec": 1477071993602387,
-        "priority": "Normal",
-        "sequence": 552,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8506,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 60,
-            "bytesOut": 11100,
-            "packetsIn": 110,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071993632316,
-        "eventId": "553",
-        "lastEpochMicrosec": 1477072003632316,
-        "priority": "Normal",
-        "sequence": 553,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 17750,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 120,
-            "bytesOut": 25832,
-            "packetsIn": 215,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072043723108,
-        "eventId": "558",
-        "lastEpochMicrosec": 1477072053723108,
-        "priority": "Normal",
-        "sequence": 558,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4592,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5504,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072143938037,
-        "eventId": "568",
-        "lastEpochMicrosec": 1477072153938037,
-        "priority": "Normal",
-        "sequence": 568,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8125,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 55,
-            "bytesOut": 8060,
-            "packetsIn": 119,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072364341906,
-        "eventId": "590",
-        "lastEpochMicrosec": 1477072374341906,
-        "priority": "Normal",
-        "sequence": 590,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4136,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5851,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072374359351,
-        "eventId": "591",
-        "lastEpochMicrosec": 1477072384359351,
-        "priority": "Normal",
-        "sequence": 591,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4388,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5206,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072474537911,
-        "eventId": "601",
-        "lastEpochMicrosec": 1477072484537911,
-        "priority": "Normal",
-        "sequence": 601,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5228,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6932,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072534679739,
-        "eventId": "607",
-        "lastEpochMicrosec": 1477072544679739,
-        "priority": "Normal",
-        "sequence": 607,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3836,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5018,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072574755001,
-        "eventId": "611",
-        "lastEpochMicrosec": 1477072584755001,
-        "priority": "Normal",
-        "sequence": 611,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6919,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5628,
-            "packetsIn": 104,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072725036569,
-        "eventId": "626",
-        "lastEpochMicrosec": 1477072735036569,
-        "priority": "Normal",
-        "sequence": 626,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6892,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072855292945,
-        "eventId": "639",
-        "lastEpochMicrosec": 1477072865292945,
-        "priority": "Normal",
-        "sequence": 639,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6909,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 6802,
-            "packetsIn": 102,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072905381152,
-        "eventId": "644",
-        "lastEpochMicrosec": 1477072915381152,
-        "priority": "Normal",
-        "sequence": 644,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4826,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072945465009,
-        "eventId": "648",
-        "lastEpochMicrosec": 1477072955465009,
-        "priority": "Normal",
-        "sequence": 648,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3636,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4160,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073115777000,
-        "eventId": "665",
-        "lastEpochMicrosec": 1477073125777000,
-        "priority": "Normal",
-        "sequence": 665,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4098,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5354,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073235998974,
-        "eventId": "677",
-        "lastEpochMicrosec": 1477073245998974,
-        "priority": "Normal",
-        "sequence": 677,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4508,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5166,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073246017901,
-        "eventId": "678",
-        "lastEpochMicrosec": 1477073256017901,
-        "priority": "Normal",
-        "sequence": 678,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4026,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5358,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073296117387,
-        "eventId": "683",
-        "lastEpochMicrosec": 1477073306117387,
-        "priority": "Normal",
-        "sequence": 683,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3938,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4168,
-            "packetsIn": 49,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073376250039,
-        "eventId": "691",
-        "lastEpochMicrosec": 1477073386250039,
-        "priority": "Normal",
-        "sequence": 691,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4514,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5324,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073586625284,
-        "eventId": "712",
-        "lastEpochMicrosec": 1477073596625284,
-        "priority": "Normal",
-        "sequence": 712,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5193,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5748,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070200274642,
-        "eventId": "374",
-        "lastEpochMicrosec": 1477070210274642,
-        "priority": "Normal",
-        "sequence": 374,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4208,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4874,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070220308044,
-        "eventId": "376",
-        "lastEpochMicrosec": 1477070230308044,
-        "priority": "Normal",
-        "sequence": 376,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4102,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5346,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070490793952,
-        "eventId": "403",
-        "lastEpochMicrosec": 1477070500793952,
-        "priority": "Normal",
-        "sequence": 403,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3278,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4036,
-            "packetsIn": 48,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070540900880,
-        "eventId": "408",
-        "lastEpochMicrosec": 1477070550900880,
-        "priority": "Normal",
-        "sequence": 408,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4094,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5333,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070580972300,
-        "eventId": "412",
-        "lastEpochMicrosec": 1477070590972300,
-        "priority": "Normal",
-        "sequence": 412,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6261,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5472,
-            "packetsIn": 93,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070621041944,
-        "eventId": "416",
-        "lastEpochMicrosec": 1477070631041944,
-        "priority": "Normal",
-        "sequence": 416,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4462,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5302,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070671133935,
-        "eventId": "421",
-        "lastEpochMicrosec": 1477070681133935,
-        "priority": "Normal",
-        "sequence": 421,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3518,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4028,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070721225970,
-        "eventId": "426",
-        "lastEpochMicrosec": 1477070731225970,
-        "priority": "Normal",
-        "sequence": 426,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7454,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 50,
-            "bytesOut": 7435,
-            "packetsIn": 100,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070771317040,
-        "eventId": "431",
-        "lastEpochMicrosec": 1477070781317040,
-        "priority": "Normal",
-        "sequence": 431,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 46408,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 282,
-            "bytesOut": 41467,
-            "packetsIn": 531,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070811385505,
-        "eventId": "435",
-        "lastEpochMicrosec": 1477070821385505,
-        "priority": "Normal",
-        "sequence": 435,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4444,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4436,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071091925961,
-        "eventId": "463",
-        "lastEpochMicrosec": 1477071101925961,
-        "priority": "Normal",
-        "sequence": 463,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5120,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4898,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071362393895,
-        "eventId": "490",
-        "lastEpochMicrosec": 1477071372393895,
-        "priority": "Normal",
-        "sequence": 490,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4314,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4326,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071372410540,
-        "eventId": "491",
-        "lastEpochMicrosec": 1477071382410540,
-        "priority": "Normal",
-        "sequence": 491,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5072,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5518,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071422497943,
-        "eventId": "496",
-        "lastEpochMicrosec": 1477071432497943,
-        "priority": "Normal",
-        "sequence": 496,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4868,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5286,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071602842823,
-        "eventId": "514",
-        "lastEpochMicrosec": 1477071612842823,
-        "priority": "Normal",
-        "sequence": 514,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5534,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5324,
-            "packetsIn": 85,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071863369947,
-        "eventId": "540",
-        "lastEpochMicrosec": 1477071873369947,
-        "priority": "Normal",
-        "sequence": 540,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4594,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4074,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071873389953,
-        "eventId": "541",
-        "lastEpochMicrosec": 1477071883389953,
-        "priority": "Normal",
-        "sequence": 541,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 9377,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7894,
-            "packetsIn": 130,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071883407370,
-        "eventId": "542",
-        "lastEpochMicrosec": 1477071893407370,
-        "priority": "Normal",
-        "sequence": 542,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5864,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7318,
-            "packetsIn": 88,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071913462011,
-        "eventId": "545",
-        "lastEpochMicrosec": 1477071923462011,
-        "priority": "Normal",
-        "sequence": 545,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 27350,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 164,
-            "bytesOut": 35804,
-            "packetsIn": 324,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072013669950,
-        "eventId": "555",
-        "lastEpochMicrosec": 1477072023669950,
-        "priority": "Normal",
-        "sequence": 555,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5981,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4364,
-            "packetsIn": 86,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072304235475,
-        "eventId": "584",
-        "lastEpochMicrosec": 1477072314235475,
-        "priority": "Normal",
-        "sequence": 584,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 203574,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4122,
-            "packetsIn": 308,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072554718395,
-        "eventId": "609",
-        "lastEpochMicrosec": 1477072564718395,
-        "priority": "Normal",
-        "sequence": 609,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4142,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5495,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072564737954,
-        "eventId": "610",
-        "lastEpochMicrosec": 1477072574737954,
-        "priority": "Normal",
-        "sequence": 610,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4172,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4066,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072684959633,
-        "eventId": "622",
-        "lastEpochMicrosec": 1477072694959633,
-        "priority": "Normal",
-        "sequence": 622,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4682,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6100,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072694977636,
-        "eventId": "623",
-        "lastEpochMicrosec": 1477072704977636,
-        "priority": "Normal",
-        "sequence": 623,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5024,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5999,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072735051857,
-        "eventId": "627",
-        "lastEpochMicrosec": 1477072745051857,
-        "priority": "Normal",
-        "sequence": 627,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6750,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7198,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072785141695,
-        "eventId": "632",
-        "lastEpochMicrosec": 1477072795141695,
-        "priority": "Normal",
-        "sequence": 632,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 38530,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 249,
-            "bytesOut": 54426,
-            "packetsIn": 436,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072795156085,
-        "eventId": "633",
-        "lastEpochMicrosec": 1477072805156085,
-        "priority": "Normal",
-        "sequence": 633,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4616,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6826,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072885342781,
-        "eventId": "642",
-        "lastEpochMicrosec": 1477072895342781,
-        "priority": "Normal",
-        "sequence": 642,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4934,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072895361934,
-        "eventId": "643",
-        "lastEpochMicrosec": 1477072905361934,
-        "priority": "Normal",
-        "sequence": 643,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4362,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 6786,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072935447654,
-        "eventId": "647",
-        "lastEpochMicrosec": 1477072945447654,
-        "priority": "Normal",
-        "sequence": 647,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4562,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5136,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073065678387,
-        "eventId": "660",
-        "lastEpochMicrosec": 1477073075678387,
-        "priority": "Normal",
-        "sequence": 660,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7173,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7368,
-            "packetsIn": 106,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073085719086,
-        "eventId": "662",
-        "lastEpochMicrosec": 1477073095719086,
-        "priority": "Normal",
-        "sequence": 662,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4826,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7120,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073185910566,
-        "eventId": "672",
-        "lastEpochMicrosec": 1477073195910566,
-        "priority": "Normal",
-        "sequence": 672,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4502,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5304,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073336185348,
-        "eventId": "687",
-        "lastEpochMicrosec": 1477073346185348,
-        "priority": "Normal",
-        "sequence": 687,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4448,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5558,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073346200536,
-        "eventId": "688",
-        "lastEpochMicrosec": 1477073356200536,
-        "priority": "Normal",
-        "sequence": 688,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7053,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7368,
-            "packetsIn": 105,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073446375491,
-        "eventId": "698",
-        "lastEpochMicrosec": 1477073456375491,
-        "priority": "Normal",
-        "sequence": 698,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3966,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073596641959,
-        "eventId": "713",
-        "lastEpochMicrosec": 1477073606641959,
-        "priority": "Normal",
-        "sequence": 713,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4318,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4634,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070250365937,
-        "eventId": "379",
-        "lastEpochMicrosec": 1477070260365937,
-        "priority": "Normal",
-        "sequence": 379,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3746,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5536,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070340529599,
-        "eventId": "388",
-        "lastEpochMicrosec": 1477070350529599,
-        "priority": "Normal",
-        "sequence": 388,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7322,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 48,
-            "bytesOut": 7616,
-            "packetsIn": 113,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070510835835,
-        "eventId": "405",
-        "lastEpochMicrosec": 1477070520835835,
-        "priority": "Normal",
-        "sequence": 405,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6469,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070520864347,
-        "eventId": "406",
-        "lastEpochMicrosec": 1477070530864347,
-        "priority": "Normal",
-        "sequence": 406,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3638,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4044,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070651095730,
-        "eventId": "419",
-        "lastEpochMicrosec": 1477070661095730,
-        "priority": "Normal",
-        "sequence": 419,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3416,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5090,
-            "packetsIn": 48,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070711206504,
-        "eventId": "425",
-        "lastEpochMicrosec": 1477070721206504,
-        "priority": "Normal",
-        "sequence": 425,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5908,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6213,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070791351649,
-        "eventId": "433",
-        "lastEpochMicrosec": 1477070801351649,
-        "priority": "Normal",
-        "sequence": 433,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 10199,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 68,
-            "bytesOut": 11842,
-            "packetsIn": 135,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070801369956,
-        "eventId": "434",
-        "lastEpochMicrosec": 1477070811369956,
-        "priority": "Normal",
-        "sequence": 434,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 26090,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 164,
-            "bytesOut": 33153,
-            "packetsIn": 300,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070841450160,
-        "eventId": "438",
-        "lastEpochMicrosec": 1477070851450160,
-        "priority": "Normal",
-        "sequence": 438,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6205,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5794,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070981705399,
-        "eventId": "452",
-        "lastEpochMicrosec": 1477070991705399,
-        "priority": "Normal",
-        "sequence": 452,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3980,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5410,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071061865954,
-        "eventId": "460",
-        "lastEpochMicrosec": 1477071071865954,
-        "priority": "Normal",
-        "sequence": 460,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 31224,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 197,
-            "bytesOut": 34890,
-            "packetsIn": 357,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071121977934,
-        "eventId": "466",
-        "lastEpochMicrosec": 1477071131977934,
-        "priority": "Normal",
-        "sequence": 466,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 25732,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 162,
-            "bytesOut": 31700,
-            "packetsIn": 302,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071131999094,
-        "eventId": "467",
-        "lastEpochMicrosec": 1477071141999094,
-        "priority": "Normal",
-        "sequence": 467,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 169618,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7186,
-            "packetsIn": 289,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071212141392,
-        "eventId": "475",
-        "lastEpochMicrosec": 1477071222141392,
-        "priority": "Normal",
-        "sequence": 475,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7477,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7465,
-            "packetsIn": 110,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071222158382,
-        "eventId": "476",
-        "lastEpochMicrosec": 1477071232158382,
-        "priority": "Normal",
-        "sequence": 476,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5908,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071272238317,
-        "eventId": "481",
-        "lastEpochMicrosec": 1477071282238317,
-        "priority": "Normal",
-        "sequence": 481,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4504,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5074,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071332342318,
-        "eventId": "487",
-        "lastEpochMicrosec": 1477071342342318,
-        "priority": "Normal",
-        "sequence": 487,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6139,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4836,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071342361964,
-        "eventId": "488",
-        "lastEpochMicrosec": 1477071352361964,
-        "priority": "Normal",
-        "sequence": 488,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 22038,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 143,
-            "bytesOut": 25109,
-            "packetsIn": 257,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071392443903,
-        "eventId": "493",
-        "lastEpochMicrosec": 1477071402443903,
-        "priority": "Normal",
-        "sequence": 493,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 28990,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 185,
-            "bytesOut": 34734,
-            "packetsIn": 342,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071442534871,
-        "eventId": "498",
-        "lastEpochMicrosec": 1477071452534871,
-        "priority": "Normal",
-        "sequence": 498,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 19000,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 111,
-            "bytesOut": 18886,
-            "packetsIn": 232,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071723077968,
-        "eventId": "526",
-        "lastEpochMicrosec": 1477071733077968,
-        "priority": "Normal",
-        "sequence": 526,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 22554,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 150,
-            "bytesOut": 27120,
-            "packetsIn": 270,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071783210923,
-        "eventId": "532",
-        "lastEpochMicrosec": 1477071793210923,
-        "priority": "Normal",
-        "sequence": 532,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 31406,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 192,
-            "bytesOut": 40382,
-            "packetsIn": 369,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071973585969,
-        "eventId": "551",
-        "lastEpochMicrosec": 1477071983585969,
-        "priority": "Normal",
-        "sequence": 551,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 28415,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 168,
-            "bytesOut": 36888,
-            "packetsIn": 330,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072003648795,
-        "eventId": "554",
-        "lastEpochMicrosec": 1477072013648795,
-        "priority": "Normal",
-        "sequence": 554,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4736,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5027,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072073789969,
-        "eventId": "561",
-        "lastEpochMicrosec": 1477072083789969,
-        "priority": "Normal",
-        "sequence": 561,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5332,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4082,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072184014433,
-        "eventId": "572",
-        "lastEpochMicrosec": 1477072194014433,
-        "priority": "Normal",
-        "sequence": 572,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3752,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5666,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072214069942,
-        "eventId": "575",
-        "lastEpochMicrosec": 1477072224069942,
-        "priority": "Normal",
-        "sequence": 575,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4046,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7120,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072274176817,
-        "eventId": "581",
-        "lastEpochMicrosec": 1477072284176817,
-        "priority": "Normal",
-        "sequence": 581,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4208,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5166,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072444481666,
-        "eventId": "598",
-        "lastEpochMicrosec": 1477072454481666,
-        "priority": "Normal",
-        "sequence": 598,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6649,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6038,
-            "packetsIn": 97,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072484565977,
-        "eventId": "602",
-        "lastEpochMicrosec": 1477072494565977,
-        "priority": "Normal",
-        "sequence": 602,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3848,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4822,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072514639844,
-        "eventId": "605",
-        "lastEpochMicrosec": 1477072524639844,
-        "priority": "Normal",
-        "sequence": 605,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6367,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4624,
-            "packetsIn": 93,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072544701945,
-        "eventId": "608",
-        "lastEpochMicrosec": 1477072554701945,
-        "priority": "Normal",
-        "sequence": 608,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6553,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5362,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072604809380,
-        "eventId": "614",
-        "lastEpochMicrosec": 1477072614809380,
-        "priority": "Normal",
-        "sequence": 614,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4628,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5412,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072614829190,
-        "eventId": "615",
-        "lastEpochMicrosec": 1477072624829190,
-        "priority": "Normal",
-        "sequence": 615,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4352,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5630,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072644885943,
-        "eventId": "618",
-        "lastEpochMicrosec": 1477072654885943,
-        "priority": "Normal",
-        "sequence": 618,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5036,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 47,
-            "bytesOut": 7514,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072755088807,
-        "eventId": "629",
-        "lastEpochMicrosec": 1477072765088807,
-        "priority": "Normal",
-        "sequence": 629,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4370,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4351,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072915408472,
-        "eventId": "645",
-        "lastEpochMicrosec": 1477072925408472,
-        "priority": "Normal",
-        "sequence": 645,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4304,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4254,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072955481939,
-        "eventId": "649",
-        "lastEpochMicrosec": 1477072965481939,
-        "priority": "Normal",
-        "sequence": 649,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4388,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5150,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073005573900,
-        "eventId": "654",
-        "lastEpochMicrosec": 1477073015573900,
-        "priority": "Normal",
-        "sequence": 654,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5906,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7148,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073015590437,
-        "eventId": "655",
-        "lastEpochMicrosec": 1477073025590437,
-        "priority": "Normal",
-        "sequence": 655,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3764,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4122,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073045647448,
-        "eventId": "658",
-        "lastEpochMicrosec": 1477073055647448,
-        "priority": "Normal",
-        "sequence": 658,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4706,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7220,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073125796934,
-        "eventId": "666",
-        "lastEpochMicrosec": 1477073135796934,
-        "priority": "Normal",
-        "sequence": 666,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7132,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7250,
-            "packetsIn": 103,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073135815158,
-        "eventId": "667",
-        "lastEpochMicrosec": 1477073145815158,
-        "priority": "Normal",
-        "sequence": 667,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7143,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 50,
-            "bytesOut": 7727,
-            "packetsIn": 104,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073145841670,
-        "eventId": "668",
-        "lastEpochMicrosec": 1477073155841670,
-        "priority": "Normal",
-        "sequence": 668,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6135,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5426,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073266054311,
-        "eventId": "680",
-        "lastEpochMicrosec": 1477073276054311,
-        "priority": "Normal",
-        "sequence": 680,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4052,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5498,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073466418004,
-        "eventId": "700",
-        "lastEpochMicrosec": 1477073476418004,
-        "priority": "Normal",
-        "sequence": 700,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3732,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5244,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073476437957,
-        "eventId": "701",
-        "lastEpochMicrosec": 1477073486437957,
-        "priority": "Normal",
-        "sequence": 701,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4688,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5222,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073526524510,
-        "eventId": "706",
-        "lastEpochMicrosec": 1477073536524510,
-        "priority": "Normal",
-        "sequence": 706,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7963,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 49,
-            "bytesOut": 7608,
-            "packetsIn": 118,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073566594681,
-        "eventId": "710",
-        "lastEpochMicrosec": 1477073576594681,
-        "priority": "Normal",
-        "sequence": 710,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5168,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073616685940,
-        "eventId": "715",
-        "lastEpochMicrosec": 1477073626685940,
-        "priority": "Normal",
-        "sequence": 715,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6483,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5586,
-            "packetsIn": 95,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073626701958,
-        "eventId": "716",
-        "lastEpochMicrosec": 1477073636701958,
-        "priority": "Normal",
-        "sequence": 716,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3660,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4712,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070230330088,
-        "eventId": "377",
-        "lastEpochMicrosec": 1477070240330088,
-        "priority": "Normal",
-        "sequence": 377,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4069,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5506,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070360563689,
-        "eventId": "390",
-        "lastEpochMicrosec": 1477070370563689,
-        "priority": "Normal",
-        "sequence": 390,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4280,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070460736142,
-        "eventId": "400",
-        "lastEpochMicrosec": 1477070470736142,
-        "priority": "Normal",
-        "sequence": 400,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4562,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6892,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070480772828,
-        "eventId": "402",
-        "lastEpochMicrosec": 1477070490772828,
-        "priority": "Normal",
-        "sequence": 402,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5129,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5396,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070500813728,
-        "eventId": "404",
-        "lastEpochMicrosec": 1477070510813728,
-        "priority": "Normal",
-        "sequence": 404,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4456,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5380,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070550916395,
-        "eventId": "409",
-        "lastEpochMicrosec": 1477070560916395,
-        "priority": "Normal",
-        "sequence": 409,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3738,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4750,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070590993953,
-        "eventId": "413",
-        "lastEpochMicrosec": 1477070600993953,
-        "priority": "Normal",
-        "sequence": 413,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5954,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5380,
-            "packetsIn": 94,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070631061957,
-        "eventId": "417",
-        "lastEpochMicrosec": 1477070641061957,
-        "priority": "Normal",
-        "sequence": 417,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4416,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4020,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070641079999,
-        "eventId": "418",
-        "lastEpochMicrosec": 1477070651079999,
-        "priority": "Normal",
-        "sequence": 418,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4911,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4342,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070681153946,
-        "eventId": "422",
-        "lastEpochMicrosec": 1477070691153946,
-        "priority": "Normal",
-        "sequence": 422,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5228,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5294,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070691170336,
-        "eventId": "423",
-        "lastEpochMicrosec": 1477070701170336,
-        "priority": "Normal",
-        "sequence": 423,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 137612,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 776,
-            "bytesOut": 136724,
-            "packetsIn": 1458,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070821405142,
-        "eventId": "436",
-        "lastEpochMicrosec": 1477070831405142,
-        "priority": "Normal",
-        "sequence": 436,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6724,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 48,
-            "bytesOut": 8288,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071021788719,
-        "eventId": "456",
-        "lastEpochMicrosec": 1477071031788719,
-        "priority": "Normal",
-        "sequence": 456,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5216,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5098,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071051846152,
-        "eventId": "459",
-        "lastEpochMicrosec": 1477071061846152,
-        "priority": "Normal",
-        "sequence": 459,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5965,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5686,
-            "packetsIn": 84,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071101941618,
-        "eventId": "464",
-        "lastEpochMicrosec": 1477071111941618,
-        "priority": "Normal",
-        "sequence": 464,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4334,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5232,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071142014557,
-        "eventId": "468",
-        "lastEpochMicrosec": 1477071152014557,
-        "priority": "Normal",
-        "sequence": 468,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3976,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5360,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071152034019,
-        "eventId": "469",
-        "lastEpochMicrosec": 1477071162034019,
-        "priority": "Normal",
-        "sequence": 469,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 41028,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 121,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071202120024,
-        "eventId": "474",
-        "lastEpochMicrosec": 1477071212120024,
-        "priority": "Normal",
-        "sequence": 474,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5066,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7157,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071242189163,
-        "eventId": "478",
-        "lastEpochMicrosec": 1477071252189163,
-        "priority": "Normal",
-        "sequence": 478,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5528,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5302,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071472593939,
-        "eventId": "501",
-        "lastEpochMicrosec": 1477071482593939,
-        "priority": "Normal",
-        "sequence": 501,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4190,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4160,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071492634731,
-        "eventId": "503",
-        "lastEpochMicrosec": 1477071502634731,
-        "priority": "Normal",
-        "sequence": 503,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5918,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 6588,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071502654137,
-        "eventId": "504",
-        "lastEpochMicrosec": 1477071512654137,
-        "priority": "Normal",
-        "sequence": 504,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4270,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 19,
-            "bytesOut": 3650,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071632900848,
-        "eventId": "517",
-        "lastEpochMicrosec": 1477071642900848,
-        "priority": "Normal",
-        "sequence": 517,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7250,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 47,
-            "bytesOut": 7539,
-            "packetsIn": 112,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071652936794,
-        "eventId": "519",
-        "lastEpochMicrosec": 1477071662936794,
-        "priority": "Normal",
-        "sequence": 519,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 20894,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 127,
-            "bytesOut": 23654,
-            "packetsIn": 256,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071713058031,
-        "eventId": "525",
-        "lastEpochMicrosec": 1477071723058031,
-        "priority": "Normal",
-        "sequence": 525,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7297,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7430,
-            "packetsIn": 107,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071763172262,
-        "eventId": "530",
-        "lastEpochMicrosec": 1477071773172262,
-        "priority": "Normal",
-        "sequence": 530,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5472,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5427,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071773193658,
-        "eventId": "531",
-        "lastEpochMicrosec": 1477071783193658,
-        "priority": "Normal",
-        "sequence": 531,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4784,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4386,
-            "packetsIn": 73,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071803251128,
-        "eventId": "534",
-        "lastEpochMicrosec": 1477071813251128,
-        "priority": "Normal",
-        "sequence": 534,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 33146,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 202,
-            "bytesOut": 45220,
-            "packetsIn": 373,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071933509978,
-        "eventId": "547",
-        "lastEpochMicrosec": 1477071943509978,
-        "priority": "Normal",
-        "sequence": 547,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3640,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4128,
-            "packetsIn": 47,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072113869917,
-        "eventId": "565",
-        "lastEpochMicrosec": 1477072123869917,
-        "priority": "Normal",
-        "sequence": 565,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4928,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5412,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072133905970,
-        "eventId": "567",
-        "lastEpochMicrosec": 1477072143905970,
-        "priority": "Normal",
-        "sequence": 567,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4286,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5436,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072314253035,
-        "eventId": "585",
-        "lastEpochMicrosec": 1477072324253035,
-        "priority": "Normal",
-        "sequence": 585,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4568,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5602,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072384378243,
-        "eventId": "592",
-        "lastEpochMicrosec": 1477072394378243,
-        "priority": "Normal",
-        "sequence": 592,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3854,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 4772,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072404411223,
-        "eventId": "594",
-        "lastEpochMicrosec": 1477072414411223,
-        "priority": "Normal",
-        "sequence": 594,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3740,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 21,
-            "bytesOut": 3862,
-            "packetsIn": 50,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072414424973,
-        "eventId": "595",
-        "lastEpochMicrosec": 1477072424424973,
-        "priority": "Normal",
-        "sequence": 595,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6259,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5072,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072424442934,
-        "eventId": "596",
-        "lastEpochMicrosec": 1477072434442934,
-        "priority": "Normal",
-        "sequence": 596,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5576,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7404,
-            "packetsIn": 84,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072624849269,
-        "eventId": "616",
-        "lastEpochMicrosec": 1477072634849269,
-        "priority": "Normal",
-        "sequence": 616,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5172,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4998,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072674941938,
-        "eventId": "621",
-        "lastEpochMicrosec": 1477072684941938,
-        "priority": "Normal",
-        "sequence": 621,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4256,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4294,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072715018487,
-        "eventId": "625",
-        "lastEpochMicrosec": 1477072725018487,
-        "priority": "Normal",
-        "sequence": 625,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3932,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5526,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072825213947,
-        "eventId": "636",
-        "lastEpochMicrosec": 1477072835213947,
-        "priority": "Normal",
-        "sequence": 636,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3956,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 6318,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072865310238,
-        "eventId": "640",
-        "lastEpochMicrosec": 1477072875310238,
-        "priority": "Normal",
-        "sequence": 640,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4080,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4388,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072875328458,
-        "eventId": "641",
-        "lastEpochMicrosec": 1477072885328458,
-        "priority": "Normal",
-        "sequence": 641,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6081,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5528,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072965498915,
-        "eventId": "650",
-        "lastEpochMicrosec": 1477072975498915,
-        "priority": "Normal",
-        "sequence": 650,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6141,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5528,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073025609941,
-        "eventId": "656",
-        "lastEpochMicrosec": 1477073035609941,
-        "priority": "Normal",
-        "sequence": 656,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4446,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6986,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073175893195,
-        "eventId": "671",
-        "lastEpochMicrosec": 1477073185893195,
-        "priority": "Normal",
-        "sequence": 671,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4232,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4066,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073225981156,
-        "eventId": "676",
-        "lastEpochMicrosec": 1477073235981156,
-        "priority": "Normal",
-        "sequence": 676,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5739,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4138,
-            "packetsIn": 84,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073326167021,
-        "eventId": "686",
-        "lastEpochMicrosec": 1477073336167021,
-        "priority": "Normal",
-        "sequence": 686,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4104,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4020,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073356218618,
-        "eventId": "689",
-        "lastEpochMicrosec": 1477073366218618,
-        "priority": "Normal",
-        "sequence": 689,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4886,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7121,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073456394852,
-        "eventId": "699",
-        "lastEpochMicrosec": 1477073466394852,
-        "priority": "Normal",
-        "sequence": 699,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4034,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 4808,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073486456069,
-        "eventId": "702",
-        "lastEpochMicrosec": 1477073496456069,
-        "priority": "Normal",
-        "sequence": 702,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4706,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5765,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073576611503,
-        "eventId": "711",
-        "lastEpochMicrosec": 1477073586611503,
-        "priority": "Normal",
-        "sequence": 711,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6046,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 40,
-            "bytesOut": 9108,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073636730319,
-        "eventId": "717",
-        "lastEpochMicrosec": 1477073646730319,
-        "priority": "Normal",
-        "sequence": 717,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4450,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5230,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070310474544,
-        "eventId": "385",
-        "lastEpochMicrosec": 1477070320474544,
-        "priority": "Normal",
-        "sequence": 385,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5703,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 40,
-            "bytesOut": 6658,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070320490200,
-        "eventId": "386",
-        "lastEpochMicrosec": 1477070330490200,
-        "priority": "Normal",
-        "sequence": 386,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4384,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5096,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070370579195,
-        "eventId": "391",
-        "lastEpochMicrosec": 1477070380579195,
-        "priority": "Normal",
-        "sequence": 391,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3986,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5544,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070400631290,
-        "eventId": "394",
-        "lastEpochMicrosec": 1477070410631290,
-        "priority": "Normal",
-        "sequence": 394,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4428,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4364,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070410646466,
-        "eventId": "395",
-        "lastEpochMicrosec": 1477070420646466,
-        "priority": "Normal",
-        "sequence": 395,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3776,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4562,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070661113931,
-        "eventId": "420",
-        "lastEpochMicrosec": 1477070671113931,
-        "priority": "Normal",
-        "sequence": 420,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5482,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5446,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070731245952,
-        "eventId": "427",
-        "lastEpochMicrosec": 1477070741245952,
-        "priority": "Normal",
-        "sequence": 427,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 12391,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 78,
-            "bytesOut": 10049,
-            "packetsIn": 124,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070761301949,
-        "eventId": "430",
-        "lastEpochMicrosec": 1477070771301949,
-        "priority": "Normal",
-        "sequence": 430,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 19997,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 132,
-            "bytesOut": 23502,
-            "packetsIn": 240,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070861482944,
-        "eventId": "440",
-        "lastEpochMicrosec": 1477070871482944,
-        "priority": "Normal",
-        "sequence": 440,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 19924,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 116,
-            "bytesOut": 19236,
-            "packetsIn": 243,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070871499185,
-        "eventId": "441",
-        "lastEpochMicrosec": 1477070881499185,
-        "priority": "Normal",
-        "sequence": 441,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4394,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 40,
-            "bytesOut": 7024,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070901553877,
-        "eventId": "444",
-        "lastEpochMicrosec": 1477070911553877,
-        "priority": "Normal",
-        "sequence": 444,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3402,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4950,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070951649582,
-        "eventId": "449",
-        "lastEpochMicrosec": 1477070961649582,
-        "priority": "Normal",
-        "sequence": 449,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3650,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5024,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070961673097,
-        "eventId": "450",
-        "lastEpochMicrosec": 1477070971673097,
-        "priority": "Normal",
-        "sequence": 450,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4681,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7354,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071001744811,
-        "eventId": "454",
-        "lastEpochMicrosec": 1477071011744811,
-        "priority": "Normal",
-        "sequence": 454,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4536,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5168,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071011760312,
-        "eventId": "455",
-        "lastEpochMicrosec": 1477071021760312,
-        "priority": "Normal",
-        "sequence": 455,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6458,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6017,
-            "packetsIn": 100,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071232173922,
-        "eventId": "477",
-        "lastEpochMicrosec": 1477071242173922,
-        "priority": "Normal",
-        "sequence": 477,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6871,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6766,
-            "packetsIn": 101,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071282252737,
-        "eventId": "482",
-        "lastEpochMicrosec": 1477071292252737,
-        "priority": "Normal",
-        "sequence": 482,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3884,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4248,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071322325958,
-        "eventId": "486",
-        "lastEpochMicrosec": 1477071332325958,
-        "priority": "Normal",
-        "sequence": 486,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 34518,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 192,
-            "bytesOut": 34192,
-            "packetsIn": 384,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071432517955,
-        "eventId": "497",
-        "lastEpochMicrosec": 1477071442517955,
-        "priority": "Normal",
-        "sequence": 497,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4916,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4318,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071512671652,
-        "eventId": "505",
-        "lastEpochMicrosec": 1477071522671652,
-        "priority": "Normal",
-        "sequence": 505,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6259,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5600,
-            "packetsIn": 91,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071522697277,
-        "eventId": "506",
-        "lastEpochMicrosec": 1477071532697277,
-        "priority": "Normal",
-        "sequence": 506,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5240,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5426,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071552753988,
-        "eventId": "509",
-        "lastEpochMicrosec": 1477071562753988,
-        "priority": "Normal",
-        "sequence": 509,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5060,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5434,
-            "packetsIn": 79,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071612865423,
-        "eventId": "515",
-        "lastEpochMicrosec": 1477071622865423,
-        "priority": "Normal",
-        "sequence": 515,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3974,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4660,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071793233631,
-        "eventId": "533",
-        "lastEpochMicrosec": 1477071803233631,
-        "priority": "Normal",
-        "sequence": 533,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6859,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 6912,
-            "packetsIn": 100,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071823290532,
-        "eventId": "536",
-        "lastEpochMicrosec": 1477071833290532,
-        "priority": "Normal",
-        "sequence": 536,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4982,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5081,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071833308226,
-        "eventId": "537",
-        "lastEpochMicrosec": 1477071843308226,
-        "priority": "Normal",
-        "sequence": 537,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4974,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4426,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071843328660,
-        "eventId": "538",
-        "lastEpochMicrosec": 1477071853328660,
-        "priority": "Normal",
-        "sequence": 538,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 13226,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 89,
-            "bytesOut": 18924,
-            "packetsIn": 153,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072053741964,
-        "eventId": "559",
-        "lastEpochMicrosec": 1477072063741964,
-        "priority": "Normal",
-        "sequence": 559,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8673,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 53,
-            "bytesOut": 9805,
-            "packetsIn": 117,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072063763247,
-        "eventId": "560",
-        "lastEpochMicrosec": 1477072073763247,
-        "priority": "Normal",
-        "sequence": 560,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4676,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6446,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072224086825,
-        "eventId": "576",
-        "lastEpochMicrosec": 1477072234086825,
-        "priority": "Normal",
-        "sequence": 576,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4262,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5318,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072254141660,
-        "eventId": "579",
-        "lastEpochMicrosec": 1477072264141660,
-        "priority": "Normal",
-        "sequence": 579,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4946,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072344303482,
-        "eventId": "588",
-        "lastEpochMicrosec": 1477072354303482,
-        "priority": "Normal",
-        "sequence": 588,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3800,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5398,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072584773904,
-        "eventId": "612",
-        "lastEpochMicrosec": 1477072594773904,
-        "priority": "Normal",
-        "sequence": 612,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5264,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 6018,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072594792760,
-        "eventId": "613",
-        "lastEpochMicrosec": 1477072604792760,
-        "priority": "Normal",
-        "sequence": 613,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4604,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5722,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072775124558,
-        "eventId": "631",
-        "lastEpochMicrosec": 1477072785124558,
-        "priority": "Normal",
-        "sequence": 631,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4280,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5410,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072975517941,
-        "eventId": "651",
-        "lastEpochMicrosec": 1477072985517941,
-        "priority": "Normal",
-        "sequence": 651,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4316,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5018,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073035627391,
-        "eventId": "657",
-        "lastEpochMicrosec": 1477073045627391,
-        "priority": "Normal",
-        "sequence": 657,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4915,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 4836,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073276077930,
-        "eventId": "681",
-        "lastEpochMicrosec": 1477073286077930,
-        "priority": "Normal",
-        "sequence": 681,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4244,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4914,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073396285928,
-        "eventId": "693",
-        "lastEpochMicrosec": 1477073406285928,
-        "priority": "Normal",
-        "sequence": 693,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4982,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6892,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073406303927,
-        "eventId": "694",
-        "lastEpochMicrosec": 1477073416303927,
-        "priority": "Normal",
-        "sequence": 694,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5000,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5378,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073496473912,
-        "eventId": "703",
-        "lastEpochMicrosec": 1477073506473912,
-        "priority": "Normal",
-        "sequence": 703,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4406,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073546558533,
-        "eventId": "708",
-        "lastEpochMicrosec": 1477073556558533,
-        "priority": "Normal",
-        "sequence": 708,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3608,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5230,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073646749551,
-        "eventId": "718",
-        "lastEpochMicrosec": 1477073656749551,
-        "priority": "Normal",
-        "sequence": 718,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4352,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4946,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073676813943,
-        "eventId": "721",
-        "lastEpochMicrosec": 1477073686813943,
-        "priority": "Normal",
-        "sequence": 721,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4864,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5148,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070190253108,
-        "eventId": "373",
-        "lastEpochMicrosec": 1477070200253108,
-        "priority": "Normal",
-        "sequence": 373,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4328,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5286,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070280421939,
-        "eventId": "382",
-        "lastEpochMicrosec": 1477070290421939,
-        "priority": "Normal",
-        "sequence": 382,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6206,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5512,
-            "packetsIn": 96,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070330509980,
-        "eventId": "387",
-        "lastEpochMicrosec": 1477070340509980,
-        "priority": "Normal",
-        "sequence": 387,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3518,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4028,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070420665950,
-        "eventId": "396",
-        "lastEpochMicrosec": 1477070430665950,
-        "priority": "Normal",
-        "sequence": 396,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4360,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4812,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070430683794,
-        "eventId": "397",
-        "lastEpochMicrosec": 1477070440683794,
-        "priority": "Normal",
-        "sequence": 397,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5301,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5536,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070560936376,
-        "eventId": "410",
-        "lastEpochMicrosec": 1477070570936376,
-        "priority": "Normal",
-        "sequence": 410,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6866,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 106,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070570954302,
-        "eventId": "411",
-        "lastEpochMicrosec": 1477070580954302,
-        "priority": "Normal",
-        "sequence": 411,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6681,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 41,
-            "bytesOut": 6568,
-            "packetsIn": 96,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070741264005,
-        "eventId": "428",
-        "lastEpochMicrosec": 1477070751264005,
-        "priority": "Normal",
-        "sequence": 428,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 34880,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 217,
-            "bytesOut": 36350,
-            "packetsIn": 398,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070881514499,
-        "eventId": "442",
-        "lastEpochMicrosec": 1477070891514499,
-        "priority": "Normal",
-        "sequence": 442,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4762,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4934,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070911574857,
-        "eventId": "445",
-        "lastEpochMicrosec": 1477070921574857,
-        "priority": "Normal",
-        "sequence": 445,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7057,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7462,
-            "packetsIn": 105,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070921593735,
-        "eventId": "446",
-        "lastEpochMicrosec": 1477070931593735,
-        "priority": "Normal",
-        "sequence": 446,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6740,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 41,
-            "bytesOut": 6775,
-            "packetsIn": 104,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071292270837,
-        "eventId": "483",
-        "lastEpochMicrosec": 1477071302270837,
-        "priority": "Normal",
-        "sequence": 483,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4934,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5325,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071302289972,
-        "eventId": "484",
-        "lastEpochMicrosec": 1477071312289972,
-        "priority": "Normal",
-        "sequence": 484,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6216,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6786,
-            "packetsIn": 81,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071452551360,
-        "eventId": "499",
-        "lastEpochMicrosec": 1477071462551360,
-        "priority": "Normal",
-        "sequence": 499,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6218,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7316,
-            "packetsIn": 95,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071482617903,
-        "eventId": "502",
-        "lastEpochMicrosec": 1477071492617903,
-        "priority": "Normal",
-        "sequence": 502,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5634,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6446,
-            "packetsIn": 87,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071562771042,
-        "eventId": "510",
-        "lastEpochMicrosec": 1477071572771042,
-        "priority": "Normal",
-        "sequence": 510,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6354,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 47,
-            "bytesOut": 7514,
-            "packetsIn": 96,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071622883746,
-        "eventId": "516",
-        "lastEpochMicrosec": 1477071632883746,
-        "priority": "Normal",
-        "sequence": 516,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 20684,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 138,
-            "bytesOut": 23872,
-            "packetsIn": 242,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071753155902,
-        "eventId": "529",
-        "lastEpochMicrosec": 1477071763155902,
-        "priority": "Normal",
-        "sequence": 529,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6956,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071853349474,
-        "eventId": "539",
-        "lastEpochMicrosec": 1477071863349474,
-        "priority": "Normal",
-        "sequence": 539,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 66655,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 401,
-            "bytesOut": 64534,
-            "packetsIn": 755,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071943529023,
-        "eventId": "548",
-        "lastEpochMicrosec": 1477071953529023,
-        "priority": "Normal",
-        "sequence": 548,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 29098,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 186,
-            "bytesOut": 40028,
-            "packetsIn": 338,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072033705953,
-        "eventId": "557",
-        "lastEpochMicrosec": 1477072043705953,
-        "priority": "Normal",
-        "sequence": 557,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3560,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4758,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072083807753,
-        "eventId": "562",
-        "lastEpochMicrosec": 1477072093807753,
-        "priority": "Normal",
-        "sequence": 562,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5753,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5248,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072123885526,
-        "eventId": "566",
-        "lastEpochMicrosec": 1477072133885526,
-        "priority": "Normal",
-        "sequence": 566,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4102,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5462,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072173997938,
-        "eventId": "571",
-        "lastEpochMicrosec": 1477072183997938,
-        "priority": "Normal",
-        "sequence": 571,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5054,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6906,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072264158607,
-        "eventId": "580",
-        "lastEpochMicrosec": 1477072274158607,
-        "priority": "Normal",
-        "sequence": 580,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3884,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4058,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072324268097,
-        "eventId": "586",
-        "lastEpochMicrosec": 1477072334268097,
-        "priority": "Normal",
-        "sequence": 586,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3182,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4808,
-            "packetsIn": 46,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072334288872,
-        "eventId": "587",
-        "lastEpochMicrosec": 1477072344288872,
-        "priority": "Normal",
-        "sequence": 587,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4034,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072394394368,
-        "eventId": "593",
-        "lastEpochMicrosec": 1477072404394368,
-        "priority": "Normal",
-        "sequence": 593,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3872,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4074,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072434461951,
-        "eventId": "597",
-        "lastEpochMicrosec": 1477072444461951,
-        "priority": "Normal",
-        "sequence": 597,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4028,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072504621951,
-        "eventId": "604",
-        "lastEpochMicrosec": 1477072514621951,
-        "priority": "Normal",
-        "sequence": 604,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4130,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4350,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072524657943,
-        "eventId": "606",
-        "lastEpochMicrosec": 1477072534657943,
-        "priority": "Normal",
-        "sequence": 606,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6691,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5804,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072664921950,
-        "eventId": "620",
-        "lastEpochMicrosec": 1477072674921950,
-        "priority": "Normal",
-        "sequence": 620,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4640,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5426,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072765105949,
-        "eventId": "630",
-        "lastEpochMicrosec": 1477072775105949,
-        "priority": "Normal",
-        "sequence": 630,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 38076,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 238,
-            "bytesOut": 52028,
-            "packetsIn": 425,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072815193944,
-        "eventId": "635",
-        "lastEpochMicrosec": 1477072825193944,
-        "priority": "Normal",
-        "sequence": 635,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4806,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6986,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073055662629,
-        "eventId": "659",
-        "lastEpochMicrosec": 1477073065662629,
-        "priority": "Normal",
-        "sequence": 659,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3470,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4240,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073165876528,
-        "eventId": "670",
-        "lastEpochMicrosec": 1477073175876528,
-        "priority": "Normal",
-        "sequence": 670,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6615,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5086,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073205948758,
-        "eventId": "674",
-        "lastEpochMicrosec": 1477073215948758,
-        "priority": "Normal",
-        "sequence": 674,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4682,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5600,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073215965142,
-        "eventId": "675",
-        "lastEpochMicrosec": 1477073225965142,
-        "priority": "Normal",
-        "sequence": 675,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4178,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4152,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073256037943,
-        "eventId": "679",
-        "lastEpochMicrosec": 1477073266037943,
-        "priority": "Normal",
-        "sequence": 679,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4406,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073306133613,
-        "eventId": "684",
-        "lastEpochMicrosec": 1477073316133613,
-        "priority": "Normal",
-        "sequence": 684,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3974,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4644,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073316150514,
-        "eventId": "685",
-        "lastEpochMicrosec": 1477073326150514,
-        "priority": "Normal",
-        "sequence": 685,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6375,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4538,
-            "packetsIn": 94,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073386268859,
-        "eventId": "692",
-        "lastEpochMicrosec": 1477073396268859,
-        "priority": "Normal",
-        "sequence": 692,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4458,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073536542160,
-        "eventId": "707",
-        "lastEpochMicrosec": 1477073546542160,
-        "priority": "Normal",
-        "sequence": 707,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
       }
     }
   }
index 6d84561..9c72183 100644 (file)
@@ -65,12 +65,15 @@ public abstract class BaseAnalyticsCDAPTCAUnitTest extends BaseDCAEAnalyticsUnit
     protected static final String CEF_MESSAGE_JSON_FILE_LOCATION = "data/json/cef/cef_message.json";
     protected static final String CEF_MESSAGE_WITH_THRESHOLD_VIOLATION_JSON_FILE_LOCATION =
             "data/json/cef/cef_message_with_threshold_violation.json";
+    protected static final String TCA_APP_CONFIG_FILE_LOCATION = "data/json/config/controller_app_config.json";
+    protected static final String TCA_ALERT_JSON_FILE_LOCATION = "data/json/facade/tca_ves_cef_response.json";
+
 
     protected static final String TCA_CONTROLLER_POLICY_FILE_LOCATION =
             "data/properties/tca_controller_policy.properties";
 
     protected static final String TCA_CONTROLLER_POLICY_FROM_JSON_FILE_LOCATION =
-                        "data/properties/tca_controller_policy_from_json.properties";
+            "data/properties/tca_controller_policy_from_json.properties";
 
 
     protected static final String TCA_TEST_APP_CONFIG_NAME = "testTCAAppName";
@@ -87,7 +90,7 @@ public abstract class BaseAnalyticsCDAPTCAUnitTest extends BaseDCAEAnalyticsUnit
      *
      * @return test TCA Policy Object
      */
-    protected TCAPolicy getSampleTCAPolicy() {
+    protected static TCAPolicy getSampleTCAPolicy() {
         return deserializeJsonFileToModel(TCA_POLICY_JSON_FILE_LOCATION, TCAPolicy.class);
     }
 
@@ -96,7 +99,7 @@ public abstract class BaseAnalyticsCDAPTCAUnitTest extends BaseDCAEAnalyticsUnit
      *
      * @return test {@link TCAPolicyPreferences}
      */
-    protected TCAPolicyPreferences getSampleTCAPolicyPreferences() {
+    protected static TCAPolicyPreferences getSampleTCAPolicyPreferences() {
         return deserializeJsonFileToModel(TCA_POLICY_JSON_FILE_LOCATION, TCAPolicyPreferences.class);
     }
 
@@ -107,7 +110,7 @@ public abstract class BaseAnalyticsCDAPTCAUnitTest extends BaseDCAEAnalyticsUnit
      *
      * @throws Exception Exception
      */
-    protected List<EventListener> getCEFMessages() throws Exception {
+    protected static List<EventListener> getCEFMessages() throws Exception {
         final String cefMessageAsString = fromStream(CEF_MESSAGES_JSON_FILE_LOCATION);
         final TypeReference<List<EventListener>> eventListenerListTypeReference =
                 new TypeReference<List<EventListener>>() {
@@ -122,7 +125,7 @@ public abstract class BaseAnalyticsCDAPTCAUnitTest extends BaseDCAEAnalyticsUnit
      *
      * @throws Exception Exception
      */
-    protected String getValidCEFMessage() throws Exception {
+    protected static String getValidCEFMessage() throws Exception {
         return fromStream(CEF_MESSAGE_JSON_FILE_LOCATION);
     }
 
@@ -134,7 +137,7 @@ public abstract class BaseAnalyticsCDAPTCAUnitTest extends BaseDCAEAnalyticsUnit
      *
      * @throws Exception Exception
      */
-    protected EventListener getCEFEventListener() throws Exception {
+    protected static EventListener getCEFEventListener() throws Exception {
         final String cefMessageAsString = fromStream(CEF_MESSAGE_JSON_FILE_LOCATION);
         return ANALYTICS_MODEL_OBJECT_MAPPER.readValue(cefMessageAsString, EventListener.class);
     }
@@ -257,23 +260,16 @@ public abstract class BaseAnalyticsCDAPTCAUnitTest extends BaseDCAEAnalyticsUnit
     }
 
     protected static FlowletContext getTestFlowletContextWithValidPolicy() {
-        final Properties controllerProperties =
-                AnalyticsModelIOUtils.loadPropertiesFile(TCA_CONTROLLER_POLICY_FILE_LOCATION, new Properties());
-
-        Map<String, String> runtimeArgs = new LinkedHashMap<>();
-        for (Map.Entry<Object, Object> property : controllerProperties.entrySet()) {
-            runtimeArgs.put(property.getKey().toString(), property.getValue().toString());
-        }
-
-        final FlowletContext flowletContext = mock(FlowletContext.class);
-        when(flowletContext.getRuntimeArguments()).thenReturn(runtimeArgs);
-        return flowletContext;
+        return createNewFlowletContextFromPropertiesFile(TCA_CONTROLLER_POLICY_FILE_LOCATION);
     }
 
     protected static FlowletContext getTestFlowletContextWithValidPolicyFromJSON() {
+        return createNewFlowletContextFromPropertiesFile(TCA_CONTROLLER_POLICY_FROM_JSON_FILE_LOCATION);
+    }
+
+    private static FlowletContext createNewFlowletContextFromPropertiesFile(final String propertyFileLocation) {
         final Properties controllerProperties =
-                AnalyticsModelIOUtils.loadPropertiesFile(TCA_CONTROLLER_POLICY_FROM_JSON_FILE_LOCATION,
-                        new Properties());
+                AnalyticsModelIOUtils.loadPropertiesFile(propertyFileLocation, new Properties());
 
         Map<String, String> runtimeArgs = new LinkedHashMap<>();
         for (Map.Entry<Object, Object> property : controllerProperties.entrySet()) {
index 05444d7..b483cdf 100644 (file)
@@ -63,12 +63,13 @@ public class TCAVESCollectorFlowTest extends BaseAnalyticsCDAPTCAUnitTest {
         assertThat("TCAVESCollector must contain all TCA VES flowlets", flowlets.keySet(),
                 containsInAnyOrder(CDAPComponentsConstants.TCA_FIXED_VES_MESSAGE_ROUTER_NAME_FLOWLET,
                         CDAPComponentsConstants.TCA_FIXED_VES_THRESHOLD_VIOLATION_CALCULATOR_NAME_FLOWLET,
+                        CDAPComponentsConstants.TCA_FIXED_VES_ALERTS_ABATEMENT_NAME_FLOWLET,
                         CDAPComponentsConstants.TCA_FIXED_VES_ALERTS_SINK_NAME_FLOWLET));
 
         final List<FlowletConnection> connections =
                 (List<FlowletConnection>) getPrivateFiledValue(configurer, "connections", ArrayList.class);
 
-        assertThat("There must be three connections in VES Collector Flow", connections.size(), is(3));
+        assertThat("There must be four connections in VES Collector Flow", connections.size(), is(4));
 
     }
 
diff --git a/dcae-analytics-cdap-tca/src/test/java/org/openecomp/dcae/apod/analytics/cdap/tca/flowlet/TCAVESAlertsAbatementFlowletTest.java b/dcae-analytics-cdap-tca/src/test/java/org/openecomp/dcae/apod/analytics/cdap/tca/flowlet/TCAVESAlertsAbatementFlowletTest.java
new file mode 100644 (file)
index 0000000..baf42cc
--- /dev/null
@@ -0,0 +1,234 @@
+package org.openecomp.dcae.apod.analytics.cdap.tca.flowlet;
+
+import co.cask.cdap.api.dataset.lib.ObjectMappedTable;
+import co.cask.cdap.api.flow.flowlet.FlowletContext;
+import co.cask.cdap.api.flow.flowlet.OutputEmitter;
+import com.google.common.collect.ImmutableList;
+import org.apache.commons.lang3.tuple.Pair;
+import org.junit.Test;
+import org.mockito.Mockito;
+import org.openecomp.dcae.apod.analytics.cdap.common.CDAPComponentsConstants;
+import org.openecomp.dcae.apod.analytics.cdap.common.domain.tca.ThresholdCalculatorOutput;
+import org.openecomp.dcae.apod.analytics.cdap.common.exception.CDAPSettingsException;
+import org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca.TCAAlertsAbatementEntity;
+import org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca.TCAVESAlertEntity;
+import org.openecomp.dcae.apod.analytics.cdap.tca.BaseAnalyticsCDAPTCAUnitTest;
+import org.openecomp.dcae.apod.analytics.cdap.tca.settings.TCAPolicyPreferences;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.ControlLoopEventStatus;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
+import org.openecomp.dcae.apod.analytics.tca.utils.TCAUtils;
+
+import java.util.Date;
+import java.util.List;
+
+import static org.junit.Assert.assertTrue;
+import static org.mockito.ArgumentMatchers.any;
+import static org.mockito.ArgumentMatchers.eq;
+import static org.mockito.Mockito.doNothing;
+import static org.mockito.Mockito.mock;
+import static org.mockito.Mockito.times;
+import static org.mockito.Mockito.verify;
+import static org.mockito.Mockito.when;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 9/12/2017.
+ */
+public class TCAVESAlertsAbatementFlowletTest extends BaseAnalyticsCDAPTCAUnitTest {
+
+    private static final TCAPolicyPreferences sampleTCAPolicyPreferences = getSampleTCAPolicyPreferences();
+    private static final List<MetricsPerEventName> metricsPerEventNames = sampleTCAPolicyPreferences
+            .getMetricsPerEventName();
+    private final OutputEmitter<String> mockOutputEmitter = mock(OutputEmitter.class);
+
+    private class TestTCAVESAlertsAbatementFlowlet extends TCAVESAlertsAbatementFlowlet {
+
+        public TestTCAVESAlertsAbatementFlowlet(String tcaAlertsAbatementTableName) {
+            super(tcaAlertsAbatementTableName);
+            this.alertsAbatementOutputEmitter = mockOutputEmitter;
+            doNothing().when(mockOutputEmitter).emit(any(String.class));
+        }
+    }
+
+    @Test
+    public void testConfigure() throws Exception {
+        final TCAVESAlertsAbatementFlowlet tcavesAlertsAbatementFlowlet =
+                new TCAVESAlertsAbatementFlowlet("testTCAAlertsAbatementTableName");
+        assertFlowletNameAndDescription(CDAPComponentsConstants.TCA_FIXED_VES_ALERTS_ABATEMENT_NAME_FLOWLET,
+                CDAPComponentsConstants.TCA_FIXED_VES_ALERTS_ABATEMENT_DESCRIPTION_FLOWLET,
+                tcavesAlertsAbatementFlowlet);
+    }
+
+    @Test(expected = CDAPSettingsException.class)
+    public void testDetermineAbatementAlertsWhenViolatedMetricsEventNameIsBlank() throws Exception {
+
+        final TestTCAVESAlertsAbatementFlowlet tcaAlertsAbatementFlowlet =
+                new TestTCAVESAlertsAbatementFlowlet("testTCAAlertsAbatementTableName");
+        final Threshold violatedThreshold = getViolatedThreshold(ControlLoopEventStatus.ONSET);
+        final ThresholdCalculatorOutput mockThresholdCalculatorOutput =
+                getMockThresholdCalculatorOutput(violatedThreshold);
+        when(mockThresholdCalculatorOutput.getViolatedMetricsPerEventName()).thenReturn("");
+
+        tcaAlertsAbatementFlowlet.determineAbatementAlerts(mockThresholdCalculatorOutput);
+    }
+
+    @Test
+    public void testDetermineAbatementAlertsWhenControlLoopTypeIsONSET() throws Exception {
+
+        final String testTCAAlertsAbatementTableName = "testTCAAlertsAbatementTableName";
+        final TestTCAVESAlertsAbatementFlowlet tcaAlertsAbatementFlowlet =
+                new TestTCAVESAlertsAbatementFlowlet("testTCAAlertsAbatementTableName");
+
+        final FlowletContext mockFlowletContext = mock(FlowletContext.class);
+        final ObjectMappedTable<TCAAlertsAbatementEntity> mockObjectMappedTable = mock(ObjectMappedTable.class);
+        when(mockFlowletContext.getDataset(eq(testTCAAlertsAbatementTableName))).thenReturn(mockObjectMappedTable);
+        tcaAlertsAbatementFlowlet.initialize(mockFlowletContext);
+
+        doNothing().when(mockObjectMappedTable).write(any(String.class), any(TCAAlertsAbatementEntity.class));
+
+        final Threshold violatedThreshold = getViolatedThreshold(ControlLoopEventStatus.ONSET);
+        final ThresholdCalculatorOutput mockThresholdCalculatorOutput =
+                getMockThresholdCalculatorOutput(violatedThreshold);
+
+        tcaAlertsAbatementFlowlet.determineAbatementAlerts(mockThresholdCalculatorOutput);
+        verify(mockObjectMappedTable,
+                times(1)).write(any(String.class), any(TCAAlertsAbatementEntity.class));
+        verify(mockOutputEmitter, times(1)).emit(any(String.class));
+
+    }
+
+
+    @Test
+    public void testDetermineAbatementAlertsWhenControlLoopTypeIsABATEDAndNoPreviousAlertWasSent() throws Exception {
+
+        final String testTCAAlertsAbatementTableName = "testTCAAlertsAbatementTableName";
+        final TestTCAVESAlertsAbatementFlowlet tcaAlertsAbatementFlowlet =
+                new TestTCAVESAlertsAbatementFlowlet("testTCAAlertsAbatementTableName");
+
+        final FlowletContext mockFlowletContext = mock(FlowletContext.class);
+        final ObjectMappedTable<TCAAlertsAbatementEntity> mockObjectMappedTable = mock(ObjectMappedTable.class);
+        when(mockFlowletContext.getDataset(eq(testTCAAlertsAbatementTableName))).thenReturn(mockObjectMappedTable);
+        tcaAlertsAbatementFlowlet.initialize(mockFlowletContext);
+
+        doNothing().when(mockObjectMappedTable).write(any(String.class), any(TCAAlertsAbatementEntity.class));
+        final TCAAlertsAbatementEntity tcaAlertsAbatementEntity = mock(TCAAlertsAbatementEntity.class);
+        when(mockObjectMappedTable.read(any(String.class))).thenReturn(tcaAlertsAbatementEntity);
+        when(tcaAlertsAbatementEntity.getAbatementSentTS()).thenReturn(null);
+
+        final Threshold violatedThreshold = getViolatedThreshold(ControlLoopEventStatus.ABATED);
+        final ThresholdCalculatorOutput mockThresholdCalculatorOutput =
+                getMockThresholdCalculatorOutput(violatedThreshold);
+
+        tcaAlertsAbatementFlowlet.determineAbatementAlerts(mockThresholdCalculatorOutput);
+        verify(mockObjectMappedTable,
+                times(1)).write(any(String.class), any(TCAAlertsAbatementEntity.class));
+        verify(mockOutputEmitter, times(1)).emit(any(String.class));
+
+    }
+
+    @Test
+    public void testDetermineAbatementAlertsWhenControlLoopTypeIsABATEDAndPreviousAlertWasAlreadySent() throws
+            Exception {
+
+        final String testTCAAlertsAbatementTableName = "testTCAAlertsAbatementTableName";
+        final TestTCAVESAlertsAbatementFlowlet tcaAlertsAbatementFlowlet =
+                new TestTCAVESAlertsAbatementFlowlet("testTCAAlertsAbatementTableName");
+
+        final FlowletContext mockFlowletContext = mock(FlowletContext.class);
+        final ObjectMappedTable<TCAAlertsAbatementEntity> mockObjectMappedTable = mock(ObjectMappedTable.class);
+        when(mockFlowletContext.getDataset(eq(testTCAAlertsAbatementTableName))).thenReturn(mockObjectMappedTable);
+        tcaAlertsAbatementFlowlet.initialize(mockFlowletContext);
+
+        doNothing().when(mockObjectMappedTable).write(any(String.class), any(TCAAlertsAbatementEntity.class));
+        final TCAAlertsAbatementEntity tcaAlertsAbatementEntity = mock(TCAAlertsAbatementEntity.class);
+        when(mockObjectMappedTable.read(any(String.class))).thenReturn(tcaAlertsAbatementEntity);
+        final long time = new Date().getTime();
+        when(tcaAlertsAbatementEntity.getAbatementSentTS()).thenReturn(Long.toString(time));
+
+        final Threshold violatedThreshold = getViolatedThreshold(ControlLoopEventStatus.ABATED);
+        final ThresholdCalculatorOutput mockThresholdCalculatorOutput =
+                getMockThresholdCalculatorOutput(violatedThreshold);
+
+        tcaAlertsAbatementFlowlet.determineAbatementAlerts(mockThresholdCalculatorOutput);
+        verify(mockObjectMappedTable,
+                times(0)).write(any(String.class), any(TCAAlertsAbatementEntity.class));
+        verify(mockOutputEmitter, times(0)).emit(any(String.class));
+
+    }
+
+
+    @Test
+    public void testDetermineAbatementAlertsWhenControlLoopTypeIsABATEDAndNoPreviousONSETEventFound() throws
+            Exception {
+
+        final String testTCAAlertsAbatementTableName = "testTCAAlertsAbatementTableName";
+        final TestTCAVESAlertsAbatementFlowlet tcaAlertsAbatementFlowlet =
+                new TestTCAVESAlertsAbatementFlowlet("testTCAAlertsAbatementTableName");
+
+        final FlowletContext mockFlowletContext = mock(FlowletContext.class);
+        final ObjectMappedTable<TCAAlertsAbatementEntity> mockObjectMappedTable = mock(ObjectMappedTable.class);
+        when(mockFlowletContext.getDataset(eq(testTCAAlertsAbatementTableName))).thenReturn(mockObjectMappedTable);
+        tcaAlertsAbatementFlowlet.initialize(mockFlowletContext);
+
+        doNothing().when(mockObjectMappedTable).write(any(String.class), any(TCAAlertsAbatementEntity.class));
+        when(mockObjectMappedTable.read(any(String.class))).thenReturn(null);
+
+        final Threshold violatedThreshold = getViolatedThreshold(ControlLoopEventStatus.ABATED);
+        final ThresholdCalculatorOutput mockThresholdCalculatorOutput =
+                getMockThresholdCalculatorOutput(violatedThreshold);
+
+        tcaAlertsAbatementFlowlet.determineAbatementAlerts(mockThresholdCalculatorOutput);
+        verify(mockObjectMappedTable,
+                times(0)).write(any(String.class), any(TCAAlertsAbatementEntity.class));
+        verify(mockOutputEmitter, times(0)).emit(any(String.class));
+
+    }
+
+    @Test(expected = CDAPSettingsException.class)
+    public void testDetermineAbatementAlertsWhenControlLoopTypeIsNotOnsetOrAbated() throws
+            Exception {
+        final TestTCAVESAlertsAbatementFlowlet tcaAlertsAbatementFlowlet =
+                new TestTCAVESAlertsAbatementFlowlet("testTCAAlertsAbatementTableName");
+        final Threshold violatedThreshold = getViolatedThreshold(ControlLoopEventStatus.CONTINUE);
+        final ThresholdCalculatorOutput mockThresholdCalculatorOutput =
+                getMockThresholdCalculatorOutput(violatedThreshold);
+
+        tcaAlertsAbatementFlowlet.determineAbatementAlerts(mockThresholdCalculatorOutput);
+
+    }
+
+    private static Threshold getViolatedThreshold(final ControlLoopEventStatus controlLoopEventStatus) {
+        final Threshold violatedThreshold = Threshold.copy(metricsPerEventNames.get(0).getThresholds().get(0));
+        violatedThreshold.setClosedLoopEventStatus(controlLoopEventStatus);
+        return violatedThreshold;
+    }
+
+
+    private static ThresholdCalculatorOutput getMockThresholdCalculatorOutput(final Threshold violatedThreshold) throws
+            Exception {
+
+        final MetricsPerEventName violatedMetricsPerEventName =
+                MetricsPerEventName.copy(metricsPerEventNames.get(0));
+        violatedMetricsPerEventName.setThresholds(ImmutableList.of(violatedThreshold));
+        return getMockThresholdCalculatorOutput(
+                fromStream(CEF_MESSAGE_JSON_FILE_LOCATION),
+                fromStream(TCA_POLICY_JSON_FILE_LOCATION),
+                TCAUtils.writeValueAsString(violatedMetricsPerEventName),
+                fromStream(TCA_ALERT_JSON_FILE_LOCATION)
+        );
+    }
+
+
+    private static ThresholdCalculatorOutput getMockThresholdCalculatorOutput(final String cefMessage,
+                                                                              final String tcaPolicy,
+                                                                              final String violatedMetricsPerEventName,
+                                                                              final String alertMessage) {
+        final ThresholdCalculatorOutput thresholdCalculatorOutput = mock(ThresholdCalculatorOutput.class);
+        when(thresholdCalculatorOutput.getCefMessage()).thenReturn(cefMessage);
+        when(thresholdCalculatorOutput.getTcaPolicy()).thenReturn(tcaPolicy);
+        when(thresholdCalculatorOutput.getViolatedMetricsPerEventName()).thenReturn(violatedMetricsPerEventName);
+        when(thresholdCalculatorOutput.getAlertMessage()).thenReturn(alertMessage);
+        return thresholdCalculatorOutput;
+    }
+
+}
index b70234a..8e7884e 100644 (file)
@@ -29,6 +29,7 @@ import org.junit.Before;
 import org.junit.Test;
 import org.mockito.Mockito;
 import org.openecomp.dcae.apod.analytics.cdap.common.CDAPComponentsConstants;
+import org.openecomp.dcae.apod.analytics.cdap.common.domain.tca.ThresholdCalculatorOutput;
 import org.openecomp.dcae.apod.analytics.cdap.common.persistance.tca.TCAMessageStatusEntity;
 import org.openecomp.dcae.apod.analytics.cdap.tca.BaseAnalyticsCDAPTCAUnitTest;
 import org.openecomp.dcae.apod.analytics.cdap.tca.utils.CDAPTCAUtils;
@@ -119,16 +120,16 @@ public class TCAVESThresholdViolationCalculatorFlowletTest extends BaseAnalytics
         final FlowletContext flowletContext =
                 initializeFlowlet(thresholdViolationCalculatorFlowlet, vesMessageStatusTable);
         final TCAPolicy policy = CDAPTCAUtils.getValidatedTCAPolicyPreferences(flowletContext);
-        final Threshold threshold = policy.getMetricsPerFunctionalRole().get(0).getThresholds().get(0);
+        final Threshold threshold = policy.getMetricsPerEventName().get(0).getThresholds().get(0);
         final Long thresholdValue = threshold.getThresholdValue();
         final EventListener thresholdViolatingMessage = getCEFEventListener();
-        thresholdViolatingMessage.getEvent().getMeasurementsForVfScalingFields().getVNicUsageArray().get(0).setBytesIn
-                (thresholdValue - 1);
+        thresholdViolatingMessage.getEvent().getMeasurementsForVfScalingFields().getVNicPerformanceArray().
+                get(0).setReceivedBroadcastPacketsAccumulated(thresholdValue - 1);
         thresholdViolationCalculatorFlowlet.filterVESMessages(
                 ANALYTICS_MODEL_OBJECT_MAPPER.writeValueAsString(thresholdViolatingMessage));
         verify(vesMessageStatusTable, times(1)).write(anyString(),
                 any(TCAMessageStatusEntity.class));
-        verify(outputEmitter, times(1)).emit(anyString());
+        verify(outputEmitter, times(1)).emit(any(ThresholdCalculatorOutput.class));
     }
 
     private static TCATestVESThresholdViolationCalculatorFlowlet createTestViolationCalculator(
@@ -142,11 +143,12 @@ public class TCAVESThresholdViolationCalculatorFlowletTest extends BaseAnalytics
     }
 
     private static <T extends TCAVESThresholdViolationCalculatorFlowlet> FlowletContext initializeFlowlet(
-            T calculatorFlowlet, ObjectMappedTable<TCAMessageStatusEntity> vesMessageStatusTable) {
+            T calculatorFlowlet, ObjectMappedTable<TCAMessageStatusEntity> vesMessageStatusTable) throws Exception {
         final FlowletContext mockFlowletContext = getTestFlowletContextWithValidPolicy();
         when(mockFlowletContext.getDataset(anyString())).thenReturn(vesMessageStatusTable);
         when(mockFlowletContext.getInstanceId()).thenReturn(1);
         ApplicationSpecification mockApplicationSpecification = Mockito.mock(ApplicationSpecification.class);
+        when(mockApplicationSpecification.getConfiguration()).thenReturn(fromStream(TCA_APP_CONFIG_FILE_LOCATION));
         when(mockFlowletContext.getApplicationSpecification()).thenReturn(mockApplicationSpecification);
         when(mockApplicationSpecification.getName()).thenReturn("TestTCAAppName");
         try {
index 75f336d..e9a0284 100644 (file)
@@ -21,7 +21,9 @@
 package org.openecomp.dcae.apod.analytics.cdap.tca.utils;
 
 import co.cask.cdap.api.RuntimeContext;
+import co.cask.cdap.api.app.ApplicationSpecification;
 import org.junit.Test;
+import org.mockito.Mockito;
 import org.openecomp.dcae.apod.analytics.cdap.tca.BaseAnalyticsCDAPTCAUnitTest;
 import org.openecomp.dcae.apod.analytics.cdap.tca.settings.TCAAppPreferences;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;
@@ -41,8 +43,11 @@ public class CDAPTCAUtilsTest extends BaseAnalyticsCDAPTCAUnitTest {
     public void testGetValidatedTCAAppPreferences() throws Exception {
         RuntimeContext runtimeContext = mock(RuntimeContext.class);
         when(runtimeContext.getRuntimeArguments()).thenReturn(getPreferenceMap());
+        ApplicationSpecification mockApplicationSpecification = Mockito.mock(ApplicationSpecification.class);
+        when(mockApplicationSpecification.getConfiguration()).thenReturn(fromStream(TCA_APP_CONFIG_FILE_LOCATION));
+        when(runtimeContext.getApplicationSpecification()).thenReturn(mockApplicationSpecification);
         TCAAppPreferences validatedTCAAppPreferences = CDAPTCAUtils.getValidatedTCAAppPreferences(runtimeContext);
-        assertEquals(validatedTCAAppPreferences.getSubscriberHostName(), "mrlocal-mtnjftle01.homer.com");
+        assertEquals(validatedTCAAppPreferences.getSubscriberHostName(), "HOSTNAME");
     }
 
     @Test
@@ -53,7 +58,7 @@ public class CDAPTCAUtilsTest extends BaseAnalyticsCDAPTCAUnitTest {
         assertThat("Policy Domain must be measurementsForVfScaling",
                 tcaPolicy.getDomain(), is("measurementsForVfScaling"));
         assertThat("Policy must have 2 metrics per functional roles",
-                tcaPolicy.getMetricsPerFunctionalRole().size(), is(2));
+                tcaPolicy.getMetricsPerEventName().size(), is(2));
     }
 
     @Test
@@ -64,7 +69,7 @@ public class CDAPTCAUtilsTest extends BaseAnalyticsCDAPTCAUnitTest {
         assertThat("Policy Domain must be measurementsForVfScaling",
                 tcaPolicy.getDomain(), is("measurementsForVfScaling"));
         assertThat("Policy must have 2 metrics per functional roles",
-                tcaPolicy.getMetricsPerFunctionalRole().size(), is(2));
+                tcaPolicy.getMetricsPerEventName().size(), is(2));
     }
 
 }
index bfe288f..947ed0f 100644 (file)
@@ -25,7 +25,7 @@ import org.junit.Test;
 import org.openecomp.dcae.apod.analytics.cdap.tca.BaseAnalyticsCDAPTCAUnitTest;
 import org.openecomp.dcae.apod.analytics.cdap.tca.settings.TCAPolicyPreferences;
 import org.openecomp.dcae.apod.analytics.common.validation.GenericValidationResponse;
-import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerFunctionalRole;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
 
 import java.util.Collections;
@@ -57,7 +57,7 @@ public class TCAPolicyPreferencesValidatorTest extends BaseAnalyticsCDAPTCAUnitT
     @Test
     public void testValidateAppSettingsWhenDomainIsNullAndFunctionRoleIsEmpty() throws Exception {
         tcaPolicyPreferences.setDomain(null);
-        tcaPolicyPreferences.setMetricsPerFunctionalRole(Collections.<MetricsPerFunctionalRole>emptyList());
+        tcaPolicyPreferences.setMetricsPerEventName(Collections.<MetricsPerEventName>emptyList());
         final GenericValidationResponse<TCAPolicyPreferences> validationResponse =
                 tcaPolicyPreferencesValidator.validateAppSettings(tcaPolicyPreferences);
         assertTrue(validationResponse.hasErrors());
@@ -66,7 +66,7 @@ public class TCAPolicyPreferencesValidatorTest extends BaseAnalyticsCDAPTCAUnitT
 
     @Test
     public void testValidateAppSettingsWhenThresholdIsEmpty() throws Exception {
-        tcaPolicyPreferences.getMetricsPerFunctionalRole().get(0).setThresholds(Collections.<Threshold>emptyList());
+        tcaPolicyPreferences.getMetricsPerEventName().get(0).setThresholds(Collections.<Threshold>emptyList());
         final GenericValidationResponse<TCAPolicyPreferences> validationResponse =
                 tcaPolicyPreferencesValidator.validateAppSettings(tcaPolicyPreferences);
         assertTrue(validationResponse.hasErrors());
@@ -75,7 +75,7 @@ public class TCAPolicyPreferencesValidatorTest extends BaseAnalyticsCDAPTCAUnitT
 
     @Test
     public void testValidateAppSettingsWhenThresholdPathIsMissing() throws Exception {
-        tcaPolicyPreferences.getMetricsPerFunctionalRole().get(0).getThresholds().get(0).setFieldPath(null);
+        tcaPolicyPreferences.getMetricsPerEventName().get(0).getThresholds().get(0).setFieldPath(null);
         final GenericValidationResponse<TCAPolicyPreferences> validationResponse =
                 tcaPolicyPreferencesValidator.validateAppSettings(tcaPolicyPreferences);
         assertTrue(validationResponse.hasErrors());
index f2eeef8..2324b38 100644 (file)
 
 package org.openecomp.dcae.apod.analytics.cdap.tca.worker;
 
+import co.cask.cdap.api.app.ApplicationSpecification;
 import co.cask.cdap.api.worker.WorkerConfigurer;
 import co.cask.cdap.api.worker.WorkerContext;
 import org.junit.Before;
 import org.junit.Test;
+import org.mockito.Mockito;
 import org.openecomp.dcae.apod.analytics.cdap.common.CDAPComponentsConstants;
 import org.openecomp.dcae.apod.analytics.cdap.common.exception.CDAPSettingsException;
 import org.openecomp.dcae.apod.analytics.cdap.tca.BaseAnalyticsCDAPTCAUnitTest;
@@ -46,6 +48,7 @@ public class TCADMaaPPublisherWorkerTest extends BaseAnalyticsCDAPTCAUnitTest {
     private WorkerConfigurer workerConfigurer;
     private WorkerContext workerContext;
     private TCADMaaPPublisherWorker publisherWorker;
+    private ApplicationSpecification mockApplicationSpecification;
 
     @Before
     public void before() throws Exception {
@@ -53,6 +56,8 @@ public class TCADMaaPPublisherWorkerTest extends BaseAnalyticsCDAPTCAUnitTest {
         workerContext = mock(WorkerContext.class);
         doNothing().when(workerConfigurer).setName(anyString());
         doNothing().when(workerConfigurer).setDescription(anyString());
+        mockApplicationSpecification = Mockito.mock(ApplicationSpecification.class);
+        when(workerContext.getApplicationSpecification()).thenReturn(mockApplicationSpecification);
         publisherWorker = new TCADMaaPPublisherWorker(VES_ALERTS_TABLE_NAME);
 
     }
@@ -68,12 +73,14 @@ public class TCADMaaPPublisherWorkerTest extends BaseAnalyticsCDAPTCAUnitTest {
 
     @Test(expected = CDAPSettingsException.class)
     public void testInitializeWhenSettingsHaveErrors() throws Exception {
+        when(mockApplicationSpecification.getConfiguration()).thenReturn("{}");
         publisherWorker.initialize(workerContext);
     }
 
     @Test
     public void testInitializeWhenSettingsAreValid() throws Exception {
         when(workerContext.getRuntimeArguments()).thenReturn(getPreferenceMap());
+        when(mockApplicationSpecification.getConfiguration()).thenReturn(fromStream(TCA_APP_CONFIG_FILE_LOCATION));
         publisherWorker.initialize(workerContext);
     }
 
index d74669b..e5b1f9a 100644 (file)
 
 package org.openecomp.dcae.apod.analytics.cdap.tca.worker;
 
+import co.cask.cdap.api.app.ApplicationSpecification;
 import co.cask.cdap.api.worker.WorkerConfigurer;
 import co.cask.cdap.api.worker.WorkerContext;
 import org.junit.Before;
 import org.junit.Test;
+import org.mockito.Mockito;
 import org.openecomp.dcae.apod.analytics.cdap.common.CDAPComponentsConstants;
 import org.openecomp.dcae.apod.analytics.cdap.common.exception.CDAPSettingsException;
 import org.openecomp.dcae.apod.analytics.cdap.tca.BaseAnalyticsCDAPTCAUnitTest;
@@ -46,11 +48,14 @@ public class TCADMaaPSubscriberWorkerTest extends BaseAnalyticsCDAPTCAUnitTest {
     private WorkerConfigurer workerConfigurer;
     private WorkerContext workerContext;
     private TCADMaaPSubscriberWorker subscriberWorker;
+    private ApplicationSpecification mockApplicationSpecification;
 
     @Before
     public void before() throws Exception {
         workerConfigurer = mock(WorkerConfigurer.class);
         workerContext = mock(WorkerContext.class);
+        mockApplicationSpecification = Mockito.mock(ApplicationSpecification.class);
+        when(workerContext.getApplicationSpecification()).thenReturn(mockApplicationSpecification);
         doNothing().when(workerConfigurer).setName(anyString());
         doNothing().when(workerConfigurer).setDescription(anyString());
         subscriberWorker =
@@ -69,12 +74,14 @@ public class TCADMaaPSubscriberWorkerTest extends BaseAnalyticsCDAPTCAUnitTest {
 
     @Test(expected = CDAPSettingsException.class)
     public void testInitializeWhenSettingsHaveErrors() throws Exception {
+        when(mockApplicationSpecification.getConfiguration()).thenReturn("{}");
         subscriberWorker.initialize(workerContext);
     }
 
     @Test
     public void testInitializeWhenSettingsAreValid() throws Exception {
         when(workerContext.getRuntimeArguments()).thenReturn(getPreferenceMap());
+        when(mockApplicationSpecification.getConfiguration()).thenReturn(fromStream(TCA_APP_CONFIG_FILE_LOCATION));
         subscriberWorker.initialize(workerContext);
     }
 
diff --git a/dcae-analytics-cdap-tca/src/test/resources/data/json/cef/cef_message.json b/dcae-analytics-cdap-tca/src/test/resources/data/json/cef/cef_message.json
deleted file mode 100644 (file)
index 52cf53b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-{
-  "event": {
-    "measurementsForVfScalingFields": {
-      "measurementInterval": 10,
-      "measurementsForVfScalingVersion": 1.1,
-      "vNicUsageArray": [
-        {
-          "bytesIn": 6086,
-          "multicastPacketsIn": 0,
-          "multicastPacketsOut": 0,
-          "unicastPacketsIn": 0,
-          "broadcastPacketsOut": 0,
-          "packetsOut": 42,
-          "bytesOut": 7156,
-          "packetsIn": 93,
-          "broadcastPacketsIn": 0,
-          "vNicIdentifier": "eth0",
-          "unicastPacketsOut": 0
-        }
-      ]
-    },
-    "commonEventHeader": {
-      "reportingEntityName": "vpp-test",
-      "startEpochMicrosec": 1477070210290442,
-      "eventId": "375",
-      "lastEpochMicrosec": 1477070220290442,
-      "priority": "Normal",
-      "sequence": 375,
-      "sourceName": "Dummy VM name - No Metadata available",
-      "domain": "measurementsForVfScaling",
-      "functionalRole": "vFirewall",
-      "reportingEntityId": "No UUID available",
-      "version": 1.1,
-      "sourceId": "Dummy VM UUID - No Metadata available"
-    }
-  }
-}
diff --git a/dcae-analytics-cdap-tca/src/test/resources/data/json/cef/cef_message_with_threshold_violation.json b/dcae-analytics-cdap-tca/src/test/resources/data/json/cef/cef_message_with_threshold_violation.json
deleted file mode 100644 (file)
index bfb1672..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-{
-  "event": {
-    "measurementsForVfScalingFields": {
-      "measurementInterval": 10,
-      "measurementsForVfScalingVersion": 1.1,
-      "vNicUsageArray": [
-        {
-          "bytesIn": 20000,
-          "multicastPacketsIn": 0,
-          "multicastPacketsOut": 0,
-          "unicastPacketsIn": 0,
-          "broadcastPacketsOut": 0,
-          "packetsOut": 42,
-          "bytesOut": 7156,
-          "packetsIn": 93,
-          "broadcastPacketsIn": 0,
-          "vNicIdentifier": "eth0",
-          "unicastPacketsOut": 0
-        }
-      ]
-    },
-    "commonEventHeader": {
-      "reportingEntityName": "vpp-test",
-      "startEpochMicrosec": 1477070210290442,
-      "eventId": "375",
-      "lastEpochMicrosec": 1477070220290442,
-      "priority": "Normal",
-      "sequence": 375,
-      "sourceName": "Dummy VM name - No Metadata available",
-      "domain": "measurementsForVfScaling",
-      "functionalRole": "vFirewall",
-      "reportingEntityId": "No UUID available",
-      "version": 1.1,
-      "sourceId": "Dummy VM UUID - No Metadata available"
-    }
-  }
-}
diff --git a/dcae-analytics-cdap-tca/src/test/resources/data/json/cef/cef_messages.json b/dcae-analytics-cdap-tca/src/test/resources/data/json/cef/cef_messages.json
deleted file mode 100644 (file)
index bc7a924..0000000
+++ /dev/null
@@ -1,12952 +0,0 @@
-[
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6086,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 93,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070210290442,
-        "eventId": "375",
-        "lastEpochMicrosec": 1477070220290442,
-        "priority": "Normal",
-        "sequence": 375,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5403,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4530,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070260383311,
-        "eventId": "380",
-        "lastEpochMicrosec": 1477070270383311,
-        "priority": "Normal",
-        "sequence": 380,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3972,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070290441950,
-        "eventId": "383",
-        "lastEpochMicrosec": 1477070300441950,
-        "priority": "Normal",
-        "sequence": 383,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4761,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5528,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070380597960,
-        "eventId": "392",
-        "lastEpochMicrosec": 1477070390597960,
-        "priority": "Normal",
-        "sequence": 392,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5828,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5222,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070390615151,
-        "eventId": "393",
-        "lastEpochMicrosec": 1477070400615151,
-        "priority": "Normal",
-        "sequence": 393,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3834,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4334,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070701189940,
-        "eventId": "424",
-        "lastEpochMicrosec": 1477070711189940,
-        "priority": "Normal",
-        "sequence": 424,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3892,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4400,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070851466814,
-        "eventId": "439",
-        "lastEpochMicrosec": 1477070861466814,
-        "priority": "Normal",
-        "sequence": 439,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5948,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5215,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070931613946,
-        "eventId": "447",
-        "lastEpochMicrosec": 1477070941613946,
-        "priority": "Normal",
-        "sequence": 447,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4324,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5436,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070971689950,
-        "eventId": "451",
-        "lastEpochMicrosec": 1477070981689950,
-        "priority": "Normal",
-        "sequence": 451,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5918,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5668,
-            "packetsIn": 91,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070991724150,
-        "eventId": "453",
-        "lastEpochMicrosec": 1477071001724150,
-        "priority": "Normal",
-        "sequence": 453,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4200,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5192,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071081905713,
-        "eventId": "462",
-        "lastEpochMicrosec": 1477071091905713,
-        "priority": "Normal",
-        "sequence": 462,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4490,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 5920,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071262221510,
-        "eventId": "480",
-        "lastEpochMicrosec": 1477071272221510,
-        "priority": "Normal",
-        "sequence": 480,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 25940,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 157,
-            "bytesOut": 27474,
-            "packetsIn": 303,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071412476618,
-        "eventId": "495",
-        "lastEpochMicrosec": 1477071422476618,
-        "priority": "Normal",
-        "sequence": 495,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7160,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 112,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071532712315,
-        "eventId": "507",
-        "lastEpochMicrosec": 1477071542712315,
-        "priority": "Normal",
-        "sequence": 507,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5563,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4192,
-            "packetsIn": 81,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071582806156,
-        "eventId": "512",
-        "lastEpochMicrosec": 1477071592806156,
-        "priority": "Normal",
-        "sequence": 512,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4988,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5218,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071592825964,
-        "eventId": "513",
-        "lastEpochMicrosec": 1477071602825964,
-        "priority": "Normal",
-        "sequence": 513,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 9123,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 53,
-            "bytesOut": 8412,
-            "packetsIn": 127,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071642920935,
-        "eventId": "518",
-        "lastEpochMicrosec": 1477071652920935,
-        "priority": "Normal",
-        "sequence": 518,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 18442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 112,
-            "bytesOut": 19404,
-            "packetsIn": 218,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071733101176,
-        "eventId": "527",
-        "lastEpochMicrosec": 1477071743101176,
-        "priority": "Normal",
-        "sequence": 527,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5216,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5130,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071743125902,
-        "eventId": "528",
-        "lastEpochMicrosec": 1477071753125902,
-        "priority": "Normal",
-        "sequence": 528,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5870,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6716,
-            "packetsIn": 91,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071903446337,
-        "eventId": "544",
-        "lastEpochMicrosec": 1477071913446337,
-        "priority": "Normal",
-        "sequence": 544,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 35138,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 220,
-            "bytesOut": 47818,
-            "packetsIn": 407,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071953549981,
-        "eventId": "549",
-        "lastEpochMicrosec": 1477071963549981,
-        "priority": "Normal",
-        "sequence": 549,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 63510,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 398,
-            "bytesOut": 71038,
-            "packetsIn": 703,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071963565170,
-        "eventId": "550",
-        "lastEpochMicrosec": 1477071973565170,
-        "priority": "Normal",
-        "sequence": 550,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4250,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5060,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072103847337,
-        "eventId": "564",
-        "lastEpochMicrosec": 1477072113847337,
-        "priority": "Normal",
-        "sequence": 564,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3344,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4138,
-            "packetsIn": 49,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072163977616,
-        "eventId": "570",
-        "lastEpochMicrosec": 1477072173977616,
-        "priority": "Normal",
-        "sequence": 570,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4190,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5032,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072194037594,
-        "eventId": "573",
-        "lastEpochMicrosec": 1477072204037594,
-        "priority": "Normal",
-        "sequence": 573,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4102,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072234105966,
-        "eventId": "577",
-        "lastEpochMicrosec": 1477072244105966,
-        "priority": "Normal",
-        "sequence": 577,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4040,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5410,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072284197410,
-        "eventId": "582",
-        "lastEpochMicrosec": 1477072294197410,
-        "priority": "Normal",
-        "sequence": 582,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4348,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5556,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072294217952,
-        "eventId": "583",
-        "lastEpochMicrosec": 1477072304217952,
-        "priority": "Normal",
-        "sequence": 583,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4820,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5402,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072354321794,
-        "eventId": "589",
-        "lastEpochMicrosec": 1477072364321794,
-        "priority": "Normal",
-        "sequence": 589,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5006,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 73,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072454499759,
-        "eventId": "599",
-        "lastEpochMicrosec": 1477072464499759,
-        "priority": "Normal",
-        "sequence": 599,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4964,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5834,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072494602015,
-        "eventId": "603",
-        "lastEpochMicrosec": 1477072504602015,
-        "priority": "Normal",
-        "sequence": 603,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5330,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7420,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072634866475,
-        "eventId": "617",
-        "lastEpochMicrosec": 1477072644866475,
-        "priority": "Normal",
-        "sequence": 617,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5330,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7420,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072745069203,
-        "eventId": "628",
-        "lastEpochMicrosec": 1477072755069203,
-        "priority": "Normal",
-        "sequence": 628,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 263112,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 1165,
-            "bytesOut": 337182,
-            "packetsIn": 2570,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072805174346,
-        "eventId": "634",
-        "lastEpochMicrosec": 1477072815174346,
-        "priority": "Normal",
-        "sequence": 634,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 11212,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4232,
-            "packetsIn": 176,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072835250994,
-        "eventId": "637",
-        "lastEpochMicrosec": 1477072845250994,
-        "priority": "Normal",
-        "sequence": 637,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6375,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5516,
-            "packetsIn": 94,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072845276414,
-        "eventId": "638",
-        "lastEpochMicrosec": 1477072855276414,
-        "priority": "Normal",
-        "sequence": 638,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3492,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5252,
-            "packetsIn": 50,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072995553968,
-        "eventId": "653",
-        "lastEpochMicrosec": 1477073005553968,
-        "priority": "Normal",
-        "sequence": 653,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4256,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5407,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073095741898,
-        "eventId": "663",
-        "lastEpochMicrosec": 1477073105741898,
-        "priority": "Normal",
-        "sequence": 663,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4280,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4866,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073195929121,
-        "eventId": "673",
-        "lastEpochMicrosec": 1477073205929121,
-        "priority": "Normal",
-        "sequence": 673,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4076,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5126,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073286097936,
-        "eventId": "682",
-        "lastEpochMicrosec": 1477073296097936,
-        "priority": "Normal",
-        "sequence": 682,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5054,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6600,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073366234417,
-        "eventId": "690",
-        "lastEpochMicrosec": 1477073376234417,
-        "priority": "Normal",
-        "sequence": 690,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5186,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7220,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073426339606,
-        "eventId": "696",
-        "lastEpochMicrosec": 1477073436339606,
-        "priority": "Normal",
-        "sequence": 696,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4568,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6606,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073556577962,
-        "eventId": "709",
-        "lastEpochMicrosec": 1477073566577962,
-        "priority": "Normal",
-        "sequence": 709,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4472,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5630,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073606669965,
-        "eventId": "714",
-        "lastEpochMicrosec": 1477073616669965,
-        "priority": "Normal",
-        "sequence": 714,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3554,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5192,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073666794004,
-        "eventId": "720",
-        "lastEpochMicrosec": 1477073676794004,
-        "priority": "Normal",
-        "sequence": 720,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4682,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6540,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070300458069,
-        "eventId": "384",
-        "lastEpochMicrosec": 1477070310458069,
-        "priority": "Normal",
-        "sequence": 384,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4470,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7250,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070350545310,
-        "eventId": "389",
-        "lastEpochMicrosec": 1477070360545310,
-        "priority": "Normal",
-        "sequence": 389,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5864,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7318,
-            "packetsIn": 88,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070450716636,
-        "eventId": "399",
-        "lastEpochMicrosec": 1477070460716636,
-        "priority": "Normal",
-        "sequence": 399,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3558,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5362,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070470756168,
-        "eventId": "401",
-        "lastEpochMicrosec": 1477070480756168,
-        "priority": "Normal",
-        "sequence": 401,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5022,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7382,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070530883239,
-        "eventId": "407",
-        "lastEpochMicrosec": 1477070540883239,
-        "priority": "Normal",
-        "sequence": 407,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4816,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5344,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070611026436,
-        "eventId": "415",
-        "lastEpochMicrosec": 1477070621026436,
-        "priority": "Normal",
-        "sequence": 415,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8898,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 63,
-            "bytesOut": 9201,
-            "packetsIn": 113,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070831428780,
-        "eventId": "437",
-        "lastEpochMicrosec": 1477070841428780,
-        "priority": "Normal",
-        "sequence": 437,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3836,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4162,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070941633936,
-        "eventId": "448",
-        "lastEpochMicrosec": 1477070951633936,
-        "priority": "Normal",
-        "sequence": 448,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3248,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4546,
-            "packetsIn": 47,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071071883807,
-        "eventId": "461",
-        "lastEpochMicrosec": 1477071081883807,
-        "priority": "Normal",
-        "sequence": 461,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5006,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5286,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071172066272,
-        "eventId": "471",
-        "lastEpochMicrosec": 1477071182066272,
-        "priority": "Normal",
-        "sequence": 471,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5438,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 6084,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071182086282,
-        "eventId": "472",
-        "lastEpochMicrosec": 1477071192086282,
-        "priority": "Normal",
-        "sequence": 472,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 14114,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 92,
-            "bytesOut": 16060,
-            "packetsIn": 172,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071382426114,
-        "eventId": "492",
-        "lastEpochMicrosec": 1477071392426114,
-        "priority": "Normal",
-        "sequence": 492,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5617,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5427,
-            "packetsIn": 86,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071542733962,
-        "eventId": "508",
-        "lastEpochMicrosec": 1477071552733962,
-        "priority": "Normal",
-        "sequence": 508,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4448,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4538,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071682993575,
-        "eventId": "522",
-        "lastEpochMicrosec": 1477071692993575,
-        "priority": "Normal",
-        "sequence": 522,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6113,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5298,
-            "packetsIn": 87,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071703031027,
-        "eventId": "524",
-        "lastEpochMicrosec": 1477071713031027,
-        "priority": "Normal",
-        "sequence": 524,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5542,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5434,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071813273088,
-        "eventId": "535",
-        "lastEpochMicrosec": 1477071823273088,
-        "priority": "Normal",
-        "sequence": 535,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 34574,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 214,
-            "bytesOut": 47040,
-            "packetsIn": 395,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072023686281,
-        "eventId": "556",
-        "lastEpochMicrosec": 1477072033686281,
-        "priority": "Normal",
-        "sequence": 556,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 2798,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4028,
-            "packetsIn": 40,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072093829958,
-        "eventId": "563",
-        "lastEpochMicrosec": 1477072103829958,
-        "priority": "Normal",
-        "sequence": 563,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3446,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5536,
-            "packetsIn": 50,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072153957985,
-        "eventId": "569",
-        "lastEpochMicrosec": 1477072163957985,
-        "priority": "Normal",
-        "sequence": 569,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4190,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6760,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072204053021,
-        "eventId": "574",
-        "lastEpochMicrosec": 1477072214053021,
-        "priority": "Normal",
-        "sequence": 574,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5939,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4522,
-            "packetsIn": 85,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072244123508,
-        "eventId": "578",
-        "lastEpochMicrosec": 1477072254123508,
-        "priority": "Normal",
-        "sequence": 578,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4022,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4584,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072464518421,
-        "eventId": "600",
-        "lastEpochMicrosec": 1477072474518421,
-        "priority": "Normal",
-        "sequence": 600,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3692,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 21,
-            "bytesOut": 3918,
-            "packetsIn": 47,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072654900903,
-        "eventId": "619",
-        "lastEpochMicrosec": 1477072664900903,
-        "priority": "Normal",
-        "sequence": 619,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5006,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5728,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072704996775,
-        "eventId": "624",
-        "lastEpochMicrosec": 1477072714996775,
-        "priority": "Normal",
-        "sequence": 624,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3836,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 5036,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072925428340,
-        "eventId": "646",
-        "lastEpochMicrosec": 1477072935428340,
-        "priority": "Normal",
-        "sequence": 646,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4040,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5382,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072985535172,
-        "eventId": "652",
-        "lastEpochMicrosec": 1477072995535172,
-        "priority": "Normal",
-        "sequence": 652,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4694,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073075701224,
-        "eventId": "661",
-        "lastEpochMicrosec": 1477073085701224,
-        "priority": "Normal",
-        "sequence": 661,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5066,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7120,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073105759457,
-        "eventId": "664",
-        "lastEpochMicrosec": 1477073115759457,
-        "priority": "Normal",
-        "sequence": 664,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5510,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7421,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073155858608,
-        "eventId": "669",
-        "lastEpochMicrosec": 1477073165858608,
-        "priority": "Normal",
-        "sequence": 669,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4146,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073416320492,
-        "eventId": "695",
-        "lastEpochMicrosec": 1477073426320492,
-        "priority": "Normal",
-        "sequence": 695,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5610,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7392,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073436360527,
-        "eventId": "697",
-        "lastEpochMicrosec": 1477073446360527,
-        "priority": "Normal",
-        "sequence": 697,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6777,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5276,
-            "packetsIn": 101,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073506489807,
-        "eventId": "704",
-        "lastEpochMicrosec": 1477073516489807,
-        "priority": "Normal",
-        "sequence": 704,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4898,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 6005,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073516505974,
-        "eventId": "705",
-        "lastEpochMicrosec": 1477073526505974,
-        "priority": "Normal",
-        "sequence": 705,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3902,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5120,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073656765261,
-        "eventId": "719",
-        "lastEpochMicrosec": 1477073666765261,
-        "priority": "Normal",
-        "sequence": 719,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7185,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6488,
-            "packetsIn": 108,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073686831588,
-        "eventId": "722",
-        "lastEpochMicrosec": 1477073696831588,
-        "priority": "Normal",
-        "sequence": 722,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4778,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5084,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070240346627,
-        "eventId": "378",
-        "lastEpochMicrosec": 1477070250346627,
-        "priority": "Normal",
-        "sequence": 378,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5318,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4864,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070270398947,
-        "eventId": "381",
-        "lastEpochMicrosec": 1477070280398947,
-        "priority": "Normal",
-        "sequence": 381,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5079,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5266,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070440700538,
-        "eventId": "398",
-        "lastEpochMicrosec": 1477070450700538,
-        "priority": "Normal",
-        "sequence": 398,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3866,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 3980,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070601009676,
-        "eventId": "414",
-        "lastEpochMicrosec": 1477070611009676,
-        "priority": "Normal",
-        "sequence": 414,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 10154,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7884,
-            "packetsIn": 99,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070751281687,
-        "eventId": "429",
-        "lastEpochMicrosec": 1477070761281687,
-        "priority": "Normal",
-        "sequence": 429,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7970,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5427,
-            "packetsIn": 128,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070781332864,
-        "eventId": "432",
-        "lastEpochMicrosec": 1477070791332864,
-        "priority": "Normal",
-        "sequence": 432,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6052,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7480,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070891536182,
-        "eventId": "443",
-        "lastEpochMicrosec": 1477070901536182,
-        "priority": "Normal",
-        "sequence": 443,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5080,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7288,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071031806592,
-        "eventId": "457",
-        "lastEpochMicrosec": 1477071041806592,
-        "priority": "Normal",
-        "sequence": 457,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4777,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4122,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071041825555,
-        "eventId": "458",
-        "lastEpochMicrosec": 1477071051825555,
-        "priority": "Normal",
-        "sequence": 458,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4736,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4302,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071111957977,
-        "eventId": "465",
-        "lastEpochMicrosec": 1477071121957977,
-        "priority": "Normal",
-        "sequence": 465,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6283,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5272,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071162050981,
-        "eventId": "470",
-        "lastEpochMicrosec": 1477071172050981,
-        "priority": "Normal",
-        "sequence": 470,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5010,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7250,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071192103048,
-        "eventId": "473",
-        "lastEpochMicrosec": 1477071202103048,
-        "priority": "Normal",
-        "sequence": 473,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3360,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5112,
-            "packetsIn": 48,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071252204852,
-        "eventId": "479",
-        "lastEpochMicrosec": 1477071262204852,
-        "priority": "Normal",
-        "sequence": 479,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3912,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5324,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071312304729,
-        "eventId": "485",
-        "lastEpochMicrosec": 1477071322304729,
-        "priority": "Normal",
-        "sequence": 485,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4568,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5294,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071352377904,
-        "eventId": "489",
-        "lastEpochMicrosec": 1477071362377904,
-        "priority": "Normal",
-        "sequence": 489,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 26549,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 158,
-            "bytesOut": 28258,
-            "packetsIn": 311,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071402460522,
-        "eventId": "494",
-        "lastEpochMicrosec": 1477071412460522,
-        "priority": "Normal",
-        "sequence": 494,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5329,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4270,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071462573938,
-        "eventId": "500",
-        "lastEpochMicrosec": 1477071472573938,
-        "priority": "Normal",
-        "sequence": 500,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6232,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7420,
-            "packetsIn": 86,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071572787941,
-        "eventId": "511",
-        "lastEpochMicrosec": 1477071582787941,
-        "priority": "Normal",
-        "sequence": 511,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4532,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 20,
-            "bytesOut": 3809,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071662956095,
-        "eventId": "520",
-        "lastEpochMicrosec": 1477071672956095,
-        "priority": "Normal",
-        "sequence": 520,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4520,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5490,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071672977950,
-        "eventId": "521",
-        "lastEpochMicrosec": 1477071682977950,
-        "priority": "Normal",
-        "sequence": 521,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5002,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4734,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071693013688,
-        "eventId": "523",
-        "lastEpochMicrosec": 1477071703013688,
-        "priority": "Normal",
-        "sequence": 523,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5516,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 5023,
-            "packetsIn": 85,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071893429573,
-        "eventId": "543",
-        "lastEpochMicrosec": 1477071903429573,
-        "priority": "Normal",
-        "sequence": 543,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 18644,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 120,
-            "bytesOut": 20884,
-            "packetsIn": 230,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071923478914,
-        "eventId": "546",
-        "lastEpochMicrosec": 1477071933478914,
-        "priority": "Normal",
-        "sequence": 546,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4914,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5640,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071983602387,
-        "eventId": "552",
-        "lastEpochMicrosec": 1477071993602387,
-        "priority": "Normal",
-        "sequence": 552,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8506,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 60,
-            "bytesOut": 11100,
-            "packetsIn": 110,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071993632316,
-        "eventId": "553",
-        "lastEpochMicrosec": 1477072003632316,
-        "priority": "Normal",
-        "sequence": 553,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 17750,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 120,
-            "bytesOut": 25832,
-            "packetsIn": 215,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072043723108,
-        "eventId": "558",
-        "lastEpochMicrosec": 1477072053723108,
-        "priority": "Normal",
-        "sequence": 558,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4592,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5504,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072143938037,
-        "eventId": "568",
-        "lastEpochMicrosec": 1477072153938037,
-        "priority": "Normal",
-        "sequence": 568,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8125,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 55,
-            "bytesOut": 8060,
-            "packetsIn": 119,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072364341906,
-        "eventId": "590",
-        "lastEpochMicrosec": 1477072374341906,
-        "priority": "Normal",
-        "sequence": 590,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4136,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5851,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072374359351,
-        "eventId": "591",
-        "lastEpochMicrosec": 1477072384359351,
-        "priority": "Normal",
-        "sequence": 591,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4388,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5206,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072474537911,
-        "eventId": "601",
-        "lastEpochMicrosec": 1477072484537911,
-        "priority": "Normal",
-        "sequence": 601,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5228,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6932,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072534679739,
-        "eventId": "607",
-        "lastEpochMicrosec": 1477072544679739,
-        "priority": "Normal",
-        "sequence": 607,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3836,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5018,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072574755001,
-        "eventId": "611",
-        "lastEpochMicrosec": 1477072584755001,
-        "priority": "Normal",
-        "sequence": 611,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6919,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5628,
-            "packetsIn": 104,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072725036569,
-        "eventId": "626",
-        "lastEpochMicrosec": 1477072735036569,
-        "priority": "Normal",
-        "sequence": 626,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6892,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072855292945,
-        "eventId": "639",
-        "lastEpochMicrosec": 1477072865292945,
-        "priority": "Normal",
-        "sequence": 639,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6909,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 6802,
-            "packetsIn": 102,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072905381152,
-        "eventId": "644",
-        "lastEpochMicrosec": 1477072915381152,
-        "priority": "Normal",
-        "sequence": 644,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4826,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072945465009,
-        "eventId": "648",
-        "lastEpochMicrosec": 1477072955465009,
-        "priority": "Normal",
-        "sequence": 648,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3636,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4160,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073115777000,
-        "eventId": "665",
-        "lastEpochMicrosec": 1477073125777000,
-        "priority": "Normal",
-        "sequence": 665,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4098,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5354,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073235998974,
-        "eventId": "677",
-        "lastEpochMicrosec": 1477073245998974,
-        "priority": "Normal",
-        "sequence": 677,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4508,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5166,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073246017901,
-        "eventId": "678",
-        "lastEpochMicrosec": 1477073256017901,
-        "priority": "Normal",
-        "sequence": 678,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4026,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5358,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073296117387,
-        "eventId": "683",
-        "lastEpochMicrosec": 1477073306117387,
-        "priority": "Normal",
-        "sequence": 683,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3938,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4168,
-            "packetsIn": 49,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073376250039,
-        "eventId": "691",
-        "lastEpochMicrosec": 1477073386250039,
-        "priority": "Normal",
-        "sequence": 691,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4514,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5324,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073586625284,
-        "eventId": "712",
-        "lastEpochMicrosec": 1477073596625284,
-        "priority": "Normal",
-        "sequence": 712,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5193,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5748,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070200274642,
-        "eventId": "374",
-        "lastEpochMicrosec": 1477070210274642,
-        "priority": "Normal",
-        "sequence": 374,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4208,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4874,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070220308044,
-        "eventId": "376",
-        "lastEpochMicrosec": 1477070230308044,
-        "priority": "Normal",
-        "sequence": 376,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4102,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5346,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070490793952,
-        "eventId": "403",
-        "lastEpochMicrosec": 1477070500793952,
-        "priority": "Normal",
-        "sequence": 403,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3278,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4036,
-            "packetsIn": 48,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070540900880,
-        "eventId": "408",
-        "lastEpochMicrosec": 1477070550900880,
-        "priority": "Normal",
-        "sequence": 408,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4094,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5333,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070580972300,
-        "eventId": "412",
-        "lastEpochMicrosec": 1477070590972300,
-        "priority": "Normal",
-        "sequence": 412,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6261,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5472,
-            "packetsIn": 93,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070621041944,
-        "eventId": "416",
-        "lastEpochMicrosec": 1477070631041944,
-        "priority": "Normal",
-        "sequence": 416,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4462,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5302,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070671133935,
-        "eventId": "421",
-        "lastEpochMicrosec": 1477070681133935,
-        "priority": "Normal",
-        "sequence": 421,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3518,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4028,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070721225970,
-        "eventId": "426",
-        "lastEpochMicrosec": 1477070731225970,
-        "priority": "Normal",
-        "sequence": 426,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7454,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 50,
-            "bytesOut": 7435,
-            "packetsIn": 100,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070771317040,
-        "eventId": "431",
-        "lastEpochMicrosec": 1477070781317040,
-        "priority": "Normal",
-        "sequence": 431,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 46408,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 282,
-            "bytesOut": 41467,
-            "packetsIn": 531,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070811385505,
-        "eventId": "435",
-        "lastEpochMicrosec": 1477070821385505,
-        "priority": "Normal",
-        "sequence": 435,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4444,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4436,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071091925961,
-        "eventId": "463",
-        "lastEpochMicrosec": 1477071101925961,
-        "priority": "Normal",
-        "sequence": 463,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5120,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4898,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071362393895,
-        "eventId": "490",
-        "lastEpochMicrosec": 1477071372393895,
-        "priority": "Normal",
-        "sequence": 490,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4314,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4326,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071372410540,
-        "eventId": "491",
-        "lastEpochMicrosec": 1477071382410540,
-        "priority": "Normal",
-        "sequence": 491,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5072,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5518,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071422497943,
-        "eventId": "496",
-        "lastEpochMicrosec": 1477071432497943,
-        "priority": "Normal",
-        "sequence": 496,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4868,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5286,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071602842823,
-        "eventId": "514",
-        "lastEpochMicrosec": 1477071612842823,
-        "priority": "Normal",
-        "sequence": 514,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5534,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5324,
-            "packetsIn": 85,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071863369947,
-        "eventId": "540",
-        "lastEpochMicrosec": 1477071873369947,
-        "priority": "Normal",
-        "sequence": 540,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4594,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4074,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071873389953,
-        "eventId": "541",
-        "lastEpochMicrosec": 1477071883389953,
-        "priority": "Normal",
-        "sequence": 541,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 9377,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7894,
-            "packetsIn": 130,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071883407370,
-        "eventId": "542",
-        "lastEpochMicrosec": 1477071893407370,
-        "priority": "Normal",
-        "sequence": 542,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5864,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7318,
-            "packetsIn": 88,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071913462011,
-        "eventId": "545",
-        "lastEpochMicrosec": 1477071923462011,
-        "priority": "Normal",
-        "sequence": 545,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 27350,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 164,
-            "bytesOut": 35804,
-            "packetsIn": 324,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072013669950,
-        "eventId": "555",
-        "lastEpochMicrosec": 1477072023669950,
-        "priority": "Normal",
-        "sequence": 555,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5981,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4364,
-            "packetsIn": 86,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072304235475,
-        "eventId": "584",
-        "lastEpochMicrosec": 1477072314235475,
-        "priority": "Normal",
-        "sequence": 584,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 203574,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4122,
-            "packetsIn": 308,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072554718395,
-        "eventId": "609",
-        "lastEpochMicrosec": 1477072564718395,
-        "priority": "Normal",
-        "sequence": 609,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4142,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5495,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072564737954,
-        "eventId": "610",
-        "lastEpochMicrosec": 1477072574737954,
-        "priority": "Normal",
-        "sequence": 610,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4172,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4066,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072684959633,
-        "eventId": "622",
-        "lastEpochMicrosec": 1477072694959633,
-        "priority": "Normal",
-        "sequence": 622,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4682,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6100,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072694977636,
-        "eventId": "623",
-        "lastEpochMicrosec": 1477072704977636,
-        "priority": "Normal",
-        "sequence": 623,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5024,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5999,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072735051857,
-        "eventId": "627",
-        "lastEpochMicrosec": 1477072745051857,
-        "priority": "Normal",
-        "sequence": 627,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6750,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7198,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072785141695,
-        "eventId": "632",
-        "lastEpochMicrosec": 1477072795141695,
-        "priority": "Normal",
-        "sequence": 632,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 38530,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 249,
-            "bytesOut": 54426,
-            "packetsIn": 436,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072795156085,
-        "eventId": "633",
-        "lastEpochMicrosec": 1477072805156085,
-        "priority": "Normal",
-        "sequence": 633,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4616,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6826,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072885342781,
-        "eventId": "642",
-        "lastEpochMicrosec": 1477072895342781,
-        "priority": "Normal",
-        "sequence": 642,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4934,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072895361934,
-        "eventId": "643",
-        "lastEpochMicrosec": 1477072905361934,
-        "priority": "Normal",
-        "sequence": 643,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4362,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 6786,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072935447654,
-        "eventId": "647",
-        "lastEpochMicrosec": 1477072945447654,
-        "priority": "Normal",
-        "sequence": 647,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4562,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5136,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073065678387,
-        "eventId": "660",
-        "lastEpochMicrosec": 1477073075678387,
-        "priority": "Normal",
-        "sequence": 660,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7173,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7368,
-            "packetsIn": 106,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073085719086,
-        "eventId": "662",
-        "lastEpochMicrosec": 1477073095719086,
-        "priority": "Normal",
-        "sequence": 662,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4826,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7120,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073185910566,
-        "eventId": "672",
-        "lastEpochMicrosec": 1477073195910566,
-        "priority": "Normal",
-        "sequence": 672,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4502,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5304,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073336185348,
-        "eventId": "687",
-        "lastEpochMicrosec": 1477073346185348,
-        "priority": "Normal",
-        "sequence": 687,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4448,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5558,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073346200536,
-        "eventId": "688",
-        "lastEpochMicrosec": 1477073356200536,
-        "priority": "Normal",
-        "sequence": 688,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7053,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7368,
-            "packetsIn": 105,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073446375491,
-        "eventId": "698",
-        "lastEpochMicrosec": 1477073456375491,
-        "priority": "Normal",
-        "sequence": 698,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3966,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073596641959,
-        "eventId": "713",
-        "lastEpochMicrosec": 1477073606641959,
-        "priority": "Normal",
-        "sequence": 713,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4318,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4634,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070250365937,
-        "eventId": "379",
-        "lastEpochMicrosec": 1477070260365937,
-        "priority": "Normal",
-        "sequence": 379,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3746,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5536,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070340529599,
-        "eventId": "388",
-        "lastEpochMicrosec": 1477070350529599,
-        "priority": "Normal",
-        "sequence": 388,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7322,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 48,
-            "bytesOut": 7616,
-            "packetsIn": 113,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070510835835,
-        "eventId": "405",
-        "lastEpochMicrosec": 1477070520835835,
-        "priority": "Normal",
-        "sequence": 405,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6469,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070520864347,
-        "eventId": "406",
-        "lastEpochMicrosec": 1477070530864347,
-        "priority": "Normal",
-        "sequence": 406,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3638,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4044,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070651095730,
-        "eventId": "419",
-        "lastEpochMicrosec": 1477070661095730,
-        "priority": "Normal",
-        "sequence": 419,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3416,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5090,
-            "packetsIn": 48,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070711206504,
-        "eventId": "425",
-        "lastEpochMicrosec": 1477070721206504,
-        "priority": "Normal",
-        "sequence": 425,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5908,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6213,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070791351649,
-        "eventId": "433",
-        "lastEpochMicrosec": 1477070801351649,
-        "priority": "Normal",
-        "sequence": 433,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 10199,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 68,
-            "bytesOut": 11842,
-            "packetsIn": 135,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070801369956,
-        "eventId": "434",
-        "lastEpochMicrosec": 1477070811369956,
-        "priority": "Normal",
-        "sequence": 434,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 26090,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 164,
-            "bytesOut": 33153,
-            "packetsIn": 300,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070841450160,
-        "eventId": "438",
-        "lastEpochMicrosec": 1477070851450160,
-        "priority": "Normal",
-        "sequence": 438,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6205,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5794,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070981705399,
-        "eventId": "452",
-        "lastEpochMicrosec": 1477070991705399,
-        "priority": "Normal",
-        "sequence": 452,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3980,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5410,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071061865954,
-        "eventId": "460",
-        "lastEpochMicrosec": 1477071071865954,
-        "priority": "Normal",
-        "sequence": 460,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 31224,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 197,
-            "bytesOut": 34890,
-            "packetsIn": 357,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071121977934,
-        "eventId": "466",
-        "lastEpochMicrosec": 1477071131977934,
-        "priority": "Normal",
-        "sequence": 466,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 25732,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 162,
-            "bytesOut": 31700,
-            "packetsIn": 302,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071131999094,
-        "eventId": "467",
-        "lastEpochMicrosec": 1477071141999094,
-        "priority": "Normal",
-        "sequence": 467,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 169618,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7186,
-            "packetsIn": 289,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071212141392,
-        "eventId": "475",
-        "lastEpochMicrosec": 1477071222141392,
-        "priority": "Normal",
-        "sequence": 475,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7477,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7465,
-            "packetsIn": 110,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071222158382,
-        "eventId": "476",
-        "lastEpochMicrosec": 1477071232158382,
-        "priority": "Normal",
-        "sequence": 476,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5908,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071272238317,
-        "eventId": "481",
-        "lastEpochMicrosec": 1477071282238317,
-        "priority": "Normal",
-        "sequence": 481,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4504,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5074,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071332342318,
-        "eventId": "487",
-        "lastEpochMicrosec": 1477071342342318,
-        "priority": "Normal",
-        "sequence": 487,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6139,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4836,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071342361964,
-        "eventId": "488",
-        "lastEpochMicrosec": 1477071352361964,
-        "priority": "Normal",
-        "sequence": 488,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 22038,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 143,
-            "bytesOut": 25109,
-            "packetsIn": 257,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071392443903,
-        "eventId": "493",
-        "lastEpochMicrosec": 1477071402443903,
-        "priority": "Normal",
-        "sequence": 493,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 28990,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 185,
-            "bytesOut": 34734,
-            "packetsIn": 342,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071442534871,
-        "eventId": "498",
-        "lastEpochMicrosec": 1477071452534871,
-        "priority": "Normal",
-        "sequence": 498,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 19000,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 111,
-            "bytesOut": 18886,
-            "packetsIn": 232,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071723077968,
-        "eventId": "526",
-        "lastEpochMicrosec": 1477071733077968,
-        "priority": "Normal",
-        "sequence": 526,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 22554,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 150,
-            "bytesOut": 27120,
-            "packetsIn": 270,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071783210923,
-        "eventId": "532",
-        "lastEpochMicrosec": 1477071793210923,
-        "priority": "Normal",
-        "sequence": 532,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 31406,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 192,
-            "bytesOut": 40382,
-            "packetsIn": 369,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071973585969,
-        "eventId": "551",
-        "lastEpochMicrosec": 1477071983585969,
-        "priority": "Normal",
-        "sequence": 551,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 28415,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 168,
-            "bytesOut": 36888,
-            "packetsIn": 330,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072003648795,
-        "eventId": "554",
-        "lastEpochMicrosec": 1477072013648795,
-        "priority": "Normal",
-        "sequence": 554,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4736,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5027,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072073789969,
-        "eventId": "561",
-        "lastEpochMicrosec": 1477072083789969,
-        "priority": "Normal",
-        "sequence": 561,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5332,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4082,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072184014433,
-        "eventId": "572",
-        "lastEpochMicrosec": 1477072194014433,
-        "priority": "Normal",
-        "sequence": 572,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3752,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5666,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072214069942,
-        "eventId": "575",
-        "lastEpochMicrosec": 1477072224069942,
-        "priority": "Normal",
-        "sequence": 575,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4046,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7120,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072274176817,
-        "eventId": "581",
-        "lastEpochMicrosec": 1477072284176817,
-        "priority": "Normal",
-        "sequence": 581,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4208,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5166,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072444481666,
-        "eventId": "598",
-        "lastEpochMicrosec": 1477072454481666,
-        "priority": "Normal",
-        "sequence": 598,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6649,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6038,
-            "packetsIn": 97,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072484565977,
-        "eventId": "602",
-        "lastEpochMicrosec": 1477072494565977,
-        "priority": "Normal",
-        "sequence": 602,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3848,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4822,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072514639844,
-        "eventId": "605",
-        "lastEpochMicrosec": 1477072524639844,
-        "priority": "Normal",
-        "sequence": 605,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6367,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4624,
-            "packetsIn": 93,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072544701945,
-        "eventId": "608",
-        "lastEpochMicrosec": 1477072554701945,
-        "priority": "Normal",
-        "sequence": 608,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6553,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5362,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072604809380,
-        "eventId": "614",
-        "lastEpochMicrosec": 1477072614809380,
-        "priority": "Normal",
-        "sequence": 614,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4628,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5412,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072614829190,
-        "eventId": "615",
-        "lastEpochMicrosec": 1477072624829190,
-        "priority": "Normal",
-        "sequence": 615,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4352,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5630,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072644885943,
-        "eventId": "618",
-        "lastEpochMicrosec": 1477072654885943,
-        "priority": "Normal",
-        "sequence": 618,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5036,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 47,
-            "bytesOut": 7514,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072755088807,
-        "eventId": "629",
-        "lastEpochMicrosec": 1477072765088807,
-        "priority": "Normal",
-        "sequence": 629,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4370,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4351,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072915408472,
-        "eventId": "645",
-        "lastEpochMicrosec": 1477072925408472,
-        "priority": "Normal",
-        "sequence": 645,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4304,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4254,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072955481939,
-        "eventId": "649",
-        "lastEpochMicrosec": 1477072965481939,
-        "priority": "Normal",
-        "sequence": 649,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4388,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5150,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073005573900,
-        "eventId": "654",
-        "lastEpochMicrosec": 1477073015573900,
-        "priority": "Normal",
-        "sequence": 654,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5906,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7148,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073015590437,
-        "eventId": "655",
-        "lastEpochMicrosec": 1477073025590437,
-        "priority": "Normal",
-        "sequence": 655,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3764,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4122,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073045647448,
-        "eventId": "658",
-        "lastEpochMicrosec": 1477073055647448,
-        "priority": "Normal",
-        "sequence": 658,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4706,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7220,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073125796934,
-        "eventId": "666",
-        "lastEpochMicrosec": 1477073135796934,
-        "priority": "Normal",
-        "sequence": 666,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7132,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7250,
-            "packetsIn": 103,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073135815158,
-        "eventId": "667",
-        "lastEpochMicrosec": 1477073145815158,
-        "priority": "Normal",
-        "sequence": 667,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7143,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 50,
-            "bytesOut": 7727,
-            "packetsIn": 104,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073145841670,
-        "eventId": "668",
-        "lastEpochMicrosec": 1477073155841670,
-        "priority": "Normal",
-        "sequence": 668,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6135,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5426,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073266054311,
-        "eventId": "680",
-        "lastEpochMicrosec": 1477073276054311,
-        "priority": "Normal",
-        "sequence": 680,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4052,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5498,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073466418004,
-        "eventId": "700",
-        "lastEpochMicrosec": 1477073476418004,
-        "priority": "Normal",
-        "sequence": 700,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3732,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5244,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073476437957,
-        "eventId": "701",
-        "lastEpochMicrosec": 1477073486437957,
-        "priority": "Normal",
-        "sequence": 701,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4688,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5222,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073526524510,
-        "eventId": "706",
-        "lastEpochMicrosec": 1477073536524510,
-        "priority": "Normal",
-        "sequence": 706,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7963,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 49,
-            "bytesOut": 7608,
-            "packetsIn": 118,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073566594681,
-        "eventId": "710",
-        "lastEpochMicrosec": 1477073576594681,
-        "priority": "Normal",
-        "sequence": 710,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5168,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073616685940,
-        "eventId": "715",
-        "lastEpochMicrosec": 1477073626685940,
-        "priority": "Normal",
-        "sequence": 715,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6483,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5586,
-            "packetsIn": 95,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073626701958,
-        "eventId": "716",
-        "lastEpochMicrosec": 1477073636701958,
-        "priority": "Normal",
-        "sequence": 716,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3660,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4712,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070230330088,
-        "eventId": "377",
-        "lastEpochMicrosec": 1477070240330088,
-        "priority": "Normal",
-        "sequence": 377,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4069,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5506,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070360563689,
-        "eventId": "390",
-        "lastEpochMicrosec": 1477070370563689,
-        "priority": "Normal",
-        "sequence": 390,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4280,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070460736142,
-        "eventId": "400",
-        "lastEpochMicrosec": 1477070470736142,
-        "priority": "Normal",
-        "sequence": 400,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4562,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6892,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070480772828,
-        "eventId": "402",
-        "lastEpochMicrosec": 1477070490772828,
-        "priority": "Normal",
-        "sequence": 402,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5129,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5396,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070500813728,
-        "eventId": "404",
-        "lastEpochMicrosec": 1477070510813728,
-        "priority": "Normal",
-        "sequence": 404,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4456,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5380,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070550916395,
-        "eventId": "409",
-        "lastEpochMicrosec": 1477070560916395,
-        "priority": "Normal",
-        "sequence": 409,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3738,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4750,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070590993953,
-        "eventId": "413",
-        "lastEpochMicrosec": 1477070600993953,
-        "priority": "Normal",
-        "sequence": 413,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5954,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5380,
-            "packetsIn": 94,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070631061957,
-        "eventId": "417",
-        "lastEpochMicrosec": 1477070641061957,
-        "priority": "Normal",
-        "sequence": 417,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4416,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4020,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070641079999,
-        "eventId": "418",
-        "lastEpochMicrosec": 1477070651079999,
-        "priority": "Normal",
-        "sequence": 418,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4911,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4342,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070681153946,
-        "eventId": "422",
-        "lastEpochMicrosec": 1477070691153946,
-        "priority": "Normal",
-        "sequence": 422,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5228,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5294,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070691170336,
-        "eventId": "423",
-        "lastEpochMicrosec": 1477070701170336,
-        "priority": "Normal",
-        "sequence": 423,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 137612,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 776,
-            "bytesOut": 136724,
-            "packetsIn": 1458,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070821405142,
-        "eventId": "436",
-        "lastEpochMicrosec": 1477070831405142,
-        "priority": "Normal",
-        "sequence": 436,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6724,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 48,
-            "bytesOut": 8288,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071021788719,
-        "eventId": "456",
-        "lastEpochMicrosec": 1477071031788719,
-        "priority": "Normal",
-        "sequence": 456,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5216,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5098,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071051846152,
-        "eventId": "459",
-        "lastEpochMicrosec": 1477071061846152,
-        "priority": "Normal",
-        "sequence": 459,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5965,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5686,
-            "packetsIn": 84,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071101941618,
-        "eventId": "464",
-        "lastEpochMicrosec": 1477071111941618,
-        "priority": "Normal",
-        "sequence": 464,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4334,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5232,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071142014557,
-        "eventId": "468",
-        "lastEpochMicrosec": 1477071152014557,
-        "priority": "Normal",
-        "sequence": 468,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3976,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5360,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071152034019,
-        "eventId": "469",
-        "lastEpochMicrosec": 1477071162034019,
-        "priority": "Normal",
-        "sequence": 469,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 41028,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 121,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071202120024,
-        "eventId": "474",
-        "lastEpochMicrosec": 1477071212120024,
-        "priority": "Normal",
-        "sequence": 474,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5066,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7157,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071242189163,
-        "eventId": "478",
-        "lastEpochMicrosec": 1477071252189163,
-        "priority": "Normal",
-        "sequence": 478,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5528,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5302,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071472593939,
-        "eventId": "501",
-        "lastEpochMicrosec": 1477071482593939,
-        "priority": "Normal",
-        "sequence": 501,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4190,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4160,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071492634731,
-        "eventId": "503",
-        "lastEpochMicrosec": 1477071502634731,
-        "priority": "Normal",
-        "sequence": 503,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5918,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 6588,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071502654137,
-        "eventId": "504",
-        "lastEpochMicrosec": 1477071512654137,
-        "priority": "Normal",
-        "sequence": 504,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4270,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 19,
-            "bytesOut": 3650,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071632900848,
-        "eventId": "517",
-        "lastEpochMicrosec": 1477071642900848,
-        "priority": "Normal",
-        "sequence": 517,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7250,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 47,
-            "bytesOut": 7539,
-            "packetsIn": 112,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071652936794,
-        "eventId": "519",
-        "lastEpochMicrosec": 1477071662936794,
-        "priority": "Normal",
-        "sequence": 519,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 20894,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 127,
-            "bytesOut": 23654,
-            "packetsIn": 256,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071713058031,
-        "eventId": "525",
-        "lastEpochMicrosec": 1477071723058031,
-        "priority": "Normal",
-        "sequence": 525,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7297,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7430,
-            "packetsIn": 107,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071763172262,
-        "eventId": "530",
-        "lastEpochMicrosec": 1477071773172262,
-        "priority": "Normal",
-        "sequence": 530,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5472,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5427,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071773193658,
-        "eventId": "531",
-        "lastEpochMicrosec": 1477071783193658,
-        "priority": "Normal",
-        "sequence": 531,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4784,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4386,
-            "packetsIn": 73,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071803251128,
-        "eventId": "534",
-        "lastEpochMicrosec": 1477071813251128,
-        "priority": "Normal",
-        "sequence": 534,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 33146,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 202,
-            "bytesOut": 45220,
-            "packetsIn": 373,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071933509978,
-        "eventId": "547",
-        "lastEpochMicrosec": 1477071943509978,
-        "priority": "Normal",
-        "sequence": 547,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3640,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4128,
-            "packetsIn": 47,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072113869917,
-        "eventId": "565",
-        "lastEpochMicrosec": 1477072123869917,
-        "priority": "Normal",
-        "sequence": 565,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4928,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5412,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072133905970,
-        "eventId": "567",
-        "lastEpochMicrosec": 1477072143905970,
-        "priority": "Normal",
-        "sequence": 567,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4286,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5436,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072314253035,
-        "eventId": "585",
-        "lastEpochMicrosec": 1477072324253035,
-        "priority": "Normal",
-        "sequence": 585,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4568,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5602,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072384378243,
-        "eventId": "592",
-        "lastEpochMicrosec": 1477072394378243,
-        "priority": "Normal",
-        "sequence": 592,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3854,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 4772,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072404411223,
-        "eventId": "594",
-        "lastEpochMicrosec": 1477072414411223,
-        "priority": "Normal",
-        "sequence": 594,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3740,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 21,
-            "bytesOut": 3862,
-            "packetsIn": 50,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072414424973,
-        "eventId": "595",
-        "lastEpochMicrosec": 1477072424424973,
-        "priority": "Normal",
-        "sequence": 595,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6259,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5072,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072424442934,
-        "eventId": "596",
-        "lastEpochMicrosec": 1477072434442934,
-        "priority": "Normal",
-        "sequence": 596,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5576,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7404,
-            "packetsIn": 84,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072624849269,
-        "eventId": "616",
-        "lastEpochMicrosec": 1477072634849269,
-        "priority": "Normal",
-        "sequence": 616,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5172,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4998,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072674941938,
-        "eventId": "621",
-        "lastEpochMicrosec": 1477072684941938,
-        "priority": "Normal",
-        "sequence": 621,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4256,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4294,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072715018487,
-        "eventId": "625",
-        "lastEpochMicrosec": 1477072725018487,
-        "priority": "Normal",
-        "sequence": 625,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3932,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5526,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072825213947,
-        "eventId": "636",
-        "lastEpochMicrosec": 1477072835213947,
-        "priority": "Normal",
-        "sequence": 636,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3956,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 6318,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072865310238,
-        "eventId": "640",
-        "lastEpochMicrosec": 1477072875310238,
-        "priority": "Normal",
-        "sequence": 640,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4080,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4388,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072875328458,
-        "eventId": "641",
-        "lastEpochMicrosec": 1477072885328458,
-        "priority": "Normal",
-        "sequence": 641,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6081,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5528,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072965498915,
-        "eventId": "650",
-        "lastEpochMicrosec": 1477072975498915,
-        "priority": "Normal",
-        "sequence": 650,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6141,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5528,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073025609941,
-        "eventId": "656",
-        "lastEpochMicrosec": 1477073035609941,
-        "priority": "Normal",
-        "sequence": 656,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4446,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6986,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073175893195,
-        "eventId": "671",
-        "lastEpochMicrosec": 1477073185893195,
-        "priority": "Normal",
-        "sequence": 671,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4232,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4066,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073225981156,
-        "eventId": "676",
-        "lastEpochMicrosec": 1477073235981156,
-        "priority": "Normal",
-        "sequence": 676,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5739,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4138,
-            "packetsIn": 84,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073326167021,
-        "eventId": "686",
-        "lastEpochMicrosec": 1477073336167021,
-        "priority": "Normal",
-        "sequence": 686,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4104,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4020,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073356218618,
-        "eventId": "689",
-        "lastEpochMicrosec": 1477073366218618,
-        "priority": "Normal",
-        "sequence": 689,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4886,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7121,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073456394852,
-        "eventId": "699",
-        "lastEpochMicrosec": 1477073466394852,
-        "priority": "Normal",
-        "sequence": 699,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4034,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 4808,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073486456069,
-        "eventId": "702",
-        "lastEpochMicrosec": 1477073496456069,
-        "priority": "Normal",
-        "sequence": 702,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4706,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5765,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073576611503,
-        "eventId": "711",
-        "lastEpochMicrosec": 1477073586611503,
-        "priority": "Normal",
-        "sequence": 711,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6046,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 40,
-            "bytesOut": 9108,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073636730319,
-        "eventId": "717",
-        "lastEpochMicrosec": 1477073646730319,
-        "priority": "Normal",
-        "sequence": 717,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4450,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5230,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070310474544,
-        "eventId": "385",
-        "lastEpochMicrosec": 1477070320474544,
-        "priority": "Normal",
-        "sequence": 385,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5703,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 40,
-            "bytesOut": 6658,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070320490200,
-        "eventId": "386",
-        "lastEpochMicrosec": 1477070330490200,
-        "priority": "Normal",
-        "sequence": 386,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4384,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5096,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070370579195,
-        "eventId": "391",
-        "lastEpochMicrosec": 1477070380579195,
-        "priority": "Normal",
-        "sequence": 391,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3986,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5544,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070400631290,
-        "eventId": "394",
-        "lastEpochMicrosec": 1477070410631290,
-        "priority": "Normal",
-        "sequence": 394,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4428,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4364,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070410646466,
-        "eventId": "395",
-        "lastEpochMicrosec": 1477070420646466,
-        "priority": "Normal",
-        "sequence": 395,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3776,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4562,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070661113931,
-        "eventId": "420",
-        "lastEpochMicrosec": 1477070671113931,
-        "priority": "Normal",
-        "sequence": 420,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5482,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5446,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070731245952,
-        "eventId": "427",
-        "lastEpochMicrosec": 1477070741245952,
-        "priority": "Normal",
-        "sequence": 427,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 12391,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 78,
-            "bytesOut": 10049,
-            "packetsIn": 124,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070761301949,
-        "eventId": "430",
-        "lastEpochMicrosec": 1477070771301949,
-        "priority": "Normal",
-        "sequence": 430,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 19997,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 132,
-            "bytesOut": 23502,
-            "packetsIn": 240,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070861482944,
-        "eventId": "440",
-        "lastEpochMicrosec": 1477070871482944,
-        "priority": "Normal",
-        "sequence": 440,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 19924,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 116,
-            "bytesOut": 19236,
-            "packetsIn": 243,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070871499185,
-        "eventId": "441",
-        "lastEpochMicrosec": 1477070881499185,
-        "priority": "Normal",
-        "sequence": 441,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4394,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 40,
-            "bytesOut": 7024,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070901553877,
-        "eventId": "444",
-        "lastEpochMicrosec": 1477070911553877,
-        "priority": "Normal",
-        "sequence": 444,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3402,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4950,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070951649582,
-        "eventId": "449",
-        "lastEpochMicrosec": 1477070961649582,
-        "priority": "Normal",
-        "sequence": 449,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3650,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5024,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070961673097,
-        "eventId": "450",
-        "lastEpochMicrosec": 1477070971673097,
-        "priority": "Normal",
-        "sequence": 450,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4681,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7354,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071001744811,
-        "eventId": "454",
-        "lastEpochMicrosec": 1477071011744811,
-        "priority": "Normal",
-        "sequence": 454,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4536,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5168,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071011760312,
-        "eventId": "455",
-        "lastEpochMicrosec": 1477071021760312,
-        "priority": "Normal",
-        "sequence": 455,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6458,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6017,
-            "packetsIn": 100,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071232173922,
-        "eventId": "477",
-        "lastEpochMicrosec": 1477071242173922,
-        "priority": "Normal",
-        "sequence": 477,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6871,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6766,
-            "packetsIn": 101,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071282252737,
-        "eventId": "482",
-        "lastEpochMicrosec": 1477071292252737,
-        "priority": "Normal",
-        "sequence": 482,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3884,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4248,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071322325958,
-        "eventId": "486",
-        "lastEpochMicrosec": 1477071332325958,
-        "priority": "Normal",
-        "sequence": 486,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 34518,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 192,
-            "bytesOut": 34192,
-            "packetsIn": 384,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071432517955,
-        "eventId": "497",
-        "lastEpochMicrosec": 1477071442517955,
-        "priority": "Normal",
-        "sequence": 497,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4916,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4318,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071512671652,
-        "eventId": "505",
-        "lastEpochMicrosec": 1477071522671652,
-        "priority": "Normal",
-        "sequence": 505,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6259,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5600,
-            "packetsIn": 91,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071522697277,
-        "eventId": "506",
-        "lastEpochMicrosec": 1477071532697277,
-        "priority": "Normal",
-        "sequence": 506,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5240,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5426,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071552753988,
-        "eventId": "509",
-        "lastEpochMicrosec": 1477071562753988,
-        "priority": "Normal",
-        "sequence": 509,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5060,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5434,
-            "packetsIn": 79,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071612865423,
-        "eventId": "515",
-        "lastEpochMicrosec": 1477071622865423,
-        "priority": "Normal",
-        "sequence": 515,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3974,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4660,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071793233631,
-        "eventId": "533",
-        "lastEpochMicrosec": 1477071803233631,
-        "priority": "Normal",
-        "sequence": 533,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6859,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 6912,
-            "packetsIn": 100,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071823290532,
-        "eventId": "536",
-        "lastEpochMicrosec": 1477071833290532,
-        "priority": "Normal",
-        "sequence": 536,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4982,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5081,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071833308226,
-        "eventId": "537",
-        "lastEpochMicrosec": 1477071843308226,
-        "priority": "Normal",
-        "sequence": 537,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4974,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4426,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071843328660,
-        "eventId": "538",
-        "lastEpochMicrosec": 1477071853328660,
-        "priority": "Normal",
-        "sequence": 538,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 13226,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 89,
-            "bytesOut": 18924,
-            "packetsIn": 153,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072053741964,
-        "eventId": "559",
-        "lastEpochMicrosec": 1477072063741964,
-        "priority": "Normal",
-        "sequence": 559,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8673,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 53,
-            "bytesOut": 9805,
-            "packetsIn": 117,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072063763247,
-        "eventId": "560",
-        "lastEpochMicrosec": 1477072073763247,
-        "priority": "Normal",
-        "sequence": 560,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4676,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6446,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072224086825,
-        "eventId": "576",
-        "lastEpochMicrosec": 1477072234086825,
-        "priority": "Normal",
-        "sequence": 576,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4262,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5318,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072254141660,
-        "eventId": "579",
-        "lastEpochMicrosec": 1477072264141660,
-        "priority": "Normal",
-        "sequence": 579,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4946,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072344303482,
-        "eventId": "588",
-        "lastEpochMicrosec": 1477072354303482,
-        "priority": "Normal",
-        "sequence": 588,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3800,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5398,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072584773904,
-        "eventId": "612",
-        "lastEpochMicrosec": 1477072594773904,
-        "priority": "Normal",
-        "sequence": 612,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5264,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 6018,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072594792760,
-        "eventId": "613",
-        "lastEpochMicrosec": 1477072604792760,
-        "priority": "Normal",
-        "sequence": 613,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4604,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5722,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072775124558,
-        "eventId": "631",
-        "lastEpochMicrosec": 1477072785124558,
-        "priority": "Normal",
-        "sequence": 631,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4280,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5410,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072975517941,
-        "eventId": "651",
-        "lastEpochMicrosec": 1477072985517941,
-        "priority": "Normal",
-        "sequence": 651,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4316,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5018,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073035627391,
-        "eventId": "657",
-        "lastEpochMicrosec": 1477073045627391,
-        "priority": "Normal",
-        "sequence": 657,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4915,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 4836,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073276077930,
-        "eventId": "681",
-        "lastEpochMicrosec": 1477073286077930,
-        "priority": "Normal",
-        "sequence": 681,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4244,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4914,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073396285928,
-        "eventId": "693",
-        "lastEpochMicrosec": 1477073406285928,
-        "priority": "Normal",
-        "sequence": 693,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4982,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6892,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073406303927,
-        "eventId": "694",
-        "lastEpochMicrosec": 1477073416303927,
-        "priority": "Normal",
-        "sequence": 694,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5000,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5378,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073496473912,
-        "eventId": "703",
-        "lastEpochMicrosec": 1477073506473912,
-        "priority": "Normal",
-        "sequence": 703,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4406,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073546558533,
-        "eventId": "708",
-        "lastEpochMicrosec": 1477073556558533,
-        "priority": "Normal",
-        "sequence": 708,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3608,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5230,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073646749551,
-        "eventId": "718",
-        "lastEpochMicrosec": 1477073656749551,
-        "priority": "Normal",
-        "sequence": 718,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4352,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4946,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073676813943,
-        "eventId": "721",
-        "lastEpochMicrosec": 1477073686813943,
-        "priority": "Normal",
-        "sequence": 721,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4864,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5148,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070190253108,
-        "eventId": "373",
-        "lastEpochMicrosec": 1477070200253108,
-        "priority": "Normal",
-        "sequence": 373,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4328,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5286,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070280421939,
-        "eventId": "382",
-        "lastEpochMicrosec": 1477070290421939,
-        "priority": "Normal",
-        "sequence": 382,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6206,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5512,
-            "packetsIn": 96,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070330509980,
-        "eventId": "387",
-        "lastEpochMicrosec": 1477070340509980,
-        "priority": "Normal",
-        "sequence": 387,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3518,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4028,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070420665950,
-        "eventId": "396",
-        "lastEpochMicrosec": 1477070430665950,
-        "priority": "Normal",
-        "sequence": 396,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4360,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4812,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070430683794,
-        "eventId": "397",
-        "lastEpochMicrosec": 1477070440683794,
-        "priority": "Normal",
-        "sequence": 397,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5301,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5536,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070560936376,
-        "eventId": "410",
-        "lastEpochMicrosec": 1477070570936376,
-        "priority": "Normal",
-        "sequence": 410,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6866,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 106,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070570954302,
-        "eventId": "411",
-        "lastEpochMicrosec": 1477070580954302,
-        "priority": "Normal",
-        "sequence": 411,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6681,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 41,
-            "bytesOut": 6568,
-            "packetsIn": 96,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070741264005,
-        "eventId": "428",
-        "lastEpochMicrosec": 1477070751264005,
-        "priority": "Normal",
-        "sequence": 428,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 34880,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 217,
-            "bytesOut": 36350,
-            "packetsIn": 398,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070881514499,
-        "eventId": "442",
-        "lastEpochMicrosec": 1477070891514499,
-        "priority": "Normal",
-        "sequence": 442,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4762,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4934,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070911574857,
-        "eventId": "445",
-        "lastEpochMicrosec": 1477070921574857,
-        "priority": "Normal",
-        "sequence": 445,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7057,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7462,
-            "packetsIn": 105,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070921593735,
-        "eventId": "446",
-        "lastEpochMicrosec": 1477070931593735,
-        "priority": "Normal",
-        "sequence": 446,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6740,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 41,
-            "bytesOut": 6775,
-            "packetsIn": 104,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071292270837,
-        "eventId": "483",
-        "lastEpochMicrosec": 1477071302270837,
-        "priority": "Normal",
-        "sequence": 483,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4934,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5325,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071302289972,
-        "eventId": "484",
-        "lastEpochMicrosec": 1477071312289972,
-        "priority": "Normal",
-        "sequence": 484,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6216,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6786,
-            "packetsIn": 81,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071452551360,
-        "eventId": "499",
-        "lastEpochMicrosec": 1477071462551360,
-        "priority": "Normal",
-        "sequence": 499,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6218,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7316,
-            "packetsIn": 95,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071482617903,
-        "eventId": "502",
-        "lastEpochMicrosec": 1477071492617903,
-        "priority": "Normal",
-        "sequence": 502,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5634,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6446,
-            "packetsIn": 87,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071562771042,
-        "eventId": "510",
-        "lastEpochMicrosec": 1477071572771042,
-        "priority": "Normal",
-        "sequence": 510,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6354,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 47,
-            "bytesOut": 7514,
-            "packetsIn": 96,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071622883746,
-        "eventId": "516",
-        "lastEpochMicrosec": 1477071632883746,
-        "priority": "Normal",
-        "sequence": 516,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 20684,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 138,
-            "bytesOut": 23872,
-            "packetsIn": 242,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071753155902,
-        "eventId": "529",
-        "lastEpochMicrosec": 1477071763155902,
-        "priority": "Normal",
-        "sequence": 529,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6956,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071853349474,
-        "eventId": "539",
-        "lastEpochMicrosec": 1477071863349474,
-        "priority": "Normal",
-        "sequence": 539,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 66655,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 401,
-            "bytesOut": 64534,
-            "packetsIn": 755,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071943529023,
-        "eventId": "548",
-        "lastEpochMicrosec": 1477071953529023,
-        "priority": "Normal",
-        "sequence": 548,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 29098,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 186,
-            "bytesOut": 40028,
-            "packetsIn": 338,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072033705953,
-        "eventId": "557",
-        "lastEpochMicrosec": 1477072043705953,
-        "priority": "Normal",
-        "sequence": 557,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3560,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4758,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072083807753,
-        "eventId": "562",
-        "lastEpochMicrosec": 1477072093807753,
-        "priority": "Normal",
-        "sequence": 562,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5753,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5248,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072123885526,
-        "eventId": "566",
-        "lastEpochMicrosec": 1477072133885526,
-        "priority": "Normal",
-        "sequence": 566,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4102,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5462,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072173997938,
-        "eventId": "571",
-        "lastEpochMicrosec": 1477072183997938,
-        "priority": "Normal",
-        "sequence": 571,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5054,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6906,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072264158607,
-        "eventId": "580",
-        "lastEpochMicrosec": 1477072274158607,
-        "priority": "Normal",
-        "sequence": 580,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3884,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4058,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072324268097,
-        "eventId": "586",
-        "lastEpochMicrosec": 1477072334268097,
-        "priority": "Normal",
-        "sequence": 586,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3182,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4808,
-            "packetsIn": 46,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072334288872,
-        "eventId": "587",
-        "lastEpochMicrosec": 1477072344288872,
-        "priority": "Normal",
-        "sequence": 587,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4034,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072394394368,
-        "eventId": "593",
-        "lastEpochMicrosec": 1477072404394368,
-        "priority": "Normal",
-        "sequence": 593,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3872,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4074,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072434461951,
-        "eventId": "597",
-        "lastEpochMicrosec": 1477072444461951,
-        "priority": "Normal",
-        "sequence": 597,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4028,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072504621951,
-        "eventId": "604",
-        "lastEpochMicrosec": 1477072514621951,
-        "priority": "Normal",
-        "sequence": 604,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4130,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4350,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072524657943,
-        "eventId": "606",
-        "lastEpochMicrosec": 1477072534657943,
-        "priority": "Normal",
-        "sequence": 606,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6691,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5804,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072664921950,
-        "eventId": "620",
-        "lastEpochMicrosec": 1477072674921950,
-        "priority": "Normal",
-        "sequence": 620,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4640,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5426,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072765105949,
-        "eventId": "630",
-        "lastEpochMicrosec": 1477072775105949,
-        "priority": "Normal",
-        "sequence": 630,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 38076,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 238,
-            "bytesOut": 52028,
-            "packetsIn": 425,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072815193944,
-        "eventId": "635",
-        "lastEpochMicrosec": 1477072825193944,
-        "priority": "Normal",
-        "sequence": 635,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4806,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6986,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073055662629,
-        "eventId": "659",
-        "lastEpochMicrosec": 1477073065662629,
-        "priority": "Normal",
-        "sequence": 659,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3470,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4240,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073165876528,
-        "eventId": "670",
-        "lastEpochMicrosec": 1477073175876528,
-        "priority": "Normal",
-        "sequence": 670,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6615,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5086,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073205948758,
-        "eventId": "674",
-        "lastEpochMicrosec": 1477073215948758,
-        "priority": "Normal",
-        "sequence": 674,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4682,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5600,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073215965142,
-        "eventId": "675",
-        "lastEpochMicrosec": 1477073225965142,
-        "priority": "Normal",
-        "sequence": 675,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4178,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4152,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073256037943,
-        "eventId": "679",
-        "lastEpochMicrosec": 1477073266037943,
-        "priority": "Normal",
-        "sequence": 679,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4406,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073306133613,
-        "eventId": "684",
-        "lastEpochMicrosec": 1477073316133613,
-        "priority": "Normal",
-        "sequence": 684,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3974,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4644,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073316150514,
-        "eventId": "685",
-        "lastEpochMicrosec": 1477073326150514,
-        "priority": "Normal",
-        "sequence": 685,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6375,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4538,
-            "packetsIn": 94,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073386268859,
-        "eventId": "692",
-        "lastEpochMicrosec": 1477073396268859,
-        "priority": "Normal",
-        "sequence": 692,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4458,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073536542160,
-        "eventId": "707",
-        "lastEpochMicrosec": 1477073546542160,
-        "priority": "Normal",
-        "sequence": 707,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  }
-]
diff --git a/dcae-analytics-cdap-tca/src/test/resources/data/json/policy/tca_policy.json b/dcae-analytics-cdap-tca/src/test/resources/data/json/policy/tca_policy.json
deleted file mode 100644 (file)
index 1bf9e83..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-{
-  "domain": "measurementsForVfScaling",
-  "metricsPerFunctionalRole": [
-    {
-      "functionalRole": "vFirewall",
-      "policyScope": "resource=vFirewall;type=configuration",
-      "policyName": "configuration.dcae.microservice.tca.xml",
-      "policyVersion": "v0.0.1",
-      "thresholds": [
-        {
-          "closedLoopControlName": "CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8",
-          "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn",
-          "thresholdValue": 4000,
-          "direction": "LESS_OR_EQUAL",
-          "severity": "MAJOR"
-        },
-        {
-          "closedLoopControlName": "CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09",
-          "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn",
-          "thresholdValue": 20000,
-          "direction": "GREATER_OR_EQUAL",
-          "severity": "CRITICAL"
-        }
-      ]
-    },
-    {
-      "functionalRole": "vLoadBalancer",
-      "policyScope": "resource=vLoadBalancer;type=configuration",
-      "policyName": "configuration.dcae.microservice.tca.xml",
-      "policyVersion": "v0.0.1",
-      "thresholds": [
-        {
-          "closedLoopControlName": "CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A",
-          "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn",
-          "thresholdValue": 500,
-          "direction": "LESS_OR_EQUAL",
-          "severity": "MAJOR"
-        },
-        {
-          "closedLoopControlName": "CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B",
-          "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn",
-          "thresholdValue": 5000,
-          "direction": "GREATER_OR_EQUAL",
-          "severity": "CRITICAL"
-        }
-      ]
-    }
-  ]
-}
diff --git a/dcae-analytics-cdap-tca/src/test/resources/data/properties/tca_controller_policy.properties b/dcae-analytics-cdap-tca/src/test/resources/data/properties/tca_controller_policy.properties
deleted file mode 100644 (file)
index 2f6921f..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-#
-# ===============================LICENSE_START======================================
-#  dcae-analytics
-# ================================================================================
-#    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
-# ================================================================================
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#   You may obtain a copy of the License at
-#
-#          http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#  ============================LICENSE_END===========================================
-#
-
-domain=measurementsForVfScaling
-
-configuration.metricsPerFunctionalRole.vFirewall.policy.functionalRole=vFirewall
-configuration.metricsPerFunctionalRole.vFirewall.policyName=configuration.dcae.microservice.tca.xml
-configuration.metricsPerFunctionalRole.vFirewall.policyVersion=v0.0.1
-configuration.metricsPerFunctionalRole.vFirewall.policyScope=resource=vFirewall;type=configuration
-
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.closedLoopControlName=CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.thresholdValue=4000
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.direction=LESS_OR_EQUAL
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.severity=MAJOR
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.version=1.0.2
-
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.closedLoopControlName=L-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.thresholdValue=20000
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.direction=GREATER_OR_EQUAL
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.severity=CRITICAL
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.version=1.0.2
-
-configuration.metricsPerFunctionalRole.vLoadBalancer.policy.functionalRole=vLoadBalancer
-configuration.metricsPerFunctionalRole.vLoadBalancer.policyName=configuration.dcae.microservice.tca.xml
-configuration.metricsPerFunctionalRole.vLoadBalancer.policyVersion=v0.0.1
-configuration.metricsPerFunctionalRole.vLoadBalancer.policyScope=resource=vLoadBalancer;type=configuration
-
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.closedLoopControlName=CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.thresholdValue=500
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.direction=LESS_OR_EQUAL
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.severity=MAJOR
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.version=1.0.2
-
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.closedLoopControlName=CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.thresholdValue=5000
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.direction=GREATER_OR_EQUAL
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.severity=CRITICAL
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.version=1.0.2
-
-subscriberHostName=dcae-msrt-ftl.homer.com
-subscriberHostPort=3905
-subscriberTopicName=com.dcae.dmaap.FTL.DcaeTestVESSub
-subscriberProtocol=https
-subscriberUserName=USER
-subscriberUserPassword=PASSWORD
-subscriberContentType=application/json
-subscriberConsumerId=c12
-subscriberConsumerGroup=OpenDCAE-c12
-subscriberTimeoutMS=-1
-subscriberMessageLimit=-1
-subscriberPollingInterval=20000
-publisherHostName=dcae-msrt-ftl.homer.com
-publisherHostPort=3905
-publisherTopicName=com.dcae.dmaap.FTL.DcaeTestVESPub
-publisherProtocol=https
-publisherUserName=USER
-publisherUserPassword=PASSWORD
-publisherContentType=application/json
-publisherMaxBatchSize=10
-publisherMaxRecoveryQueueSize=100000
-publisherPollingInterval=20000
-enableAlertCEFFormat=false
diff --git a/dcae-analytics-cdap-tca/src/test/resources/data/properties/tca_controller_policy_from_json.properties b/dcae-analytics-cdap-tca/src/test/resources/data/properties/tca_controller_policy_from_json.properties
deleted file mode 100644 (file)
index 5e2bb2a..0000000
+++ /dev/null
@@ -1,86 +0,0 @@
-# ============LICENSE_START=========================================================
-# dcae-analytics
-# ================================================================================
-#  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
-# ================================================================================
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#  You may obtain a copy of the License at
-#
-#        http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-# ============LICENSE_END=========================================================
-#
-
-
-domain=measurementsForVfScaling
-
-configuration.metricsPerFunctionalRole.vFirewall.policy.functionalRole=vFirewall
-configuration.metricsPerFunctionalRole.vFirewall.policyName=configuration.dcae.microservice.tca.xml
-configuration.metricsPerFunctionalRole.vFirewall.policyVersion=v0.0.1
-configuration.metricsPerFunctionalRole.vFirewall.policyScope=resource=vFirewall;type=configuration
-
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.closedLoopControlName=CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.thresholdValue=4000
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.direction=LESS_OR_EQUAL
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.severity=MAJOR
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.version=1.0.2
-
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.closedLoopControlName=L-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.thresholdValue=20000
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.direction=GREATER_OR_EQUAL
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.severity=CRITICAL
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.version=1.0.2
-
-configuration.metricsPerFunctionalRole.vLoadBalancer.policy.functionalRole=vLoadBalancer
-configuration.metricsPerFunctionalRole.vLoadBalancer.policyName=configuration.dcae.microservice.tca.xml
-configuration.metricsPerFunctionalRole.vLoadBalancer.policyVersion=v0.0.1
-configuration.metricsPerFunctionalRole.vLoadBalancer.policyScope=resource=vLoadBalancer;type=configuration
-
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.closedLoopControlName=CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.thresholdValue=500
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.direction=LESS_OR_EQUAL
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.severity=MAJOR
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.version=1.0.2
-
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.closedLoopControlName=CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.thresholdValue=5000
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.direction=GREATER_OR_EQUAL
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.severity=CRITICAL
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.version=1.0.2
-
-tca_policy='{\"domain\":\"measurementsForVfScaling\",\"metricsPerFunctionalRole\":[{\"functionalRole\":\"vFirewall\",\"policyScope\":\"resource=vFirewall;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn\",\"thresholdValue\":4000,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn\",\"thresholdValue\":20000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]},{\"functionalRole\":\"vLoadBalancer\",\"policyScope\":\"resource=vLoadBalancer;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn\",\"thresholdValue\":500,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn\",\"thresholdValue\":5000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]}]}'
-
-subscriberHostName=dcae-msrt-ftl.homer.com
-subscriberHostPort=3905
-subscriberTopicName=com.dcae.dmaap.FTL.DcaeTestVESSub
-subscriberProtocol=https
-subscriberUserName=USER
-subscriberUserPassword=PASSWORD
-subscriberContentType=application/json
-subscriberConsumerId=c12
-subscriberConsumerGroup=OpenDCAE-c12
-subscriberTimeoutMS=-1
-subscriberMessageLimit=-1
-subscriberPollingInterval=20000
-publisherHostName=dcae-msrt-ftl.homer.com
-publisherHostPort=3905
-publisherTopicName=com.dcae.dmaap.FTL.DcaeTestVESPub
-publisherProtocol=https
-publisherUserName=USER
-publisherUserPassword=PASSWORD
-publisherContentType=application/json
-publisherMaxBatchSize=10
-publisherMaxRecoveryQueueSize=100000
-publisherPollingInterval=20000
-enableAlertCEFFormat=false
-
index ec6a9b5..e7ce68d 100644 (file)
@@ -103,15 +103,14 @@ public abstract class AnalyticsConstants {
     public static final String DMAAP_PUBLISHER_VARIABLE_NAME = "DMAAP_PUBLISHER";
 
     // TCA VES Response Constants
-    public static final String TCA_VES_RESPONSE_TARGET_TYPE = "VNF";
-    public static final String TCA_VES_RESPONSE_TARGET = "generic-vnf.vnf-id";
+    // VNF Constants
+    public static final String TCA_VES_RESPONSE_VNF_TARGET_TYPE = "VNF";
+    public static final String TCA_VES_RESPONSE_VNF_TARGET = "generic-vnf.vnf-id";
+    // VM Constants
+    public static final String TCA_VES_RESPONSE_VM_TARGET_TYPE = "VM";
+    public static final String TCA_VES_RESPONSE_VM_TARGET = "vserver.vserver-name";
+    // VNF & VM - Common Constants
     public static final String TCA_VES_RESPONSE_FROM = "DCAE";
-    public static final String TCA_VES_RESPONSE_CLOSED_LOOP_EVENT_STATUS = "ONSET";
-
-    // TCA VES Response Constants for vLoadBalancer
-    public static final String LOAD_BALANCER_FUNCTIONAL_ROLE = "vLoadBalancer";
-    public static final String LOAD_BALANCER_TCA_VES_RESPONSE_TARGET_TYPE = "VM";
-    public static final String LOAD_BALANCER_TCA_VES_RESPONSE_TARGET = "vserver.vserver-name";
 
     // TCA VES Message Router Partition Key
     public static final String TCA_VES_MESSAGE_ROUTER_PARTITION_KEY = "VESMessageHash";
@@ -129,17 +128,23 @@ public abstract class AnalyticsConstants {
     /**
      * Default TTL for TCA VES Alerts table which contains alerts that can be send to downstream systems
      */
-    public static final Integer TCA_DEFAULT_VES_ALERTS_TTL_TABLE = 60 * 60 * 24 * 20; // 20 Days
+    public static final Integer TCA_DEFAULT_VES_ALERTS_TTL_TABLE = 60 * 60 * 24 * 30; // 30 Days
+
+
+    /**
+     * Default TTL for TCA Alerts abatement table which contains information to send out abated alerts
+     */
+    public static final Integer TCA_DEFAULT_ALERTS_ABATEMENT_TTL_TABLE = 60 * 60 * 24 * 30; // 30 Days
 
 
     // TCA Policy Runtime Argument Paths
     public static final String TCA_POLICY_DELIMITER = ".";
     public static final String TCA_POLICY_DOMAIN_PATH = "domain";
-    public static final String TCA_POLICY_METRICS_PER_FUNCTIONAL_ROLE_PATH = "configuration.metricsPerFunctionalRole";
+    public static final String TCA_POLICY_METRICS_PER_FUNCTIONAL_ROLE_PATH = "configuration.metricsPerEventName";
     public static final String TCA_POLICY_THRESHOLDS_PATH_POSTFIX = "thresholds";
 
     public static final String TCA_POLICY_JSON_KEY = "tca_policy";
-    public static final String TCA_POLICY_STRING_DELIMITER = "'";
+    public static final String TCA_POLICY_STRING_DELIMITER = "\"";
 
     private AnalyticsConstants() {
 
index 9a42a97..81c8b57 100644 (file)
@@ -35,7 +35,7 @@ public abstract class BaseAnalyticsCommonUnitTest extends BaseDCAEAnalyticsUnitT
 
     protected static final String TEST_MESSAGE_PROCESSOR_MESSAGE = "Test Processor Message";
 
-    protected static final String CEF_MESSAGE_FILE_PATH = "data/json/cef_message.json";
+    protected static final String CEF_MESSAGE_FILE_PATH = "data/json/cef/cef_message.json";
 
     /*
      * Test implementation for {@link CDAPAppSettings}
index 3a0d8bd..db72a03 100644 (file)
@@ -48,7 +48,7 @@ public class GenericJsonMessageFilterTest extends BaseAnalyticsCommonUnitTest {
         final JsonMessageFilterProcessorContext finalMessageProcessorContext =
                 processJsonMessageFilterChain(jsonMessage,
                         "domainFilter", "$.event.commonEventHeader.domain", "measurementsForVfScaling",
-                        "functionalRoleFilter", "$.event.commonEventHeader.functionalRole", "vFirewall");
+                        "eventNameFilter", "$.event.commonEventHeader.eventName", "Mfvs_eNodeB_RANKPI");
 
         assertJsonMessageAssertions(jsonMessage, finalMessageProcessorContext, true, true, 2);
 
@@ -59,8 +59,8 @@ public class GenericJsonMessageFilterTest extends BaseAnalyticsCommonUnitTest {
 
         final JsonMessageFilterProcessorContext finalMessageProcessorContext =
                 processJsonMessageFilterChain(jsonMessage,
-                        "domainFilter", "$.event.commonEventHeader.sequence", "375",
-                        "functionalRoleFilter", "$.event.commonEventHeader.functionalRole", "vFirewall");
+                        "domainFilter", "$.event.commonEventHeader.sequence", "0",
+                        "eventNameFilter", "$.event.commonEventHeader.eventName", "Mfvs_eNodeB_RANKPI");
 
         assertJsonMessageAssertions(jsonMessage, finalMessageProcessorContext, true, true, 2);
     }
@@ -71,7 +71,7 @@ public class GenericJsonMessageFilterTest extends BaseAnalyticsCommonUnitTest {
         final JsonMessageFilterProcessorContext finalMessageProcessorContext =
                 processJsonMessageFilterChain(jsonMessage,
                         "domainFilter", "$.event.commonEventHeader.domain", "xxxxxxxxxxx",
-                        "functionalRoleFilter", "$.event.commonEventHeader.functionalRole", "vFirewall");
+                        "functionalRoleFilter", "$.event.commonEventHeader.eventName", "vFirewall");
 
         assertJsonMessageAssertions(jsonMessage, finalMessageProcessorContext, false, false, 1);
     }
@@ -82,7 +82,7 @@ public class GenericJsonMessageFilterTest extends BaseAnalyticsCommonUnitTest {
         final JsonMessageFilterProcessorContext finalMessageProcessorContext =
                 processJsonMessageFilterChain(jsonMessage,
                         "domainFilter", "$.event.commonEventHeader.xxxxxxx", "measurementsForVfScaling",
-                        "functionalRoleFilter", "$.event.commonEventHeader.functionalRole", "vFirewall");
+                        "functionalRoleFilter", "$.event.commonEventHeader.eventName", "vFirewall");
 
         assertJsonMessageAssertions(jsonMessage, finalMessageProcessorContext, false, false, 1);
     }
@@ -93,7 +93,7 @@ public class GenericJsonMessageFilterTest extends BaseAnalyticsCommonUnitTest {
         final JsonMessageFilterProcessorContext finalMessageProcessorContext =
                 processJsonMessageFilterChain("",
                         "domainFilter", "$.event.commonEventHeader.domain", "measurementsForVfScaling",
-                        "functionalRoleFilter", "$.event.commonEventHeader.functionalRole", "vFirewall");
+                        "functionalRoleFilter", "$.event.commonEventHeader.eventName", "vFirewall");
 
         assertJsonMessageAssertions("", finalMessageProcessorContext, false, null, 1);
 
@@ -105,7 +105,7 @@ public class GenericJsonMessageFilterTest extends BaseAnalyticsCommonUnitTest {
         final JsonMessageFilterProcessorContext finalMessageProcessorContext =
                 processJsonMessageFilterChain("invalidJson",
                         "domainFilter", "$.event.commonEventHeader.domain", "measurementsForVfScaling",
-                        "functionalRoleFilter", "$.event.commonEventHeader.functionalRole", "vFirewall");
+                        "functionalRoleFilter", "$.event.commonEventHeader.eventName", "vFirewall");
 
         assertJsonMessageAssertions("invalidJson", finalMessageProcessorContext, false, null, 1);
 
index 8f8c68f..5333150 100644 (file)
@@ -42,8 +42,8 @@ public class MessageProcessorUtilsTest extends BaseAnalyticsCommonUnitTest {
 
         final Map<String, Set<String>> jsonFilterMappings = new HashMap<>();
         jsonFilterMappings.put("$.event.commonEventHeader.domain", ImmutableSet.of("measurementsForVfScaling"));
-        jsonFilterMappings.put(
-                "$.event.commonEventHeader.functionalRole", ImmutableSet.of("vFirewall", "vLoadBalancer"));
+        jsonFilterMappings.put("$.event.commonEventHeader.eventName",
+                ImmutableSet.of("vFirewall", "vLoadBalancer", "Mfvs_eNodeB_RANKPI"));
 
         final JsonMessageFilterProcessorContext jsonMessageFilterProcessorContext =
                 MessageProcessorUtils.processJsonFilterMappings(jsonMessage, jsonFilterMappings);
diff --git a/dcae-analytics-common/src/test/resources/data/json/cef_message.json b/dcae-analytics-common/src/test/resources/data/json/cef_message.json
deleted file mode 100644 (file)
index 52cf53b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-{
-  "event": {
-    "measurementsForVfScalingFields": {
-      "measurementInterval": 10,
-      "measurementsForVfScalingVersion": 1.1,
-      "vNicUsageArray": [
-        {
-          "bytesIn": 6086,
-          "multicastPacketsIn": 0,
-          "multicastPacketsOut": 0,
-          "unicastPacketsIn": 0,
-          "broadcastPacketsOut": 0,
-          "packetsOut": 42,
-          "bytesOut": 7156,
-          "packetsIn": 93,
-          "broadcastPacketsIn": 0,
-          "vNicIdentifier": "eth0",
-          "unicastPacketsOut": 0
-        }
-      ]
-    },
-    "commonEventHeader": {
-      "reportingEntityName": "vpp-test",
-      "startEpochMicrosec": 1477070210290442,
-      "eventId": "375",
-      "lastEpochMicrosec": 1477070220290442,
-      "priority": "Normal",
-      "sequence": 375,
-      "sourceName": "Dummy VM name - No Metadata available",
-      "domain": "measurementsForVfScaling",
-      "functionalRole": "vFirewall",
-      "reportingEntityId": "No UUID available",
-      "version": 1.1,
-      "sourceId": "Dummy VM UUID - No Metadata available"
-    }
-  }
-}
index 72f859c..58b1a1f 100644 (file)
@@ -327,17 +327,24 @@ public abstract class BaseDMaaPMRComponent implements DMaaPMRComponent {
 
         // If message string is not null or not empty parse json message array to List of string messages
         if (messagesJsonString != null && !messagesJsonString.trim().isEmpty()
-                && !"[]".equals(messagesJsonString.trim())) {
+                && !("[]").equals(messagesJsonString.trim())) {
 
             try {
-                final List messageList = objectMapper.readValue(messagesJsonString, List.class);
-                for (Object message : messageList) {
-                    final String jsonMessageString = objectMapper.writeValueAsString(message);
-                    if (jsonMessageString.startsWith("\"") && jsonMessageString.endsWith("\"")) {
-                        final String jsonSubString = jsonMessageString.substring(1, jsonMessageString.length() - 1);
-                        messages.add(StringEscapeUtils.unescapeJson(jsonSubString));
+                // get root node
+                final JsonNode rootNode = objectMapper.readTree(messagesJsonString);
+                // iterate over root node and parse arrays messages
+                for (JsonNode jsonNode : rootNode) {
+                    // if array parse it is array of messages
+                    final String incomingMessageString = jsonNode.toString();
+                    if (jsonNode.isArray()) {
+                        final List messageList = objectMapper.readValue(incomingMessageString, List.class);
+                        for (Object message : messageList) {
+                            final String jsonMessageString = objectMapper.writeValueAsString(message);
+                            addUnescapedJsonToMessage(messages, jsonMessageString);
+                        }
                     } else {
-                        messages.add(StringEscapeUtils.unescapeJson(jsonMessageString));
+                        // parse it as object
+                        addUnescapedJsonToMessage(messages, incomingMessageString);
                     }
                 }
 
@@ -352,5 +359,20 @@ public abstract class BaseDMaaPMRComponent implements DMaaPMRComponent {
         return messages;
     }
 
+    /**
+     * Adds unescaped Json messages to given messages list
+     *
+     * @param messages message list in which unescaped messages will be added
+     * @param incomingMessageString incoming message string that may need to be escaped
+     */
+    private static void addUnescapedJsonToMessage(List<String> messages, String incomingMessageString) {
+        if (incomingMessageString.startsWith("\"") && incomingMessageString.endsWith("\"")) {
+            messages.add(StringEscapeUtils.unescapeJson(
+                    incomingMessageString.substring(1, incomingMessageString.length() - 1)));
+        } else {
+            messages.add(StringEscapeUtils.unescapeJson(incomingMessageString));
+        }
+    }
+
 
 }
index a67e777..557742f 100644 (file)
@@ -33,7 +33,7 @@ import org.junit.rules.ExpectedException;
 import org.junit.runner.RunWith;
 import org.mockito.Mock;
 import org.mockito.Mockito;
-import org.mockito.runners.MockitoJUnitRunner;
+import org.mockito.junit.MockitoJUnitRunner;
 import org.openecomp.dcae.apod.analytics.common.exception.DCAEAnalyticsRuntimeException;
 import org.openecomp.dcae.apod.analytics.dmaap.BaseAnalyticsDMaaPUnitTest;
 import org.openecomp.dcae.apod.analytics.dmaap.domain.config.DMaaPMRPublisherConfig;
index 381fa70..c68447f 100644 (file)
@@ -33,7 +33,7 @@ import org.junit.rules.ExpectedException;
 import org.junit.runner.RunWith;
 import org.mockito.Mock;
 import org.mockito.Mockito;
-import org.mockito.runners.MockitoJUnitRunner;
+import org.mockito.junit.MockitoJUnitRunner;
 import org.openecomp.dcae.apod.analytics.common.exception.DCAEAnalyticsRuntimeException;
 import org.openecomp.dcae.apod.analytics.dmaap.BaseAnalyticsDMaaPUnitTest;
 import org.openecomp.dcae.apod.analytics.dmaap.domain.config.DMaaPMRSubscriberConfig;
@@ -55,7 +55,7 @@ import static org.mockito.BDDMockito.given;
 public class DMaaPMRSubscriberImplTest extends BaseAnalyticsDMaaPUnitTest {
 
     @Mock
-    CloseableHttpClient closeableHttpClient;
+    private CloseableHttpClient closeableHttpClient;
 
     private String consumerGroup, consumerId;
 
@@ -152,7 +152,7 @@ public class DMaaPMRSubscriberImplTest extends BaseAnalyticsDMaaPUnitTest {
 
         DMaaPMRSubscriberImpl dmaapMRSubscriberImpl = new DMaaPMRSubscriberImpl(
                 getSubscriberConfig(consumerId, consumerGroup), closeableHttpClient);
-        DMaaPMRSubscriberResponse dmaapMRSubscriberResponse = dmaapMRSubscriberImpl.fetchMessages();
+        dmaapMRSubscriberImpl.fetchMessages();
     }
 
 }
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/ConfigModel.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/ConfigModel.java
new file mode 100644 (file)
index 0000000..7117bbe
--- /dev/null
@@ -0,0 +1,13 @@
+package org.openecomp.dcae.apod.analytics.model.config;
+
+import java.io.Serializable;
+
+/**
+ * <p>
+ *     Marker Interface for all Configuration Model Objects
+ * </p>
+ *
+ * @author Rajiv Singla . Creation Date: 08/25/2017.
+ */
+public interface ConfigModel extends Serializable {
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/BaseTCAAppConfigModel.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/BaseTCAAppConfigModel.java
new file mode 100644 (file)
index 0000000..52c90fb
--- /dev/null
@@ -0,0 +1,17 @@
+package org.openecomp.dcae.apod.analytics.model.config.tca;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+import org.openecomp.dcae.apod.analytics.model.domain.BaseDynamicPropertiesProvider;
+
+/**
+ * <p>
+ *     Base TCA App Config model class
+ * </p>
+ *
+ * @author  rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public abstract class BaseTCAAppConfigModel extends BaseDynamicPropertiesProvider implements TCAAppConfigModel {
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/BaseTCAHandle.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/BaseTCAHandle.java
new file mode 100644 (file)
index 0000000..d0a20ed
--- /dev/null
@@ -0,0 +1,18 @@
+package org.openecomp.dcae.apod.analytics.model.config.tca;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public abstract class BaseTCAHandle extends BaseTCAAppConfigModel {
+
+    private String aafPassword;
+    private String aafUserName;
+    private DMAAPInfo dmaapInfo;
+    private String type;
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/DMAAPInfo.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/DMAAPInfo.java
new file mode 100644 (file)
index 0000000..9238582
--- /dev/null
@@ -0,0 +1,25 @@
+package org.openecomp.dcae.apod.analytics.model.config.tca;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * DMaaP Information nested inside DMaaP Controller config
+ *
+ * @author rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class DMAAPInfo extends BaseTCAAppConfigModel {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * DMaaP Topic URL
+     *
+     * @param topicUrl new value for DMaaP topic URL
+     * @return DMaaP Topic URL
+     */
+    private String topicUrl;
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/StreamsPublishes.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/StreamsPublishes.java
new file mode 100644 (file)
index 0000000..e72ff19
--- /dev/null
@@ -0,0 +1,17 @@
+package org.openecomp.dcae.apod.analytics.model.config.tca;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * @author rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class StreamsPublishes extends BaseTCAAppConfigModel {
+
+    private static final long serialVersionUID = 1L;
+
+    private TCAHandleOut tcaHandleOut;
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/StreamsSubscribes.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/StreamsSubscribes.java
new file mode 100644 (file)
index 0000000..6c03c75
--- /dev/null
@@ -0,0 +1,17 @@
+package org.openecomp.dcae.apod.analytics.model.config.tca;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class StreamsSubscribes extends BaseTCAAppConfigModel {
+
+    private static final long serialVersionUID = 1L;
+
+    private TCAHandleIn tcaHandleIn;
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/TCAAppConfigModel.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/TCAAppConfigModel.java
new file mode 100644 (file)
index 0000000..636429e
--- /dev/null
@@ -0,0 +1,14 @@
+package org.openecomp.dcae.apod.analytics.model.config.tca;
+
+import org.openecomp.dcae.apod.analytics.model.config.ConfigModel;
+
+/**
+ * <p>
+ *      Marker Interface for all TCA Facade Models
+ * </p>
+ *
+ * @author rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+public interface TCAAppConfigModel extends ConfigModel {
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/TCAControllerAppConfig.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/TCAControllerAppConfig.java
new file mode 100644 (file)
index 0000000..8d271df
--- /dev/null
@@ -0,0 +1,22 @@
+package org.openecomp.dcae.apod.analytics.model.config.tca;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * Model Object Representing the App Config passed in by the controller
+ *
+ * Author: rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class TCAControllerAppConfig extends BaseTCAAppConfigModel {
+
+    private static final long serialVersionUID = 1L;
+
+    private String appName;
+    private String appDescription;
+    private StreamsPublishes streamsPublishes;
+    private StreamsSubscribes streamsSubscribes;
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/TCAHandleIn.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/TCAHandleIn.java
new file mode 100644 (file)
index 0000000..6e7d1f4
--- /dev/null
@@ -0,0 +1,19 @@
+package org.openecomp.dcae.apod.analytics.model.config.tca;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ *    TCA Controller App Config - TCA Handle In
+ * </p>
+ *
+ * @author rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class TCAHandleIn extends BaseTCAHandle {
+
+    private static final long serialVersionUID = 1L;
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/TCAHandleOut.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/config/tca/TCAHandleOut.java
new file mode 100644 (file)
index 0000000..312ef5a
--- /dev/null
@@ -0,0 +1,19 @@
+package org.openecomp.dcae.apod.analytics.model.config.tca;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * <p>
+ *     TCA Controller App Config - TCA Handle Out
+ * </p>
+ *
+ * @author rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class TCAHandleOut extends BaseTCAHandle {
+
+    private static final long serialVersionUID = 1L;
+
+}
index 654820b..664bd4a 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.domain.cef;
@@ -23,7 +23,7 @@ package org.openecomp.dcae.apod.analytics.model.domain.cef;
 /**
  *  Common Event Format Alert Action
  *
- * @author Rajiv Singla . Creation Date: 11/3/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public enum AlertAction implements CEFModel {
 
index a20c75c..9fc8046 100644 (file)
@@ -1,28 +1,28 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.domain.cef;
 
 /**
  *
- * @author Rajiv Singla . Creation Date: 11/3/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public enum AlertType implements CEFModel {
 
index bdba70f..5438297 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.domain.cef;
@@ -31,7 +31,7 @@ import org.openecomp.dcae.apod.analytics.model.domain.BaseDynamicPropertiesProvi
  *     can be accumalated in a map.
  * </p>
  *
- * @author Rajiv Singla . Creation Date: 10/18/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
index a98b634..8df7d61 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.domain.cef;
@@ -26,7 +26,7 @@ import org.openecomp.dcae.apod.analytics.model.domain.DCAEAnalyticsModel;
  * <p>
  *      Marker interface for all DCAE Analytics Common Event Format Model implementations
  * </p>
- * @author Rajiv Singla . Creation Date: 10/17/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public interface CEFModel extends DCAEAnalyticsModel {
 
index 7cc45d7..b3d625f 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.domain.cef;
@@ -26,7 +26,7 @@ import lombok.EqualsAndHashCode;
 /**
  * Fields common to all Events
  * <p>
- * @author Rajiv Singla . Creation Date: 10/17/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -41,7 +41,7 @@ public class CommonEventHeader extends BaseCEFModel {
      * @param domain New value for domain
      * @return The eventing domain associated with this event
      */
-    private String domain;
+    private Domain domain;
 
     /**
      * Event key that is unique to the event source
@@ -52,12 +52,30 @@ public class CommonEventHeader extends BaseCEFModel {
     private String eventId;
 
     /**
-     * Function of the source e.g. eNodeB, MME, PCRF
+     * Unique event name
      *
-     * @param functionalRole New value for functional Role
-     * @return Function of the source e.g. eNodeB, MME, PCRF
+     * @param eventName New value for event name
+     * @return Unique event name
      */
-    private String functionalRole;
+    private String eventName;
+
+
+    /**
+     * Event type e.g. applicationVnf, guestOS, hostOS, platform
+     *
+     * @param eventType New value for event type
+     * @return Event type e.g. applicationVnf, guestOS, hostOS, platform
+     */
+    private String eventType;
+
+
+    /**
+     * Enrichment fields for internal VES Event Listener service use only, not supplied by event sources
+     *
+     * @param internalHeaderFields new value for internal Header Fields
+     * @return Enrichment fields for internal VES Event Listener service use only, not supplied by event sources
+     */
+    private InternalHeaderFields internalHeaderFields;
 
 
     /**
@@ -70,6 +88,24 @@ public class CommonEventHeader extends BaseCEFModel {
     private Long lastEpochMicrosec;
 
 
+    /**
+     * Three character network function component type as aligned with vfc naming standards
+     *
+     * @param nfcNamingCode New value for nfc naming code
+     * @return Three character network function component type as aligned with vfc naming standards
+     */
+    private String nfcNamingCode;
+
+
+    /**
+     * Four character network function type as aligned with vnf naming standards
+     *
+     * @param nfNamingCode New value for nf naming code
+     * @return Four character network function type as aligned with vnf naming standards
+     */
+    private String nfNamingCode;
+
+
     /**
      * Processing Priority
      *
@@ -80,10 +116,20 @@ public class CommonEventHeader extends BaseCEFModel {
 
 
     /**
-     * Name of the entity reporting the event, for example, an OAM VM
+     * UUID identifying the entity reporting the event, for example an OAM VM; must be populated by the
+     * enrichment process
+     *
+     * @param reportingEntityId New value for reporting entity Id. Must be populated by the enrichment process
+     * @return UUID identifying the entity reporting the event populated by the enrichment process
+     */
+    private String reportingEntityId;
+
+
+    /**
+     * Name of the entity reporting the event, for example, an EMS name; may be the same as sourceName
      *
      * @param reportingEntityName New value for reporting Entity Name
-     * @return Name of the entity reporting the event, for example, an OAM VM
+     * @return Name of the entity reporting the event, may be the same as sourceName
      */
     private String reportingEntityName;
 
@@ -97,6 +143,15 @@ public class CommonEventHeader extends BaseCEFModel {
     private Integer sequence;
 
 
+    /**
+     * UUID identifying the entity experiencing the event issue; must be populated by the enrichment process
+     *
+     * @param sourceId New value for source id. Must be populated by the enrichment process
+     * @return UUID identifying the entity experiencing the event issue
+     */
+    private String sourceId;
+
+
     /**
      * Name of the entity experiencing the event issue
      *
@@ -114,4 +169,13 @@ public class CommonEventHeader extends BaseCEFModel {
      * @return The earliest unix time associated with the event from any component
      */
     private Long startEpochMicrosec;
+
+
+    /**
+     * Version of the event header
+     *
+     * @param version New value for version of the event header
+     * @return Version of the event header
+     */
+    private Float version;
 }
index 48a9411..69d23c4 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.domain.cef;
@@ -23,7 +23,7 @@ package org.openecomp.dcae.apod.analytics.model.domain.cef;
 /**
  * Performance Criticality
  *
- * @author Rajiv Singla . Creation Date: 11/3/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public enum Criticality implements CEFModel {
 
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/Domain.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/Domain.java
new file mode 100644 (file)
index 0000000..f945f90
--- /dev/null
@@ -0,0 +1,41 @@
+/*
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
+ * ================================================================================
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.openecomp.dcae.apod.analytics.model.domain.cef;
+
+/**
+ * Eventing domain associated with the event
+ * <p>
+ * Author: rs153v (Rajiv Singla) . Creation Date: 08/15/2017.
+ */
+public enum Domain implements CEFModel {
+
+    fault,
+    heartbeat,
+    measurementsForVfScaling,
+    mobileFlow,
+    other,
+    sipSignaling,
+    stateChange,
+    syslog,
+    thresholdCrossingAlert,
+    voiceQuality;
+
+}
index 5fe59a4..bb8a13a 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.domain.cef;
@@ -26,7 +26,7 @@ import lombok.EqualsAndHashCode;
 /**
  * Generic Event Format
  * <p>
- * @author Rajiv Singla . Creation Date: 10/17/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
index df97ebe..0854790 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.domain.cef;
@@ -26,7 +26,7 @@ import lombok.EqualsAndHashCode;
 /**
  * Common Event Format - Base Event Listener
  * <p>
- * @author Rajiv Singla . Creation Date: 10/17/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
index 1021cfb..d7f85fa 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.domain.cef;
@@ -23,7 +23,7 @@ package org.openecomp.dcae.apod.analytics.model.domain.cef;
 /**
  * CEF Event severity or priority
  *
- * @author Rajiv Singla . Creation Date: 11/3/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public enum EventSeverity implements CEFModel {
 
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/Field.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/Field.java
new file mode 100644 (file)
index 0000000..0bff4ec
--- /dev/null
@@ -0,0 +1,53 @@
+/*
+ * ===============================LICENSE_START======================================
+ *  dcae-analytics
+ * ================================================================================
+ *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *          http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *  ============================LICENSE_END===========================================
+ */
+
+package org.openecomp.dcae.apod.analytics.model.domain.cef;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * Name Value Pair
+ * <p>
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class Field extends BaseCEFModel {
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * Name of the Field
+     *
+     * @param name New name for the Field
+     * @return Name of the Field
+     */
+    private String name;
+
+    /**
+     * Value of the Field
+     *
+     * @param value New value for the Field
+     * @return Value of the Field
+     */
+    private String value;
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/InternalHeaderFields.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/InternalHeaderFields.java
new file mode 100644 (file)
index 0000000..66b6236
--- /dev/null
@@ -0,0 +1,38 @@
+/*
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
+ * ================================================================================
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.openecomp.dcae.apod.analytics.model.domain.cef;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * Enrichment fields for internal VES Event Listener service use only, not supplied by event sources
+ * <p>
+ *
+ * @author Rajiv Singla . Creation Date: 08/15/2017.
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class InternalHeaderFields extends BaseCEFModel {
+
+    private static final long serialVersionUID = 1L;
+
+}
index a6bf113..e492f2d 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.domain.cef;
@@ -28,15 +28,31 @@ import java.util.List;
 /**
  * Common Event Format - MeasurementsForVfScaling fields
  * <p>
- * @author Rajiv Singla . Creation Date: 10/17/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
 public class MeasurementsForVfScalingFields extends BaseCEFModel {
 
-
     private static final long serialVersionUID = 1L;
 
+    /**
+     * Additional name-value-pair fields
+     *
+     * @param additionalFields New value for additional name-value-pair fields
+     * @return Additional name-value-pair fields
+     */
+    private List<Field> additionalFields;
+
+
+    /**
+     * Array of named name-value-pair arrays for additional Measurements
+     *
+     * @param additionalMeasurements New value for array of named name-value-pair arrays for additional Measurements
+     * @return Array of named name-value-pair arrays for additional Measurements
+     */
+    private List<NamedArrayOfFields> additionalMeasurements;
+
     /**
      * Interval over which measurements are being reported in seconds
      *
@@ -46,12 +62,20 @@ public class MeasurementsForVfScalingFields extends BaseCEFModel {
     private Long measurementInterval;
 
     /**
-     * Virtual Network Card Usage Array
+     * Version of the measurementsForVfScaling block
+     *
+     * @param measurementsForVfScalingVersion New value for measurementsForVfScaling block
+     * @return Version of the measurementsForVfScaling block
+     */
+    private Float measurementsForVfScalingVersion;
+
+    /**
+     * Usage of an array of virtual network interface cards
      *
-     * @param vNicUsageArray New value for Virtual Network Card Usage Array
-     * @return Virtual Network Card Usage Array
+     * @param vNicPerformanceArray New value for Usage of an array of virtual network interface cards
+     * @return Usage of an array of virtual network interface cards
      */
-    private List<VNicUsageArray> vNicUsageArray;
+    private List<VNicPerformance> vNicPerformanceArray;
 
 
 }
@@ -23,57 +23,33 @@ package org.openecomp.dcae.apod.analytics.model.domain.cef;
 import lombok.Data;
 import lombok.EqualsAndHashCode;
 
+import java.util.List;
+
 /**
- * Usage of an array of virtual network interface cards
+ * An array of name value pairs along with a name for the array
  * <p>
- * @author Rajiv Singla . Creation Date: 10/17/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
-public class VNicUsageArray extends BaseCEFModel {
-
+public class NamedArrayOfFields extends BaseCEFModel {
 
     private static final long serialVersionUID = 1L;
 
     /**
-     * Virtual Network Card - Bytes In
-     *
-     * @param bytesIn New value for Virtual Network Card - Bytes In
-     * @return Virtual Network Card - Bytes In
-     */
-    private Long bytesIn;
-
-    /**
-     * Virtual Network Card - Bytes Out
+     * Name of the NamedArrayOfFields
      *
-     * @param bytesOut New value for Virtual Network Card - Bytes Out
-     * @return Virtual Network Card - Bytes Out
+     * @param name New name for the Field
+     * @return Name of the Field
      */
-    private Long bytesOut;
+    private String name;
 
     /**
-     * Virtual Network Card - Packets In
+     * Array of name value pairs
      *
-     * @param packetsIn New value for Virtual Network Card - Packets In
-     * @return Virtual Network Card - Packets In
+     * @param arrayOfFields New value for array of name value pairs
+     * @return Array of name value pairs
      */
-    private Long packetsIn;
-
-    /**
-     * Virtual Network Card - Packets Out
-     *
-     * @param packetsOut New value for Virtual Network Card - Packets Out
-     * @return Virtual Network Card - Packets Out
-     */
-    private Long packetsOut;
-
-    /**
-     * Virtual Network Card Identifier
-     *
-     * @param vNicIdentifier New value for Virtual Network Card Identifier
-     * @return Virtual Network Card Identifier
-     */
-    private String vNicIdentifier;
-
+    private List<Field> arrayOfFields;
 
 }
index e84c852..e8dbee9 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.domain.cef;
@@ -26,7 +26,7 @@ import lombok.EqualsAndHashCode;
 /**
  * Common Event Format - Performance PerformanceCounter
  *
- * @author Rajiv Singla . Creation Date: 11/3/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
index 3cfce75..f2c6674 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.domain.cef;
@@ -23,7 +23,7 @@ package org.openecomp.dcae.apod.analytics.model.domain.cef;
 /**
  * Common Event Format - Event processing priority
  * <p>
- * @author Rajiv Singla . Creation Date: 10/17/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public enum Priority implements CEFModel {
 
index 340b788..55dd696 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.domain.cef;
@@ -28,7 +28,7 @@ import java.util.List;
 /**
  * Common Event Format - Fields Specific to threshold crossing alert events
  *
- * @author Rajiv Singla . Creation Date: 11/3/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
@@ -102,10 +102,10 @@ public class ThresholdCrossingAlertFields extends BaseCEFModel {
     private String dataCollector;
 
     /**
-     * Type of network element - internal field
+     * Type of network element
      *
-     * @param elementType New value for type of network element - internal field
-     * @return Type of network element - internal field
+     * @param elementType New value for type of network element
+     * @return Type of network element
      */
     private String elementType;
 
@@ -134,10 +134,10 @@ public class ThresholdCrossingAlertFields extends BaseCEFModel {
     private String interfaceName;
 
     /**
-     * Network name - internal field
+     * Network name
      *
-     * @param networkService New value for network name - internal field
-     * @return Network name - internal field
+     * @param networkService New value for network name
+     * @return Network name
      */
     private String networkService;
 
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/VNicPerformance.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/cef/VNicPerformance.java
new file mode 100644 (file)
index 0000000..fae162d
--- /dev/null
@@ -0,0 +1,308 @@
+/*
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
+ * ================================================================================
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.openecomp.dcae.apod.analytics.model.domain.cef;
+
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+/**
+ * Describes the performance and errors of an identified virtual network interface card
+ * <p>
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+public class VNicPerformance extends BaseCEFModel {
+
+
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * Cumulative count of broadcast packets received as read at the end of the measurement interval
+     *
+     * @param receivedBroadcastPacketsAccumulated New value for cumulative count of broadcast packets received as
+     * read at the end of the measurement interval
+     * @return Cumulative count of broadcast packets received as read at the end of the measurement interval
+     */
+    private Long receivedBroadcastPacketsAccumulated;
+
+    /**
+     * Count of broadcast packets received within the measurement interval
+     *
+     * @param receivedBroadcastPacketsDelta New value for count of broadcast packets received within the measurement
+     * interval
+     * @return Count of broadcast packets received within the measurement interval
+     */
+    private Long receivedBroadcastPacketsDelta;
+
+    /**
+     * Cumulative count of discarded packets received as read at the end of the measurement interval
+     *
+     * @param receivedDiscardedPacketsAccumulated New value for cumulative count of discarded packets received as read
+     * at the end of the measurement interval
+     * @return  Cumulative count of discarded packets received as read at the end of the measurement interval
+     */
+    private Long receivedDiscardedPacketsAccumulated;
+
+    /**
+     * Count of discarded packets received within the measurement interval
+     *
+     * @param receivedDiscardedPacketsDelta New value for count of discarded packets received within the measurement
+     * interval
+     * @return Count of discarded packets received within the measurement interval
+     */
+    private Long receivedDiscardedPacketsDelta;
+
+    /**
+     * Cumulative count of error packets received as read at the end of the measurement interval
+     *
+     * @param receivedErrorPacketsAccumulated New value for cumulative count of error packets received as read at the
+     * end of the measurement interval
+     * @return Cumulative count of error packets received as read at the end of the measurement interval
+     */
+    private Long receivedErrorPacketsAccumulated;
+
+    /**
+     * Count of error packets received within the measurement interval
+     *
+     * @param receivedErrorPacketsDelta New value for count of error packets received within the measurement interval
+     * @return Count of error packets received within the measurement interval
+     */
+    private Long receivedErrorPacketsDelta;
+
+    /**
+     * Cumulative count of multicast packets received as read at the end of the measurement interval
+     *
+     * @param receivedMulticastPacketsAccumulated New value for cumulative count of multicast packets received as
+     * read at the end of the measurement interval
+     * @return Cumulative count of multicast packets received as read at the end of the measurement interval
+     */
+    private Long receivedMulticastPacketsAccumulated;
+
+    /**
+     * Count of multicast packets received within the measurement interval
+     *
+     * @param receivedMulticastPacketsDelta New value for count of multicast packets received within the measurement
+     * interval
+     * @return Count of multicast packets received within the measurement interval
+     */
+    private Long receivedMulticastPacketsDelta;
+
+    /**
+     * Cumulative count of octets received as read at the end of the measurement interval
+     *
+     * @param receivedOctetsAccumulated New value for cumulative count of octets received as read at the end of the
+     * measurement interval
+     * @return Cumulative count of octets received as read at the end of the measurement interval
+     */
+    private Long receivedOctetsAccumulated;
+
+    /**
+     * Count of octets received within the measurement interval
+     *
+     * @param receivedOctetsDelta New value for count of octets received within the measurement interval
+     * @return Count of octets received within the measurement interval
+     */
+    private Long receivedOctetsDelta;
+
+    /**
+     * Cumulative count of all packets received as read at the end of the measurement interval
+     *
+     * @param receivedTotalPacketsAccumulated New value for cumulative count of all packets received as read at the
+     * end of the measurement interval
+     * @return Cumulative count of all packets received as read at the end of the measurement interval
+     */
+    private Long receivedTotalPacketsAccumulated;
+
+    /**
+     * Count of all packets received within the measurement interval
+     *
+     * @param receivedTotalPacketsDelta New value for count of all packets received within the measurement interval
+     * @return Count of all packets received within the measurement interval
+     */
+    private Long receivedTotalPacketsDelta;
+
+    /**
+     * Cumulative count of unicast packets received as read at the end of the measurement interval
+     *
+     * @param receivedUnicastPacketsAccumulated New value for cumulative count of unicast packets received as read at
+     * the end of the measurement interval
+     * @return Cumulative count of unicast packets received as read at the end of the measurement interval
+     */
+    private Long receivedUnicastPacketsAccumulated;
+
+    /**
+     * Count of unicast packets received within the measurement interval
+     *
+     * @param receivedUnicastPacketsDelta New value for count of unicast packets received within the measurement
+     * interval
+     * @return Count of unicast packets received within the measurement interval
+     */
+    private Long receivedUnicastPacketsDelta;
+
+    /**
+     * Cumulative count of broadcast packets transmitted as read at the end of the measurement interval
+     *
+     * @param transmittedBroadcastPacketsAccumulated New value for cumulative count of broadcast packets transmitted
+     * as read at the end of the measurement interval
+     * @return Cumulative count of broadcast packets transmitted as read at the end of the measurement interval
+     */
+    private Long transmittedBroadcastPacketsAccumulated;
+
+    /**
+     * Count of broadcast packets transmitted within the measurement interval
+     *
+     * @param transmittedBroadcastPacketsDelta New value for count of broadcast packets transmitted within the
+     * measurement interval
+     * @return Count of broadcast packets transmitted within the measurement interval
+     */
+    private Long transmittedBroadcastPacketsDelta;
+
+    /**
+     * Cumulative count of discarded packets transmitted as read at the end of the measurement interval
+     *
+     * @param transmittedDiscardedPacketsAccumulated New value for cumulative count of discarded packets transmitted
+     * as read at the end of the measurement interval
+     * @return Cumulative count of discarded packets transmitted as read at the end of the measurement interval
+     */
+    private Long transmittedDiscardedPacketsAccumulated;
+
+    /**
+     * Count of discarded packets transmitted within the measurement interval
+     *
+     * @param transmittedDiscardedPacketsDelta New value for count of discarded packets transmitted within the
+     * measurement interval
+     * @return Count of discarded packets transmitted within the measurement interval
+     */
+    private Long transmittedDiscardedPacketsDelta;
+
+    /**
+     * Cumulative count of error packets transmitted as read at the end of the measurement interval
+     *
+     * @param transmittedErrorPacketsAccumulated New value for cumulative count of error packets transmitted as read
+     * at the end of the measurement interval
+     * @return Cumulative count of error packets transmitted as read at the end of the measurement interval
+     */
+    private Long transmittedErrorPacketsAccumulated;
+
+    /**
+     * Count of error packets transmitted within the measurement interval
+     *
+     * @param transmittedErrorPacketsDelta New value for count of error packets transmitted within the measurement
+     * interval
+     * @return Count of error packets transmitted within the measurement interval
+     */
+    private Long transmittedErrorPacketsDelta;
+
+    /**
+     * Cumulative count of multicast packets transmitted as read at the end of the measurement interval
+     *
+     * @param transmittedMulticastPacketsAccumulated New value for cumulative count of multicast packets transmitted
+     * as read at the end of the measurement interval
+     * @return Cumulative count of multicast packets transmitted as read at the end of the measurement interval
+     */
+    private Long transmittedMulticastPacketsAccumulated;
+
+    /**
+     * Count of multicast packets transmitted within the measurement interval
+     *
+     * @param transmittedMulticastPacketsDelta New value for count of multicast packets transmitted within the
+     * measurement interval
+     * @return Count of multicast packets transmitted within the measurement interval
+     */
+    private Long transmittedMulticastPacketsDelta;
+
+    /**
+     * Cumulative count of octets transmitted as read at the end of the measurement interval
+     *
+     * @param transmittedOctetsAccumulated New value for cumulative count of octets transmitted as read at the end of
+     * the measurement interval
+     * @return Cumulative count of octets transmitted as read at the end of the measurement interval
+     */
+    private Long transmittedOctetsAccumulated;
+
+    /**
+     * Count of octets transmitted within the measurement interval
+     *
+     * @param transmittedOctetsDelta New value for count of octets transmitted within the measurement interval
+     * @return Count of octets transmitted within the measurement interval
+     */
+    private Long transmittedOctetsDelta;
+
+    /**
+     * Cumulative count of all packets transmitted as read at the end of the measurement interval
+     *
+     * @param transmittedTotalPacketsAccumulated New value for cumulative count of all packets transmitted as read at
+     * the end of the measurement interval
+     * @return Cumulative count of all packets transmitted as read at the end of the measurement interval
+     */
+    private Long transmittedTotalPacketsAccumulated;
+
+    /**
+     * Count of all packets transmitted within the measurement interval
+     *
+     * @param transmittedTotalPacketsDelta New value for count of all packets transmitted within the measurement
+     * interval
+     * @return Count of all packets transmitted within the measurement interval
+     */
+    private Long transmittedTotalPacketsDelta;
+
+    /**
+     * Cumulative count of unicast packets transmitted as read at the end of the measurement interval
+     *
+     * @param transmittedUnicastPacketsAccumulated New value for cumulative count of unicast packets transmitted as
+     * read at the end of the measurement interval
+     * @return Cumulative count of unicast packets transmitted as read at the end of the measurement interval
+     */
+    private Long transmittedUnicastPacketsAccumulated;
+
+
+    /**
+     * Count of unicast packets transmitted within the measurement interval
+     *
+     * @param transmittedUnicastPacketsDelta New value for count of unicast packets transmitted within the
+     * measurement interval
+     * @return Count of unicast packets transmitted within the measurement interval
+     */
+    private Long transmittedUnicastPacketsDelta;
+
+
+    /**
+     * Indicates whether vNicPerformance values are likely inaccurate due to counter overflow or other conditions
+     *
+     * @param valuesAreSuspect New value to indicate whether vNicPerformance values are likely inaccurate due to
+     * counter overflow or other conditions
+     * @return Indicates whether vNicPerformance values are likely inaccurate due to counter overflow or other
+     * conditions
+     */
+    private Boolean valuesAreSuspect;
+
+
+    /**
+     * Virtual Network Card Identifier
+     *
+     * @param vNicIdentifier New value for Virtual Network Card Identifier
+     * @return Virtual Network Card Identifier
+     */
+    private String vNicIdentifier;
+
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/ControlLoopEventStatus.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/ControlLoopEventStatus.java
new file mode 100644 (file)
index 0000000..3f780af
--- /dev/null
@@ -0,0 +1,14 @@
+package org.openecomp.dcae.apod.analytics.model.domain.policy.tca;
+
+/**
+ * TCA Policy Control Loop Event Status
+ *
+ * Author: rs153v (Rajiv Singla) . Creation Date: 9/11/2017.
+ */
+public enum ControlLoopEventStatus implements TCAPolicyModel {
+
+    ONSET,
+    ABATED,
+    CONTINUE;
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/ControlLoopSchemaType.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/domain/policy/tca/ControlLoopSchemaType.java
new file mode 100644 (file)
index 0000000..63d74ce
--- /dev/null
@@ -0,0 +1,13 @@
+package org.openecomp.dcae.apod.analytics.model.domain.policy.tca;
+
+import org.openecomp.dcae.apod.analytics.model.domain.policy.PolicyModel;
+
+/**
+ * Control Loop Schema Type
+ *
+ * Author: rs153v (Rajiv Singla) . Creation Date: 8/24/2017.
+ */
+public enum ControlLoopSchemaType implements PolicyModel {
+
+    VNF, VM;
+}
index dc85d97..8cad66b 100644 (file)
@@ -30,6 +30,12 @@ import javax.annotation.Nonnull;
  */
 public enum Direction implements TCAPolicyModel {
 
+    EQUAL {
+        @Override
+        public Boolean operate(@Nonnull Long value1, @Nonnull Long value2) {
+            return value1.equals(value2);
+        }
+    },
     LESS {
         @Override
         public Boolean operate(@Nonnull Long value1, @Nonnull Long value2) {
@@ -27,24 +27,32 @@ import java.util.ArrayList;
 import java.util.List;
 
 /**
- * TCA Metrics that need to applied to each functional Role
+ * TCA Metrics that need to applied to each Event Name
  *
  * @author Rajiv Singla . Creation Date: 11/5/2016.
  */
 @Data
 @EqualsAndHashCode(callSuper = true)
-public class MetricsPerFunctionalRole extends BaseTCAPolicyModel{
+public class MetricsPerEventName extends BaseTCAPolicyModel{
 
 
     private static final long serialVersionUID = 1L;
 
     /**
-     * Functional Role to which TCA Policy needs to applied.
+     * Event Name to which TCA Policy needs to applied.
      *
-     * @param functionalRole New value for Functional Role to which TCA Policy needs to applied
-     * @return Functional Role to which TCA Policy needs to applied
+     * @param eventName New value for eventName to which TCA Policy needs to applied
+     * @return Event Name to which TCA Policy needs to applied
      */
-    private String functionalRole;
+    private String eventName;
+
+    /**
+     * Control Loop Schema Type
+     *
+     * @param controlLoopSchemaType New value for Control Loop Schema Type
+     * @return Control Loop Schema Type
+     */
+    private ControlLoopSchemaType controlLoopSchemaType;
 
     /**
      * Policy Scope
@@ -80,22 +88,27 @@ public class MetricsPerFunctionalRole extends BaseTCAPolicyModel{
 
 
     /**
-     * Creates a copy of given {@link MetricsPerFunctionalRole}
+     * Creates a deep copy of given {@link MetricsPerEventName}
      *
-     * @param metricsPerFunctionalRole metrics Per functional role that need to copied
+     * @param metricsPerEventName metrics Per Event Name that need to copied
      *
-     * @return copy of new metrics per function role with values copied from given metrics per functional role
+     * @return copy of new metrics per event Name with values copied from given metrics per Event Name
      */
-    public static MetricsPerFunctionalRole copy(final MetricsPerFunctionalRole metricsPerFunctionalRole) {
-        final MetricsPerFunctionalRole newMetricsPerFunctionalRole = new MetricsPerFunctionalRole();
-        newMetricsPerFunctionalRole.setFunctionalRole(metricsPerFunctionalRole.getFunctionalRole());
-        newMetricsPerFunctionalRole.setPolicyScope(metricsPerFunctionalRole.getPolicyScope());
-        newMetricsPerFunctionalRole.setPolicyName(metricsPerFunctionalRole.getPolicyName());
-        newMetricsPerFunctionalRole.setPolicyVersion(metricsPerFunctionalRole.getPolicyVersion());
-        if (metricsPerFunctionalRole.getThresholds() != null) {
-            newMetricsPerFunctionalRole.setThresholds(new ArrayList<>(metricsPerFunctionalRole.getThresholds()));
+    public static MetricsPerEventName copy(final MetricsPerEventName metricsPerEventName) {
+        final MetricsPerEventName newMetricsPerEventName = new MetricsPerEventName();
+        newMetricsPerEventName.setEventName(metricsPerEventName.getEventName());
+        newMetricsPerEventName.setControlLoopSchemaType(metricsPerEventName.getControlLoopSchemaType());
+        newMetricsPerEventName.setPolicyScope(metricsPerEventName.getPolicyScope());
+        newMetricsPerEventName.setPolicyName(metricsPerEventName.getPolicyName());
+        newMetricsPerEventName.setPolicyVersion(metricsPerEventName.getPolicyVersion());
+        if (metricsPerEventName.getThresholds() != null) {
+            List<Threshold> newThresholds = new ArrayList<>(metricsPerEventName.getThresholds().size());
+            for( Threshold threshold : metricsPerEventName.getThresholds()) {
+                newThresholds.add(Threshold.copy(threshold));
+            }
+            newMetricsPerEventName.setThresholds(newThresholds);
         }
-        return newMetricsPerFunctionalRole;
+        return newMetricsPerEventName;
     }
 
 
index b62d91d..3ae113a 100644 (file)
@@ -22,7 +22,6 @@ package org.openecomp.dcae.apod.analytics.model.domain.policy.tca;
 
 import lombok.Data;
 import lombok.EqualsAndHashCode;
-import org.openecomp.dcae.apod.analytics.model.domain.cef.CommonEventHeader;
 
 import java.util.List;
 
@@ -40,7 +39,7 @@ public class TCAPolicy extends BaseTCAPolicyModel {
     private static final long serialVersionUID = 1L;
 
     /**
-     * TCA Policy domain which is associated with TCA incoming CEF message {@link CommonEventHeader#getDomain()}
+     * TCA Policy domain which is associated with TCA incoming CEF message domain
      *
      * @param domain New value for domain
      * @return Policy domain which is associated with incoming CEF message
@@ -50,10 +49,10 @@ public class TCAPolicy extends BaseTCAPolicyModel {
     /**
      * Contains TCA Policy metrics that needs to be applied to each Functional Role
      *
-     * @param metricsPerFunctionalRole New value for metrics that needs to be applied to each Functional Role
+     * @param metricsPerEventName New value for metrics that needs to be applied to each Functional Role
      * @return Contains TCA Policy metrics that needs to be applied to each Functional Role
      */
-    private List<MetricsPerFunctionalRole> metricsPerFunctionalRole;
+    private List<MetricsPerEventName> metricsPerEventName;
 
 
 }
index b23d109..e05cc26 100644 (file)
@@ -42,6 +42,15 @@ public class Threshold extends BaseTCAPolicyModel {
      */
     private String closedLoopControlName;
 
+
+    /**
+     * Closed Loop Event Status
+     *
+     * @param closedLoopEventStatus New value for Closed Loop Event Status
+     * @return Closed Loop Event Status
+     */
+    private ControlLoopEventStatus closedLoopEventStatus;
+
     /**
      * Threshold Version
      *
@@ -85,16 +94,16 @@ public class Threshold extends BaseTCAPolicyModel {
 
 
     /**
-     * Actual Field value that caused the threshold violation. Ignored for deserialization
+     * Actual Field value that caused the threshold violation. Note: Ignored for serialization / deserialization
      *
      *
-     * @param actualFieldValue new value value for actual Field value that caused the violation
+     * @param actualFieldValue new value for actual Field value that caused the violation
      * @return actual field value that caused the violation
      */
     private Long actualFieldValue;
 
     /**
-     * Creates a copy of give {@link Threshold}
+     * Creates a deep copy of give {@link Threshold}
      *
      * @param threshold threshold that need to be copied
      *
@@ -103,6 +112,7 @@ public class Threshold extends BaseTCAPolicyModel {
     public static Threshold copy(final Threshold threshold) {
         final Threshold newThreshold = new Threshold();
         newThreshold.setClosedLoopControlName(threshold.getClosedLoopControlName());
+        newThreshold.setClosedLoopEventStatus(threshold.getClosedLoopEventStatus());
         newThreshold.setFieldPath(threshold.getFieldPath());
         newThreshold.setThresholdValue(threshold.getThresholdValue());
         newThreshold.setDirection(threshold.getDirection());
index 75561a8..d21695a 100644 (file)
@@ -67,6 +67,8 @@ public class AnalyticsModelObjectMapperSupplier implements Supplier<ObjectMapper
         objectMapper.registerModule(new TCAPolicyModule());
         // Register TCA Facade Module
         objectMapper.registerModule(new TCAFacadeModelModule());
+        // Register TCA Controller App Config Module
+        objectMapper.registerModule(new TCAControllerConfigModule());
 
 
         // Setup JsonPath default config
index f30cecf..042ac4e 100644 (file)
@@ -27,23 +27,31 @@ import org.openecomp.dcae.apod.analytics.model.domain.cef.AlertType;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.BaseCEFModel;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.CommonEventHeader;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.Criticality;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.Domain;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.Event;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventListener;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventSeverity;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.Field;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.InternalHeaderFields;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.MeasurementsForVfScalingFields;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.NamedArrayOfFields;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.PerformanceCounter;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.Priority;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.ThresholdCrossingAlertFields;
-import org.openecomp.dcae.apod.analytics.model.domain.cef.VNicUsageArray;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.VNicPerformance;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.AlertActionMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.AlertTypeMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.BaseCEFModelMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.CommonEventHeaderMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.CriticalityMixin;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.DomainMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.EventListenerMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.EventMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.EventSeverityMixin;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.FieldMixin;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.InternalHeaderFieldsMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.MeasurementsForVfScalingFieldsMixin;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.NamedArrayOfFieldsMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.PerformanceCounterMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.PriorityMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef.ThresholdCrossingAlertFieldsMixin;
@@ -58,7 +66,7 @@ public class CommonEventFormatModule extends SimpleModule {
 
     public CommonEventFormatModule() {
         super("Common Event Format",
-                new Version(25, 0, 0, null, " org.openecomp.dcae.apod.analytics.model", "dcae-analytics-model"));
+                new Version(28, 3, 0, null, " org.openecomp.dcae.apod.analytics.model", "dcae-analytics-model"));
     }
 
     @Override
@@ -68,6 +76,10 @@ public class CommonEventFormatModule extends SimpleModule {
         setupContext.setMixInAnnotations(AlertType.class, AlertTypeMixin.class);
         setupContext.setMixInAnnotations(BaseCEFModel.class, BaseCEFModelMixin.class);
         setupContext.setMixInAnnotations(CommonEventHeader.class, CommonEventHeaderMixin.class);
+        setupContext.setMixInAnnotations(Domain.class, DomainMixin.class);
+        setupContext.setMixInAnnotations(InternalHeaderFields.class, InternalHeaderFieldsMixin.class);
+        setupContext.setMixInAnnotations(Field.class, FieldMixin.class);
+        setupContext.setMixInAnnotations(NamedArrayOfFields.class, NamedArrayOfFieldsMixin.class);
         setupContext.setMixInAnnotations(Criticality.class, CriticalityMixin.class);
         setupContext.setMixInAnnotations(EventListener.class, EventListenerMixin.class);
         setupContext.setMixInAnnotations(Event.class, EventMixin.class);
@@ -77,7 +89,7 @@ public class CommonEventFormatModule extends SimpleModule {
         setupContext.setMixInAnnotations(PerformanceCounter.class, PerformanceCounterMixin.class);
         setupContext.setMixInAnnotations(Priority.class, PriorityMixin.class);
         setupContext.setMixInAnnotations(ThresholdCrossingAlertFields.class, ThresholdCrossingAlertFieldsMixin.class);
-        setupContext.setMixInAnnotations(VNicUsageArray.class, VNicUsageArrayMixin.class);
+        setupContext.setMixInAnnotations(VNicPerformance.class, VNicUsageArrayMixin.class);
 
     }
 
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/TCAControllerConfigModule.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/TCAControllerConfigModule.java
new file mode 100644 (file)
index 0000000..393f349
--- /dev/null
@@ -0,0 +1,39 @@
+package org.openecomp.dcae.apod.analytics.model.util.json;
+
+import com.fasterxml.jackson.core.Version;
+import com.fasterxml.jackson.databind.module.SimpleModule;
+import org.openecomp.dcae.apod.analytics.model.config.tca.BaseTCAAppConfigModel;
+import org.openecomp.dcae.apod.analytics.model.config.tca.BaseTCAHandle;
+import org.openecomp.dcae.apod.analytics.model.config.tca.DMAAPInfo;
+import org.openecomp.dcae.apod.analytics.model.config.tca.StreamsPublishes;
+import org.openecomp.dcae.apod.analytics.model.config.tca.StreamsSubscribes;
+import org.openecomp.dcae.apod.analytics.model.config.tca.TCAControllerAppConfig;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.config.tca.BaseTCAAppConfigModelMixin;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.config.tca.BaseTCAHandleMixin;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.config.tca.DMAAPInfoMixin;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.config.tca.StreamsPublishesMixin;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.config.tca.StreamsSubscribesMixin;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.config.tca.TCAControllerAppConfigMixin;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+public class TCAControllerConfigModule extends SimpleModule {
+
+    private static final long serialVersionUID = 1L;
+
+    public TCAControllerConfigModule() {
+        super("Threshold Crossing Alert Controller Config",
+                new Version(1, 0, 0, null, "org.openecomp.dace.apod.analytics.model", "dcae-analytics-model"));
+    }
+
+    @Override
+    public void setupModule(final SetupContext setupContext) {
+        setupContext.setMixInAnnotations(BaseTCAAppConfigModel.class, BaseTCAAppConfigModelMixin.class);
+        setupContext.setMixInAnnotations(BaseTCAHandle.class, BaseTCAHandleMixin.class);
+        setupContext.setMixInAnnotations(DMAAPInfo.class, DMAAPInfoMixin.class);
+        setupContext.setMixInAnnotations(StreamsPublishes.class, StreamsPublishesMixin.class);
+        setupContext.setMixInAnnotations(StreamsSubscribes.class, StreamsSubscribesMixin.class);
+        setupContext.setMixInAnnotations(TCAControllerAppConfig.class, TCAControllerAppConfigMixin.class);
+    }
+}
index ce8997c..26871c9 100644 (file)
@@ -23,13 +23,17 @@ package org.openecomp.dcae.apod.analytics.model.util.json;
 import com.fasterxml.jackson.core.Version;
 import com.fasterxml.jackson.databind.module.SimpleModule;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.BaseTCAPolicyModel;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.ControlLoopEventStatus;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.ControlLoopSchemaType;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Direction;
-import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerFunctionalRole;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.policy.tca.BaseTCAPolicyModelMixin;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.policy.tca.ControlLoopEventStatusMixin;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.policy.tca.ControlLoopSchemaTypeMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.policy.tca.DirectionMixin;
-import org.openecomp.dcae.apod.analytics.model.util.json.mixin.policy.tca.MetricsPerFunctionalRoleMixin;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.policy.tca.MetricsPerEventNameMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.policy.tca.TCAPolicyMixin;
 import org.openecomp.dcae.apod.analytics.model.util.json.mixin.policy.tca.ThresholdMixin;
 
@@ -48,14 +52,13 @@ public class TCAPolicyModule extends SimpleModule {
 
     @Override
     public void setupModule(final SetupContext setupContext) {
-
         setupContext.setMixInAnnotations(BaseTCAPolicyModel.class, BaseTCAPolicyModelMixin.class);
+        setupContext.setMixInAnnotations(ControlLoopSchemaType.class, ControlLoopSchemaTypeMixin.class);
         setupContext.setMixInAnnotations(Direction.class, DirectionMixin.class);
+        setupContext.setMixInAnnotations(ControlLoopEventStatus.class, ControlLoopEventStatusMixin.class);
         setupContext.setMixInAnnotations(TCAPolicy.class, TCAPolicyMixin.class);
-        setupContext.setMixInAnnotations(MetricsPerFunctionalRole.class, MetricsPerFunctionalRoleMixin.class);
+        setupContext.setMixInAnnotations(MetricsPerEventName.class, MetricsPerEventNameMixin.class);
         setupContext.setMixInAnnotations(Threshold.class, ThresholdMixin.class);
         setupContext.setMixInAnnotations(TCAPolicy.class, TCAPolicyMixin.class);
-
-
     }
 }
index 45577db..d0ce3a0 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
@@ -24,7 +24,7 @@ import org.openecomp.dcae.apod.analytics.model.util.json.mixin.JsonMixin;
 
 /**
  *
- * @author Rajiv Singla . Creation Date: 11/5/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public abstract class AlertActionMixin implements JsonMixin {
 }
index efed8b8..6123f4b 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
@@ -28,20 +28,12 @@ import org.openecomp.dcae.apod.analytics.model.util.json.mixin.JsonMixin;
 /**
  * Mixin for Alert Type
  *
- * @author Rajiv Singla . Creation Date: 11/3/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public abstract class AlertTypeMixin implements JsonMixin {
 
     private String name;
 
-    /**
-     * Provides hint to Jackson Json to parse alert type string which are not valid java variable names
-     * to proper java alert types
-     *
-     * @param name name of Alert coming from incoming Json
-     *
-     * @return java representation of alert type
-     */
     @JsonCreator
     public static AlertType forValue(String name) {
 
@@ -60,11 +52,6 @@ public abstract class AlertTypeMixin implements JsonMixin {
 
     }
 
-    /**
-     * Provide hint to Jackson Json to parse java object variable name to CEF specification alert String
-     *
-     * @return alert string in CEF format
-     */
     @JsonValue
     public String getName() {
         return name;
index b332867..092d554 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
@@ -25,7 +25,7 @@ import org.openecomp.dcae.apod.analytics.model.util.json.mixin.BaseDynamicProper
 /**
  * Abstract Mixin for all CEF Model Mixins
  *
- * @author Rajiv Singla . Creation Date: 10/18/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public abstract class BaseCEFModelMixin extends BaseDynamicPropertiesProviderMixin {
 
index 87fd396..4542021 100644 (file)
@@ -1,27 +1,27 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
 
 /**
- * @author Rajiv Singla . Creation Date: 10/18/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public abstract class CommonEventHeaderMixin extends BaseCEFModelMixin {
 }
index a47e4f0..c0ef6f1 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
@@ -24,7 +24,7 @@ import org.openecomp.dcae.apod.analytics.model.util.json.mixin.JsonMixin;
 
 /**
  *
- * @author Rajiv Singla . Creation Date: 11/5/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public abstract class CriticalityMixin implements JsonMixin {
 }
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/DomainMixin.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/DomainMixin.java
new file mode 100644 (file)
index 0000000..14183a6
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
+ * ================================================================================
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *  You may obtain a copy of the License at
+ *
+ *        http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ * ============LICENSE_END=========================================================
+ */
+
+package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
+
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.JsonMixin;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 08/15/2017.
+ */
+public abstract class DomainMixin implements JsonMixin {
+
+}
index c19d386..9f92bd7 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
@@ -23,7 +23,7 @@ package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
 /**
  * Event Listener Json Mixin class
  * <p>
- * @author Rajiv Singla . Creation Date: 10/18/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public abstract class EventListenerMixin extends BaseCEFModelMixin {
 
index 9e9c96a..269ddb7 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
@@ -23,7 +23,7 @@ package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
 /**
  * Event Json Mixin class
  * <p>
- * @author Rajiv Singla . Creation Date: 10/18/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public abstract class EventMixin extends BaseCEFModelMixin {
 
index 48aafcf..2c93ffe 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
@@ -24,7 +24,7 @@ import org.openecomp.dcae.apod.analytics.model.util.json.mixin.JsonMixin;
 
 /**
  *
- * @author Rajiv Singla . Creation Date: 11/5/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public abstract class EventSeverityMixin implements JsonMixin {
 }
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/FieldMixin.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/FieldMixin.java
new file mode 100644 (file)
index 0000000..abb58df
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * ===============================LICENSE_START======================================
+ *  dcae-analytics
+ * ================================================================================
+ *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *          http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *  ============================LICENSE_END===========================================
+ */
+
+package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
+
+/**
+ * @author Rajiv Singla . Creation Date: 08/15/2017.
+ */
+public abstract class FieldMixin extends BaseCEFModelMixin {
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/InternalHeaderFieldsMixin.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/InternalHeaderFieldsMixin.java
new file mode 100644 (file)
index 0000000..0204962
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * ===============================LICENSE_START======================================
+ *  dcae-analytics
+ * ================================================================================
+ *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *          http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *  ============================LICENSE_END===========================================
+ */
+
+package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
+
+/**
+ * @author Rajiv Singla . Creation Date: 08/15/2017.
+ */
+public abstract class InternalHeaderFieldsMixin extends BaseCEFModelMixin {
+
+}
index 8cde5d6..4b761a7 100644 (file)
@@ -1,39 +1,39 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
 
 import com.fasterxml.jackson.annotation.JsonGetter;
 import com.fasterxml.jackson.annotation.JsonSetter;
-import org.openecomp.dcae.apod.analytics.model.domain.cef.VNicUsageArray;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.VNicPerformance;
 
 import java.util.List;
 
 /**
- * @author Rajiv Singla . Creation Date: 10/18/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public abstract class MeasurementsForVfScalingFieldsMixin extends BaseCEFModelMixin {
 
-    @JsonSetter("vNicUsageArray")
-    public abstract void setVNicUsageArray(List<VNicUsageArray> vNicUsageArrays);
+    @JsonSetter("vNicPerformanceArray")
+    public abstract void setVNicPerformanceArray(List<VNicPerformance> vNicPerformances);
 
-    @JsonGetter("vNicUsageArray")
-    public abstract List<VNicUsageArray> getVNicUsageArray();
+    @JsonGetter("vNicPerformanceArray")
+    public abstract List<VNicPerformance> getVNicPerformanceArray();
 }
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/NamedArrayOfFieldsMixin.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/cef/NamedArrayOfFieldsMixin.java
new file mode 100644 (file)
index 0000000..603b6b9
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * ===============================LICENSE_START======================================
+ *  dcae-analytics
+ * ================================================================================
+ *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *          http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *  ============================LICENSE_END===========================================
+ */
+
+package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
+
+/**
+ * @author Rajiv Singla . Creation Date: 08/15/2017.
+ */
+public abstract class NamedArrayOfFieldsMixin extends BaseCEFModelMixin {
+
+}
index 2c049fe..b133318 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
@@ -23,7 +23,7 @@ package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
 /**
  * CEF Performance Counter Mixin
  *
- * @author Rajiv Singla . Creation Date: 11/3/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public abstract class PerformanceCounterMixin extends BaseCEFModelMixin {
 }
index ee2404e..f095cb2 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
@@ -24,7 +24,7 @@ import org.openecomp.dcae.apod.analytics.model.util.json.mixin.JsonMixin;
 
 /**
  *
- * @author Rajiv Singla . Creation Date: 11/5/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public abstract class PriorityMixin implements JsonMixin {
 }
index 44e17ac..97c6be8 100644 (file)
@@ -1,21 +1,21 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
@@ -23,7 +23,7 @@ package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
 /**
  * Mixin class for ThresholdCrossingAlertFields
  *
- * @author Rajiv Singla . Creation Date: 11/3/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public abstract class ThresholdCrossingAlertFieldsMixin extends BaseCEFModelMixin {
 }
index e882183..295c8c8 100644 (file)
@@ -1,48 +1,36 @@
 /*
- * ===============================LICENSE_START======================================
- *  dcae-analytics
+ * ============LICENSE_START=========================================================
+ * dcae-analytics
  * ================================================================================
- *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ *  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
  *  Licensed under the Apache License, Version 2.0 (the "License");
  *  you may not use this file except in compliance with the License.
- *   You may obtain a copy of the License at
+ *  You may obtain a copy of the License at
  *
- *          http://www.apache.org/licenses/LICENSE-2.0
+ *        http://www.apache.org/licenses/LICENSE-2.0
  *
  *  Unless required by applicable law or agreed to in writing, software
  *  distributed under the License is distributed on an "AS IS" BASIS,
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
- *  ============================LICENSE_END===========================================
+ * ============LICENSE_END=========================================================
  */
 
 package org.openecomp.dcae.apod.analytics.model.util.json.mixin.cef;
 
-import com.fasterxml.jackson.annotation.JsonGetter;
 import com.fasterxml.jackson.annotation.JsonSetter;
 
 /**
- * @author Rajiv Singla . Creation Date: 10/18/2016.
+ * @author Rajiv Singla. Creation Date: 08/15/2017.
  */
 public abstract class VNicUsageArrayMixin extends BaseCEFModelMixin {
 
-    /**
-     * Provides hint to Jackson Jackson deserialization to bind "vNicIdentifier" string to "vNicIdentifier"
-     * variable in CEF parsed Java Object
-     *
-     * @param name of the vNicIdentifier
-     */
     @JsonSetter("vNicIdentifier")
     public abstract void setVNicIdentifier(String name);
 
-    /**
-     * Provides hint to Jackson Jackson serialization to bind "vNicIdentifier" field to "vNicIdentifier" in json
-     *
-     * @return name of vNicIdentifier
-     */
-    @JsonGetter("vNicIdentifier")
-    public abstract String getVNicIdentifier();
+    @JsonSetter("vNicIdentifier")
+    public abstract String setVNicIdentifier();
 
 }
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/BaseTCAAppConfigModelMixin.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/BaseTCAAppConfigModelMixin.java
new file mode 100644 (file)
index 0000000..2fa82a2
--- /dev/null
@@ -0,0 +1,9 @@
+package org.openecomp.dcae.apod.analytics.model.util.json.mixin.config.tca;
+
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.BaseDynamicPropertiesProviderMixin;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+public abstract class BaseTCAAppConfigModelMixin extends BaseDynamicPropertiesProviderMixin {
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/BaseTCAHandleMixin.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/BaseTCAHandleMixin.java
new file mode 100644 (file)
index 0000000..6963b9c
--- /dev/null
@@ -0,0 +1,20 @@
+package org.openecomp.dcae.apod.analytics.model.util.json.mixin.config.tca;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import org.openecomp.dcae.apod.analytics.model.config.tca.DMAAPInfo;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+public abstract class BaseTCAHandleMixin extends BaseTCAAppConfigModelMixin {
+
+    @JsonProperty("aaf_password")
+    String aafPassword;
+    @JsonProperty("aaf_username")
+    String aafUserName;
+    @JsonProperty("dmaap_info")
+    DMAAPInfo dmaapInfo;
+    @JsonProperty("type")
+    String type;
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/DMAAPInfoMixin.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/DMAAPInfoMixin.java
new file mode 100644 (file)
index 0000000..bed8c4e
--- /dev/null
@@ -0,0 +1,13 @@
+package org.openecomp.dcae.apod.analytics.model.util.json.mixin.config.tca;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+
+public abstract class DMAAPInfoMixin extends BaseTCAAppConfigModelMixin {
+
+    @JsonProperty("topic_url")
+    String topicUrl;
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/StreamsPublishesMixin.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/StreamsPublishesMixin.java
new file mode 100644 (file)
index 0000000..fb074e5
--- /dev/null
@@ -0,0 +1,14 @@
+package org.openecomp.dcae.apod.analytics.model.util.json.mixin.config.tca;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import org.openecomp.dcae.apod.analytics.model.config.tca.TCAHandleOut;
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.policy.tca.BaseTCAPolicyModelMixin;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+public abstract class StreamsPublishesMixin extends BaseTCAPolicyModelMixin {
+
+    @JsonProperty("tca_handle_out")
+    TCAHandleOut tcaHandleOut;
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/StreamsSubscribesMixin.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/StreamsSubscribesMixin.java
new file mode 100644 (file)
index 0000000..1593389
--- /dev/null
@@ -0,0 +1,14 @@
+package org.openecomp.dcae.apod.analytics.model.util.json.mixin.config.tca;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import org.openecomp.dcae.apod.analytics.model.config.tca.TCAHandleIn;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+public abstract class StreamsSubscribesMixin extends BaseTCAAppConfigModelMixin {
+
+    @JsonProperty("tca_handle_in")
+    TCAHandleIn tcaHandleIn;
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/TCAControllerAppConfigMixin.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/TCAControllerAppConfigMixin.java
new file mode 100644 (file)
index 0000000..98a77ec
--- /dev/null
@@ -0,0 +1,17 @@
+package org.openecomp.dcae.apod.analytics.model.util.json.mixin.config.tca;
+
+import com.fasterxml.jackson.annotation.JsonProperty;
+import org.openecomp.dcae.apod.analytics.model.config.tca.StreamsPublishes;
+import org.openecomp.dcae.apod.analytics.model.config.tca.StreamsSubscribes;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+public abstract class TCAControllerAppConfigMixin extends BaseTCAAppConfigModelMixin {
+
+    @JsonProperty("streams_publishes")
+    StreamsPublishes streamsPublishes;
+    @JsonProperty("streams_subscribes")
+    StreamsSubscribes streamsSubscribes;
+
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/policy/tca/ControlLoopEventStatusMixin.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/policy/tca/ControlLoopEventStatusMixin.java
new file mode 100644 (file)
index 0000000..28798be
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * ===============================LICENSE_START======================================
+ *  dcae-analytics
+ * ================================================================================
+ *    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+ * ================================================================================
+ *  Licensed under the Apache License, Version 2.0 (the "License");
+ *  you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *          http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *  Unless required by applicable law or agreed to in writing, software
+ *  distributed under the License is distributed on an "AS IS" BASIS,
+ *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *  See the License for the specific language governing permissions and
+ *  limitations under the License.
+ *  ============================LICENSE_END===========================================
+ */
+
+package org.openecomp.dcae.apod.analytics.model.util.json.mixin.policy.tca;
+
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.JsonMixin;
+
+/**
+ *
+ * @author Rajiv Singla . Creation Date: 9/11/2017.
+ */
+public abstract class ControlLoopEventStatusMixin implements JsonMixin {
+}
diff --git a/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/policy/tca/ControlLoopSchemaTypeMixin.java b/dcae-analytics-model/src/main/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/policy/tca/ControlLoopSchemaTypeMixin.java
new file mode 100644 (file)
index 0000000..f0538ea
--- /dev/null
@@ -0,0 +1,9 @@
+package org.openecomp.dcae.apod.analytics.model.util.json.mixin.policy.tca;
+
+import org.openecomp.dcae.apod.analytics.model.util.json.mixin.JsonMixin;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 8/24/2017.
+ */
+public abstract class ControlLoopSchemaTypeMixin implements JsonMixin {
+}
index d9d004c..ac8d823 100644 (file)
@@ -42,7 +42,7 @@ public class AnalyticsModelIOUtilsTest extends BaseAnalyticsModelUnitTest {
 
     private static final String TEST_CONFIG_FILE_LOCATION = "data/json/config/testAppConfig.json";
     private static final String INVALID_TEST_CONFIG_FILE_LOCATION = "data/json/config/invalidJsonConfig.json";
-    private static final String TEST_PROPERTIES_FILE_LOCATION = "data/testApp.properties";
+    private static final String TEST_PROPERTIES_FILE_LOCATION = "data/properties/testApp.properties";
 
     @Test
     public void testConvertToJsonObjectWhenFileLocationIsValid() throws Exception {
index f699ad6..584b1d6 100644 (file)
@@ -42,7 +42,7 @@ public class AnalyticsModelJsonUtilsTest extends BaseAnalyticsModelUnitTest {
             };
 
     final String cefMessagesJsonFileLocation = "data/json/cef/cef_messages.json";
-    final String eventListenerJsonFileLocation = "data/json/cef/event_listener.json";
+    final String eventListenerJsonFileLocation = "data/json/cef/cef_message.json";
 
     @Test
     public void testReadValueWithTypeReference() throws Exception {
@@ -50,7 +50,7 @@ public class AnalyticsModelJsonUtilsTest extends BaseAnalyticsModelUnitTest {
                 Thread.currentThread().getContextClassLoader().getResourceAsStream(cefMessagesJsonFileLocation);
         List<EventListener> eventListeners = AnalyticsModelJsonUtils.readValue(resourceAsStream,
                 EVENT_LISTENER_TYPE_REFERENCE);
-        assertThat("Event Listeners size must be 350", eventListeners.size(), is(350));
+        assertThat("Event Listeners size must be 31", eventListeners.size(), is(31));
     }
 
     @Test
index 61259b4..008cca4 100644 (file)
@@ -24,11 +24,10 @@ import com.fasterxml.jackson.core.type.TypeReference;
 import org.junit.Test;
 import org.openecomp.dcae.apod.analytics.model.BaseAnalyticsModelUnitTest;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventListener;
-import org.openecomp.dcae.apod.analytics.model.domain.cef.MeasurementsForVfScalingFields;
-import org.openecomp.dcae.apod.analytics.model.domain.cef.VNicUsageArray;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.Field;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.NamedArrayOfFields;
 
 import java.util.List;
-import java.util.Map;
 
 import static org.hamcrest.CoreMatchers.is;
 import static org.junit.Assert.assertThat;
@@ -38,7 +37,7 @@ import static org.junit.Assert.assertThat;
  */
 public class EventListenerMixinTest extends BaseAnalyticsModelUnitTest {
 
-    final String eventListenerJsonFileLocation = "data/json/cef/event_listener.json";
+    final String eventListenerJsonFileLocation = "data/json/cef/cef_message.json";
     final String cefMessagesJsonFileLocation = "data/json/cef/cef_messages.json";
 
     @Test
@@ -46,11 +45,19 @@ public class EventListenerMixinTest extends BaseAnalyticsModelUnitTest {
 
         final EventListener eventListener = assertJsonConversions(eventListenerJsonFileLocation, EventListener.class);
 
-        Map<String, Object> dynamicProperties = eventListener.getDynamicProperties();
+        final List<Field> additionalFields =
+                eventListener.getEvent().getMeasurementsForVfScalingFields().getAdditionalFields();
 
-        assertThat("Dynamic Properties size must be 1", dynamicProperties.size(), is(1));
+        assertThat("Additional Fields size must be 2", additionalFields.size(), is(2));
 
+        final List<NamedArrayOfFields> additionalMeasurements =
+                eventListener.getEvent().getMeasurementsForVfScalingFields().getAdditionalMeasurements();
 
+        assertThat("Additional Measurements size must be 1", additionalMeasurements.size(), is(1));
+
+        final List<Field> arrayOfFields = additionalMeasurements.get(0).getArrayOfFields();
+
+        assertThat("Array Of Field size must be 6", arrayOfFields.size(), is(6));
     }
 
     @Test
@@ -62,19 +69,7 @@ public class EventListenerMixinTest extends BaseAnalyticsModelUnitTest {
                 new TypeReference<List<EventListener>>() {
                 };
         List<EventListener> eventListeners = objectMapper.readValue(cefMessageAsString, eventListenerListTypeReference);
-        assertThat("Event Listeners size must be 350", eventListeners.size(), is(350));
-
-        final MeasurementsForVfScalingFields measurementsForVfScalingFields = eventListeners.get(0).getEvent()
-                .getMeasurementsForVfScalingFields();
-
-        // Note: vNicUsageArray - due to odd naming convention have to be explicitly resolved with Mixin annotations
-        assertThat("vNicUsageArray is present on the first measurementForVfScaling",
-                measurementsForVfScalingFields.getVNicUsageArray().size(), is(1));
-        final VNicUsageArray vNicUsageArray = measurementsForVfScalingFields.getVNicUsageArray().get(0);
-        assertThat("ByesIn is present on vNicUsageArray", vNicUsageArray.getBytesIn(), is(6086L));
-
-        // Note: vNicIdentifier - due to odd naming convention have to be explicity resolved with Mixin annotations
-        assertThat("vNicIdentifier is present on vNicUsageArray", vNicUsageArray.getVNicIdentifier(), is("eth0"));
+        assertThat("Event Listeners size must be 31", eventListeners.size(), is(31));
 
         // Check serialized json will match deserialized json
         final String eventListenerString = objectMapper.writeValueAsString(eventListeners);
diff --git a/dcae-analytics-model/src/test/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/TCAControllerAppConfigMixinTest.java b/dcae-analytics-model/src/test/java/org/openecomp/dcae/apod/analytics/model/util/json/mixin/config/tca/TCAControllerAppConfigMixinTest.java
new file mode 100644 (file)
index 0000000..5b1c47f
--- /dev/null
@@ -0,0 +1,43 @@
+package org.openecomp.dcae.apod.analytics.model.util.json.mixin.config.tca;
+
+import org.junit.Test;
+import org.openecomp.dcae.apod.analytics.model.BaseAnalyticsModelUnitTest;
+import org.openecomp.dcae.apod.analytics.model.config.tca.DMAAPInfo;
+import org.openecomp.dcae.apod.analytics.model.config.tca.TCAControllerAppConfig;
+
+import static org.hamcrest.CoreMatchers.is;
+import static org.hamcrest.CoreMatchers.notNullValue;
+import static org.junit.Assert.assertThat;
+
+/**
+ * Author: rs153v (Rajiv Singla) . Creation Date: 8/25/2017.
+ */
+public class TCAControllerAppConfigMixinTest extends BaseAnalyticsModelUnitTest {
+
+    final String tcaControllerAppConfigJsonFileLocation = "data/json/config/controller_app_config.json";
+
+    @Test
+    public void testTCAControllerConfigJsonConversions() throws Exception {
+
+        final TCAControllerAppConfig tcaControllerAppConfig =
+                assertJsonConversions(tcaControllerAppConfigJsonFileLocation, TCAControllerAppConfig.class);
+
+        assertThat("TCA Stream Publishes must not be null",
+                tcaControllerAppConfig.getStreamsPublishes(), is(notNullValue()));
+
+        assertThat("TCA Stream Subscribes must not be null",
+                tcaControllerAppConfig.getStreamsSubscribes(), is(notNullValue()));
+
+        final DMAAPInfo publisherDmaaPInfo = tcaControllerAppConfig.getStreamsPublishes().getTcaHandleOut()
+                .getDmaapInfo();
+        assertThat("TCA publisher URL Info must not be null",
+                publisherDmaaPInfo.getTopicUrl(), is(notNullValue()));
+
+        final DMAAPInfo subscriberDmaaPInfo = tcaControllerAppConfig.getStreamsSubscribes().getTcaHandleIn()
+                .getDmaapInfo();
+        assertThat("TCA subscriber URL Info must not be null",
+                subscriberDmaaPInfo.getTopicUrl(), is(notNullValue()));
+
+    }
+
+}
index 09c9672..a42f816 100644 (file)
@@ -40,11 +40,11 @@ public class TCAPolicyMixinTest extends BaseAnalyticsModelUnitTest {
 
         final TCAPolicy tcaPolicy = assertJsonConversions(tcaPolicyJsonFileLocation, TCAPolicy.class);
 
-        assertThat("TCA Policy Metrics Per functional role must be 2",
-                tcaPolicy.getMetricsPerFunctionalRole().size(), is(2));
+        assertThat("TCA Policy Metrics Per Event Name must be 2",
+                tcaPolicy.getMetricsPerEventName().size(), is(2));
 
-        assertThat("TCA Policy Thresholds for first functional role must be 2",
-                tcaPolicy.getMetricsPerFunctionalRole().get(0).getThresholds().size(), is(2));
+        assertThat("TCA Policy Thresholds for first event name must be 3",
+                tcaPolicy.getMetricsPerEventName().get(0).getThresholds().size(), is(3));
 
         testSerialization(tcaPolicy, getClass());
 
diff --git a/dcae-analytics-model/src/test/resources/data/json/cef/cef_messages.json b/dcae-analytics-model/src/test/resources/data/json/cef/cef_messages.json
deleted file mode 100644 (file)
index bc7a924..0000000
+++ /dev/null
@@ -1,12952 +0,0 @@
-[
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6086,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 93,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070210290442,
-        "eventId": "375",
-        "lastEpochMicrosec": 1477070220290442,
-        "priority": "Normal",
-        "sequence": 375,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5403,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4530,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070260383311,
-        "eventId": "380",
-        "lastEpochMicrosec": 1477070270383311,
-        "priority": "Normal",
-        "sequence": 380,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3972,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070290441950,
-        "eventId": "383",
-        "lastEpochMicrosec": 1477070300441950,
-        "priority": "Normal",
-        "sequence": 383,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4761,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5528,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070380597960,
-        "eventId": "392",
-        "lastEpochMicrosec": 1477070390597960,
-        "priority": "Normal",
-        "sequence": 392,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5828,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5222,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070390615151,
-        "eventId": "393",
-        "lastEpochMicrosec": 1477070400615151,
-        "priority": "Normal",
-        "sequence": 393,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3834,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4334,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070701189940,
-        "eventId": "424",
-        "lastEpochMicrosec": 1477070711189940,
-        "priority": "Normal",
-        "sequence": 424,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3892,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4400,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070851466814,
-        "eventId": "439",
-        "lastEpochMicrosec": 1477070861466814,
-        "priority": "Normal",
-        "sequence": 439,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5948,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5215,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070931613946,
-        "eventId": "447",
-        "lastEpochMicrosec": 1477070941613946,
-        "priority": "Normal",
-        "sequence": 447,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4324,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5436,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070971689950,
-        "eventId": "451",
-        "lastEpochMicrosec": 1477070981689950,
-        "priority": "Normal",
-        "sequence": 451,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5918,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5668,
-            "packetsIn": 91,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070991724150,
-        "eventId": "453",
-        "lastEpochMicrosec": 1477071001724150,
-        "priority": "Normal",
-        "sequence": 453,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4200,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5192,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071081905713,
-        "eventId": "462",
-        "lastEpochMicrosec": 1477071091905713,
-        "priority": "Normal",
-        "sequence": 462,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4490,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 5920,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071262221510,
-        "eventId": "480",
-        "lastEpochMicrosec": 1477071272221510,
-        "priority": "Normal",
-        "sequence": 480,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 25940,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 157,
-            "bytesOut": 27474,
-            "packetsIn": 303,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071412476618,
-        "eventId": "495",
-        "lastEpochMicrosec": 1477071422476618,
-        "priority": "Normal",
-        "sequence": 495,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7160,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 112,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071532712315,
-        "eventId": "507",
-        "lastEpochMicrosec": 1477071542712315,
-        "priority": "Normal",
-        "sequence": 507,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5563,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4192,
-            "packetsIn": 81,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071582806156,
-        "eventId": "512",
-        "lastEpochMicrosec": 1477071592806156,
-        "priority": "Normal",
-        "sequence": 512,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4988,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5218,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071592825964,
-        "eventId": "513",
-        "lastEpochMicrosec": 1477071602825964,
-        "priority": "Normal",
-        "sequence": 513,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 9123,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 53,
-            "bytesOut": 8412,
-            "packetsIn": 127,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071642920935,
-        "eventId": "518",
-        "lastEpochMicrosec": 1477071652920935,
-        "priority": "Normal",
-        "sequence": 518,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 18442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 112,
-            "bytesOut": 19404,
-            "packetsIn": 218,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071733101176,
-        "eventId": "527",
-        "lastEpochMicrosec": 1477071743101176,
-        "priority": "Normal",
-        "sequence": 527,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5216,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5130,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071743125902,
-        "eventId": "528",
-        "lastEpochMicrosec": 1477071753125902,
-        "priority": "Normal",
-        "sequence": 528,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5870,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6716,
-            "packetsIn": 91,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071903446337,
-        "eventId": "544",
-        "lastEpochMicrosec": 1477071913446337,
-        "priority": "Normal",
-        "sequence": 544,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 35138,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 220,
-            "bytesOut": 47818,
-            "packetsIn": 407,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071953549981,
-        "eventId": "549",
-        "lastEpochMicrosec": 1477071963549981,
-        "priority": "Normal",
-        "sequence": 549,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 63510,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 398,
-            "bytesOut": 71038,
-            "packetsIn": 703,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071963565170,
-        "eventId": "550",
-        "lastEpochMicrosec": 1477071973565170,
-        "priority": "Normal",
-        "sequence": 550,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4250,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5060,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072103847337,
-        "eventId": "564",
-        "lastEpochMicrosec": 1477072113847337,
-        "priority": "Normal",
-        "sequence": 564,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3344,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4138,
-            "packetsIn": 49,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072163977616,
-        "eventId": "570",
-        "lastEpochMicrosec": 1477072173977616,
-        "priority": "Normal",
-        "sequence": 570,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4190,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5032,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072194037594,
-        "eventId": "573",
-        "lastEpochMicrosec": 1477072204037594,
-        "priority": "Normal",
-        "sequence": 573,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4102,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072234105966,
-        "eventId": "577",
-        "lastEpochMicrosec": 1477072244105966,
-        "priority": "Normal",
-        "sequence": 577,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4040,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5410,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072284197410,
-        "eventId": "582",
-        "lastEpochMicrosec": 1477072294197410,
-        "priority": "Normal",
-        "sequence": 582,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4348,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5556,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072294217952,
-        "eventId": "583",
-        "lastEpochMicrosec": 1477072304217952,
-        "priority": "Normal",
-        "sequence": 583,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4820,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5402,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072354321794,
-        "eventId": "589",
-        "lastEpochMicrosec": 1477072364321794,
-        "priority": "Normal",
-        "sequence": 589,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5006,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 73,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072454499759,
-        "eventId": "599",
-        "lastEpochMicrosec": 1477072464499759,
-        "priority": "Normal",
-        "sequence": 599,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4964,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5834,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072494602015,
-        "eventId": "603",
-        "lastEpochMicrosec": 1477072504602015,
-        "priority": "Normal",
-        "sequence": 603,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5330,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7420,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072634866475,
-        "eventId": "617",
-        "lastEpochMicrosec": 1477072644866475,
-        "priority": "Normal",
-        "sequence": 617,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5330,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7420,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072745069203,
-        "eventId": "628",
-        "lastEpochMicrosec": 1477072755069203,
-        "priority": "Normal",
-        "sequence": 628,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 263112,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 1165,
-            "bytesOut": 337182,
-            "packetsIn": 2570,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072805174346,
-        "eventId": "634",
-        "lastEpochMicrosec": 1477072815174346,
-        "priority": "Normal",
-        "sequence": 634,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 11212,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4232,
-            "packetsIn": 176,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072835250994,
-        "eventId": "637",
-        "lastEpochMicrosec": 1477072845250994,
-        "priority": "Normal",
-        "sequence": 637,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6375,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5516,
-            "packetsIn": 94,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072845276414,
-        "eventId": "638",
-        "lastEpochMicrosec": 1477072855276414,
-        "priority": "Normal",
-        "sequence": 638,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3492,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5252,
-            "packetsIn": 50,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072995553968,
-        "eventId": "653",
-        "lastEpochMicrosec": 1477073005553968,
-        "priority": "Normal",
-        "sequence": 653,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4256,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5407,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073095741898,
-        "eventId": "663",
-        "lastEpochMicrosec": 1477073105741898,
-        "priority": "Normal",
-        "sequence": 663,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4280,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4866,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073195929121,
-        "eventId": "673",
-        "lastEpochMicrosec": 1477073205929121,
-        "priority": "Normal",
-        "sequence": 673,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4076,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5126,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073286097936,
-        "eventId": "682",
-        "lastEpochMicrosec": 1477073296097936,
-        "priority": "Normal",
-        "sequence": 682,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5054,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6600,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073366234417,
-        "eventId": "690",
-        "lastEpochMicrosec": 1477073376234417,
-        "priority": "Normal",
-        "sequence": 690,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5186,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7220,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073426339606,
-        "eventId": "696",
-        "lastEpochMicrosec": 1477073436339606,
-        "priority": "Normal",
-        "sequence": 696,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4568,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6606,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073556577962,
-        "eventId": "709",
-        "lastEpochMicrosec": 1477073566577962,
-        "priority": "Normal",
-        "sequence": 709,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4472,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5630,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073606669965,
-        "eventId": "714",
-        "lastEpochMicrosec": 1477073616669965,
-        "priority": "Normal",
-        "sequence": 714,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3554,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5192,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073666794004,
-        "eventId": "720",
-        "lastEpochMicrosec": 1477073676794004,
-        "priority": "Normal",
-        "sequence": 720,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4682,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6540,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070300458069,
-        "eventId": "384",
-        "lastEpochMicrosec": 1477070310458069,
-        "priority": "Normal",
-        "sequence": 384,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4470,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7250,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070350545310,
-        "eventId": "389",
-        "lastEpochMicrosec": 1477070360545310,
-        "priority": "Normal",
-        "sequence": 389,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5864,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7318,
-            "packetsIn": 88,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070450716636,
-        "eventId": "399",
-        "lastEpochMicrosec": 1477070460716636,
-        "priority": "Normal",
-        "sequence": 399,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3558,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5362,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070470756168,
-        "eventId": "401",
-        "lastEpochMicrosec": 1477070480756168,
-        "priority": "Normal",
-        "sequence": 401,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5022,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7382,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070530883239,
-        "eventId": "407",
-        "lastEpochMicrosec": 1477070540883239,
-        "priority": "Normal",
-        "sequence": 407,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4816,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5344,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070611026436,
-        "eventId": "415",
-        "lastEpochMicrosec": 1477070621026436,
-        "priority": "Normal",
-        "sequence": 415,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8898,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 63,
-            "bytesOut": 9201,
-            "packetsIn": 113,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070831428780,
-        "eventId": "437",
-        "lastEpochMicrosec": 1477070841428780,
-        "priority": "Normal",
-        "sequence": 437,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3836,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4162,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070941633936,
-        "eventId": "448",
-        "lastEpochMicrosec": 1477070951633936,
-        "priority": "Normal",
-        "sequence": 448,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3248,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4546,
-            "packetsIn": 47,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071071883807,
-        "eventId": "461",
-        "lastEpochMicrosec": 1477071081883807,
-        "priority": "Normal",
-        "sequence": 461,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5006,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5286,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071172066272,
-        "eventId": "471",
-        "lastEpochMicrosec": 1477071182066272,
-        "priority": "Normal",
-        "sequence": 471,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5438,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 6084,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071182086282,
-        "eventId": "472",
-        "lastEpochMicrosec": 1477071192086282,
-        "priority": "Normal",
-        "sequence": 472,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 14114,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 92,
-            "bytesOut": 16060,
-            "packetsIn": 172,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071382426114,
-        "eventId": "492",
-        "lastEpochMicrosec": 1477071392426114,
-        "priority": "Normal",
-        "sequence": 492,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5617,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5427,
-            "packetsIn": 86,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071542733962,
-        "eventId": "508",
-        "lastEpochMicrosec": 1477071552733962,
-        "priority": "Normal",
-        "sequence": 508,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4448,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4538,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071682993575,
-        "eventId": "522",
-        "lastEpochMicrosec": 1477071692993575,
-        "priority": "Normal",
-        "sequence": 522,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6113,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5298,
-            "packetsIn": 87,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071703031027,
-        "eventId": "524",
-        "lastEpochMicrosec": 1477071713031027,
-        "priority": "Normal",
-        "sequence": 524,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5542,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5434,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071813273088,
-        "eventId": "535",
-        "lastEpochMicrosec": 1477071823273088,
-        "priority": "Normal",
-        "sequence": 535,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 34574,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 214,
-            "bytesOut": 47040,
-            "packetsIn": 395,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072023686281,
-        "eventId": "556",
-        "lastEpochMicrosec": 1477072033686281,
-        "priority": "Normal",
-        "sequence": 556,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 2798,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4028,
-            "packetsIn": 40,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072093829958,
-        "eventId": "563",
-        "lastEpochMicrosec": 1477072103829958,
-        "priority": "Normal",
-        "sequence": 563,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3446,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5536,
-            "packetsIn": 50,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072153957985,
-        "eventId": "569",
-        "lastEpochMicrosec": 1477072163957985,
-        "priority": "Normal",
-        "sequence": 569,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4190,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6760,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072204053021,
-        "eventId": "574",
-        "lastEpochMicrosec": 1477072214053021,
-        "priority": "Normal",
-        "sequence": 574,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5939,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4522,
-            "packetsIn": 85,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072244123508,
-        "eventId": "578",
-        "lastEpochMicrosec": 1477072254123508,
-        "priority": "Normal",
-        "sequence": 578,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4022,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4584,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072464518421,
-        "eventId": "600",
-        "lastEpochMicrosec": 1477072474518421,
-        "priority": "Normal",
-        "sequence": 600,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3692,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 21,
-            "bytesOut": 3918,
-            "packetsIn": 47,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072654900903,
-        "eventId": "619",
-        "lastEpochMicrosec": 1477072664900903,
-        "priority": "Normal",
-        "sequence": 619,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5006,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5728,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072704996775,
-        "eventId": "624",
-        "lastEpochMicrosec": 1477072714996775,
-        "priority": "Normal",
-        "sequence": 624,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3836,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 5036,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072925428340,
-        "eventId": "646",
-        "lastEpochMicrosec": 1477072935428340,
-        "priority": "Normal",
-        "sequence": 646,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4040,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5382,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072985535172,
-        "eventId": "652",
-        "lastEpochMicrosec": 1477072995535172,
-        "priority": "Normal",
-        "sequence": 652,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4694,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073075701224,
-        "eventId": "661",
-        "lastEpochMicrosec": 1477073085701224,
-        "priority": "Normal",
-        "sequence": 661,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5066,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7120,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073105759457,
-        "eventId": "664",
-        "lastEpochMicrosec": 1477073115759457,
-        "priority": "Normal",
-        "sequence": 664,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5510,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7421,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073155858608,
-        "eventId": "669",
-        "lastEpochMicrosec": 1477073165858608,
-        "priority": "Normal",
-        "sequence": 669,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4146,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073416320492,
-        "eventId": "695",
-        "lastEpochMicrosec": 1477073426320492,
-        "priority": "Normal",
-        "sequence": 695,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5610,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7392,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073436360527,
-        "eventId": "697",
-        "lastEpochMicrosec": 1477073446360527,
-        "priority": "Normal",
-        "sequence": 697,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6777,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5276,
-            "packetsIn": 101,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073506489807,
-        "eventId": "704",
-        "lastEpochMicrosec": 1477073516489807,
-        "priority": "Normal",
-        "sequence": 704,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4898,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 6005,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073516505974,
-        "eventId": "705",
-        "lastEpochMicrosec": 1477073526505974,
-        "priority": "Normal",
-        "sequence": 705,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3902,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5120,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073656765261,
-        "eventId": "719",
-        "lastEpochMicrosec": 1477073666765261,
-        "priority": "Normal",
-        "sequence": 719,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7185,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6488,
-            "packetsIn": 108,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073686831588,
-        "eventId": "722",
-        "lastEpochMicrosec": 1477073696831588,
-        "priority": "Normal",
-        "sequence": 722,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4778,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5084,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070240346627,
-        "eventId": "378",
-        "lastEpochMicrosec": 1477070250346627,
-        "priority": "Normal",
-        "sequence": 378,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5318,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4864,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070270398947,
-        "eventId": "381",
-        "lastEpochMicrosec": 1477070280398947,
-        "priority": "Normal",
-        "sequence": 381,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5079,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5266,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070440700538,
-        "eventId": "398",
-        "lastEpochMicrosec": 1477070450700538,
-        "priority": "Normal",
-        "sequence": 398,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3866,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 3980,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070601009676,
-        "eventId": "414",
-        "lastEpochMicrosec": 1477070611009676,
-        "priority": "Normal",
-        "sequence": 414,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 10154,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7884,
-            "packetsIn": 99,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070751281687,
-        "eventId": "429",
-        "lastEpochMicrosec": 1477070761281687,
-        "priority": "Normal",
-        "sequence": 429,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7970,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5427,
-            "packetsIn": 128,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070781332864,
-        "eventId": "432",
-        "lastEpochMicrosec": 1477070791332864,
-        "priority": "Normal",
-        "sequence": 432,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6052,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7480,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070891536182,
-        "eventId": "443",
-        "lastEpochMicrosec": 1477070901536182,
-        "priority": "Normal",
-        "sequence": 443,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5080,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7288,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071031806592,
-        "eventId": "457",
-        "lastEpochMicrosec": 1477071041806592,
-        "priority": "Normal",
-        "sequence": 457,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4777,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4122,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071041825555,
-        "eventId": "458",
-        "lastEpochMicrosec": 1477071051825555,
-        "priority": "Normal",
-        "sequence": 458,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4736,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4302,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071111957977,
-        "eventId": "465",
-        "lastEpochMicrosec": 1477071121957977,
-        "priority": "Normal",
-        "sequence": 465,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6283,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5272,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071162050981,
-        "eventId": "470",
-        "lastEpochMicrosec": 1477071172050981,
-        "priority": "Normal",
-        "sequence": 470,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5010,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7250,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071192103048,
-        "eventId": "473",
-        "lastEpochMicrosec": 1477071202103048,
-        "priority": "Normal",
-        "sequence": 473,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3360,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5112,
-            "packetsIn": 48,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071252204852,
-        "eventId": "479",
-        "lastEpochMicrosec": 1477071262204852,
-        "priority": "Normal",
-        "sequence": 479,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3912,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5324,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071312304729,
-        "eventId": "485",
-        "lastEpochMicrosec": 1477071322304729,
-        "priority": "Normal",
-        "sequence": 485,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4568,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5294,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071352377904,
-        "eventId": "489",
-        "lastEpochMicrosec": 1477071362377904,
-        "priority": "Normal",
-        "sequence": 489,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 26549,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 158,
-            "bytesOut": 28258,
-            "packetsIn": 311,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071402460522,
-        "eventId": "494",
-        "lastEpochMicrosec": 1477071412460522,
-        "priority": "Normal",
-        "sequence": 494,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5329,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4270,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071462573938,
-        "eventId": "500",
-        "lastEpochMicrosec": 1477071472573938,
-        "priority": "Normal",
-        "sequence": 500,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6232,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7420,
-            "packetsIn": 86,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071572787941,
-        "eventId": "511",
-        "lastEpochMicrosec": 1477071582787941,
-        "priority": "Normal",
-        "sequence": 511,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4532,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 20,
-            "bytesOut": 3809,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071662956095,
-        "eventId": "520",
-        "lastEpochMicrosec": 1477071672956095,
-        "priority": "Normal",
-        "sequence": 520,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4520,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5490,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071672977950,
-        "eventId": "521",
-        "lastEpochMicrosec": 1477071682977950,
-        "priority": "Normal",
-        "sequence": 521,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5002,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4734,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071693013688,
-        "eventId": "523",
-        "lastEpochMicrosec": 1477071703013688,
-        "priority": "Normal",
-        "sequence": 523,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5516,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 5023,
-            "packetsIn": 85,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071893429573,
-        "eventId": "543",
-        "lastEpochMicrosec": 1477071903429573,
-        "priority": "Normal",
-        "sequence": 543,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 18644,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 120,
-            "bytesOut": 20884,
-            "packetsIn": 230,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071923478914,
-        "eventId": "546",
-        "lastEpochMicrosec": 1477071933478914,
-        "priority": "Normal",
-        "sequence": 546,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4914,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5640,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071983602387,
-        "eventId": "552",
-        "lastEpochMicrosec": 1477071993602387,
-        "priority": "Normal",
-        "sequence": 552,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8506,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 60,
-            "bytesOut": 11100,
-            "packetsIn": 110,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071993632316,
-        "eventId": "553",
-        "lastEpochMicrosec": 1477072003632316,
-        "priority": "Normal",
-        "sequence": 553,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 17750,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 120,
-            "bytesOut": 25832,
-            "packetsIn": 215,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072043723108,
-        "eventId": "558",
-        "lastEpochMicrosec": 1477072053723108,
-        "priority": "Normal",
-        "sequence": 558,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4592,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5504,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072143938037,
-        "eventId": "568",
-        "lastEpochMicrosec": 1477072153938037,
-        "priority": "Normal",
-        "sequence": 568,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8125,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 55,
-            "bytesOut": 8060,
-            "packetsIn": 119,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072364341906,
-        "eventId": "590",
-        "lastEpochMicrosec": 1477072374341906,
-        "priority": "Normal",
-        "sequence": 590,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4136,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5851,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072374359351,
-        "eventId": "591",
-        "lastEpochMicrosec": 1477072384359351,
-        "priority": "Normal",
-        "sequence": 591,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4388,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5206,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072474537911,
-        "eventId": "601",
-        "lastEpochMicrosec": 1477072484537911,
-        "priority": "Normal",
-        "sequence": 601,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5228,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6932,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072534679739,
-        "eventId": "607",
-        "lastEpochMicrosec": 1477072544679739,
-        "priority": "Normal",
-        "sequence": 607,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3836,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5018,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072574755001,
-        "eventId": "611",
-        "lastEpochMicrosec": 1477072584755001,
-        "priority": "Normal",
-        "sequence": 611,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6919,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5628,
-            "packetsIn": 104,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072725036569,
-        "eventId": "626",
-        "lastEpochMicrosec": 1477072735036569,
-        "priority": "Normal",
-        "sequence": 626,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6892,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072855292945,
-        "eventId": "639",
-        "lastEpochMicrosec": 1477072865292945,
-        "priority": "Normal",
-        "sequence": 639,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6909,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 6802,
-            "packetsIn": 102,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072905381152,
-        "eventId": "644",
-        "lastEpochMicrosec": 1477072915381152,
-        "priority": "Normal",
-        "sequence": 644,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4826,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072945465009,
-        "eventId": "648",
-        "lastEpochMicrosec": 1477072955465009,
-        "priority": "Normal",
-        "sequence": 648,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3636,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4160,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073115777000,
-        "eventId": "665",
-        "lastEpochMicrosec": 1477073125777000,
-        "priority": "Normal",
-        "sequence": 665,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4098,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5354,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073235998974,
-        "eventId": "677",
-        "lastEpochMicrosec": 1477073245998974,
-        "priority": "Normal",
-        "sequence": 677,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4508,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5166,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073246017901,
-        "eventId": "678",
-        "lastEpochMicrosec": 1477073256017901,
-        "priority": "Normal",
-        "sequence": 678,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4026,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5358,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073296117387,
-        "eventId": "683",
-        "lastEpochMicrosec": 1477073306117387,
-        "priority": "Normal",
-        "sequence": 683,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3938,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4168,
-            "packetsIn": 49,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073376250039,
-        "eventId": "691",
-        "lastEpochMicrosec": 1477073386250039,
-        "priority": "Normal",
-        "sequence": 691,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4514,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5324,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073586625284,
-        "eventId": "712",
-        "lastEpochMicrosec": 1477073596625284,
-        "priority": "Normal",
-        "sequence": 712,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5193,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5748,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070200274642,
-        "eventId": "374",
-        "lastEpochMicrosec": 1477070210274642,
-        "priority": "Normal",
-        "sequence": 374,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4208,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4874,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070220308044,
-        "eventId": "376",
-        "lastEpochMicrosec": 1477070230308044,
-        "priority": "Normal",
-        "sequence": 376,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4102,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5346,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070490793952,
-        "eventId": "403",
-        "lastEpochMicrosec": 1477070500793952,
-        "priority": "Normal",
-        "sequence": 403,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3278,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4036,
-            "packetsIn": 48,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070540900880,
-        "eventId": "408",
-        "lastEpochMicrosec": 1477070550900880,
-        "priority": "Normal",
-        "sequence": 408,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4094,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5333,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070580972300,
-        "eventId": "412",
-        "lastEpochMicrosec": 1477070590972300,
-        "priority": "Normal",
-        "sequence": 412,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6261,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5472,
-            "packetsIn": 93,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070621041944,
-        "eventId": "416",
-        "lastEpochMicrosec": 1477070631041944,
-        "priority": "Normal",
-        "sequence": 416,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4462,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5302,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070671133935,
-        "eventId": "421",
-        "lastEpochMicrosec": 1477070681133935,
-        "priority": "Normal",
-        "sequence": 421,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3518,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4028,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070721225970,
-        "eventId": "426",
-        "lastEpochMicrosec": 1477070731225970,
-        "priority": "Normal",
-        "sequence": 426,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7454,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 50,
-            "bytesOut": 7435,
-            "packetsIn": 100,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070771317040,
-        "eventId": "431",
-        "lastEpochMicrosec": 1477070781317040,
-        "priority": "Normal",
-        "sequence": 431,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 46408,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 282,
-            "bytesOut": 41467,
-            "packetsIn": 531,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070811385505,
-        "eventId": "435",
-        "lastEpochMicrosec": 1477070821385505,
-        "priority": "Normal",
-        "sequence": 435,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4444,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4436,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071091925961,
-        "eventId": "463",
-        "lastEpochMicrosec": 1477071101925961,
-        "priority": "Normal",
-        "sequence": 463,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5120,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4898,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071362393895,
-        "eventId": "490",
-        "lastEpochMicrosec": 1477071372393895,
-        "priority": "Normal",
-        "sequence": 490,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4314,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4326,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071372410540,
-        "eventId": "491",
-        "lastEpochMicrosec": 1477071382410540,
-        "priority": "Normal",
-        "sequence": 491,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5072,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5518,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071422497943,
-        "eventId": "496",
-        "lastEpochMicrosec": 1477071432497943,
-        "priority": "Normal",
-        "sequence": 496,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4868,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5286,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071602842823,
-        "eventId": "514",
-        "lastEpochMicrosec": 1477071612842823,
-        "priority": "Normal",
-        "sequence": 514,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5534,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5324,
-            "packetsIn": 85,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071863369947,
-        "eventId": "540",
-        "lastEpochMicrosec": 1477071873369947,
-        "priority": "Normal",
-        "sequence": 540,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4594,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4074,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071873389953,
-        "eventId": "541",
-        "lastEpochMicrosec": 1477071883389953,
-        "priority": "Normal",
-        "sequence": 541,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 9377,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7894,
-            "packetsIn": 130,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071883407370,
-        "eventId": "542",
-        "lastEpochMicrosec": 1477071893407370,
-        "priority": "Normal",
-        "sequence": 542,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5864,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7318,
-            "packetsIn": 88,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071913462011,
-        "eventId": "545",
-        "lastEpochMicrosec": 1477071923462011,
-        "priority": "Normal",
-        "sequence": 545,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 27350,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 164,
-            "bytesOut": 35804,
-            "packetsIn": 324,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072013669950,
-        "eventId": "555",
-        "lastEpochMicrosec": 1477072023669950,
-        "priority": "Normal",
-        "sequence": 555,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5981,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4364,
-            "packetsIn": 86,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072304235475,
-        "eventId": "584",
-        "lastEpochMicrosec": 1477072314235475,
-        "priority": "Normal",
-        "sequence": 584,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 203574,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4122,
-            "packetsIn": 308,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072554718395,
-        "eventId": "609",
-        "lastEpochMicrosec": 1477072564718395,
-        "priority": "Normal",
-        "sequence": 609,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4142,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5495,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072564737954,
-        "eventId": "610",
-        "lastEpochMicrosec": 1477072574737954,
-        "priority": "Normal",
-        "sequence": 610,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4172,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4066,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072684959633,
-        "eventId": "622",
-        "lastEpochMicrosec": 1477072694959633,
-        "priority": "Normal",
-        "sequence": 622,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4682,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6100,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072694977636,
-        "eventId": "623",
-        "lastEpochMicrosec": 1477072704977636,
-        "priority": "Normal",
-        "sequence": 623,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5024,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5999,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072735051857,
-        "eventId": "627",
-        "lastEpochMicrosec": 1477072745051857,
-        "priority": "Normal",
-        "sequence": 627,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6750,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7198,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072785141695,
-        "eventId": "632",
-        "lastEpochMicrosec": 1477072795141695,
-        "priority": "Normal",
-        "sequence": 632,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 38530,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 249,
-            "bytesOut": 54426,
-            "packetsIn": 436,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072795156085,
-        "eventId": "633",
-        "lastEpochMicrosec": 1477072805156085,
-        "priority": "Normal",
-        "sequence": 633,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4616,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6826,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072885342781,
-        "eventId": "642",
-        "lastEpochMicrosec": 1477072895342781,
-        "priority": "Normal",
-        "sequence": 642,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4934,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072895361934,
-        "eventId": "643",
-        "lastEpochMicrosec": 1477072905361934,
-        "priority": "Normal",
-        "sequence": 643,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4362,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 6786,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072935447654,
-        "eventId": "647",
-        "lastEpochMicrosec": 1477072945447654,
-        "priority": "Normal",
-        "sequence": 647,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4562,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5136,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073065678387,
-        "eventId": "660",
-        "lastEpochMicrosec": 1477073075678387,
-        "priority": "Normal",
-        "sequence": 660,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7173,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7368,
-            "packetsIn": 106,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073085719086,
-        "eventId": "662",
-        "lastEpochMicrosec": 1477073095719086,
-        "priority": "Normal",
-        "sequence": 662,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4826,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7120,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073185910566,
-        "eventId": "672",
-        "lastEpochMicrosec": 1477073195910566,
-        "priority": "Normal",
-        "sequence": 672,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4502,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5304,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073336185348,
-        "eventId": "687",
-        "lastEpochMicrosec": 1477073346185348,
-        "priority": "Normal",
-        "sequence": 687,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4448,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5558,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073346200536,
-        "eventId": "688",
-        "lastEpochMicrosec": 1477073356200536,
-        "priority": "Normal",
-        "sequence": 688,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7053,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7368,
-            "packetsIn": 105,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073446375491,
-        "eventId": "698",
-        "lastEpochMicrosec": 1477073456375491,
-        "priority": "Normal",
-        "sequence": 698,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3966,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073596641959,
-        "eventId": "713",
-        "lastEpochMicrosec": 1477073606641959,
-        "priority": "Normal",
-        "sequence": 713,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4318,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4634,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070250365937,
-        "eventId": "379",
-        "lastEpochMicrosec": 1477070260365937,
-        "priority": "Normal",
-        "sequence": 379,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3746,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5536,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070340529599,
-        "eventId": "388",
-        "lastEpochMicrosec": 1477070350529599,
-        "priority": "Normal",
-        "sequence": 388,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7322,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 48,
-            "bytesOut": 7616,
-            "packetsIn": 113,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070510835835,
-        "eventId": "405",
-        "lastEpochMicrosec": 1477070520835835,
-        "priority": "Normal",
-        "sequence": 405,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6469,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070520864347,
-        "eventId": "406",
-        "lastEpochMicrosec": 1477070530864347,
-        "priority": "Normal",
-        "sequence": 406,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3638,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4044,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070651095730,
-        "eventId": "419",
-        "lastEpochMicrosec": 1477070661095730,
-        "priority": "Normal",
-        "sequence": 419,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3416,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5090,
-            "packetsIn": 48,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070711206504,
-        "eventId": "425",
-        "lastEpochMicrosec": 1477070721206504,
-        "priority": "Normal",
-        "sequence": 425,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5908,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6213,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070791351649,
-        "eventId": "433",
-        "lastEpochMicrosec": 1477070801351649,
-        "priority": "Normal",
-        "sequence": 433,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 10199,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 68,
-            "bytesOut": 11842,
-            "packetsIn": 135,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070801369956,
-        "eventId": "434",
-        "lastEpochMicrosec": 1477070811369956,
-        "priority": "Normal",
-        "sequence": 434,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 26090,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 164,
-            "bytesOut": 33153,
-            "packetsIn": 300,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070841450160,
-        "eventId": "438",
-        "lastEpochMicrosec": 1477070851450160,
-        "priority": "Normal",
-        "sequence": 438,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6205,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5794,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070981705399,
-        "eventId": "452",
-        "lastEpochMicrosec": 1477070991705399,
-        "priority": "Normal",
-        "sequence": 452,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3980,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5410,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071061865954,
-        "eventId": "460",
-        "lastEpochMicrosec": 1477071071865954,
-        "priority": "Normal",
-        "sequence": 460,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 31224,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 197,
-            "bytesOut": 34890,
-            "packetsIn": 357,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071121977934,
-        "eventId": "466",
-        "lastEpochMicrosec": 1477071131977934,
-        "priority": "Normal",
-        "sequence": 466,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 25732,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 162,
-            "bytesOut": 31700,
-            "packetsIn": 302,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071131999094,
-        "eventId": "467",
-        "lastEpochMicrosec": 1477071141999094,
-        "priority": "Normal",
-        "sequence": 467,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 169618,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7186,
-            "packetsIn": 289,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071212141392,
-        "eventId": "475",
-        "lastEpochMicrosec": 1477071222141392,
-        "priority": "Normal",
-        "sequence": 475,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7477,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7465,
-            "packetsIn": 110,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071222158382,
-        "eventId": "476",
-        "lastEpochMicrosec": 1477071232158382,
-        "priority": "Normal",
-        "sequence": 476,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5908,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071272238317,
-        "eventId": "481",
-        "lastEpochMicrosec": 1477071282238317,
-        "priority": "Normal",
-        "sequence": 481,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4504,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5074,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071332342318,
-        "eventId": "487",
-        "lastEpochMicrosec": 1477071342342318,
-        "priority": "Normal",
-        "sequence": 487,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6139,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4836,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071342361964,
-        "eventId": "488",
-        "lastEpochMicrosec": 1477071352361964,
-        "priority": "Normal",
-        "sequence": 488,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 22038,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 143,
-            "bytesOut": 25109,
-            "packetsIn": 257,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071392443903,
-        "eventId": "493",
-        "lastEpochMicrosec": 1477071402443903,
-        "priority": "Normal",
-        "sequence": 493,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 28990,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 185,
-            "bytesOut": 34734,
-            "packetsIn": 342,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071442534871,
-        "eventId": "498",
-        "lastEpochMicrosec": 1477071452534871,
-        "priority": "Normal",
-        "sequence": 498,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 19000,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 111,
-            "bytesOut": 18886,
-            "packetsIn": 232,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071723077968,
-        "eventId": "526",
-        "lastEpochMicrosec": 1477071733077968,
-        "priority": "Normal",
-        "sequence": 526,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 22554,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 150,
-            "bytesOut": 27120,
-            "packetsIn": 270,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071783210923,
-        "eventId": "532",
-        "lastEpochMicrosec": 1477071793210923,
-        "priority": "Normal",
-        "sequence": 532,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 31406,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 192,
-            "bytesOut": 40382,
-            "packetsIn": 369,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071973585969,
-        "eventId": "551",
-        "lastEpochMicrosec": 1477071983585969,
-        "priority": "Normal",
-        "sequence": 551,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 28415,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 168,
-            "bytesOut": 36888,
-            "packetsIn": 330,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072003648795,
-        "eventId": "554",
-        "lastEpochMicrosec": 1477072013648795,
-        "priority": "Normal",
-        "sequence": 554,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4736,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5027,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072073789969,
-        "eventId": "561",
-        "lastEpochMicrosec": 1477072083789969,
-        "priority": "Normal",
-        "sequence": 561,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5332,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4082,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072184014433,
-        "eventId": "572",
-        "lastEpochMicrosec": 1477072194014433,
-        "priority": "Normal",
-        "sequence": 572,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3752,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5666,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072214069942,
-        "eventId": "575",
-        "lastEpochMicrosec": 1477072224069942,
-        "priority": "Normal",
-        "sequence": 575,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4046,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7120,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072274176817,
-        "eventId": "581",
-        "lastEpochMicrosec": 1477072284176817,
-        "priority": "Normal",
-        "sequence": 581,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4208,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5166,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072444481666,
-        "eventId": "598",
-        "lastEpochMicrosec": 1477072454481666,
-        "priority": "Normal",
-        "sequence": 598,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6649,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6038,
-            "packetsIn": 97,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072484565977,
-        "eventId": "602",
-        "lastEpochMicrosec": 1477072494565977,
-        "priority": "Normal",
-        "sequence": 602,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3848,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4822,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072514639844,
-        "eventId": "605",
-        "lastEpochMicrosec": 1477072524639844,
-        "priority": "Normal",
-        "sequence": 605,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6367,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4624,
-            "packetsIn": 93,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072544701945,
-        "eventId": "608",
-        "lastEpochMicrosec": 1477072554701945,
-        "priority": "Normal",
-        "sequence": 608,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6553,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5362,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072604809380,
-        "eventId": "614",
-        "lastEpochMicrosec": 1477072614809380,
-        "priority": "Normal",
-        "sequence": 614,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4628,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5412,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072614829190,
-        "eventId": "615",
-        "lastEpochMicrosec": 1477072624829190,
-        "priority": "Normal",
-        "sequence": 615,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4352,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5630,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072644885943,
-        "eventId": "618",
-        "lastEpochMicrosec": 1477072654885943,
-        "priority": "Normal",
-        "sequence": 618,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5036,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 47,
-            "bytesOut": 7514,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072755088807,
-        "eventId": "629",
-        "lastEpochMicrosec": 1477072765088807,
-        "priority": "Normal",
-        "sequence": 629,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4370,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4351,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072915408472,
-        "eventId": "645",
-        "lastEpochMicrosec": 1477072925408472,
-        "priority": "Normal",
-        "sequence": 645,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4304,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4254,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072955481939,
-        "eventId": "649",
-        "lastEpochMicrosec": 1477072965481939,
-        "priority": "Normal",
-        "sequence": 649,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4388,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5150,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073005573900,
-        "eventId": "654",
-        "lastEpochMicrosec": 1477073015573900,
-        "priority": "Normal",
-        "sequence": 654,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5906,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7148,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073015590437,
-        "eventId": "655",
-        "lastEpochMicrosec": 1477073025590437,
-        "priority": "Normal",
-        "sequence": 655,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3764,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4122,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073045647448,
-        "eventId": "658",
-        "lastEpochMicrosec": 1477073055647448,
-        "priority": "Normal",
-        "sequence": 658,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4706,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7220,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073125796934,
-        "eventId": "666",
-        "lastEpochMicrosec": 1477073135796934,
-        "priority": "Normal",
-        "sequence": 666,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7132,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7250,
-            "packetsIn": 103,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073135815158,
-        "eventId": "667",
-        "lastEpochMicrosec": 1477073145815158,
-        "priority": "Normal",
-        "sequence": 667,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7143,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 50,
-            "bytesOut": 7727,
-            "packetsIn": 104,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073145841670,
-        "eventId": "668",
-        "lastEpochMicrosec": 1477073155841670,
-        "priority": "Normal",
-        "sequence": 668,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6135,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5426,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073266054311,
-        "eventId": "680",
-        "lastEpochMicrosec": 1477073276054311,
-        "priority": "Normal",
-        "sequence": 680,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4052,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5498,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073466418004,
-        "eventId": "700",
-        "lastEpochMicrosec": 1477073476418004,
-        "priority": "Normal",
-        "sequence": 700,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3732,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5244,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073476437957,
-        "eventId": "701",
-        "lastEpochMicrosec": 1477073486437957,
-        "priority": "Normal",
-        "sequence": 701,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4688,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5222,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073526524510,
-        "eventId": "706",
-        "lastEpochMicrosec": 1477073536524510,
-        "priority": "Normal",
-        "sequence": 706,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7963,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 49,
-            "bytesOut": 7608,
-            "packetsIn": 118,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073566594681,
-        "eventId": "710",
-        "lastEpochMicrosec": 1477073576594681,
-        "priority": "Normal",
-        "sequence": 710,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5168,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073616685940,
-        "eventId": "715",
-        "lastEpochMicrosec": 1477073626685940,
-        "priority": "Normal",
-        "sequence": 715,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6483,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5586,
-            "packetsIn": 95,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073626701958,
-        "eventId": "716",
-        "lastEpochMicrosec": 1477073636701958,
-        "priority": "Normal",
-        "sequence": 716,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3660,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4712,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070230330088,
-        "eventId": "377",
-        "lastEpochMicrosec": 1477070240330088,
-        "priority": "Normal",
-        "sequence": 377,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4069,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5506,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070360563689,
-        "eventId": "390",
-        "lastEpochMicrosec": 1477070370563689,
-        "priority": "Normal",
-        "sequence": 390,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4280,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070460736142,
-        "eventId": "400",
-        "lastEpochMicrosec": 1477070470736142,
-        "priority": "Normal",
-        "sequence": 400,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4562,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6892,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070480772828,
-        "eventId": "402",
-        "lastEpochMicrosec": 1477070490772828,
-        "priority": "Normal",
-        "sequence": 402,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5129,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5396,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070500813728,
-        "eventId": "404",
-        "lastEpochMicrosec": 1477070510813728,
-        "priority": "Normal",
-        "sequence": 404,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4456,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5380,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070550916395,
-        "eventId": "409",
-        "lastEpochMicrosec": 1477070560916395,
-        "priority": "Normal",
-        "sequence": 409,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3738,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4750,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070590993953,
-        "eventId": "413",
-        "lastEpochMicrosec": 1477070600993953,
-        "priority": "Normal",
-        "sequence": 413,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5954,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5380,
-            "packetsIn": 94,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070631061957,
-        "eventId": "417",
-        "lastEpochMicrosec": 1477070641061957,
-        "priority": "Normal",
-        "sequence": 417,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4416,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4020,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070641079999,
-        "eventId": "418",
-        "lastEpochMicrosec": 1477070651079999,
-        "priority": "Normal",
-        "sequence": 418,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4911,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4342,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070681153946,
-        "eventId": "422",
-        "lastEpochMicrosec": 1477070691153946,
-        "priority": "Normal",
-        "sequence": 422,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5228,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5294,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070691170336,
-        "eventId": "423",
-        "lastEpochMicrosec": 1477070701170336,
-        "priority": "Normal",
-        "sequence": 423,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 137612,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 776,
-            "bytesOut": 136724,
-            "packetsIn": 1458,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070821405142,
-        "eventId": "436",
-        "lastEpochMicrosec": 1477070831405142,
-        "priority": "Normal",
-        "sequence": 436,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6724,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 48,
-            "bytesOut": 8288,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071021788719,
-        "eventId": "456",
-        "lastEpochMicrosec": 1477071031788719,
-        "priority": "Normal",
-        "sequence": 456,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5216,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5098,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071051846152,
-        "eventId": "459",
-        "lastEpochMicrosec": 1477071061846152,
-        "priority": "Normal",
-        "sequence": 459,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5965,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5686,
-            "packetsIn": 84,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071101941618,
-        "eventId": "464",
-        "lastEpochMicrosec": 1477071111941618,
-        "priority": "Normal",
-        "sequence": 464,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4334,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5232,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071142014557,
-        "eventId": "468",
-        "lastEpochMicrosec": 1477071152014557,
-        "priority": "Normal",
-        "sequence": 468,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3976,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5360,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071152034019,
-        "eventId": "469",
-        "lastEpochMicrosec": 1477071162034019,
-        "priority": "Normal",
-        "sequence": 469,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 41028,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 121,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071202120024,
-        "eventId": "474",
-        "lastEpochMicrosec": 1477071212120024,
-        "priority": "Normal",
-        "sequence": 474,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5066,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7157,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071242189163,
-        "eventId": "478",
-        "lastEpochMicrosec": 1477071252189163,
-        "priority": "Normal",
-        "sequence": 478,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5528,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5302,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071472593939,
-        "eventId": "501",
-        "lastEpochMicrosec": 1477071482593939,
-        "priority": "Normal",
-        "sequence": 501,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4190,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4160,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071492634731,
-        "eventId": "503",
-        "lastEpochMicrosec": 1477071502634731,
-        "priority": "Normal",
-        "sequence": 503,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5918,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 6588,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071502654137,
-        "eventId": "504",
-        "lastEpochMicrosec": 1477071512654137,
-        "priority": "Normal",
-        "sequence": 504,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4270,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 19,
-            "bytesOut": 3650,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071632900848,
-        "eventId": "517",
-        "lastEpochMicrosec": 1477071642900848,
-        "priority": "Normal",
-        "sequence": 517,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7250,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 47,
-            "bytesOut": 7539,
-            "packetsIn": 112,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071652936794,
-        "eventId": "519",
-        "lastEpochMicrosec": 1477071662936794,
-        "priority": "Normal",
-        "sequence": 519,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 20894,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 127,
-            "bytesOut": 23654,
-            "packetsIn": 256,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071713058031,
-        "eventId": "525",
-        "lastEpochMicrosec": 1477071723058031,
-        "priority": "Normal",
-        "sequence": 525,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7297,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7430,
-            "packetsIn": 107,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071763172262,
-        "eventId": "530",
-        "lastEpochMicrosec": 1477071773172262,
-        "priority": "Normal",
-        "sequence": 530,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5472,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5427,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071773193658,
-        "eventId": "531",
-        "lastEpochMicrosec": 1477071783193658,
-        "priority": "Normal",
-        "sequence": 531,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4784,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4386,
-            "packetsIn": 73,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071803251128,
-        "eventId": "534",
-        "lastEpochMicrosec": 1477071813251128,
-        "priority": "Normal",
-        "sequence": 534,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 33146,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 202,
-            "bytesOut": 45220,
-            "packetsIn": 373,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071933509978,
-        "eventId": "547",
-        "lastEpochMicrosec": 1477071943509978,
-        "priority": "Normal",
-        "sequence": 547,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3640,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4128,
-            "packetsIn": 47,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072113869917,
-        "eventId": "565",
-        "lastEpochMicrosec": 1477072123869917,
-        "priority": "Normal",
-        "sequence": 565,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4928,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5412,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072133905970,
-        "eventId": "567",
-        "lastEpochMicrosec": 1477072143905970,
-        "priority": "Normal",
-        "sequence": 567,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4286,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5436,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072314253035,
-        "eventId": "585",
-        "lastEpochMicrosec": 1477072324253035,
-        "priority": "Normal",
-        "sequence": 585,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4568,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5602,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072384378243,
-        "eventId": "592",
-        "lastEpochMicrosec": 1477072394378243,
-        "priority": "Normal",
-        "sequence": 592,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3854,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 4772,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072404411223,
-        "eventId": "594",
-        "lastEpochMicrosec": 1477072414411223,
-        "priority": "Normal",
-        "sequence": 594,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3740,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 21,
-            "bytesOut": 3862,
-            "packetsIn": 50,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072414424973,
-        "eventId": "595",
-        "lastEpochMicrosec": 1477072424424973,
-        "priority": "Normal",
-        "sequence": 595,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6259,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5072,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072424442934,
-        "eventId": "596",
-        "lastEpochMicrosec": 1477072434442934,
-        "priority": "Normal",
-        "sequence": 596,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5576,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7404,
-            "packetsIn": 84,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072624849269,
-        "eventId": "616",
-        "lastEpochMicrosec": 1477072634849269,
-        "priority": "Normal",
-        "sequence": 616,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5172,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4998,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072674941938,
-        "eventId": "621",
-        "lastEpochMicrosec": 1477072684941938,
-        "priority": "Normal",
-        "sequence": 621,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4256,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4294,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072715018487,
-        "eventId": "625",
-        "lastEpochMicrosec": 1477072725018487,
-        "priority": "Normal",
-        "sequence": 625,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3932,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5526,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072825213947,
-        "eventId": "636",
-        "lastEpochMicrosec": 1477072835213947,
-        "priority": "Normal",
-        "sequence": 636,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3956,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 6318,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072865310238,
-        "eventId": "640",
-        "lastEpochMicrosec": 1477072875310238,
-        "priority": "Normal",
-        "sequence": 640,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4080,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4388,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072875328458,
-        "eventId": "641",
-        "lastEpochMicrosec": 1477072885328458,
-        "priority": "Normal",
-        "sequence": 641,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6081,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5528,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072965498915,
-        "eventId": "650",
-        "lastEpochMicrosec": 1477072975498915,
-        "priority": "Normal",
-        "sequence": 650,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6141,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5528,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073025609941,
-        "eventId": "656",
-        "lastEpochMicrosec": 1477073035609941,
-        "priority": "Normal",
-        "sequence": 656,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4446,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6986,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073175893195,
-        "eventId": "671",
-        "lastEpochMicrosec": 1477073185893195,
-        "priority": "Normal",
-        "sequence": 671,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4232,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4066,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073225981156,
-        "eventId": "676",
-        "lastEpochMicrosec": 1477073235981156,
-        "priority": "Normal",
-        "sequence": 676,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5739,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4138,
-            "packetsIn": 84,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073326167021,
-        "eventId": "686",
-        "lastEpochMicrosec": 1477073336167021,
-        "priority": "Normal",
-        "sequence": 686,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4104,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4020,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073356218618,
-        "eventId": "689",
-        "lastEpochMicrosec": 1477073366218618,
-        "priority": "Normal",
-        "sequence": 689,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4886,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7121,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073456394852,
-        "eventId": "699",
-        "lastEpochMicrosec": 1477073466394852,
-        "priority": "Normal",
-        "sequence": 699,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4034,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 4808,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073486456069,
-        "eventId": "702",
-        "lastEpochMicrosec": 1477073496456069,
-        "priority": "Normal",
-        "sequence": 702,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4706,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5765,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073576611503,
-        "eventId": "711",
-        "lastEpochMicrosec": 1477073586611503,
-        "priority": "Normal",
-        "sequence": 711,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6046,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 40,
-            "bytesOut": 9108,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073636730319,
-        "eventId": "717",
-        "lastEpochMicrosec": 1477073646730319,
-        "priority": "Normal",
-        "sequence": 717,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4450,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5230,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070310474544,
-        "eventId": "385",
-        "lastEpochMicrosec": 1477070320474544,
-        "priority": "Normal",
-        "sequence": 385,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5703,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 40,
-            "bytesOut": 6658,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070320490200,
-        "eventId": "386",
-        "lastEpochMicrosec": 1477070330490200,
-        "priority": "Normal",
-        "sequence": 386,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4384,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5096,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070370579195,
-        "eventId": "391",
-        "lastEpochMicrosec": 1477070380579195,
-        "priority": "Normal",
-        "sequence": 391,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3986,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5544,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070400631290,
-        "eventId": "394",
-        "lastEpochMicrosec": 1477070410631290,
-        "priority": "Normal",
-        "sequence": 394,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4428,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4364,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070410646466,
-        "eventId": "395",
-        "lastEpochMicrosec": 1477070420646466,
-        "priority": "Normal",
-        "sequence": 395,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3776,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4562,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070661113931,
-        "eventId": "420",
-        "lastEpochMicrosec": 1477070671113931,
-        "priority": "Normal",
-        "sequence": 420,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5482,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5446,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070731245952,
-        "eventId": "427",
-        "lastEpochMicrosec": 1477070741245952,
-        "priority": "Normal",
-        "sequence": 427,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 12391,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 78,
-            "bytesOut": 10049,
-            "packetsIn": 124,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070761301949,
-        "eventId": "430",
-        "lastEpochMicrosec": 1477070771301949,
-        "priority": "Normal",
-        "sequence": 430,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 19997,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 132,
-            "bytesOut": 23502,
-            "packetsIn": 240,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070861482944,
-        "eventId": "440",
-        "lastEpochMicrosec": 1477070871482944,
-        "priority": "Normal",
-        "sequence": 440,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 19924,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 116,
-            "bytesOut": 19236,
-            "packetsIn": 243,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070871499185,
-        "eventId": "441",
-        "lastEpochMicrosec": 1477070881499185,
-        "priority": "Normal",
-        "sequence": 441,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4394,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 40,
-            "bytesOut": 7024,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070901553877,
-        "eventId": "444",
-        "lastEpochMicrosec": 1477070911553877,
-        "priority": "Normal",
-        "sequence": 444,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3402,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4950,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070951649582,
-        "eventId": "449",
-        "lastEpochMicrosec": 1477070961649582,
-        "priority": "Normal",
-        "sequence": 449,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3650,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5024,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070961673097,
-        "eventId": "450",
-        "lastEpochMicrosec": 1477070971673097,
-        "priority": "Normal",
-        "sequence": 450,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4681,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7354,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071001744811,
-        "eventId": "454",
-        "lastEpochMicrosec": 1477071011744811,
-        "priority": "Normal",
-        "sequence": 454,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4536,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5168,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071011760312,
-        "eventId": "455",
-        "lastEpochMicrosec": 1477071021760312,
-        "priority": "Normal",
-        "sequence": 455,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6458,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6017,
-            "packetsIn": 100,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071232173922,
-        "eventId": "477",
-        "lastEpochMicrosec": 1477071242173922,
-        "priority": "Normal",
-        "sequence": 477,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6871,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6766,
-            "packetsIn": 101,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071282252737,
-        "eventId": "482",
-        "lastEpochMicrosec": 1477071292252737,
-        "priority": "Normal",
-        "sequence": 482,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3884,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4248,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071322325958,
-        "eventId": "486",
-        "lastEpochMicrosec": 1477071332325958,
-        "priority": "Normal",
-        "sequence": 486,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 34518,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 192,
-            "bytesOut": 34192,
-            "packetsIn": 384,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071432517955,
-        "eventId": "497",
-        "lastEpochMicrosec": 1477071442517955,
-        "priority": "Normal",
-        "sequence": 497,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4916,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4318,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071512671652,
-        "eventId": "505",
-        "lastEpochMicrosec": 1477071522671652,
-        "priority": "Normal",
-        "sequence": 505,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6259,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5600,
-            "packetsIn": 91,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071522697277,
-        "eventId": "506",
-        "lastEpochMicrosec": 1477071532697277,
-        "priority": "Normal",
-        "sequence": 506,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5240,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5426,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071552753988,
-        "eventId": "509",
-        "lastEpochMicrosec": 1477071562753988,
-        "priority": "Normal",
-        "sequence": 509,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5060,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5434,
-            "packetsIn": 79,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071612865423,
-        "eventId": "515",
-        "lastEpochMicrosec": 1477071622865423,
-        "priority": "Normal",
-        "sequence": 515,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3974,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4660,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071793233631,
-        "eventId": "533",
-        "lastEpochMicrosec": 1477071803233631,
-        "priority": "Normal",
-        "sequence": 533,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6859,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 6912,
-            "packetsIn": 100,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071823290532,
-        "eventId": "536",
-        "lastEpochMicrosec": 1477071833290532,
-        "priority": "Normal",
-        "sequence": 536,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4982,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5081,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071833308226,
-        "eventId": "537",
-        "lastEpochMicrosec": 1477071843308226,
-        "priority": "Normal",
-        "sequence": 537,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4974,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4426,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071843328660,
-        "eventId": "538",
-        "lastEpochMicrosec": 1477071853328660,
-        "priority": "Normal",
-        "sequence": 538,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 13226,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 89,
-            "bytesOut": 18924,
-            "packetsIn": 153,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072053741964,
-        "eventId": "559",
-        "lastEpochMicrosec": 1477072063741964,
-        "priority": "Normal",
-        "sequence": 559,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8673,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 53,
-            "bytesOut": 9805,
-            "packetsIn": 117,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072063763247,
-        "eventId": "560",
-        "lastEpochMicrosec": 1477072073763247,
-        "priority": "Normal",
-        "sequence": 560,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4676,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6446,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072224086825,
-        "eventId": "576",
-        "lastEpochMicrosec": 1477072234086825,
-        "priority": "Normal",
-        "sequence": 576,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4262,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5318,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072254141660,
-        "eventId": "579",
-        "lastEpochMicrosec": 1477072264141660,
-        "priority": "Normal",
-        "sequence": 579,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4946,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072344303482,
-        "eventId": "588",
-        "lastEpochMicrosec": 1477072354303482,
-        "priority": "Normal",
-        "sequence": 588,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3800,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5398,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072584773904,
-        "eventId": "612",
-        "lastEpochMicrosec": 1477072594773904,
-        "priority": "Normal",
-        "sequence": 612,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5264,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 6018,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072594792760,
-        "eventId": "613",
-        "lastEpochMicrosec": 1477072604792760,
-        "priority": "Normal",
-        "sequence": 613,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4604,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5722,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072775124558,
-        "eventId": "631",
-        "lastEpochMicrosec": 1477072785124558,
-        "priority": "Normal",
-        "sequence": 631,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4280,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5410,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072975517941,
-        "eventId": "651",
-        "lastEpochMicrosec": 1477072985517941,
-        "priority": "Normal",
-        "sequence": 651,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4316,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5018,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073035627391,
-        "eventId": "657",
-        "lastEpochMicrosec": 1477073045627391,
-        "priority": "Normal",
-        "sequence": 657,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4915,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 4836,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073276077930,
-        "eventId": "681",
-        "lastEpochMicrosec": 1477073286077930,
-        "priority": "Normal",
-        "sequence": 681,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4244,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4914,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073396285928,
-        "eventId": "693",
-        "lastEpochMicrosec": 1477073406285928,
-        "priority": "Normal",
-        "sequence": 693,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4982,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6892,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073406303927,
-        "eventId": "694",
-        "lastEpochMicrosec": 1477073416303927,
-        "priority": "Normal",
-        "sequence": 694,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5000,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5378,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073496473912,
-        "eventId": "703",
-        "lastEpochMicrosec": 1477073506473912,
-        "priority": "Normal",
-        "sequence": 703,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4406,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073546558533,
-        "eventId": "708",
-        "lastEpochMicrosec": 1477073556558533,
-        "priority": "Normal",
-        "sequence": 708,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3608,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5230,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073646749551,
-        "eventId": "718",
-        "lastEpochMicrosec": 1477073656749551,
-        "priority": "Normal",
-        "sequence": 718,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4352,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4946,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073676813943,
-        "eventId": "721",
-        "lastEpochMicrosec": 1477073686813943,
-        "priority": "Normal",
-        "sequence": 721,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4864,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5148,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070190253108,
-        "eventId": "373",
-        "lastEpochMicrosec": 1477070200253108,
-        "priority": "Normal",
-        "sequence": 373,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4328,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5286,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070280421939,
-        "eventId": "382",
-        "lastEpochMicrosec": 1477070290421939,
-        "priority": "Normal",
-        "sequence": 382,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6206,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5512,
-            "packetsIn": 96,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070330509980,
-        "eventId": "387",
-        "lastEpochMicrosec": 1477070340509980,
-        "priority": "Normal",
-        "sequence": 387,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3518,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4028,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070420665950,
-        "eventId": "396",
-        "lastEpochMicrosec": 1477070430665950,
-        "priority": "Normal",
-        "sequence": 396,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4360,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4812,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070430683794,
-        "eventId": "397",
-        "lastEpochMicrosec": 1477070440683794,
-        "priority": "Normal",
-        "sequence": 397,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5301,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5536,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070560936376,
-        "eventId": "410",
-        "lastEpochMicrosec": 1477070570936376,
-        "priority": "Normal",
-        "sequence": 410,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6866,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 106,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070570954302,
-        "eventId": "411",
-        "lastEpochMicrosec": 1477070580954302,
-        "priority": "Normal",
-        "sequence": 411,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6681,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 41,
-            "bytesOut": 6568,
-            "packetsIn": 96,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070741264005,
-        "eventId": "428",
-        "lastEpochMicrosec": 1477070751264005,
-        "priority": "Normal",
-        "sequence": 428,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 34880,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 217,
-            "bytesOut": 36350,
-            "packetsIn": 398,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070881514499,
-        "eventId": "442",
-        "lastEpochMicrosec": 1477070891514499,
-        "priority": "Normal",
-        "sequence": 442,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4762,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4934,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070911574857,
-        "eventId": "445",
-        "lastEpochMicrosec": 1477070921574857,
-        "priority": "Normal",
-        "sequence": 445,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7057,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7462,
-            "packetsIn": 105,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070921593735,
-        "eventId": "446",
-        "lastEpochMicrosec": 1477070931593735,
-        "priority": "Normal",
-        "sequence": 446,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6740,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 41,
-            "bytesOut": 6775,
-            "packetsIn": 104,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071292270837,
-        "eventId": "483",
-        "lastEpochMicrosec": 1477071302270837,
-        "priority": "Normal",
-        "sequence": 483,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4934,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5325,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071302289972,
-        "eventId": "484",
-        "lastEpochMicrosec": 1477071312289972,
-        "priority": "Normal",
-        "sequence": 484,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6216,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6786,
-            "packetsIn": 81,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071452551360,
-        "eventId": "499",
-        "lastEpochMicrosec": 1477071462551360,
-        "priority": "Normal",
-        "sequence": 499,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6218,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7316,
-            "packetsIn": 95,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071482617903,
-        "eventId": "502",
-        "lastEpochMicrosec": 1477071492617903,
-        "priority": "Normal",
-        "sequence": 502,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5634,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6446,
-            "packetsIn": 87,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071562771042,
-        "eventId": "510",
-        "lastEpochMicrosec": 1477071572771042,
-        "priority": "Normal",
-        "sequence": 510,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6354,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 47,
-            "bytesOut": 7514,
-            "packetsIn": 96,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071622883746,
-        "eventId": "516",
-        "lastEpochMicrosec": 1477071632883746,
-        "priority": "Normal",
-        "sequence": 516,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 20684,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 138,
-            "bytesOut": 23872,
-            "packetsIn": 242,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071753155902,
-        "eventId": "529",
-        "lastEpochMicrosec": 1477071763155902,
-        "priority": "Normal",
-        "sequence": 529,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6956,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071853349474,
-        "eventId": "539",
-        "lastEpochMicrosec": 1477071863349474,
-        "priority": "Normal",
-        "sequence": 539,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 66655,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 401,
-            "bytesOut": 64534,
-            "packetsIn": 755,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071943529023,
-        "eventId": "548",
-        "lastEpochMicrosec": 1477071953529023,
-        "priority": "Normal",
-        "sequence": 548,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 29098,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 186,
-            "bytesOut": 40028,
-            "packetsIn": 338,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072033705953,
-        "eventId": "557",
-        "lastEpochMicrosec": 1477072043705953,
-        "priority": "Normal",
-        "sequence": 557,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3560,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4758,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072083807753,
-        "eventId": "562",
-        "lastEpochMicrosec": 1477072093807753,
-        "priority": "Normal",
-        "sequence": 562,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5753,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5248,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072123885526,
-        "eventId": "566",
-        "lastEpochMicrosec": 1477072133885526,
-        "priority": "Normal",
-        "sequence": 566,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4102,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5462,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072173997938,
-        "eventId": "571",
-        "lastEpochMicrosec": 1477072183997938,
-        "priority": "Normal",
-        "sequence": 571,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5054,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6906,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072264158607,
-        "eventId": "580",
-        "lastEpochMicrosec": 1477072274158607,
-        "priority": "Normal",
-        "sequence": 580,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3884,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4058,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072324268097,
-        "eventId": "586",
-        "lastEpochMicrosec": 1477072334268097,
-        "priority": "Normal",
-        "sequence": 586,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3182,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4808,
-            "packetsIn": 46,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072334288872,
-        "eventId": "587",
-        "lastEpochMicrosec": 1477072344288872,
-        "priority": "Normal",
-        "sequence": 587,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4034,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072394394368,
-        "eventId": "593",
-        "lastEpochMicrosec": 1477072404394368,
-        "priority": "Normal",
-        "sequence": 593,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3872,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4074,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072434461951,
-        "eventId": "597",
-        "lastEpochMicrosec": 1477072444461951,
-        "priority": "Normal",
-        "sequence": 597,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4028,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072504621951,
-        "eventId": "604",
-        "lastEpochMicrosec": 1477072514621951,
-        "priority": "Normal",
-        "sequence": 604,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4130,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4350,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072524657943,
-        "eventId": "606",
-        "lastEpochMicrosec": 1477072534657943,
-        "priority": "Normal",
-        "sequence": 606,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6691,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5804,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072664921950,
-        "eventId": "620",
-        "lastEpochMicrosec": 1477072674921950,
-        "priority": "Normal",
-        "sequence": 620,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4640,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5426,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072765105949,
-        "eventId": "630",
-        "lastEpochMicrosec": 1477072775105949,
-        "priority": "Normal",
-        "sequence": 630,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 38076,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 238,
-            "bytesOut": 52028,
-            "packetsIn": 425,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072815193944,
-        "eventId": "635",
-        "lastEpochMicrosec": 1477072825193944,
-        "priority": "Normal",
-        "sequence": 635,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4806,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6986,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073055662629,
-        "eventId": "659",
-        "lastEpochMicrosec": 1477073065662629,
-        "priority": "Normal",
-        "sequence": 659,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3470,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4240,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073165876528,
-        "eventId": "670",
-        "lastEpochMicrosec": 1477073175876528,
-        "priority": "Normal",
-        "sequence": 670,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6615,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5086,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073205948758,
-        "eventId": "674",
-        "lastEpochMicrosec": 1477073215948758,
-        "priority": "Normal",
-        "sequence": 674,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4682,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5600,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073215965142,
-        "eventId": "675",
-        "lastEpochMicrosec": 1477073225965142,
-        "priority": "Normal",
-        "sequence": 675,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4178,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4152,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073256037943,
-        "eventId": "679",
-        "lastEpochMicrosec": 1477073266037943,
-        "priority": "Normal",
-        "sequence": 679,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4406,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073306133613,
-        "eventId": "684",
-        "lastEpochMicrosec": 1477073316133613,
-        "priority": "Normal",
-        "sequence": 684,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3974,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4644,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073316150514,
-        "eventId": "685",
-        "lastEpochMicrosec": 1477073326150514,
-        "priority": "Normal",
-        "sequence": 685,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6375,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4538,
-            "packetsIn": 94,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073386268859,
-        "eventId": "692",
-        "lastEpochMicrosec": 1477073396268859,
-        "priority": "Normal",
-        "sequence": 692,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4458,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073536542160,
-        "eventId": "707",
-        "lastEpochMicrosec": 1477073546542160,
-        "priority": "Normal",
-        "sequence": 707,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  }
-]
diff --git a/dcae-analytics-model/src/test/resources/data/json/cef/event_listener.json b/dcae-analytics-model/src/test/resources/data/json/cef/event_listener.json
deleted file mode 100644 (file)
index 87a1fe2..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-{
-  "hp.tag": "hp.collectorStream.20161014.0000000004",
-  "event": {
-    "measurementsForVfScalingFields": {
-      "memoryConfigured": 1,
-      "requestRate": 1,
-      "measurementInterval": 10,
-      "meanRequestLatency": 1,
-      "concurrentSessions": 1,
-      "measurementFieldsVersion": 1,
-      "vNicUsageArray": [
-        {
-          "multicastPacketsIn": 1,
-          "bytesIn": 597,
-          "unicastPacketsIn": 9,
-          "multicastPacketsOut": 1,
-          "broadcastPacketsOut": 1,
-          "bytesOut": 0,
-          "broadcastPacketsIn": 1,
-          "vNicIdentifier": "GigabitEthernet0/4/0",
-          "unicastPacketsOut": 0
-        }
-      ],
-      "memoryUsed": 1,
-      "configuredEntities": 1
-    },
-    "commonEventHeader": {
-      "reportingEntityName": "Dummy VM name - No Metadata available",
-      "startEpochMicrosec": 1476456641231767,
-      "lastEpochMicrosec": 1476456641231767,
-      "eventId": "1",
-      "priority": "Normal",
-      "sourceName": "Dummy VM name - No Metadata available",
-      "sequence": 1,
-      "functionalRole": "vFirewall",
-      "domain": "measurementsForVfScaling",
-      "reportingEntityId": "Dummy VM UUID - No Metadata available",
-      "version": 1,
-      "sourceId": "Dummy VM UUID - No Metadata available"
-    }
-  }
-}
diff --git a/dcae-analytics-model/src/test/resources/data/json/policy/tca_policy.json b/dcae-analytics-model/src/test/resources/data/json/policy/tca_policy.json
deleted file mode 100644 (file)
index 28b738a..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-{
-  "domain": "measurementsForVfScaling",
-  "metricsPerFunctionalRole": [
-    {
-      "functionalRole": "vFirewall",
-      "policyScope": "resource=vFirewall;type=configuration",
-      "policyName": "configuration.dcae.microservice.tca.xml",
-      "policyVersion": "v0.0.1",
-      "thresholds": [
-        {
-          "closedLoopControlName": "CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8",
-          "version": "1.0.2",
-          "fieldPath": "events.measurementsForVfScaling.vNicUsageArray.bytesIn",
-          "thresholdValue": 4000,
-          "direction": "LESS_OR_EQUAL",
-          "severity": "MAJOR"
-        },
-        {
-          "closedLoopControlName": "CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09",
-          "version": "1.0.2",
-          "fieldPath": "events.measurementsForVfScaling.vNicUsageArray.bytesIn",
-          "thresholdValue": 20000,
-          "direction": "GREATER_OR_EQUAL",
-          "severity": "CRITICAL"
-        }
-      ]
-    },
-    {
-      "functionalRole": "vLoadBalancer",
-      "policyScope": "resource=vLoadBalancer;type=configuration",
-      "policyName": "configuration.dcae.microservice.tca.xml",
-      "policyVersion": "v0.0.1",
-      "thresholds": [
-        {
-          "closedLoopControlName": "CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A",
-          "version": "1.0.2",
-          "fieldPath": "events.measurementsForVfScaling.vNicUsageArray.packetsIn",
-          "thresholdValue": 500,
-          "direction": "LESS_OR_EQUAL",
-          "severity": "MAJOR"
-        },
-        {
-          "closedLoopControlName": "CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B",
-          "version": "1.0.2",
-          "fieldPath": "events.measurementsForVfScaling.vNicUsageArray.packetsIn",
-          "thresholdValue": 5000,
-          "direction": "GREATER_OR_EQUAL",
-          "severity": "CRITICAL"
-        }
-      ]
-    }
-  ]
-}
index 40d6330..cd29ed1 100644 (file)
@@ -20,6 +20,7 @@
 
 package org.openecomp.dcae.apod.analytics.tca.processor;
 
+import org.openecomp.dcae.apod.analytics.model.domain.cef.Domain;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventListener;
 
 /**
@@ -48,7 +49,7 @@ public class TCACEFPolicyDomainFilter extends AbstractTCAECEFPolicyProcessor {
         // event listener is indeed present
         final EventListener eventListener = processorContext.getCEFEventListener();
 
-        String cefMessageDomain;
+        Domain cefMessageDomain;
 
         // Extract CEF domain as it is must be present as per CEF Schema
         if (eventListener.getEvent() != null &&
@@ -67,7 +68,7 @@ public class TCACEFPolicyDomainFilter extends AbstractTCAECEFPolicyProcessor {
         final String policyDomain = processorContext.getTCAPolicy().getDomain();
 
         // If Policy domain matches CEF message domain then continue processing
-        if (cefMessageDomain.equals(policyDomain)) {
+        if (cefMessageDomain.toString().equalsIgnoreCase(policyDomain)) {
             final String finishMessage = String.format("Policy Domain and CEF Message Domain match successful." +
                     " Message Domain: %s, Policy Domain: %s", cefMessageDomain, policyDomain);
             setFinishedProcessingMessage(finishMessage, processorContext);
@@ -26,18 +26,18 @@ import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;
 
 import java.util.List;
 
-import static org.openecomp.dcae.apod.analytics.tca.utils.TCAUtils.getPolicyFunctionalRoleSupplier;
+import static org.openecomp.dcae.apod.analytics.tca.utils.TCAUtils.getPolicyEventNamesSupplier;
 
 /**
  * <p>
- *     TCA Processor that acts like a filter to filter out messages which does not belong to TCA Policy Functional Roles
+ *     TCA Processor that acts like a filter to filter out messages which does not belong to TCA Policy Event Name
  *     <br>
  *     Pre Conditions: CEF Event Listener must be present
  * </p>
  *
  * @author Rajiv Singla . Creation Date: 11/9/2016.
  */
-public class TCACEFPolicyFunctionalRoleFilter extends AbstractTCAECEFPolicyProcessor {
+public class TCACEFPolicyEventNameFilter extends AbstractTCAECEFPolicyProcessor {
 
     private static final long serialVersionUID = 1L;
 
@@ -53,36 +53,36 @@ public class TCACEFPolicyFunctionalRoleFilter extends AbstractTCAECEFPolicyProce
         // event listener is indeed present
         final EventListener eventListener = processorContext.getCEFEventListener();
 
-        String cefMessageFunctionalRole;
+        String cefMessageEventName;
 
         if (eventListener.getEvent() != null &&
                 eventListener.getEvent().getCommonEventHeader() != null &&
-                eventListener.getEvent().getCommonEventHeader().getFunctionalRole() != null) {
-            cefMessageFunctionalRole = eventListener.getEvent().getCommonEventHeader().getFunctionalRole();
+                eventListener.getEvent().getCommonEventHeader().getEventName() != null) {
+            cefMessageEventName = eventListener.getEvent().getCommonEventHeader().getEventName();
         } else {
-            String terminationMessage = "Invalid CEF Message.Common Event Header Functional Role not present.";
+            String terminationMessage = "Invalid CEF Message.Common Event Header Event Name not present.";
             setTerminatingProcessingMessage(terminationMessage, processorContext);
             return processorContext;
         }
 
         // Determine Policy Functional Roles
         final TCAPolicy tcaPolicy = processorContext.getTCAPolicy();
-        final List<String> policyFunctionalRoles = getPolicyFunctionalRoleSupplier(tcaPolicy).get();
+        final List<String> policyFunctionalRoles = getPolicyEventNamesSupplier(tcaPolicy).get();
         final String policyFunctionalRolesString = Joiner.on(",").join(policyFunctionalRoles);
 
         // If Policy functional Roles contains CEF message Functional Role then continue processing
-        if (policyFunctionalRoles.contains(cefMessageFunctionalRole)) {
+        if (policyFunctionalRoles.contains(cefMessageEventName)) {
             final String finishMessage = String.format(
                     "Policy Functional Roles and CEF Message Functional match successful." +
                             "Message Functional Role: %s, Policy Functional Roles: %s",
-                    cefMessageFunctionalRole, policyFunctionalRolesString);
+                    cefMessageEventName, policyFunctionalRolesString);
             setFinishedProcessingMessage(finishMessage, processorContext);
         } else {
             // If Policy functional Roles does not contain CEF message Functiona Role then terminate processing
             final String terminatingMessage = String.format(
                     "Policy Domain and CEF Message Domain match unsuccessful." +
                             "Message Functional Role: %s, Policy Functional Roles: %s",
-                    cefMessageFunctionalRole, policyFunctionalRolesString);
+                    cefMessageEventName, policyFunctionalRolesString);
             setTerminatingProcessingMessage(terminatingMessage, processorContext);
         }
 
index 4d49cbb..f02a4bb 100644 (file)
@@ -23,8 +23,9 @@ package org.openecomp.dcae.apod.analytics.tca.processor;
 import com.google.common.base.Optional;
 import com.google.common.collect.Table;
 import org.openecomp.dcae.apod.analytics.common.exception.MessageProcessingException;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.Domain;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventListener;
-import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerFunctionalRole;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
 import org.openecomp.dcae.apod.analytics.tca.utils.TCAUtils;
@@ -57,10 +58,10 @@ public class TCACEFPolicyThresholdsProcessor extends AbstractTCAECEFPolicyProces
     public TCACEFProcessorContext preProcessor(@Nonnull TCACEFProcessorContext processorContext) {
         // validates Domain and Functional Role are present
         final EventListener eventListener = processorContext.getCEFEventListener();
-        final String domain = eventListener.getEvent().getCommonEventHeader().getDomain();
-        final String functionalRole = eventListener.getEvent().getCommonEventHeader().getFunctionalRole();
-        if (domain == null || functionalRole == null) {
-            final String errorMessage = "CEF Event Listener domain or functional role not Present. " +
+        final Domain domain = eventListener.getEvent().getCommonEventHeader().getDomain();
+        final String eventName = eventListener.getEvent().getCommonEventHeader().getEventName();
+        if (domain == null || eventName == null) {
+            final String errorMessage = "CEF Event Listener domain or eventName not Present. " +
                     "Invalid use of this Processor";
             throw new MessageProcessingException(errorMessage, LOG, new IllegalArgumentException(errorMessage));
         }
@@ -78,17 +79,17 @@ public class TCACEFPolicyThresholdsProcessor extends AbstractTCAECEFPolicyProces
 
         final String cefMessage = processorContext.getMessage();
 
-        // Determine domain and functional Role
+        // Determine domain and eventName
         final EventListener eventListener = processorContext.getCEFEventListener();
-        final String functionalRole = eventListener.getEvent().getCommonEventHeader().getFunctionalRole();
+        final String eventName = eventListener.getEvent().getCommonEventHeader().getEventName();
 
-        // Get Table containing Functional Role and Thresholds Field Path
+        // Get Table containing event Name and Thresholds Field Path
         final TCAPolicy tcaPolicy = processorContext.getTCAPolicy();
-        final Table<String, String, List<Threshold>> functionalRoleFieldPathsTable =
-                TCAUtils.getPolicyFRThresholdsTableSupplier(tcaPolicy).get();
+        final Table<String, String, List<Threshold>> eventNameFieldPathsTable =
+                TCAUtils.getPolicyEventNameThresholdsTableSupplier(tcaPolicy).get();
 
-        // Get Policy Field Paths for that functional Role
-        final Map<String, List<Threshold>> policyFieldPathsMap = functionalRoleFieldPathsTable.row(functionalRole);
+        // Get Policy Field Paths for that event Name
+        final Map<String, List<Threshold>> policyFieldPathsMap = eventNameFieldPathsTable.row(eventName);
         final Set<String> policyFieldPaths = policyFieldPathsMap.keySet();
 
         // Get Json Values for Policy Fields
@@ -119,10 +120,10 @@ public class TCACEFPolicyThresholdsProcessor extends AbstractTCAECEFPolicyProces
             // If there are policy violations then determine max priority violation
             final Threshold maxSeverityThresholdViolation =
                     TCAUtils.prioritizeThresholdViolations(violatedThresholdsMap);
-            final MetricsPerFunctionalRole violatedMetrics = TCAUtils.createViolatedMetrics(tcaPolicy,
-                    maxSeverityThresholdViolation, functionalRole);
+            final MetricsPerEventName violatedMetrics = TCAUtils.createViolatedMetrics(tcaPolicy,
+                    maxSeverityThresholdViolation, eventName);
             // attach policy violation to processor Context
-            processorContext.setMetricsPerFunctionalRole(violatedMetrics);
+            processorContext.setMetricsPerEventName(violatedMetrics);
 
             final String finishMessage = String.format("Policy Threshold violation detected for threshold: %s",
                     maxSeverityThresholdViolation);
index d2ba545..207d1e1 100644 (file)
@@ -22,7 +22,7 @@ package org.openecomp.dcae.apod.analytics.tca.processor;
 
 import org.openecomp.dcae.apod.analytics.common.service.processor.AbstractProcessorContext;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventListener;
-import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerFunctionalRole;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;
 
 /**
@@ -36,7 +36,7 @@ public class TCACEFProcessorContext extends AbstractProcessorContext {
 
     private final TCAPolicy tcaPolicy;
     private EventListener eventListener;
-    private MetricsPerFunctionalRole metricsPerFunctionalRole;
+    private MetricsPerEventName metricsPerEventName;
 
     public TCACEFProcessorContext(final String message, boolean canProcessingContinue, final TCAPolicy tcaPolicy) {
         super(message, canProcessingContinue);
@@ -44,7 +44,7 @@ public class TCACEFProcessorContext extends AbstractProcessorContext {
         // present only if cef incoming message can be parsed successfully to Event Listener Object
         this.eventListener = null;
         // present only if there are any threshold violations are detected
-        this.metricsPerFunctionalRole = null;
+        this.metricsPerEventName = null;
     }
 
     // Auxiliary Constructor which default canProcessingContinue Flag to true
@@ -82,22 +82,22 @@ public class TCACEFProcessorContext extends AbstractProcessorContext {
 
 
     /**
-     * Returns TCA Policy {@link MetricsPerFunctionalRole} which was has violated Threshold for the CEF Message if
+     * Returns TCA Policy {@link MetricsPerEventName} which was has violated Threshold for the CEF Message if
      * present else null
      *
      * @return Violated Threshold
      */
-    public MetricsPerFunctionalRole getMetricsPerFunctionalRole() {
-        return metricsPerFunctionalRole;
+    public MetricsPerEventName getMetricsPerEventName() {
+        return metricsPerEventName;
     }
 
     /**
-     * Assign new TCA Policy {@link MetricsPerFunctionalRole} which was has violated Threshold for the CEF Message
+     * Assign new TCA Policy {@link MetricsPerEventName} which was has violated Threshold for the CEF Message
      *
-     * @param metricsPerFunctionalRole new value for Metrics Per Functional Role with violated threshold
+     * @param metricsPerEventName new value for Metrics Per Functional Role with violated threshold
      */
-    public void setMetricsPerFunctionalRole(MetricsPerFunctionalRole metricsPerFunctionalRole) {
-        this.metricsPerFunctionalRole = metricsPerFunctionalRole;
+    public void setMetricsPerEventName(MetricsPerEventName metricsPerEventName) {
+        this.metricsPerEventName = metricsPerEventName;
     }
 
 }
index 2465fb4..cd61e65 100644 (file)
@@ -51,8 +51,10 @@ import org.openecomp.dcae.apod.analytics.model.domain.cef.EventListener;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventSeverity;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.PerformanceCounter;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.ThresholdCrossingAlertFields;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.ControlLoopEventStatus;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.ControlLoopSchemaType;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Direction;
-import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerFunctionalRole;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
 import org.openecomp.dcae.apod.analytics.model.facade.tca.AAI;
@@ -61,7 +63,7 @@ import org.openecomp.dcae.apod.analytics.model.util.AnalyticsModelIOUtils;
 import org.openecomp.dcae.apod.analytics.model.util.AnalyticsModelJsonUtils;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFJsonProcessor;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFPolicyDomainFilter;
-import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFPolicyFunctionalRoleFilter;
+import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFPolicyEventNameFilter;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFPolicyThresholdsProcessor;
 import org.openecomp.dcae.apod.analytics.tca.processor.TCACEFProcessorContext;
 import org.quartz.Job;
@@ -121,85 +123,85 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
     };
 
     /**
-     * {@link Function} that extracts {@link TCAPolicy#getMetricsPerFunctionalRole()} from {@link TCAPolicy}
+     * {@link Function} that extracts {@link TCAPolicy#getMetricsPerEventName()} from {@link TCAPolicy}
      *
-     * @return TCA Policy Metrics Per Functional Roles List
+     * @return TCA Policy Metrics Per Event Name list
      */
-    public static Function<TCAPolicy, List<MetricsPerFunctionalRole>> tcaPolicyMetricsExtractorFunction() {
-        return new Function<TCAPolicy, List<MetricsPerFunctionalRole>>() {
+    public static Function<TCAPolicy, List<MetricsPerEventName>> tcaPolicyMetricsExtractorFunction() {
+        return new Function<TCAPolicy, List<MetricsPerEventName>>() {
             @Nullable
             @Override
-            public List<MetricsPerFunctionalRole> apply(@Nonnull TCAPolicy tcaPolicy) {
-                return tcaPolicy.getMetricsPerFunctionalRole();
+            public List<MetricsPerEventName> apply(@Nonnull TCAPolicy tcaPolicy) {
+                return tcaPolicy.getMetricsPerEventName();
             }
         };
     }
 
     /**
-     * {@link Function} that extracts {@link MetricsPerFunctionalRole#getFunctionalRole()} from
-     * {@link MetricsPerFunctionalRole}
+     * {@link Function} that extracts {@link MetricsPerEventName#getEventName()} from
+     * {@link MetricsPerEventName}
      *
-     * @return Functional role or a Metrics Per Functional Role object
+     * @return Event Names or a Metrics Per Event Name object
      */
-    public static Function<MetricsPerFunctionalRole, String> tcaFunctionalRoleExtractorFunction() {
-        return new Function<MetricsPerFunctionalRole, String>() {
+    public static Function<MetricsPerEventName, String> tcaEventNameExtractorFunction() {
+        return new Function<MetricsPerEventName, String>() {
             @Override
-            public String apply(@Nonnull MetricsPerFunctionalRole metricsPerFunctionalRole) {
-                return metricsPerFunctionalRole.getFunctionalRole();
+            public String apply(@Nonnull MetricsPerEventName metricsPerEventName) {
+                return metricsPerEventName.getEventName();
             }
         };
     }
 
 
     /**
-     * Extracts {@link TCAPolicy} Functional Roles
+     * Extracts {@link TCAPolicy} Event Names
      *
      * @param tcaPolicy TCA Policy
-     * @return List of functional Roles in the tca Policy
+     * @return List of event names in the TCA Policy
      */
-    public static List<String> getPolicyFunctionalRoles(@Nonnull final TCAPolicy tcaPolicy) {
-        final List<MetricsPerFunctionalRole> metricsPerFunctionalRoles =
+    public static List<String> getPolicyEventNames(@Nonnull final TCAPolicy tcaPolicy) {
+        final List<MetricsPerEventName> metricsPerEventNames =
                 tcaPolicyMetricsExtractorFunction().apply(tcaPolicy);
 
-        return Lists.transform(metricsPerFunctionalRoles, tcaFunctionalRoleExtractorFunction());
+        return Lists.transform(metricsPerEventNames, tcaEventNameExtractorFunction());
     }
 
     /**
-     * A {@link Supplier} which caches {@link TCAPolicy} Functional Roles as they are not expected to
+     * A {@link Supplier} which caches {@link TCAPolicy} Event names as they are not expected to
      * change during runtime
      *
      * @param tcaPolicy TCA Policy
-     * @return a Supplier that memoize the Functional roles
+     * @return a Supplier that memoize the TCA Policy event names
      */
-    public static Supplier<List<String>> getPolicyFunctionalRoleSupplier(@Nonnull final TCAPolicy tcaPolicy) {
+    public static Supplier<List<String>> getPolicyEventNamesSupplier(@Nonnull final TCAPolicy tcaPolicy) {
         return Suppliers.memoize(new Supplier<List<String>>() {
             @Override
             public List<String> get() {
-                return getPolicyFunctionalRoles(tcaPolicy);
+                return getPolicyEventNames(tcaPolicy);
             }
         });
     }
 
 
     /**
-     * Creates a Table to lookup thresholds of a {@link TCAPolicy} by its Functional Role and Threshold Field path
+     * Creates a Table to lookup thresholds of a {@link TCAPolicy} by its Event Name and Threshold Field path
      *
      * @param tcaPolicy TCA Policy
-     * @return A table with Keys of functional role and field path containing List of threshold as values
+     * @return A table with Keys of event name and field path containing List of threshold as values
      */
-    public static Table<String, String, List<Threshold>> getPolicyFRThresholdsTable(final TCAPolicy tcaPolicy) {
+    public static Table<String, String, List<Threshold>> getPolicyEventNameThresholdsTable(final TCAPolicy tcaPolicy) {
         final Table<String, String, List<Threshold>> domainFRTable = HashBasedTable.create();
-        for (MetricsPerFunctionalRole metricsPerFunctionalRole : tcaPolicy.getMetricsPerFunctionalRole()) {
-            final String functionalRole = metricsPerFunctionalRole.getFunctionalRole();
-            final List<Threshold> thresholds = metricsPerFunctionalRole.getThresholds();
+        for (MetricsPerEventName metricsPerEventName : tcaPolicy.getMetricsPerEventName()) {
+            final String eventName = metricsPerEventName.getEventName();
+            final List<Threshold> thresholds = metricsPerEventName.getThresholds();
             for (Threshold threshold : thresholds) {
-                final List<Threshold> existingThresholds = domainFRTable.get(functionalRole, threshold.getFieldPath());
+                final List<Threshold> existingThresholds = domainFRTable.get(eventName, threshold.getFieldPath());
                 if (existingThresholds == null) {
                     final LinkedList<Threshold> newThresholdList = new LinkedList<>();
                     newThresholdList.add(threshold);
-                    domainFRTable.put(functionalRole, threshold.getFieldPath(), newThresholdList);
+                    domainFRTable.put(eventName, threshold.getFieldPath(), newThresholdList);
                 } else {
-                    domainFRTable.get(functionalRole, threshold.getFieldPath()).add(threshold);
+                    domainFRTable.get(eventName, threshold.getFieldPath()).add(threshold);
                 }
             }
         }
@@ -208,17 +210,17 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
 
 
     /**
-     * A {@link Supplier} which caches Policy Functional Role and Threshold Field Path Thresholds lookup table
+     * A {@link Supplier} which caches Policy Event Name and Threshold Field Path Thresholds lookup table
      *
      * @param tcaPolicy TCA Policy
-     * @return Cached Supplier for table with Keys of functional role and field path containing thresholds as values
+     * @return Cached Supplier for table with Keys of event Name and field path containing thresholds as values
      */
-    public static Supplier<Table<String, String, List<Threshold>>> getPolicyFRThresholdsTableSupplier
+    public static Supplier<Table<String, String, List<Threshold>>> getPolicyEventNameThresholdsTableSupplier
     (final TCAPolicy tcaPolicy) {
         return Suppliers.memoize(new Supplier<Table<String, String, List<Threshold>>>() {
             @Override
             public Table<String, String, List<Threshold>> get() {
-                return getPolicyFRThresholdsTable(tcaPolicy);
+                return getPolicyEventNameThresholdsTable(tcaPolicy);
             }
         });
     }
@@ -226,8 +228,8 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
 
     /**
      * Creates a {@link GenericMessageChainProcessor} of {@link TCACEFJsonProcessor},
-     * {@link TCACEFPolicyDomainFilter} and {@link TCACEFPolicyFunctionalRoleFilter}s to
-     * filter out messages which does not match policy domain or functional role
+     * {@link TCACEFPolicyDomainFilter} and {@link TCACEFPolicyEventNameFilter}s to
+     * filter out messages which does not match policy domain or event Name
      *
      * @param cefMessage CEF Message
      * @param tcaPolicy TCA Policy
@@ -238,10 +240,10 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
 
         final TCACEFJsonProcessor jsonProcessor = new TCACEFJsonProcessor();
         final TCACEFPolicyDomainFilter domainFilter = new TCACEFPolicyDomainFilter();
-        final TCACEFPolicyFunctionalRoleFilter functionalRoleFilter = new TCACEFPolicyFunctionalRoleFilter();
+        final TCACEFPolicyEventNameFilter eventNameFilter = new TCACEFPolicyEventNameFilter();
         // Create a list of message processors
         final ImmutableList<AbstractMessageProcessor<TCACEFProcessorContext>> messageProcessors =
-                ImmutableList.of(jsonProcessor, domainFilter, functionalRoleFilter);
+                ImmutableList.of(jsonProcessor, domainFilter, eventNameFilter);
         final TCACEFProcessorContext processorContext = new TCACEFProcessorContext(cefMessage, tcaPolicy);
         // Create a message processors chain
         final GenericMessageChainProcessor<TCACEFProcessorContext> tcaProcessingChain =
@@ -331,33 +333,33 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
 
 
     /**
-     * Creates {@link MetricsPerFunctionalRole} object which contains violated thresholds
+     * Creates {@link MetricsPerEventName} object which contains violated thresholds
      *
      * @param tcaPolicy TCA Policy
      * @param violatedThreshold Violated thresholds
-     * @param functionalRole Functional Role
+     * @param eventName Event Name
      *
-     * @return MetricsPerFunctionalRole object containing one highest severity violated threshold
+     * @return MetricsPerEventName object containing one highest severity violated threshold
      */
-    public static MetricsPerFunctionalRole createViolatedMetrics(@Nonnull final TCAPolicy tcaPolicy,
-                                                                 @Nonnull final Threshold violatedThreshold,
-                                                                 @Nonnull final String functionalRole) {
+    public static MetricsPerEventName createViolatedMetrics(@Nonnull final TCAPolicy tcaPolicy,
+                                                            @Nonnull final Threshold violatedThreshold,
+                                                            @Nonnull final String eventName) {
 
-        final ArrayList<MetricsPerFunctionalRole> metricsPerFunctionalRoles = newArrayList(
-                Iterables.filter(tcaPolicy.getMetricsPerFunctionalRole(), new Predicate<MetricsPerFunctionalRole>() {
+        final ArrayList<MetricsPerEventName> metricsPerEventNames = newArrayList(
+                Iterables.filter(tcaPolicy.getMetricsPerEventName(), new Predicate<MetricsPerEventName>() {
                     @Override
-                    public boolean apply(@Nonnull MetricsPerFunctionalRole metricsPerFunctionalRole) {
-                        return metricsPerFunctionalRole.getFunctionalRole().equals(functionalRole);
+                    public boolean apply(@Nonnull MetricsPerEventName metricsPerEventName) {
+                        return metricsPerEventName.getEventName().equals(eventName);
                     }
                 }));
-        // TCA policy must have only one metrics role per functional role
-        if (metricsPerFunctionalRoles.size() == 1) {
-            final MetricsPerFunctionalRole violatedMetrics =
-                    MetricsPerFunctionalRole.copy(metricsPerFunctionalRoles.get(0));
+        // TCA policy must have only one metrics per event Name
+        if (metricsPerEventNames.size() == 1) {
+            final MetricsPerEventName violatedMetrics =
+                    MetricsPerEventName.copy(metricsPerEventNames.get(0));
             violatedMetrics.setThresholds(ImmutableList.of(Threshold.copy(violatedThreshold)));
             return violatedMetrics;
         } else {
-            final String errorMessage = String.format("TCA Policy must contain functional Role: %s", functionalRole);
+            final String errorMessage = String.format("TCA Policy must contain eventName: %s", eventName);
             throw new MessageProcessingException(errorMessage, LOG, new IllegalStateException(errorMessage));
         }
     }
@@ -413,16 +415,16 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
     public static EventListener addThresholdViolationFields(
             final TCACEFProcessorContext processorContextWithViolations) {
 
-        final MetricsPerFunctionalRole metricsPerFunctionalRole =
-                processorContextWithViolations.getMetricsPerFunctionalRole();
+        final MetricsPerEventName metricsPerEventName =
+                processorContextWithViolations.getMetricsPerEventName();
         // confirm violations are indeed present
-        if (metricsPerFunctionalRole == null) {
+        if (metricsPerEventName == null) {
             final String errorMessage = "No violations metrics. Unable to add Threshold Violation Fields";
             throw new MessageProcessingException(errorMessage, LOG, new IllegalArgumentException(errorMessage));
         }
 
         // get violated threshold
-        final Threshold violatedThreshold = metricsPerFunctionalRole.getThresholds().get(0);
+        final Threshold violatedThreshold = metricsPerEventName.getThresholds().get(0);
         final EventListener eventListener = processorContextWithViolations.getCEFEventListener();
         final CommonEventHeader commonEventHeader = eventListener.getEvent().getCommonEventHeader();
 
@@ -435,7 +437,7 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
         thresholdCrossingAlertFields.setAlertType(AlertType.INTERFACE_ANOMALY);
         thresholdCrossingAlertFields.setAlertDescription(violatedThreshold.getDirection().toString());
         thresholdCrossingAlertFields.setInterfaceName(commonEventHeader.getReportingEntityName());
-        thresholdCrossingAlertFields.setElementType(commonEventHeader.getFunctionalRole());
+        thresholdCrossingAlertFields.setElementType(commonEventHeader.getEventName());
 
         // create new performance count
         final PerformanceCounter performanceCounter = new PerformanceCounter();
@@ -482,15 +484,14 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
     public static TCAVESResponse createNewTCAVESResponse(final TCACEFProcessorContext processorContext,
                                                          final String tcaAppName) {
 
-        final MetricsPerFunctionalRole metricsPerFunctionalRole = processorContext.getMetricsPerFunctionalRole();
+        final MetricsPerEventName metricsPerEventName = processorContext.getMetricsPerEventName();
         // confirm violations are indeed present
-        if (metricsPerFunctionalRole == null) {
+        if (metricsPerEventName == null) {
             final String errorMessage = "No violations metrics. Unable to create VES Response";
             throw new MessageProcessingException(errorMessage, LOG, new IllegalArgumentException(errorMessage));
         }
 
-        final String functionalRole = metricsPerFunctionalRole.getFunctionalRole();
-        final Threshold violatedThreshold = metricsPerFunctionalRole.getThresholds().get(0);
+        final Threshold violatedThreshold = metricsPerEventName.getThresholds().get(0);
         final EventListener eventListener = processorContext.getCEFEventListener();
         final CommonEventHeader commonEventHeader = eventListener.getEvent().getCommonEventHeader();
 
@@ -510,18 +511,19 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
         final AAI aai = new AAI();
         tcavesResponse.setAai(aai);
 
-        // vLoadBalancer specific settings
-        if (isFunctionalRoleVLoadBalancer(functionalRole)) {
+        // VM specific settings
+        if (metricsPerEventName.getControlLoopSchemaType() == ControlLoopSchemaType.VM) {
             // Hard Coded - "VM"
-            tcavesResponse.setTargetType(AnalyticsConstants.LOAD_BALANCER_TCA_VES_RESPONSE_TARGET_TYPE);
+            tcavesResponse.setTargetType(AnalyticsConstants.TCA_VES_RESPONSE_VM_TARGET_TYPE);
             // Hard Coded - "vserver.vserver-name"
-            tcavesResponse.setTarget(AnalyticsConstants.LOAD_BALANCER_TCA_VES_RESPONSE_TARGET);
+            tcavesResponse.setTarget(AnalyticsConstants.TCA_VES_RESPONSE_VM_TARGET);
             aai.setGenericServerId(commonEventHeader.getReportingEntityName());
         } else {
+            // VNF specific settings
             // Hard Coded - "VNF"
-            tcavesResponse.setTargetType(AnalyticsConstants.TCA_VES_RESPONSE_TARGET_TYPE);
+            tcavesResponse.setTargetType(AnalyticsConstants.TCA_VES_RESPONSE_VNF_TARGET_TYPE);
             // Hard Coded - "generic-vnf.vnf-id"
-            tcavesResponse.setTarget(AnalyticsConstants.TCA_VES_RESPONSE_TARGET);
+            tcavesResponse.setTarget(AnalyticsConstants.TCA_VES_RESPONSE_VNF_TARGET);
             // commonEventHeader.reportingEntityName from the received VES measurementsForVfScaling message (value for
             // the data element used in A&AI)
             aai.setGenericVNFId(commonEventHeader.getReportingEntityName());
@@ -530,40 +532,29 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
         // Hard Coded - "DCAE"
         tcavesResponse.setFrom(AnalyticsConstants.TCA_VES_RESPONSE_FROM);
         // policyScope included in the DCAE configuration Policy
-        tcavesResponse.setPolicyScope(metricsPerFunctionalRole.getPolicyScope());
+        tcavesResponse.setPolicyScope(metricsPerEventName.getPolicyScope());
         // policyName included in the DCAE configuration Policy
-        tcavesResponse.setPolicyName(metricsPerFunctionalRole.getPolicyName());
+        tcavesResponse.setPolicyName(metricsPerEventName.getPolicyName());
         // policyVersion included in the DCAE configuration Policy
-        tcavesResponse.setPolicyVersion(metricsPerFunctionalRole.getPolicyVersion());
-        // Hard Coded - "ONSET"
-        tcavesResponse.setClosedLoopEventStatus(AnalyticsConstants.TCA_VES_RESPONSE_CLOSED_LOOP_EVENT_STATUS);
+        tcavesResponse.setPolicyVersion(metricsPerEventName.getPolicyVersion());
+        // Extracted from violated threshold
+        tcavesResponse.setClosedLoopEventStatus(violatedThreshold.getClosedLoopEventStatus().name());
 
         return tcavesResponse;
     }
 
-    /**
-     * Determines if Functional Role is vLoadBalancer
-     *
-     * @param functionalRole functional Role to check
-     *
-     * @return return true if functional role is for vLoadBalancer
-     */
-    private static boolean isFunctionalRoleVLoadBalancer(final String functionalRole) {
-        return functionalRole.equals(AnalyticsConstants.LOAD_BALANCER_FUNCTIONAL_ROLE);
-    }
-
 
     /**
-     * Extract Domain and functional Role from processor context if present
+     * Extract Domain and Event Name from processor context if present
      *
      * @param processorContext processor context
-     * @return Tuple of domain and functional role
+     * @return Tuple of domain and event Name
      */
-    public static Pair<String, String> getDomainAndFunctionalRole(@Nullable final TCACEFProcessorContext
-                                                                          processorContext) {
+    public static Pair<String, String> getDomainAndEventName(
+            @Nullable final TCACEFProcessorContext processorContext) {
 
         String domain = null;
-        String functionalRole = null;
+        String eventName = null;
 
         if (processorContext != null &&
                 processorContext.getCEFEventListener() != null &&
@@ -573,42 +564,42 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
                     .getCommonEventHeader();
 
             if (commonEventHeader.getDomain() != null) {
-                domain = commonEventHeader.getDomain();
+                domain = commonEventHeader.getDomain().name();
             }
 
-            if (commonEventHeader.getFunctionalRole() != null) {
-                functionalRole = commonEventHeader.getFunctionalRole();
+            if (commonEventHeader.getEventName() != null) {
+                eventName = commonEventHeader.getEventName();
             }
 
         }
 
-        return new ImmutablePair<>(domain, functionalRole);
+        return new ImmutablePair<>(domain, eventName);
 
     }
 
     /**
-     * Creates {@link TCAPolicy} Metrics per Functional Role list
+     * Creates {@link TCAPolicy} Metrics per Event Name list
      *
-     * @param functionalRolesMap Map containing functional Roles as key and corresponding values
+     * @param eventNamesMap Map containing event Name as key and corresponding values
      *
-     * @return List of {@link MetricsPerFunctionalRole}
+     * @return List of {@link MetricsPerEventName}
      */
-    public static List<MetricsPerFunctionalRole> createTCAPolicyMetricsPerFunctionalRoleList(
-            final Map<String, Map<String, String>> functionalRolesMap) {
+    public static List<MetricsPerEventName> createTCAPolicyMetricsPerEventNameList(
+            final Map<String, Map<String, String>> eventNamesMap) {
 
-        // create a new metrics per functional role list
-        final List<MetricsPerFunctionalRole> metricsPerFunctionalRoles = new LinkedList<>();
+        // create a new metrics per event Name list
+        final List<MetricsPerEventName> metricsPerEventNames = new LinkedList<>();
 
-        for (Map.Entry<String, Map<String, String>> functionalRolesEntry : functionalRolesMap.entrySet()) {
+        for (Map.Entry<String, Map<String, String>> eventNamesEntry : eventNamesMap.entrySet()) {
 
-            // create new metrics per functional role instance
-            final MetricsPerFunctionalRole newMetricsPerFunctionalRole =
-                    createNewMetricsPerFunctionalRole(functionalRolesEntry);
-            metricsPerFunctionalRoles.add(newMetricsPerFunctionalRole);
+            // create new metrics per event Name instance
+            final MetricsPerEventName newMetricsPerEventName =
+                    createNewMetricsPerEventName(eventNamesEntry);
+            metricsPerEventNames.add(newMetricsPerEventName);
 
             // determine all threshold related values
             final Map<String, String> thresholdsValuesMaps =
-                    filterMapByKeyNamePrefix(functionalRolesEntry.getValue(),
+                    filterMapByKeyNamePrefix(eventNamesEntry.getValue(),
                             AnalyticsConstants.TCA_POLICY_THRESHOLDS_PATH_POSTFIX);
 
             // create a map of all threshold values
@@ -616,14 +607,14 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
                     extractSubTree(thresholdsValuesMaps, 1, 2,
                             AnalyticsConstants.TCA_POLICY_DELIMITER);
 
-            // add thresholds to nmetrics per functional roles threshold list
+            // add thresholds to nmetrics per event Names threshold list
             for (Map<String, String> thresholdMap : thresholdsMap.values()) {
-                newMetricsPerFunctionalRole.getThresholds().add(createNewThreshold(thresholdMap));
+                newMetricsPerEventName.getThresholds().add(createNewThreshold(thresholdMap));
             }
 
         }
 
-        return metricsPerFunctionalRoles;
+        return metricsPerEventNames;
     }
 
     /**
@@ -641,32 +632,36 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
         threshold.setDirection(Direction.valueOf(thresholdMap.get("policy.direction")));
         threshold.setSeverity(EventSeverity.valueOf(thresholdMap.get("policy.severity")));
         threshold.setThresholdValue(Long.valueOf(thresholdMap.get("policy.thresholdValue")));
+        threshold.setClosedLoopEventStatus(
+                ControlLoopEventStatus.valueOf(thresholdMap.get("policy.closedLoopEventStatus")));
         return threshold;
     }
 
     /**
-     * Create new {@link MetricsPerFunctionalRole} instance with policy Name, policy Version and policy Scope
-     * extracted from given functionalRolesEntry
+     * Create new {@link MetricsPerEventName} instance with policy Name, policy Version and policy Scope
+     * extracted from given eventNamesEntry
      *
-     * @param functionalRolesEntry Functional Role Entry
+     * @param eventNamesEntry Event Names Entry
      *
-     * @return new instance of MetricsPerFunctionalRole
+     * @return new instance of MetricsPerEventName
      */
-    public static MetricsPerFunctionalRole createNewMetricsPerFunctionalRole(
-            final Map.Entry<String, Map<String, String>> functionalRolesEntry) {
-        // determine functional Role
-        final String functionalRole = functionalRolesEntry.getKey();
-        // determine functional Role thresholds
-        final Map<String, String> metricsPerFunctionalRoleThresholdsMap = functionalRolesEntry.getValue();
-        final MetricsPerFunctionalRole metricsPerFunctionalRole = new MetricsPerFunctionalRole();
+    public static MetricsPerEventName createNewMetricsPerEventName(
+            final Map.Entry<String, Map<String, String>> eventNamesEntry) {
+        // determine event Name
+        final String eventName = eventNamesEntry.getKey();
+        // determine event Name thresholds
+        final Map<String, String> metricsPerEventNameThresholdsMap = eventNamesEntry.getValue();
+        final MetricsPerEventName metricsPerEventName = new MetricsPerEventName();
         final List<Threshold> thresholds = new LinkedList<>();
-        metricsPerFunctionalRole.setThresholds(thresholds);
-        metricsPerFunctionalRole.setFunctionalRole(functionalRole);
-        // bind policyName, policyVersion and policyScope
-        metricsPerFunctionalRole.setPolicyName(metricsPerFunctionalRoleThresholdsMap.get("policyName"));
-        metricsPerFunctionalRole.setPolicyVersion(metricsPerFunctionalRoleThresholdsMap.get("policyVersion"));
-        metricsPerFunctionalRole.setPolicyScope(metricsPerFunctionalRoleThresholdsMap.get("policyScope"));
-        return metricsPerFunctionalRole;
+        metricsPerEventName.setThresholds(thresholds);
+        metricsPerEventName.setEventName(eventName);
+        // bind policyName, policyVersion, policyScope and closedLoopControlName
+        metricsPerEventName.setPolicyName(metricsPerEventNameThresholdsMap.get("policyName"));
+        metricsPerEventName.setPolicyVersion(metricsPerEventNameThresholdsMap.get("policyVersion"));
+        metricsPerEventName.setPolicyScope(metricsPerEventNameThresholdsMap.get("policyScope"));
+        metricsPerEventName.setControlLoopSchemaType(ControlLoopSchemaType.valueOf(
+                metricsPerEventNameThresholdsMap.get("closedLoopControlName")));
+        return metricsPerEventName;
     }
 
     /**
@@ -751,7 +746,7 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
      * @param <T> An implementation of Quartz {@link Job} interface
      * @return Configured Quartz Scheduler
      *
-     * @throws SchedulerException expection if unable to create to Quartz Scheduler
+     * @throws SchedulerException exception if unable to create to Quartz Scheduler
      */
     public static <T extends Job> Scheduler createQuartzScheduler(final Integer pollingIntervalMS,
             final StdSchedulerFactory stdSchedulerFactory, final String quartzPublisherPropertiesFileName,
@@ -786,6 +781,4 @@ public abstract class TCAUtils extends AnalyticsModelJsonUtils {
         return scheduler;
     }
 
-
-
 }
index 187ffa2..8bdeee5 100644 (file)
@@ -24,6 +24,7 @@ import com.fasterxml.jackson.core.type.TypeReference;
 import com.fasterxml.jackson.databind.ObjectMapper;
 import com.google.common.base.Suppliers;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventListener;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.ControlLoopEventStatus;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Direction;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
@@ -123,12 +124,14 @@ public abstract class BaseAnalyticsTCAUnitTest extends BaseDCAEAnalyticsUnitTest
         majorThreshold.setFieldPath("$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn");
         majorThreshold.setVersion("Test Version");
         majorThreshold.setThresholdValue(500L);
+        majorThreshold.setClosedLoopEventStatus(ControlLoopEventStatus.ONSET);
         majorThreshold.setDirection(Direction.LESS_OR_EQUAL);
 
         Threshold criticalThreshold = new Threshold();
         criticalThreshold.setClosedLoopControlName("CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A");
         criticalThreshold.setThresholdValue(5000L);
         criticalThreshold.setFieldPath("$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn");
+        criticalThreshold.setClosedLoopEventStatus(ControlLoopEventStatus.ONSET);
         criticalThreshold.setDirection(Direction.GREATER_OR_EQUAL);
         return Arrays.asList(majorThreshold, criticalThreshold);
     }
index f6925cb..f19943c 100644 (file)
@@ -23,6 +23,7 @@ package org.openecomp.dcae.apod.analytics.tca.processor;
 import org.junit.Before;
 import org.junit.Test;
 import org.openecomp.dcae.apod.analytics.common.service.processor.ProcessingState;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.Domain;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventListener;
 import org.openecomp.dcae.apod.analytics.tca.BaseAnalyticsTCAUnitTest;
 
@@ -64,7 +65,7 @@ public class TCACEFPolicyDomainFilterTest extends BaseAnalyticsTCAUnitTest {
 
     @Test
     public void testProcessMessageWhenPolicyDomainDoesNotMatchMessageDomain() throws Exception {
-        cefEventListener.getEvent().getCommonEventHeader().setDomain("notPolicyDomain");
+        cefEventListener.getEvent().getCommonEventHeader().setDomain(Domain.other);
         tcacefPolicyDomainFilter.processMessage(processorContext);
         assertThat("Processing must terminate early",
                 tcacefPolicyDomainFilter.getProcessingState(), is(ProcessingState.PROCESSING_TERMINATED_EARLY));
@@ -32,15 +32,15 @@ import static org.junit.Assert.assertThat;
 /**
  * @author Rajiv Singla . Creation Date: 12/19/2016.
  */
-public class TCACEFPolicyFunctionalRoleFilterTest extends BaseAnalyticsTCAUnitTest {
+public class TCACEFPolicyEventNameFilterTest extends BaseAnalyticsTCAUnitTest {
 
-    private TCACEFPolicyFunctionalRoleFilter tcacefPolicyFunctionalRoleFilter;
+    private TCACEFPolicyEventNameFilter tcacefPolicyEventNameFilter;
     private TCACEFProcessorContext processorContext;
     private EventListener cefEventListener;
 
     @Before
     public void before() throws Exception {
-        tcacefPolicyFunctionalRoleFilter = new TCACEFPolicyFunctionalRoleFilter();
+        tcacefPolicyEventNameFilter = new TCACEFPolicyEventNameFilter();
         processorContext = new TCACEFProcessorContext("", getSampleTCAPolicy());
         cefEventListener = getCEFEventListener();
         processorContext.setCEFEventListener(cefEventListener);
@@ -48,9 +48,9 @@ public class TCACEFPolicyFunctionalRoleFilterTest extends BaseAnalyticsTCAUnitTe
 
     @Test
     public void testProcessMessageWhenMessageIsValid() throws Exception {
-        tcacefPolicyFunctionalRoleFilter.processMessage(processorContext);
+        tcacefPolicyEventNameFilter.processMessage(processorContext);
         assertThat("Processing must finish successfully",
-                tcacefPolicyFunctionalRoleFilter.getProcessingState(),
+                tcacefPolicyEventNameFilter.getProcessingState(),
                 is(ProcessingState.PROCESSING_FINISHED_SUCCESSFULLY));
     }
 
@@ -58,17 +58,17 @@ public class TCACEFPolicyFunctionalRoleFilterTest extends BaseAnalyticsTCAUnitTe
     public void testProcessMessageWhenCEFEventIsNull() throws Exception {
         cefEventListener.setEvent(null);
         processorContext.setCEFEventListener(cefEventListener);
-        tcacefPolicyFunctionalRoleFilter.processMessage(processorContext);
+        tcacefPolicyEventNameFilter.processMessage(processorContext);
         assertThat("Processing must terminate early",
-                tcacefPolicyFunctionalRoleFilter.getProcessingState(), is(ProcessingState.PROCESSING_TERMINATED_EARLY));
+                tcacefPolicyEventNameFilter.getProcessingState(), is(ProcessingState.PROCESSING_TERMINATED_EARLY));
     }
 
     @Test
-    public void testProcessMessageWhenPolicyFunctionalRoleDoesNotMatchMessageFunctionalRole() throws Exception {
-        cefEventListener.getEvent().getCommonEventHeader().setFunctionalRole("someNonPolicyFunctionalRole");
-        tcacefPolicyFunctionalRoleFilter.processMessage(processorContext);
+    public void testProcessMessageWhenPolicyEventNameDoesNotMatchMessageEventName() throws Exception {
+        cefEventListener.getEvent().getCommonEventHeader().setEventName("someNonPolicyEventName");
+        tcacefPolicyEventNameFilter.processMessage(processorContext);
         assertThat("Processing must terminate early",
-                tcacefPolicyFunctionalRoleFilter.getProcessingState(), is(ProcessingState.PROCESSING_TERMINATED_EARLY));
+                tcacefPolicyEventNameFilter.getProcessingState(), is(ProcessingState.PROCESSING_TERMINATED_EARLY));
     }
 
 
index fb69e95..c328d8a 100644 (file)
@@ -63,7 +63,8 @@ public class TCACEFPolicyThresholdsProcessorTest extends BaseAnalyticsTCAUnitTes
         final TCACEFProcessorContext tcacefProcessorContext = new TCACEFProcessorContext(cefMessageString,
                 getSampleTCAPolicy());
 
-        final EventListener eventListener = getCEFEventListener();
+        final EventListener eventListener = ANALYTICS_MODEL_OBJECT_MAPPER.readValue(cefMessageString,
+                EventListener.class);
         tcacefProcessorContext.setCEFEventListener(eventListener);
 
         AbstractTCAECEFPolicyProcessor policyThresholdsProcessor = new TCACEFPolicyThresholdsProcessor();
index 7674eb8..458f18c 100644 (file)
@@ -31,11 +31,14 @@ import org.mockito.Mockito;
 import org.openecomp.dcae.apod.analytics.common.AnalyticsConstants;
 import org.openecomp.dcae.apod.analytics.common.exception.MessageProcessingException;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.CommonEventHeader;
+import org.openecomp.dcae.apod.analytics.model.domain.cef.Domain;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.Event;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventListener;
 import org.openecomp.dcae.apod.analytics.model.domain.cef.EventSeverity;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.ControlLoopEventStatus;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.ControlLoopSchemaType;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Direction;
-import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerFunctionalRole;
+import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.MetricsPerEventName;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.TCAPolicy;
 import org.openecomp.dcae.apod.analytics.model.domain.policy.tca.Threshold;
 import org.openecomp.dcae.apod.analytics.model.facade.tca.TCAVESResponse;
@@ -74,23 +77,23 @@ import static org.mockito.Mockito.when;
 public class TCAUtilsTest extends BaseAnalyticsTCAUnitTest {
 
     @Test
-    public void testGetPolicyFunctionalRoles() throws Exception {
+    public void testGetPolicyEventNames() throws Exception {
 
         final TCAPolicy sampleTCAPolicy = getSampleTCAPolicy();
-        final List<String> policyFunctionalRoles = TCAUtils.getPolicyFunctionalRoles(sampleTCAPolicy);
+        final List<String> eventNames = TCAUtils.getPolicyEventNames(sampleTCAPolicy);
 
-        assertThat("Policy Functional Roles must contain vFirewall and vLoadBalancer", policyFunctionalRoles,
-                containsInAnyOrder("vFirewall", "vLoadBalancer"));
+        assertThat("Policy event names must contain vFirewall and vLoadBalancer", eventNames,
+                containsInAnyOrder("Mfvs_eNodeB_RANKPI", "vLoadBalancer"));
     }
 
     @Test
-    public void testGetPolicyFunctionalRoleSupplier() throws Exception {
+    public void testGetPolicyEventNamesSupplier() throws Exception {
         final TCAPolicy sampleTCAPolicy = getSampleTCAPolicy();
-        final Supplier<List<String>> policyFunctionalRoleSupplier = TCAUtils.getPolicyFunctionalRoleSupplier
+        final Supplier<List<String>> policyEventNamesSupplier = TCAUtils.getPolicyEventNamesSupplier
                 (sampleTCAPolicy);
-        final List<String> policyFunctionalRoles = policyFunctionalRoleSupplier.get();
-        assertThat("Policy Functional Roles must contain vFirewall and vLoadBalancer", policyFunctionalRoles,
-                containsInAnyOrder("vFirewall", "vLoadBalancer"));
+        final List<String> eventNames = policyEventNamesSupplier.get();
+        assertThat("Policy event names must contain vFirewall and vLoadBalancer", eventNames,
+                containsInAnyOrder("Mfvs_eNodeB_RANKPI", "vLoadBalancer"));
     }
 
     @Test
@@ -105,47 +108,52 @@ public class TCAUtilsTest extends BaseAnalyticsTCAUnitTest {
     @Test
     public void testGetPolicyFRThresholdsTableSupplier() throws Exception {
         final Table<String, String, List<Threshold>> policyFRThresholdPathTable = TCAUtils
-                .getPolicyFRThresholdsTableSupplier(getSampleTCAPolicy()).get();
+                .getPolicyEventNameThresholdsTableSupplier(getSampleTCAPolicy()).get();
 
-        final Map<String, List<Threshold>> vFirewall = policyFRThresholdPathTable.row("vFirewall");
+        final Map<String, List<Threshold>> eNodeBRankpi = policyFRThresholdPathTable.row("Mfvs_eNodeB_RANKPI");
         final Map<String, List<Threshold>> vLoadBalancer = policyFRThresholdPathTable.row("vLoadBalancer");
 
-        final Set<String> vFirewallThresholdPaths = vFirewall.keySet();
+        final Set<String> eNodeBRankpiFieldPaths = eNodeBRankpi.keySet();
         final Set<String> vLoadBalancerPaths = vLoadBalancer.keySet();
 
-        assertThat("vFirewall threshold field path size must be " +
-                        "\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn\"",
-                vFirewallThresholdPaths.iterator().next(),
-                is("$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn"));
+        final String receivedBroadcastPacketsFieldPath =
+                "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated";
+        assertThat("eNodeBRankpi threshold field path size must be " +
+                        "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*]" +
+                        ".receivedBroadcastPacketsAccumulated",
+                eNodeBRankpiFieldPaths.iterator().next(),
+                is(receivedBroadcastPacketsFieldPath));
 
         assertThat("vLoadBalancer threshold field path size must be " +
-                        "\"\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn\"",
+                        "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*]" +
+                        ".receivedBroadcastPacketsAccumulated",
                 vLoadBalancerPaths.iterator().next(),
-                is("$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn"));
+                is(receivedBroadcastPacketsFieldPath));
 
-        final List<Threshold> firewallThresholds = policyFRThresholdPathTable.get("vFirewall",
-                "$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn");
+        final List<Threshold> eNodeBRankpiThresholds = policyFRThresholdPathTable.get("Mfvs_eNodeB_RANKPI",
+                receivedBroadcastPacketsFieldPath);
         final List<Threshold> vLoadBalancerThresholds = policyFRThresholdPathTable.get("vLoadBalancer",
-                "$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn");
+                receivedBroadcastPacketsFieldPath);
 
-        assertThat("vFirewall Threshold size must be 2", firewallThresholds.size(), is(2));
+        assertThat("eNodeBRankpi Threshold size must be 3", eNodeBRankpiThresholds.size(), is(3));
         assertThat("vLoadBalancer Threshold size must be 2", vLoadBalancerThresholds.size(), is(2));
     }
 
     @Test
     public void testGetJsonPathValueWithValidMessageAndPolicy() throws Exception {
         final String cefMessageString = fromStream(CEF_MESSAGE_JSON_FILE_LOCATION);
-        final String jsonPath = "$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn";
+        final String jsonPath =
+                "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated";
         final ImmutableSet<String> fieldPaths = ImmutableSet.of(jsonPath);
         final Map<String, List<Long>> jsonPathValueMap = TCAUtils.getJsonPathValue(cefMessageString, fieldPaths);
-        assertThat("Json Path value must match", jsonPathValueMap.get(jsonPath).get(0), is(6086L));
+        assertThat("Json Path value must match", jsonPathValueMap.get(jsonPath).get(0), is(5000L));
 
     }
 
     @Test
     public void testGetJsonPathValueWithValidPath() throws Exception {
         final String cefMessageString = fromStream(CEF_MESSAGE_JSON_FILE_LOCATION);
-        final String jsonPath = "$.event.measurementsForVfScalingFields.vNicUsageArray[*].invalid";
+        final String jsonPath = "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].invalid";
         final ImmutableSet<String> fieldPaths = ImmutableSet.of(jsonPath);
         final Map<String, List<Long>> jsonPathValueMap = TCAUtils.getJsonPathValue(cefMessageString, fieldPaths);
         assertThat("Json path value must be empty", jsonPathValueMap.size(), is(0));
@@ -154,14 +162,15 @@ public class TCAUtilsTest extends BaseAnalyticsTCAUnitTest {
 
 
     @Test
-    public void testCreateNewTCAVESResponseWithFunctionalRolevLoadBalancer() throws Exception {
+    public void testCreateNewTCAVESResponseWithVFControlLoopSchemaType() throws Exception {
         TCACEFProcessorContext tcacefProcessorContext = mock(TCACEFProcessorContext.class);
 
-        MetricsPerFunctionalRole metricsPerFunctionalRole = mock(MetricsPerFunctionalRole.class);
-        when(metricsPerFunctionalRole.getThresholds()).thenReturn(getThresholds());
-        when(metricsPerFunctionalRole.getPolicyScope()).thenReturn("Test Policy scope");
-        when(tcacefProcessorContext.getMetricsPerFunctionalRole()).thenReturn(metricsPerFunctionalRole);
-        when(metricsPerFunctionalRole.getFunctionalRole()).thenReturn("vLoadBalancer");
+        MetricsPerEventName metricsPerEventName = mock(MetricsPerEventName.class);
+        when(metricsPerEventName.getThresholds()).thenReturn(getThresholds());
+        when(metricsPerEventName.getPolicyScope()).thenReturn("Test Policy scope");
+        when(tcacefProcessorContext.getMetricsPerEventName()).thenReturn(metricsPerEventName);
+        when(metricsPerEventName.getEventName()).thenReturn("testEventName");
+        when(metricsPerEventName.getControlLoopSchemaType()).thenReturn(ControlLoopSchemaType.VM);
 
         when(tcacefProcessorContext.getCEFEventListener()).thenReturn(getCEFEventListener());
         TCAVESResponse tcaVESResponse = TCAUtils.createNewTCAVESResponse(tcacefProcessorContext, "TCA_APP_NAME");
@@ -179,11 +188,11 @@ public class TCAUtilsTest extends BaseAnalyticsTCAUnitTest {
     public void testCreateNewTCAVESResponseWithFunctionalRolevFirewall() throws Exception {
         TCACEFProcessorContext tcacefProcessorContext = mock(TCACEFProcessorContext.class);
 
-        MetricsPerFunctionalRole metricsPerFunctionalRole = mock(MetricsPerFunctionalRole.class);
-        when(metricsPerFunctionalRole.getThresholds()).thenReturn(getThresholds());
-        when(metricsPerFunctionalRole.getPolicyScope()).thenReturn("Test Policy scope");
-        when(tcacefProcessorContext.getMetricsPerFunctionalRole()).thenReturn(metricsPerFunctionalRole);
-        when(metricsPerFunctionalRole.getFunctionalRole()).thenReturn("vFirewall");
+        MetricsPerEventName metricsPerEventName = mock(MetricsPerEventName.class);
+        when(metricsPerEventName.getThresholds()).thenReturn(getThresholds());
+        when(metricsPerEventName.getPolicyScope()).thenReturn("Test Policy scope");
+        when(tcacefProcessorContext.getMetricsPerEventName()).thenReturn(metricsPerEventName);
+        when(metricsPerEventName.getEventName()).thenReturn("vFirewall");
 
         when(tcacefProcessorContext.getCEFEventListener()).thenReturn(getCEFEventListener());
         TCAVESResponse tcaVESResponse = TCAUtils.createNewTCAVESResponse(tcacefProcessorContext, "TCA_APP_NAME");
@@ -234,56 +243,55 @@ public class TCAUtilsTest extends BaseAnalyticsTCAUnitTest {
     public void testCreateViolatedMetrics() throws Exception {
         TCAPolicy tcaPolicy = getSampleTCAPolicy();
         Threshold violatedThreshold = getCriticalThreshold();
-        String functionalRole = "vFirewall";
-        MetricsPerFunctionalRole result = TCAUtils.createViolatedMetrics(tcaPolicy, violatedThreshold, functionalRole);
+        String functionalRole = "Mfvs_eNodeB_RANKPI";
+        MetricsPerEventName result = TCAUtils.createViolatedMetrics(tcaPolicy, violatedThreshold, functionalRole);
         assertThat(result.getPolicyScope(), is("resource=vFirewall;type=configuration"));
         assertThat(result.getPolicyName(), is("configuration.dcae.microservice.tca.xml"));
     }
 
     @Test
-    public void testCreateViolatedMetricsWrongFunctionalRole() throws Exception {
+    public void testCreateViolatedMetricsWrongEventName() throws Exception {
         expectedIllegalArgumentException.expect(MessageProcessingException.class);
         expectedIllegalArgumentException.expectCause(isA(IllegalStateException.class));
-        expectedIllegalArgumentException.expectMessage("TCA Policy must contain functional Role: badFunctionRoleName");
-
+        String eventName = "badEventName";
+        expectedIllegalArgumentException.expectMessage("TCA Policy must contain eventName: " + eventName);
         TCAPolicy tcaPolicy = getSampleTCAPolicy();
         Threshold violatedThreshold = getCriticalThreshold();
-        String functionalRole = "badFunctionRoleName";
-        MetricsPerFunctionalRole result = TCAUtils.createViolatedMetrics(tcaPolicy, violatedThreshold, functionalRole);
+        TCAUtils.createViolatedMetrics(tcaPolicy, violatedThreshold, eventName);
     }
 
     @Test
-    public void testGetDomainAndFunctionalRole() {
+    public void testGetDomainAndEventName() {
         TCACEFProcessorContext tcacefProcessorContext = mock(TCACEFProcessorContext.class);
         EventListener eventListener = mock(EventListener.class);
         Event event = mock(Event.class);
         CommonEventHeader commonEventHeader = mock(CommonEventHeader.class);
 
-        Pair<String, String> result = TCAUtils.getDomainAndFunctionalRole(tcacefProcessorContext);
+        Pair<String, String> result = TCAUtils.getDomainAndEventName(tcacefProcessorContext);
         assertNull(result.getLeft());
         assertNull(result.getRight());
 
         when(tcacefProcessorContext.getCEFEventListener()).thenReturn(eventListener);
-        result = TCAUtils.getDomainAndFunctionalRole(tcacefProcessorContext);
+        result = TCAUtils.getDomainAndEventName(tcacefProcessorContext);
         assertNull(result.getLeft());
         assertNull(result.getRight());
 
         when(eventListener.getEvent()).thenReturn(event);
-        result = TCAUtils.getDomainAndFunctionalRole(tcacefProcessorContext);
+        result = TCAUtils.getDomainAndEventName(tcacefProcessorContext);
         assertNull(result.getLeft());
         assertNull(result.getRight());
 
         when(event.getCommonEventHeader()).thenReturn(commonEventHeader);
-        result = TCAUtils.getDomainAndFunctionalRole(tcacefProcessorContext);
+        result = TCAUtils.getDomainAndEventName(tcacefProcessorContext);
         assertNull(result.getLeft());
         assertNull(result.getRight());
 
-        when(commonEventHeader.getDomain()).thenReturn("testDomain");
-        when(commonEventHeader.getFunctionalRole()).thenReturn("functionalRole");
+        when(commonEventHeader.getDomain()).thenReturn(Domain.other);
+        when(commonEventHeader.getEventName()).thenReturn("eventName");
 
-        result = TCAUtils.getDomainAndFunctionalRole(tcacefProcessorContext);
-        assertEquals(result.getLeft(), "testDomain");
-        assertEquals(result.getRight(), "functionalRole");
+        result = TCAUtils.getDomainAndEventName(tcacefProcessorContext);
+        assertEquals(result.getLeft(), "other");
+        assertEquals(result.getRight(), "eventName");
 
     }
 
@@ -298,7 +306,7 @@ public class TCAUtilsTest extends BaseAnalyticsTCAUnitTest {
 
         TCACEFProcessorContext result = TCAUtils.computeThresholdViolations(tcacefProcessorContext);
         assertNotNull(result);
-        verify(result, times(0)).setMetricsPerFunctionalRole(Mockito.any(MetricsPerFunctionalRole.class));
+        verify(result, times(0)).setMetricsPerEventName(Mockito.any(MetricsPerEventName.class));
         assertEquals("Policy must not change", getSampleTCAPolicy(), result.getTCAPolicy());
     }
 
@@ -313,7 +321,7 @@ public class TCAUtilsTest extends BaseAnalyticsTCAUnitTest {
         when(tcacefProcessorContext.getCEFEventListener()).thenReturn(getCEFEventListener());
 
         TCACEFProcessorContext result = TCAUtils.computeThresholdViolations(tcacefProcessorContext);
-        verify(result, times(1)).setMetricsPerFunctionalRole(Mockito.any(MetricsPerFunctionalRole.class));
+        verify(result, times(1)).setMetricsPerEventName(Mockito.any(MetricsPerEventName.class));
 
         assertEquals("Policy must not change", getSampleTCAPolicy(), result.getTCAPolicy());
     }
@@ -329,11 +337,11 @@ public class TCAUtilsTest extends BaseAnalyticsTCAUnitTest {
         final Map<String, Map<String, String>> functionalRolesMap =
                 TCAUtils.extractSubTree(tcaPolicyMap, 2, 3, AnalyticsConstants.TCA_POLICY_DELIMITER);
 
-        final List<MetricsPerFunctionalRole> tcaPolicyMetricsPerFunctionalRoleList =
-                TCAUtils.createTCAPolicyMetricsPerFunctionalRoleList(functionalRolesMap);
+        final List<MetricsPerEventName> tcaPolicyMetricsPerEventNameList =
+                TCAUtils.createTCAPolicyMetricsPerEventNameList(functionalRolesMap);
 
         assertThat("There are two Metrics per function role", 2,
-                is(tcaPolicyMetricsPerFunctionalRoleList.size()));
+                is(tcaPolicyMetricsPerEventNameList.size()));
     }
 
 
@@ -353,9 +361,9 @@ public class TCAUtilsTest extends BaseAnalyticsTCAUnitTest {
 
     @Test
     public void testCreateTCAAlertStringWhenCEFIsEnabled() throws Exception {
-        final MetricsPerFunctionalRole violatedMetrics = createViolatedMetricsPerFunctionalRole(EventSeverity.CRITICAL);
+        final MetricsPerEventName violatedMetrics = createViolatedMetricsPerEventName(EventSeverity.CRITICAL);
         TCACEFProcessorContext processorContext = mock(TCACEFProcessorContext.class);
-        when(processorContext.getMetricsPerFunctionalRole()).thenReturn(violatedMetrics);
+        when(processorContext.getMetricsPerEventName()).thenReturn(violatedMetrics);
         when(processorContext.getCEFEventListener()).thenReturn(getCEFEventListener());
         final String alertString = TCAUtils.createTCAAlertString(processorContext, "testApp", true);
         assertTrue(alertString.contains("thresholdCrossingAlertFields"));
@@ -364,15 +372,15 @@ public class TCAUtilsTest extends BaseAnalyticsTCAUnitTest {
     @Test(expected = MessageProcessingException.class)
     public void testCreateTCAAlertStringWhenViolatedMetricsNotPresentAndCEFIsEnabled() throws Exception {
         TCACEFProcessorContext processorContext = mock(TCACEFProcessorContext.class);
-        when(processorContext.getMetricsPerFunctionalRole()).thenReturn(null);
+        when(processorContext.getMetricsPerEventName()).thenReturn(null);
         TCAUtils.createTCAAlertString(processorContext, "testApp", true);
     }
 
     @Test
     public void testCreateTCAAlertStringWhenCEFIsDisabled() throws Exception {
-        final MetricsPerFunctionalRole violatedMetrics = createViolatedMetricsPerFunctionalRole(EventSeverity.MAJOR);
+        final MetricsPerEventName violatedMetrics = createViolatedMetricsPerEventName(EventSeverity.MAJOR);
         TCACEFProcessorContext processorContext = mock(TCACEFProcessorContext.class);
-        when(processorContext.getMetricsPerFunctionalRole()).thenReturn(violatedMetrics);
+        when(processorContext.getMetricsPerEventName()).thenReturn(violatedMetrics);
         when(processorContext.getCEFEventListener()).thenReturn(getCEFEventListener());
         final String alertString = TCAUtils.createTCAAlertString(processorContext, "testApp", false);
         assertFalse(alertString.contains("thresholdCrossingAlertFields"));
@@ -381,11 +389,11 @@ public class TCAUtilsTest extends BaseAnalyticsTCAUnitTest {
     @Test(expected = MessageProcessingException.class)
     public void testCreateTCAAlertStringWhenViolatedMetricsNotPresentAndCEFIsDisabled() throws Exception {
         TCACEFProcessorContext processorContext = mock(TCACEFProcessorContext.class);
-        when(processorContext.getMetricsPerFunctionalRole()).thenReturn(null);
+        when(processorContext.getMetricsPerEventName()).thenReturn(null);
         TCAUtils.createTCAAlertString(processorContext, "testApp", false);
     }
 
-    private static MetricsPerFunctionalRole createViolatedMetricsPerFunctionalRole(EventSeverity severity) {
+    private static MetricsPerEventName createViolatedMetricsPerEventName(EventSeverity severity) {
         final Threshold violatedThreshold = new Threshold();
         violatedThreshold.setSeverity(severity);
         violatedThreshold.setDirection(Direction.GREATER);
@@ -393,13 +401,14 @@ public class TCAUtilsTest extends BaseAnalyticsTCAUnitTest {
         violatedThreshold.setActualFieldValue(100L);
         violatedThreshold.setFieldPath("violatedThresholdFieldPath");
         violatedThreshold.setVersion("violatedThresholdVersion");
+        violatedThreshold.setClosedLoopEventStatus(ControlLoopEventStatus.ONSET);
         violatedThreshold.setThresholdValue(50L);
 
-        final MetricsPerFunctionalRole violatedMetrics = new MetricsPerFunctionalRole();
+        final MetricsPerEventName violatedMetrics = new MetricsPerEventName();
         violatedMetrics.setPolicyName("violatePolicyName");
         violatedMetrics.setPolicyVersion("violatedPolicyVersion");
         violatedMetrics.setPolicyScope("violatedPolicyScope");
-        violatedMetrics.setFunctionalRole("violatedFunctionalRole");
+        violatedMetrics.setEventName("violatedEventName");
         violatedMetrics.setThresholds(Arrays.asList(violatedThreshold));
         return violatedMetrics;
     }
diff --git a/dcae-analytics-tca/src/test/resources/data/json/cef/cef_message.json b/dcae-analytics-tca/src/test/resources/data/json/cef/cef_message.json
deleted file mode 100644 (file)
index 52cf53b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-{
-  "event": {
-    "measurementsForVfScalingFields": {
-      "measurementInterval": 10,
-      "measurementsForVfScalingVersion": 1.1,
-      "vNicUsageArray": [
-        {
-          "bytesIn": 6086,
-          "multicastPacketsIn": 0,
-          "multicastPacketsOut": 0,
-          "unicastPacketsIn": 0,
-          "broadcastPacketsOut": 0,
-          "packetsOut": 42,
-          "bytesOut": 7156,
-          "packetsIn": 93,
-          "broadcastPacketsIn": 0,
-          "vNicIdentifier": "eth0",
-          "unicastPacketsOut": 0
-        }
-      ]
-    },
-    "commonEventHeader": {
-      "reportingEntityName": "vpp-test",
-      "startEpochMicrosec": 1477070210290442,
-      "eventId": "375",
-      "lastEpochMicrosec": 1477070220290442,
-      "priority": "Normal",
-      "sequence": 375,
-      "sourceName": "Dummy VM name - No Metadata available",
-      "domain": "measurementsForVfScaling",
-      "functionalRole": "vFirewall",
-      "reportingEntityId": "No UUID available",
-      "version": 1.1,
-      "sourceId": "Dummy VM UUID - No Metadata available"
-    }
-  }
-}
diff --git a/dcae-analytics-tca/src/test/resources/data/json/cef/cef_message_with_threshold_violation.json b/dcae-analytics-tca/src/test/resources/data/json/cef/cef_message_with_threshold_violation.json
deleted file mode 100644 (file)
index bfb1672..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-{
-  "event": {
-    "measurementsForVfScalingFields": {
-      "measurementInterval": 10,
-      "measurementsForVfScalingVersion": 1.1,
-      "vNicUsageArray": [
-        {
-          "bytesIn": 20000,
-          "multicastPacketsIn": 0,
-          "multicastPacketsOut": 0,
-          "unicastPacketsIn": 0,
-          "broadcastPacketsOut": 0,
-          "packetsOut": 42,
-          "bytesOut": 7156,
-          "packetsIn": 93,
-          "broadcastPacketsIn": 0,
-          "vNicIdentifier": "eth0",
-          "unicastPacketsOut": 0
-        }
-      ]
-    },
-    "commonEventHeader": {
-      "reportingEntityName": "vpp-test",
-      "startEpochMicrosec": 1477070210290442,
-      "eventId": "375",
-      "lastEpochMicrosec": 1477070220290442,
-      "priority": "Normal",
-      "sequence": 375,
-      "sourceName": "Dummy VM name - No Metadata available",
-      "domain": "measurementsForVfScaling",
-      "functionalRole": "vFirewall",
-      "reportingEntityId": "No UUID available",
-      "version": 1.1,
-      "sourceId": "Dummy VM UUID - No Metadata available"
-    }
-  }
-}
diff --git a/dcae-analytics-tca/src/test/resources/data/json/cef/cef_messages.json b/dcae-analytics-tca/src/test/resources/data/json/cef/cef_messages.json
deleted file mode 100644 (file)
index bc7a924..0000000
+++ /dev/null
@@ -1,12952 +0,0 @@
-[
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6086,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 93,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070210290442,
-        "eventId": "375",
-        "lastEpochMicrosec": 1477070220290442,
-        "priority": "Normal",
-        "sequence": 375,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5403,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4530,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070260383311,
-        "eventId": "380",
-        "lastEpochMicrosec": 1477070270383311,
-        "priority": "Normal",
-        "sequence": 380,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3972,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070290441950,
-        "eventId": "383",
-        "lastEpochMicrosec": 1477070300441950,
-        "priority": "Normal",
-        "sequence": 383,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4761,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5528,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070380597960,
-        "eventId": "392",
-        "lastEpochMicrosec": 1477070390597960,
-        "priority": "Normal",
-        "sequence": 392,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5828,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5222,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070390615151,
-        "eventId": "393",
-        "lastEpochMicrosec": 1477070400615151,
-        "priority": "Normal",
-        "sequence": 393,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3834,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4334,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070701189940,
-        "eventId": "424",
-        "lastEpochMicrosec": 1477070711189940,
-        "priority": "Normal",
-        "sequence": 424,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3892,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4400,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070851466814,
-        "eventId": "439",
-        "lastEpochMicrosec": 1477070861466814,
-        "priority": "Normal",
-        "sequence": 439,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5948,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5215,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070931613946,
-        "eventId": "447",
-        "lastEpochMicrosec": 1477070941613946,
-        "priority": "Normal",
-        "sequence": 447,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4324,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5436,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070971689950,
-        "eventId": "451",
-        "lastEpochMicrosec": 1477070981689950,
-        "priority": "Normal",
-        "sequence": 451,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5918,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5668,
-            "packetsIn": 91,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070991724150,
-        "eventId": "453",
-        "lastEpochMicrosec": 1477071001724150,
-        "priority": "Normal",
-        "sequence": 453,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4200,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5192,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071081905713,
-        "eventId": "462",
-        "lastEpochMicrosec": 1477071091905713,
-        "priority": "Normal",
-        "sequence": 462,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4490,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 5920,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071262221510,
-        "eventId": "480",
-        "lastEpochMicrosec": 1477071272221510,
-        "priority": "Normal",
-        "sequence": 480,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 25940,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 157,
-            "bytesOut": 27474,
-            "packetsIn": 303,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071412476618,
-        "eventId": "495",
-        "lastEpochMicrosec": 1477071422476618,
-        "priority": "Normal",
-        "sequence": 495,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7160,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 112,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071532712315,
-        "eventId": "507",
-        "lastEpochMicrosec": 1477071542712315,
-        "priority": "Normal",
-        "sequence": 507,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5563,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4192,
-            "packetsIn": 81,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071582806156,
-        "eventId": "512",
-        "lastEpochMicrosec": 1477071592806156,
-        "priority": "Normal",
-        "sequence": 512,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4988,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5218,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071592825964,
-        "eventId": "513",
-        "lastEpochMicrosec": 1477071602825964,
-        "priority": "Normal",
-        "sequence": 513,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 9123,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 53,
-            "bytesOut": 8412,
-            "packetsIn": 127,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071642920935,
-        "eventId": "518",
-        "lastEpochMicrosec": 1477071652920935,
-        "priority": "Normal",
-        "sequence": 518,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 18442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 112,
-            "bytesOut": 19404,
-            "packetsIn": 218,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071733101176,
-        "eventId": "527",
-        "lastEpochMicrosec": 1477071743101176,
-        "priority": "Normal",
-        "sequence": 527,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5216,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5130,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071743125902,
-        "eventId": "528",
-        "lastEpochMicrosec": 1477071753125902,
-        "priority": "Normal",
-        "sequence": 528,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5870,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6716,
-            "packetsIn": 91,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071903446337,
-        "eventId": "544",
-        "lastEpochMicrosec": 1477071913446337,
-        "priority": "Normal",
-        "sequence": 544,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 35138,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 220,
-            "bytesOut": 47818,
-            "packetsIn": 407,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071953549981,
-        "eventId": "549",
-        "lastEpochMicrosec": 1477071963549981,
-        "priority": "Normal",
-        "sequence": 549,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 63510,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 398,
-            "bytesOut": 71038,
-            "packetsIn": 703,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071963565170,
-        "eventId": "550",
-        "lastEpochMicrosec": 1477071973565170,
-        "priority": "Normal",
-        "sequence": 550,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4250,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5060,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072103847337,
-        "eventId": "564",
-        "lastEpochMicrosec": 1477072113847337,
-        "priority": "Normal",
-        "sequence": 564,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3344,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4138,
-            "packetsIn": 49,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072163977616,
-        "eventId": "570",
-        "lastEpochMicrosec": 1477072173977616,
-        "priority": "Normal",
-        "sequence": 570,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4190,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5032,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072194037594,
-        "eventId": "573",
-        "lastEpochMicrosec": 1477072204037594,
-        "priority": "Normal",
-        "sequence": 573,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4102,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072234105966,
-        "eventId": "577",
-        "lastEpochMicrosec": 1477072244105966,
-        "priority": "Normal",
-        "sequence": 577,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4040,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5410,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072284197410,
-        "eventId": "582",
-        "lastEpochMicrosec": 1477072294197410,
-        "priority": "Normal",
-        "sequence": 582,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4348,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5556,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072294217952,
-        "eventId": "583",
-        "lastEpochMicrosec": 1477072304217952,
-        "priority": "Normal",
-        "sequence": 583,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4820,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5402,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072354321794,
-        "eventId": "589",
-        "lastEpochMicrosec": 1477072364321794,
-        "priority": "Normal",
-        "sequence": 589,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5006,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 73,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072454499759,
-        "eventId": "599",
-        "lastEpochMicrosec": 1477072464499759,
-        "priority": "Normal",
-        "sequence": 599,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4964,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5834,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072494602015,
-        "eventId": "603",
-        "lastEpochMicrosec": 1477072504602015,
-        "priority": "Normal",
-        "sequence": 603,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5330,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7420,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072634866475,
-        "eventId": "617",
-        "lastEpochMicrosec": 1477072644866475,
-        "priority": "Normal",
-        "sequence": 617,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5330,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7420,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072745069203,
-        "eventId": "628",
-        "lastEpochMicrosec": 1477072755069203,
-        "priority": "Normal",
-        "sequence": 628,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 263112,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 1165,
-            "bytesOut": 337182,
-            "packetsIn": 2570,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072805174346,
-        "eventId": "634",
-        "lastEpochMicrosec": 1477072815174346,
-        "priority": "Normal",
-        "sequence": 634,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 11212,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4232,
-            "packetsIn": 176,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072835250994,
-        "eventId": "637",
-        "lastEpochMicrosec": 1477072845250994,
-        "priority": "Normal",
-        "sequence": 637,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6375,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5516,
-            "packetsIn": 94,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072845276414,
-        "eventId": "638",
-        "lastEpochMicrosec": 1477072855276414,
-        "priority": "Normal",
-        "sequence": 638,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3492,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5252,
-            "packetsIn": 50,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072995553968,
-        "eventId": "653",
-        "lastEpochMicrosec": 1477073005553968,
-        "priority": "Normal",
-        "sequence": 653,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4256,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5407,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073095741898,
-        "eventId": "663",
-        "lastEpochMicrosec": 1477073105741898,
-        "priority": "Normal",
-        "sequence": 663,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4280,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4866,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073195929121,
-        "eventId": "673",
-        "lastEpochMicrosec": 1477073205929121,
-        "priority": "Normal",
-        "sequence": 673,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4076,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5126,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073286097936,
-        "eventId": "682",
-        "lastEpochMicrosec": 1477073296097936,
-        "priority": "Normal",
-        "sequence": 682,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5054,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6600,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073366234417,
-        "eventId": "690",
-        "lastEpochMicrosec": 1477073376234417,
-        "priority": "Normal",
-        "sequence": 690,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5186,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7220,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073426339606,
-        "eventId": "696",
-        "lastEpochMicrosec": 1477073436339606,
-        "priority": "Normal",
-        "sequence": 696,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4568,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6606,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073556577962,
-        "eventId": "709",
-        "lastEpochMicrosec": 1477073566577962,
-        "priority": "Normal",
-        "sequence": 709,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4472,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5630,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073606669965,
-        "eventId": "714",
-        "lastEpochMicrosec": 1477073616669965,
-        "priority": "Normal",
-        "sequence": 714,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3554,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5192,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073666794004,
-        "eventId": "720",
-        "lastEpochMicrosec": 1477073676794004,
-        "priority": "Normal",
-        "sequence": 720,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4682,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6540,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070300458069,
-        "eventId": "384",
-        "lastEpochMicrosec": 1477070310458069,
-        "priority": "Normal",
-        "sequence": 384,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4470,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7250,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070350545310,
-        "eventId": "389",
-        "lastEpochMicrosec": 1477070360545310,
-        "priority": "Normal",
-        "sequence": 389,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5864,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7318,
-            "packetsIn": 88,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070450716636,
-        "eventId": "399",
-        "lastEpochMicrosec": 1477070460716636,
-        "priority": "Normal",
-        "sequence": 399,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3558,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5362,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070470756168,
-        "eventId": "401",
-        "lastEpochMicrosec": 1477070480756168,
-        "priority": "Normal",
-        "sequence": 401,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5022,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7382,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070530883239,
-        "eventId": "407",
-        "lastEpochMicrosec": 1477070540883239,
-        "priority": "Normal",
-        "sequence": 407,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4816,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5344,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070611026436,
-        "eventId": "415",
-        "lastEpochMicrosec": 1477070621026436,
-        "priority": "Normal",
-        "sequence": 415,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8898,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 63,
-            "bytesOut": 9201,
-            "packetsIn": 113,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070831428780,
-        "eventId": "437",
-        "lastEpochMicrosec": 1477070841428780,
-        "priority": "Normal",
-        "sequence": 437,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3836,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4162,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070941633936,
-        "eventId": "448",
-        "lastEpochMicrosec": 1477070951633936,
-        "priority": "Normal",
-        "sequence": 448,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3248,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4546,
-            "packetsIn": 47,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071071883807,
-        "eventId": "461",
-        "lastEpochMicrosec": 1477071081883807,
-        "priority": "Normal",
-        "sequence": 461,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5006,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5286,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071172066272,
-        "eventId": "471",
-        "lastEpochMicrosec": 1477071182066272,
-        "priority": "Normal",
-        "sequence": 471,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5438,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 6084,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071182086282,
-        "eventId": "472",
-        "lastEpochMicrosec": 1477071192086282,
-        "priority": "Normal",
-        "sequence": 472,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 14114,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 92,
-            "bytesOut": 16060,
-            "packetsIn": 172,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071382426114,
-        "eventId": "492",
-        "lastEpochMicrosec": 1477071392426114,
-        "priority": "Normal",
-        "sequence": 492,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5617,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5427,
-            "packetsIn": 86,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071542733962,
-        "eventId": "508",
-        "lastEpochMicrosec": 1477071552733962,
-        "priority": "Normal",
-        "sequence": 508,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4448,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4538,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071682993575,
-        "eventId": "522",
-        "lastEpochMicrosec": 1477071692993575,
-        "priority": "Normal",
-        "sequence": 522,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6113,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5298,
-            "packetsIn": 87,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071703031027,
-        "eventId": "524",
-        "lastEpochMicrosec": 1477071713031027,
-        "priority": "Normal",
-        "sequence": 524,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5542,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5434,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071813273088,
-        "eventId": "535",
-        "lastEpochMicrosec": 1477071823273088,
-        "priority": "Normal",
-        "sequence": 535,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 34574,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 214,
-            "bytesOut": 47040,
-            "packetsIn": 395,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072023686281,
-        "eventId": "556",
-        "lastEpochMicrosec": 1477072033686281,
-        "priority": "Normal",
-        "sequence": 556,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 2798,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4028,
-            "packetsIn": 40,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072093829958,
-        "eventId": "563",
-        "lastEpochMicrosec": 1477072103829958,
-        "priority": "Normal",
-        "sequence": 563,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3446,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5536,
-            "packetsIn": 50,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072153957985,
-        "eventId": "569",
-        "lastEpochMicrosec": 1477072163957985,
-        "priority": "Normal",
-        "sequence": 569,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4190,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6760,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072204053021,
-        "eventId": "574",
-        "lastEpochMicrosec": 1477072214053021,
-        "priority": "Normal",
-        "sequence": 574,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5939,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4522,
-            "packetsIn": 85,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072244123508,
-        "eventId": "578",
-        "lastEpochMicrosec": 1477072254123508,
-        "priority": "Normal",
-        "sequence": 578,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4022,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4584,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072464518421,
-        "eventId": "600",
-        "lastEpochMicrosec": 1477072474518421,
-        "priority": "Normal",
-        "sequence": 600,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3692,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 21,
-            "bytesOut": 3918,
-            "packetsIn": 47,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072654900903,
-        "eventId": "619",
-        "lastEpochMicrosec": 1477072664900903,
-        "priority": "Normal",
-        "sequence": 619,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5006,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5728,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072704996775,
-        "eventId": "624",
-        "lastEpochMicrosec": 1477072714996775,
-        "priority": "Normal",
-        "sequence": 624,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3836,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 5036,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072925428340,
-        "eventId": "646",
-        "lastEpochMicrosec": 1477072935428340,
-        "priority": "Normal",
-        "sequence": 646,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4040,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5382,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072985535172,
-        "eventId": "652",
-        "lastEpochMicrosec": 1477072995535172,
-        "priority": "Normal",
-        "sequence": 652,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4694,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073075701224,
-        "eventId": "661",
-        "lastEpochMicrosec": 1477073085701224,
-        "priority": "Normal",
-        "sequence": 661,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5066,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7120,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073105759457,
-        "eventId": "664",
-        "lastEpochMicrosec": 1477073115759457,
-        "priority": "Normal",
-        "sequence": 664,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5510,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7421,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073155858608,
-        "eventId": "669",
-        "lastEpochMicrosec": 1477073165858608,
-        "priority": "Normal",
-        "sequence": 669,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4146,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073416320492,
-        "eventId": "695",
-        "lastEpochMicrosec": 1477073426320492,
-        "priority": "Normal",
-        "sequence": 695,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5610,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7392,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073436360527,
-        "eventId": "697",
-        "lastEpochMicrosec": 1477073446360527,
-        "priority": "Normal",
-        "sequence": 697,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6777,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5276,
-            "packetsIn": 101,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073506489807,
-        "eventId": "704",
-        "lastEpochMicrosec": 1477073516489807,
-        "priority": "Normal",
-        "sequence": 704,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4898,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 6005,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073516505974,
-        "eventId": "705",
-        "lastEpochMicrosec": 1477073526505974,
-        "priority": "Normal",
-        "sequence": 705,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3902,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5120,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073656765261,
-        "eventId": "719",
-        "lastEpochMicrosec": 1477073666765261,
-        "priority": "Normal",
-        "sequence": 719,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7185,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6488,
-            "packetsIn": 108,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073686831588,
-        "eventId": "722",
-        "lastEpochMicrosec": 1477073696831588,
-        "priority": "Normal",
-        "sequence": 722,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4778,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5084,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070240346627,
-        "eventId": "378",
-        "lastEpochMicrosec": 1477070250346627,
-        "priority": "Normal",
-        "sequence": 378,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5318,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4864,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070270398947,
-        "eventId": "381",
-        "lastEpochMicrosec": 1477070280398947,
-        "priority": "Normal",
-        "sequence": 381,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5079,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5266,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070440700538,
-        "eventId": "398",
-        "lastEpochMicrosec": 1477070450700538,
-        "priority": "Normal",
-        "sequence": 398,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3866,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 3980,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070601009676,
-        "eventId": "414",
-        "lastEpochMicrosec": 1477070611009676,
-        "priority": "Normal",
-        "sequence": 414,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 10154,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7884,
-            "packetsIn": 99,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070751281687,
-        "eventId": "429",
-        "lastEpochMicrosec": 1477070761281687,
-        "priority": "Normal",
-        "sequence": 429,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7970,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5427,
-            "packetsIn": 128,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070781332864,
-        "eventId": "432",
-        "lastEpochMicrosec": 1477070791332864,
-        "priority": "Normal",
-        "sequence": 432,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6052,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7480,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070891536182,
-        "eventId": "443",
-        "lastEpochMicrosec": 1477070901536182,
-        "priority": "Normal",
-        "sequence": 443,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5080,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7288,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071031806592,
-        "eventId": "457",
-        "lastEpochMicrosec": 1477071041806592,
-        "priority": "Normal",
-        "sequence": 457,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4777,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4122,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071041825555,
-        "eventId": "458",
-        "lastEpochMicrosec": 1477071051825555,
-        "priority": "Normal",
-        "sequence": 458,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4736,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4302,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071111957977,
-        "eventId": "465",
-        "lastEpochMicrosec": 1477071121957977,
-        "priority": "Normal",
-        "sequence": 465,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6283,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5272,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071162050981,
-        "eventId": "470",
-        "lastEpochMicrosec": 1477071172050981,
-        "priority": "Normal",
-        "sequence": 470,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5010,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7250,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071192103048,
-        "eventId": "473",
-        "lastEpochMicrosec": 1477071202103048,
-        "priority": "Normal",
-        "sequence": 473,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3360,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5112,
-            "packetsIn": 48,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071252204852,
-        "eventId": "479",
-        "lastEpochMicrosec": 1477071262204852,
-        "priority": "Normal",
-        "sequence": 479,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3912,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5324,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071312304729,
-        "eventId": "485",
-        "lastEpochMicrosec": 1477071322304729,
-        "priority": "Normal",
-        "sequence": 485,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4568,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5294,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071352377904,
-        "eventId": "489",
-        "lastEpochMicrosec": 1477071362377904,
-        "priority": "Normal",
-        "sequence": 489,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 26549,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 158,
-            "bytesOut": 28258,
-            "packetsIn": 311,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071402460522,
-        "eventId": "494",
-        "lastEpochMicrosec": 1477071412460522,
-        "priority": "Normal",
-        "sequence": 494,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5329,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4270,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071462573938,
-        "eventId": "500",
-        "lastEpochMicrosec": 1477071472573938,
-        "priority": "Normal",
-        "sequence": 500,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6232,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7420,
-            "packetsIn": 86,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071572787941,
-        "eventId": "511",
-        "lastEpochMicrosec": 1477071582787941,
-        "priority": "Normal",
-        "sequence": 511,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4532,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 20,
-            "bytesOut": 3809,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071662956095,
-        "eventId": "520",
-        "lastEpochMicrosec": 1477071672956095,
-        "priority": "Normal",
-        "sequence": 520,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4520,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5490,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071672977950,
-        "eventId": "521",
-        "lastEpochMicrosec": 1477071682977950,
-        "priority": "Normal",
-        "sequence": 521,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5002,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4734,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071693013688,
-        "eventId": "523",
-        "lastEpochMicrosec": 1477071703013688,
-        "priority": "Normal",
-        "sequence": 523,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5516,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 5023,
-            "packetsIn": 85,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071893429573,
-        "eventId": "543",
-        "lastEpochMicrosec": 1477071903429573,
-        "priority": "Normal",
-        "sequence": 543,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 18644,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 120,
-            "bytesOut": 20884,
-            "packetsIn": 230,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071923478914,
-        "eventId": "546",
-        "lastEpochMicrosec": 1477071933478914,
-        "priority": "Normal",
-        "sequence": 546,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4914,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5640,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071983602387,
-        "eventId": "552",
-        "lastEpochMicrosec": 1477071993602387,
-        "priority": "Normal",
-        "sequence": 552,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8506,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 60,
-            "bytesOut": 11100,
-            "packetsIn": 110,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071993632316,
-        "eventId": "553",
-        "lastEpochMicrosec": 1477072003632316,
-        "priority": "Normal",
-        "sequence": 553,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 17750,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 120,
-            "bytesOut": 25832,
-            "packetsIn": 215,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072043723108,
-        "eventId": "558",
-        "lastEpochMicrosec": 1477072053723108,
-        "priority": "Normal",
-        "sequence": 558,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4592,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5504,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072143938037,
-        "eventId": "568",
-        "lastEpochMicrosec": 1477072153938037,
-        "priority": "Normal",
-        "sequence": 568,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8125,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 55,
-            "bytesOut": 8060,
-            "packetsIn": 119,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072364341906,
-        "eventId": "590",
-        "lastEpochMicrosec": 1477072374341906,
-        "priority": "Normal",
-        "sequence": 590,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4136,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5851,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072374359351,
-        "eventId": "591",
-        "lastEpochMicrosec": 1477072384359351,
-        "priority": "Normal",
-        "sequence": 591,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4388,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5206,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072474537911,
-        "eventId": "601",
-        "lastEpochMicrosec": 1477072484537911,
-        "priority": "Normal",
-        "sequence": 601,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5228,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6932,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072534679739,
-        "eventId": "607",
-        "lastEpochMicrosec": 1477072544679739,
-        "priority": "Normal",
-        "sequence": 607,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3836,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5018,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072574755001,
-        "eventId": "611",
-        "lastEpochMicrosec": 1477072584755001,
-        "priority": "Normal",
-        "sequence": 611,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6919,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5628,
-            "packetsIn": 104,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072725036569,
-        "eventId": "626",
-        "lastEpochMicrosec": 1477072735036569,
-        "priority": "Normal",
-        "sequence": 626,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6892,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072855292945,
-        "eventId": "639",
-        "lastEpochMicrosec": 1477072865292945,
-        "priority": "Normal",
-        "sequence": 639,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6909,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 6802,
-            "packetsIn": 102,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072905381152,
-        "eventId": "644",
-        "lastEpochMicrosec": 1477072915381152,
-        "priority": "Normal",
-        "sequence": 644,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4826,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072945465009,
-        "eventId": "648",
-        "lastEpochMicrosec": 1477072955465009,
-        "priority": "Normal",
-        "sequence": 648,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3636,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4160,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073115777000,
-        "eventId": "665",
-        "lastEpochMicrosec": 1477073125777000,
-        "priority": "Normal",
-        "sequence": 665,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4098,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5354,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073235998974,
-        "eventId": "677",
-        "lastEpochMicrosec": 1477073245998974,
-        "priority": "Normal",
-        "sequence": 677,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4508,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5166,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073246017901,
-        "eventId": "678",
-        "lastEpochMicrosec": 1477073256017901,
-        "priority": "Normal",
-        "sequence": 678,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4026,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5358,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073296117387,
-        "eventId": "683",
-        "lastEpochMicrosec": 1477073306117387,
-        "priority": "Normal",
-        "sequence": 683,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3938,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4168,
-            "packetsIn": 49,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073376250039,
-        "eventId": "691",
-        "lastEpochMicrosec": 1477073386250039,
-        "priority": "Normal",
-        "sequence": 691,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4514,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5324,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073586625284,
-        "eventId": "712",
-        "lastEpochMicrosec": 1477073596625284,
-        "priority": "Normal",
-        "sequence": 712,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5193,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5748,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070200274642,
-        "eventId": "374",
-        "lastEpochMicrosec": 1477070210274642,
-        "priority": "Normal",
-        "sequence": 374,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4208,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4874,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070220308044,
-        "eventId": "376",
-        "lastEpochMicrosec": 1477070230308044,
-        "priority": "Normal",
-        "sequence": 376,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4102,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5346,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070490793952,
-        "eventId": "403",
-        "lastEpochMicrosec": 1477070500793952,
-        "priority": "Normal",
-        "sequence": 403,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3278,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4036,
-            "packetsIn": 48,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070540900880,
-        "eventId": "408",
-        "lastEpochMicrosec": 1477070550900880,
-        "priority": "Normal",
-        "sequence": 408,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4094,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5333,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070580972300,
-        "eventId": "412",
-        "lastEpochMicrosec": 1477070590972300,
-        "priority": "Normal",
-        "sequence": 412,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6261,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5472,
-            "packetsIn": 93,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070621041944,
-        "eventId": "416",
-        "lastEpochMicrosec": 1477070631041944,
-        "priority": "Normal",
-        "sequence": 416,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4462,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5302,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070671133935,
-        "eventId": "421",
-        "lastEpochMicrosec": 1477070681133935,
-        "priority": "Normal",
-        "sequence": 421,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3518,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4028,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070721225970,
-        "eventId": "426",
-        "lastEpochMicrosec": 1477070731225970,
-        "priority": "Normal",
-        "sequence": 426,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7454,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 50,
-            "bytesOut": 7435,
-            "packetsIn": 100,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070771317040,
-        "eventId": "431",
-        "lastEpochMicrosec": 1477070781317040,
-        "priority": "Normal",
-        "sequence": 431,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 46408,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 282,
-            "bytesOut": 41467,
-            "packetsIn": 531,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070811385505,
-        "eventId": "435",
-        "lastEpochMicrosec": 1477070821385505,
-        "priority": "Normal",
-        "sequence": 435,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4444,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4436,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071091925961,
-        "eventId": "463",
-        "lastEpochMicrosec": 1477071101925961,
-        "priority": "Normal",
-        "sequence": 463,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5120,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4898,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071362393895,
-        "eventId": "490",
-        "lastEpochMicrosec": 1477071372393895,
-        "priority": "Normal",
-        "sequence": 490,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4314,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4326,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071372410540,
-        "eventId": "491",
-        "lastEpochMicrosec": 1477071382410540,
-        "priority": "Normal",
-        "sequence": 491,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5072,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5518,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071422497943,
-        "eventId": "496",
-        "lastEpochMicrosec": 1477071432497943,
-        "priority": "Normal",
-        "sequence": 496,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4868,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5286,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071602842823,
-        "eventId": "514",
-        "lastEpochMicrosec": 1477071612842823,
-        "priority": "Normal",
-        "sequence": 514,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5534,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5324,
-            "packetsIn": 85,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071863369947,
-        "eventId": "540",
-        "lastEpochMicrosec": 1477071873369947,
-        "priority": "Normal",
-        "sequence": 540,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4594,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4074,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071873389953,
-        "eventId": "541",
-        "lastEpochMicrosec": 1477071883389953,
-        "priority": "Normal",
-        "sequence": 541,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 9377,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7894,
-            "packetsIn": 130,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071883407370,
-        "eventId": "542",
-        "lastEpochMicrosec": 1477071893407370,
-        "priority": "Normal",
-        "sequence": 542,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5864,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7318,
-            "packetsIn": 88,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071913462011,
-        "eventId": "545",
-        "lastEpochMicrosec": 1477071923462011,
-        "priority": "Normal",
-        "sequence": 545,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 27350,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 164,
-            "bytesOut": 35804,
-            "packetsIn": 324,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072013669950,
-        "eventId": "555",
-        "lastEpochMicrosec": 1477072023669950,
-        "priority": "Normal",
-        "sequence": 555,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5981,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4364,
-            "packetsIn": 86,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072304235475,
-        "eventId": "584",
-        "lastEpochMicrosec": 1477072314235475,
-        "priority": "Normal",
-        "sequence": 584,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 203574,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4122,
-            "packetsIn": 308,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072554718395,
-        "eventId": "609",
-        "lastEpochMicrosec": 1477072564718395,
-        "priority": "Normal",
-        "sequence": 609,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4142,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5495,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072564737954,
-        "eventId": "610",
-        "lastEpochMicrosec": 1477072574737954,
-        "priority": "Normal",
-        "sequence": 610,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4172,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4066,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072684959633,
-        "eventId": "622",
-        "lastEpochMicrosec": 1477072694959633,
-        "priority": "Normal",
-        "sequence": 622,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4682,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6100,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072694977636,
-        "eventId": "623",
-        "lastEpochMicrosec": 1477072704977636,
-        "priority": "Normal",
-        "sequence": 623,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5024,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5999,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072735051857,
-        "eventId": "627",
-        "lastEpochMicrosec": 1477072745051857,
-        "priority": "Normal",
-        "sequence": 627,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6750,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7198,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072785141695,
-        "eventId": "632",
-        "lastEpochMicrosec": 1477072795141695,
-        "priority": "Normal",
-        "sequence": 632,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 38530,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 249,
-            "bytesOut": 54426,
-            "packetsIn": 436,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072795156085,
-        "eventId": "633",
-        "lastEpochMicrosec": 1477072805156085,
-        "priority": "Normal",
-        "sequence": 633,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4616,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6826,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072885342781,
-        "eventId": "642",
-        "lastEpochMicrosec": 1477072895342781,
-        "priority": "Normal",
-        "sequence": 642,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4934,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072895361934,
-        "eventId": "643",
-        "lastEpochMicrosec": 1477072905361934,
-        "priority": "Normal",
-        "sequence": 643,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4362,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 6786,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072935447654,
-        "eventId": "647",
-        "lastEpochMicrosec": 1477072945447654,
-        "priority": "Normal",
-        "sequence": 647,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4562,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5136,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073065678387,
-        "eventId": "660",
-        "lastEpochMicrosec": 1477073075678387,
-        "priority": "Normal",
-        "sequence": 660,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7173,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7368,
-            "packetsIn": 106,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073085719086,
-        "eventId": "662",
-        "lastEpochMicrosec": 1477073095719086,
-        "priority": "Normal",
-        "sequence": 662,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4826,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7120,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073185910566,
-        "eventId": "672",
-        "lastEpochMicrosec": 1477073195910566,
-        "priority": "Normal",
-        "sequence": 672,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4502,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5304,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073336185348,
-        "eventId": "687",
-        "lastEpochMicrosec": 1477073346185348,
-        "priority": "Normal",
-        "sequence": 687,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4448,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5558,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073346200536,
-        "eventId": "688",
-        "lastEpochMicrosec": 1477073356200536,
-        "priority": "Normal",
-        "sequence": 688,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7053,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7368,
-            "packetsIn": 105,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073446375491,
-        "eventId": "698",
-        "lastEpochMicrosec": 1477073456375491,
-        "priority": "Normal",
-        "sequence": 698,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3966,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073596641959,
-        "eventId": "713",
-        "lastEpochMicrosec": 1477073606641959,
-        "priority": "Normal",
-        "sequence": 713,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4318,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4634,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070250365937,
-        "eventId": "379",
-        "lastEpochMicrosec": 1477070260365937,
-        "priority": "Normal",
-        "sequence": 379,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3746,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5536,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070340529599,
-        "eventId": "388",
-        "lastEpochMicrosec": 1477070350529599,
-        "priority": "Normal",
-        "sequence": 388,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7322,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 48,
-            "bytesOut": 7616,
-            "packetsIn": 113,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070510835835,
-        "eventId": "405",
-        "lastEpochMicrosec": 1477070520835835,
-        "priority": "Normal",
-        "sequence": 405,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6469,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070520864347,
-        "eventId": "406",
-        "lastEpochMicrosec": 1477070530864347,
-        "priority": "Normal",
-        "sequence": 406,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3638,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4044,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070651095730,
-        "eventId": "419",
-        "lastEpochMicrosec": 1477070661095730,
-        "priority": "Normal",
-        "sequence": 419,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3416,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5090,
-            "packetsIn": 48,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070711206504,
-        "eventId": "425",
-        "lastEpochMicrosec": 1477070721206504,
-        "priority": "Normal",
-        "sequence": 425,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5908,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6213,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070791351649,
-        "eventId": "433",
-        "lastEpochMicrosec": 1477070801351649,
-        "priority": "Normal",
-        "sequence": 433,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 10199,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 68,
-            "bytesOut": 11842,
-            "packetsIn": 135,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070801369956,
-        "eventId": "434",
-        "lastEpochMicrosec": 1477070811369956,
-        "priority": "Normal",
-        "sequence": 434,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 26090,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 164,
-            "bytesOut": 33153,
-            "packetsIn": 300,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070841450160,
-        "eventId": "438",
-        "lastEpochMicrosec": 1477070851450160,
-        "priority": "Normal",
-        "sequence": 438,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6205,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5794,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070981705399,
-        "eventId": "452",
-        "lastEpochMicrosec": 1477070991705399,
-        "priority": "Normal",
-        "sequence": 452,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3980,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5410,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071061865954,
-        "eventId": "460",
-        "lastEpochMicrosec": 1477071071865954,
-        "priority": "Normal",
-        "sequence": 460,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 31224,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 197,
-            "bytesOut": 34890,
-            "packetsIn": 357,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071121977934,
-        "eventId": "466",
-        "lastEpochMicrosec": 1477071131977934,
-        "priority": "Normal",
-        "sequence": 466,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 25732,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 162,
-            "bytesOut": 31700,
-            "packetsIn": 302,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071131999094,
-        "eventId": "467",
-        "lastEpochMicrosec": 1477071141999094,
-        "priority": "Normal",
-        "sequence": 467,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 169618,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7186,
-            "packetsIn": 289,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071212141392,
-        "eventId": "475",
-        "lastEpochMicrosec": 1477071222141392,
-        "priority": "Normal",
-        "sequence": 475,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7477,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7465,
-            "packetsIn": 110,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071222158382,
-        "eventId": "476",
-        "lastEpochMicrosec": 1477071232158382,
-        "priority": "Normal",
-        "sequence": 476,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5908,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071272238317,
-        "eventId": "481",
-        "lastEpochMicrosec": 1477071282238317,
-        "priority": "Normal",
-        "sequence": 481,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4504,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5074,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071332342318,
-        "eventId": "487",
-        "lastEpochMicrosec": 1477071342342318,
-        "priority": "Normal",
-        "sequence": 487,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6139,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4836,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071342361964,
-        "eventId": "488",
-        "lastEpochMicrosec": 1477071352361964,
-        "priority": "Normal",
-        "sequence": 488,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 22038,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 143,
-            "bytesOut": 25109,
-            "packetsIn": 257,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071392443903,
-        "eventId": "493",
-        "lastEpochMicrosec": 1477071402443903,
-        "priority": "Normal",
-        "sequence": 493,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 28990,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 185,
-            "bytesOut": 34734,
-            "packetsIn": 342,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071442534871,
-        "eventId": "498",
-        "lastEpochMicrosec": 1477071452534871,
-        "priority": "Normal",
-        "sequence": 498,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 19000,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 111,
-            "bytesOut": 18886,
-            "packetsIn": 232,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071723077968,
-        "eventId": "526",
-        "lastEpochMicrosec": 1477071733077968,
-        "priority": "Normal",
-        "sequence": 526,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 22554,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 150,
-            "bytesOut": 27120,
-            "packetsIn": 270,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071783210923,
-        "eventId": "532",
-        "lastEpochMicrosec": 1477071793210923,
-        "priority": "Normal",
-        "sequence": 532,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 31406,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 192,
-            "bytesOut": 40382,
-            "packetsIn": 369,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071973585969,
-        "eventId": "551",
-        "lastEpochMicrosec": 1477071983585969,
-        "priority": "Normal",
-        "sequence": 551,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 28415,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 168,
-            "bytesOut": 36888,
-            "packetsIn": 330,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072003648795,
-        "eventId": "554",
-        "lastEpochMicrosec": 1477072013648795,
-        "priority": "Normal",
-        "sequence": 554,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4736,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5027,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072073789969,
-        "eventId": "561",
-        "lastEpochMicrosec": 1477072083789969,
-        "priority": "Normal",
-        "sequence": 561,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5332,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4082,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072184014433,
-        "eventId": "572",
-        "lastEpochMicrosec": 1477072194014433,
-        "priority": "Normal",
-        "sequence": 572,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3752,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5666,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072214069942,
-        "eventId": "575",
-        "lastEpochMicrosec": 1477072224069942,
-        "priority": "Normal",
-        "sequence": 575,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4046,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7120,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072274176817,
-        "eventId": "581",
-        "lastEpochMicrosec": 1477072284176817,
-        "priority": "Normal",
-        "sequence": 581,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4208,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5166,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072444481666,
-        "eventId": "598",
-        "lastEpochMicrosec": 1477072454481666,
-        "priority": "Normal",
-        "sequence": 598,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6649,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6038,
-            "packetsIn": 97,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072484565977,
-        "eventId": "602",
-        "lastEpochMicrosec": 1477072494565977,
-        "priority": "Normal",
-        "sequence": 602,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3848,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4822,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072514639844,
-        "eventId": "605",
-        "lastEpochMicrosec": 1477072524639844,
-        "priority": "Normal",
-        "sequence": 605,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6367,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4624,
-            "packetsIn": 93,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072544701945,
-        "eventId": "608",
-        "lastEpochMicrosec": 1477072554701945,
-        "priority": "Normal",
-        "sequence": 608,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6553,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5362,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072604809380,
-        "eventId": "614",
-        "lastEpochMicrosec": 1477072614809380,
-        "priority": "Normal",
-        "sequence": 614,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4628,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5412,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072614829190,
-        "eventId": "615",
-        "lastEpochMicrosec": 1477072624829190,
-        "priority": "Normal",
-        "sequence": 615,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4352,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5630,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072644885943,
-        "eventId": "618",
-        "lastEpochMicrosec": 1477072654885943,
-        "priority": "Normal",
-        "sequence": 618,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5036,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 47,
-            "bytesOut": 7514,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072755088807,
-        "eventId": "629",
-        "lastEpochMicrosec": 1477072765088807,
-        "priority": "Normal",
-        "sequence": 629,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4370,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4351,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072915408472,
-        "eventId": "645",
-        "lastEpochMicrosec": 1477072925408472,
-        "priority": "Normal",
-        "sequence": 645,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4304,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4254,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072955481939,
-        "eventId": "649",
-        "lastEpochMicrosec": 1477072965481939,
-        "priority": "Normal",
-        "sequence": 649,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4388,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5150,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073005573900,
-        "eventId": "654",
-        "lastEpochMicrosec": 1477073015573900,
-        "priority": "Normal",
-        "sequence": 654,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5906,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7148,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073015590437,
-        "eventId": "655",
-        "lastEpochMicrosec": 1477073025590437,
-        "priority": "Normal",
-        "sequence": 655,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3764,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4122,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073045647448,
-        "eventId": "658",
-        "lastEpochMicrosec": 1477073055647448,
-        "priority": "Normal",
-        "sequence": 658,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4706,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7220,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073125796934,
-        "eventId": "666",
-        "lastEpochMicrosec": 1477073135796934,
-        "priority": "Normal",
-        "sequence": 666,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7132,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 7250,
-            "packetsIn": 103,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073135815158,
-        "eventId": "667",
-        "lastEpochMicrosec": 1477073145815158,
-        "priority": "Normal",
-        "sequence": 667,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7143,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 50,
-            "bytesOut": 7727,
-            "packetsIn": 104,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073145841670,
-        "eventId": "668",
-        "lastEpochMicrosec": 1477073155841670,
-        "priority": "Normal",
-        "sequence": 668,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6135,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5426,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073266054311,
-        "eventId": "680",
-        "lastEpochMicrosec": 1477073276054311,
-        "priority": "Normal",
-        "sequence": 680,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4052,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5498,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073466418004,
-        "eventId": "700",
-        "lastEpochMicrosec": 1477073476418004,
-        "priority": "Normal",
-        "sequence": 700,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3732,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5244,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073476437957,
-        "eventId": "701",
-        "lastEpochMicrosec": 1477073486437957,
-        "priority": "Normal",
-        "sequence": 701,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4688,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5222,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073526524510,
-        "eventId": "706",
-        "lastEpochMicrosec": 1477073536524510,
-        "priority": "Normal",
-        "sequence": 706,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7963,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 49,
-            "bytesOut": 7608,
-            "packetsIn": 118,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073566594681,
-        "eventId": "710",
-        "lastEpochMicrosec": 1477073576594681,
-        "priority": "Normal",
-        "sequence": 710,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5168,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073616685940,
-        "eventId": "715",
-        "lastEpochMicrosec": 1477073626685940,
-        "priority": "Normal",
-        "sequence": 715,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6483,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5586,
-            "packetsIn": 95,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073626701958,
-        "eventId": "716",
-        "lastEpochMicrosec": 1477073636701958,
-        "priority": "Normal",
-        "sequence": 716,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3660,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4712,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070230330088,
-        "eventId": "377",
-        "lastEpochMicrosec": 1477070240330088,
-        "priority": "Normal",
-        "sequence": 377,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4069,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5506,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070360563689,
-        "eventId": "390",
-        "lastEpochMicrosec": 1477070370563689,
-        "priority": "Normal",
-        "sequence": 390,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4280,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070460736142,
-        "eventId": "400",
-        "lastEpochMicrosec": 1477070470736142,
-        "priority": "Normal",
-        "sequence": 400,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4562,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6892,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070480772828,
-        "eventId": "402",
-        "lastEpochMicrosec": 1477070490772828,
-        "priority": "Normal",
-        "sequence": 402,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5129,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5396,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070500813728,
-        "eventId": "404",
-        "lastEpochMicrosec": 1477070510813728,
-        "priority": "Normal",
-        "sequence": 404,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4456,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5380,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070550916395,
-        "eventId": "409",
-        "lastEpochMicrosec": 1477070560916395,
-        "priority": "Normal",
-        "sequence": 409,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3738,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4750,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070590993953,
-        "eventId": "413",
-        "lastEpochMicrosec": 1477070600993953,
-        "priority": "Normal",
-        "sequence": 413,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5954,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5380,
-            "packetsIn": 94,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070631061957,
-        "eventId": "417",
-        "lastEpochMicrosec": 1477070641061957,
-        "priority": "Normal",
-        "sequence": 417,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4416,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4020,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070641079999,
-        "eventId": "418",
-        "lastEpochMicrosec": 1477070651079999,
-        "priority": "Normal",
-        "sequence": 418,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4911,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4342,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070681153946,
-        "eventId": "422",
-        "lastEpochMicrosec": 1477070691153946,
-        "priority": "Normal",
-        "sequence": 422,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5228,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5294,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070691170336,
-        "eventId": "423",
-        "lastEpochMicrosec": 1477070701170336,
-        "priority": "Normal",
-        "sequence": 423,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 137612,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 776,
-            "bytesOut": 136724,
-            "packetsIn": 1458,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070821405142,
-        "eventId": "436",
-        "lastEpochMicrosec": 1477070831405142,
-        "priority": "Normal",
-        "sequence": 436,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6724,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 48,
-            "bytesOut": 8288,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071021788719,
-        "eventId": "456",
-        "lastEpochMicrosec": 1477071031788719,
-        "priority": "Normal",
-        "sequence": 456,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5216,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5098,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071051846152,
-        "eventId": "459",
-        "lastEpochMicrosec": 1477071061846152,
-        "priority": "Normal",
-        "sequence": 459,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5965,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 5686,
-            "packetsIn": 84,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071101941618,
-        "eventId": "464",
-        "lastEpochMicrosec": 1477071111941618,
-        "priority": "Normal",
-        "sequence": 464,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4334,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5232,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071142014557,
-        "eventId": "468",
-        "lastEpochMicrosec": 1477071152014557,
-        "priority": "Normal",
-        "sequence": 468,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3976,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5360,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071152034019,
-        "eventId": "469",
-        "lastEpochMicrosec": 1477071162034019,
-        "priority": "Normal",
-        "sequence": 469,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 41028,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 121,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071202120024,
-        "eventId": "474",
-        "lastEpochMicrosec": 1477071212120024,
-        "priority": "Normal",
-        "sequence": 474,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5066,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7157,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071242189163,
-        "eventId": "478",
-        "lastEpochMicrosec": 1477071252189163,
-        "priority": "Normal",
-        "sequence": 478,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5528,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5302,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071472593939,
-        "eventId": "501",
-        "lastEpochMicrosec": 1477071482593939,
-        "priority": "Normal",
-        "sequence": 501,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4190,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4160,
-            "packetsIn": 63,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071492634731,
-        "eventId": "503",
-        "lastEpochMicrosec": 1477071502634731,
-        "priority": "Normal",
-        "sequence": 503,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5918,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 34,
-            "bytesOut": 6588,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071502654137,
-        "eventId": "504",
-        "lastEpochMicrosec": 1477071512654137,
-        "priority": "Normal",
-        "sequence": 504,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4270,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 19,
-            "bytesOut": 3650,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071632900848,
-        "eventId": "517",
-        "lastEpochMicrosec": 1477071642900848,
-        "priority": "Normal",
-        "sequence": 517,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7250,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 47,
-            "bytesOut": 7539,
-            "packetsIn": 112,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071652936794,
-        "eventId": "519",
-        "lastEpochMicrosec": 1477071662936794,
-        "priority": "Normal",
-        "sequence": 519,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 20894,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 127,
-            "bytesOut": 23654,
-            "packetsIn": 256,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071713058031,
-        "eventId": "525",
-        "lastEpochMicrosec": 1477071723058031,
-        "priority": "Normal",
-        "sequence": 525,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7297,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7430,
-            "packetsIn": 107,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071763172262,
-        "eventId": "530",
-        "lastEpochMicrosec": 1477071773172262,
-        "priority": "Normal",
-        "sequence": 530,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5472,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5427,
-            "packetsIn": 83,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071773193658,
-        "eventId": "531",
-        "lastEpochMicrosec": 1477071783193658,
-        "priority": "Normal",
-        "sequence": 531,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4784,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4386,
-            "packetsIn": 73,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071803251128,
-        "eventId": "534",
-        "lastEpochMicrosec": 1477071813251128,
-        "priority": "Normal",
-        "sequence": 534,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 33146,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 202,
-            "bytesOut": 45220,
-            "packetsIn": 373,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071933509978,
-        "eventId": "547",
-        "lastEpochMicrosec": 1477071943509978,
-        "priority": "Normal",
-        "sequence": 547,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3640,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4128,
-            "packetsIn": 47,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072113869917,
-        "eventId": "565",
-        "lastEpochMicrosec": 1477072123869917,
-        "priority": "Normal",
-        "sequence": 565,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4928,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5412,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072133905970,
-        "eventId": "567",
-        "lastEpochMicrosec": 1477072143905970,
-        "priority": "Normal",
-        "sequence": 567,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4286,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5436,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072314253035,
-        "eventId": "585",
-        "lastEpochMicrosec": 1477072324253035,
-        "priority": "Normal",
-        "sequence": 585,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4568,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5602,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072384378243,
-        "eventId": "592",
-        "lastEpochMicrosec": 1477072394378243,
-        "priority": "Normal",
-        "sequence": 592,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3854,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 4772,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072404411223,
-        "eventId": "594",
-        "lastEpochMicrosec": 1477072414411223,
-        "priority": "Normal",
-        "sequence": 594,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3740,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 21,
-            "bytesOut": 3862,
-            "packetsIn": 50,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072414424973,
-        "eventId": "595",
-        "lastEpochMicrosec": 1477072424424973,
-        "priority": "Normal",
-        "sequence": 595,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6259,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5072,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072424442934,
-        "eventId": "596",
-        "lastEpochMicrosec": 1477072434442934,
-        "priority": "Normal",
-        "sequence": 596,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5576,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7404,
-            "packetsIn": 84,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072624849269,
-        "eventId": "616",
-        "lastEpochMicrosec": 1477072634849269,
-        "priority": "Normal",
-        "sequence": 616,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5172,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4998,
-            "packetsIn": 78,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072674941938,
-        "eventId": "621",
-        "lastEpochMicrosec": 1477072684941938,
-        "priority": "Normal",
-        "sequence": 621,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4256,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4294,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072715018487,
-        "eventId": "625",
-        "lastEpochMicrosec": 1477072725018487,
-        "priority": "Normal",
-        "sequence": 625,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3932,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5526,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072825213947,
-        "eventId": "636",
-        "lastEpochMicrosec": 1477072835213947,
-        "priority": "Normal",
-        "sequence": 636,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3956,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 6318,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072865310238,
-        "eventId": "640",
-        "lastEpochMicrosec": 1477072875310238,
-        "priority": "Normal",
-        "sequence": 640,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4080,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4388,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072875328458,
-        "eventId": "641",
-        "lastEpochMicrosec": 1477072885328458,
-        "priority": "Normal",
-        "sequence": 641,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6081,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5528,
-            "packetsIn": 89,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072965498915,
-        "eventId": "650",
-        "lastEpochMicrosec": 1477072975498915,
-        "priority": "Normal",
-        "sequence": 650,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6141,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5528,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073025609941,
-        "eventId": "656",
-        "lastEpochMicrosec": 1477073035609941,
-        "priority": "Normal",
-        "sequence": 656,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4446,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6986,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073175893195,
-        "eventId": "671",
-        "lastEpochMicrosec": 1477073185893195,
-        "priority": "Normal",
-        "sequence": 671,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4232,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4066,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073225981156,
-        "eventId": "676",
-        "lastEpochMicrosec": 1477073235981156,
-        "priority": "Normal",
-        "sequence": 676,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5739,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4138,
-            "packetsIn": 84,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073326167021,
-        "eventId": "686",
-        "lastEpochMicrosec": 1477073336167021,
-        "priority": "Normal",
-        "sequence": 686,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4104,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4020,
-            "packetsIn": 61,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073356218618,
-        "eventId": "689",
-        "lastEpochMicrosec": 1477073366218618,
-        "priority": "Normal",
-        "sequence": 689,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4886,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7121,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073456394852,
-        "eventId": "699",
-        "lastEpochMicrosec": 1477073466394852,
-        "priority": "Normal",
-        "sequence": 699,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4034,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 4808,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073486456069,
-        "eventId": "702",
-        "lastEpochMicrosec": 1477073496456069,
-        "priority": "Normal",
-        "sequence": 702,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4706,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5765,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073576611503,
-        "eventId": "711",
-        "lastEpochMicrosec": 1477073586611503,
-        "priority": "Normal",
-        "sequence": 711,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6046,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 40,
-            "bytesOut": 9108,
-            "packetsIn": 90,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073636730319,
-        "eventId": "717",
-        "lastEpochMicrosec": 1477073646730319,
-        "priority": "Normal",
-        "sequence": 717,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4450,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5230,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070310474544,
-        "eventId": "385",
-        "lastEpochMicrosec": 1477070320474544,
-        "priority": "Normal",
-        "sequence": 385,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5703,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 40,
-            "bytesOut": 6658,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070320490200,
-        "eventId": "386",
-        "lastEpochMicrosec": 1477070330490200,
-        "priority": "Normal",
-        "sequence": 386,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4384,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5096,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070370579195,
-        "eventId": "391",
-        "lastEpochMicrosec": 1477070380579195,
-        "priority": "Normal",
-        "sequence": 391,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3986,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5544,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070400631290,
-        "eventId": "394",
-        "lastEpochMicrosec": 1477070410631290,
-        "priority": "Normal",
-        "sequence": 394,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4428,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 4364,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070410646466,
-        "eventId": "395",
-        "lastEpochMicrosec": 1477070420646466,
-        "priority": "Normal",
-        "sequence": 395,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3776,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 4562,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070661113931,
-        "eventId": "420",
-        "lastEpochMicrosec": 1477070671113931,
-        "priority": "Normal",
-        "sequence": 420,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5482,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5446,
-            "packetsIn": 77,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070731245952,
-        "eventId": "427",
-        "lastEpochMicrosec": 1477070741245952,
-        "priority": "Normal",
-        "sequence": 427,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 12391,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 78,
-            "bytesOut": 10049,
-            "packetsIn": 124,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070761301949,
-        "eventId": "430",
-        "lastEpochMicrosec": 1477070771301949,
-        "priority": "Normal",
-        "sequence": 430,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 19997,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 132,
-            "bytesOut": 23502,
-            "packetsIn": 240,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070861482944,
-        "eventId": "440",
-        "lastEpochMicrosec": 1477070871482944,
-        "priority": "Normal",
-        "sequence": 440,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 19924,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 116,
-            "bytesOut": 19236,
-            "packetsIn": 243,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070871499185,
-        "eventId": "441",
-        "lastEpochMicrosec": 1477070881499185,
-        "priority": "Normal",
-        "sequence": 441,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4394,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 40,
-            "bytesOut": 7024,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070901553877,
-        "eventId": "444",
-        "lastEpochMicrosec": 1477070911553877,
-        "priority": "Normal",
-        "sequence": 444,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3402,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4950,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070951649582,
-        "eventId": "449",
-        "lastEpochMicrosec": 1477070961649582,
-        "priority": "Normal",
-        "sequence": 449,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3650,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5024,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070961673097,
-        "eventId": "450",
-        "lastEpochMicrosec": 1477070971673097,
-        "priority": "Normal",
-        "sequence": 450,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4681,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 45,
-            "bytesOut": 7354,
-            "packetsIn": 69,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071001744811,
-        "eventId": "454",
-        "lastEpochMicrosec": 1477071011744811,
-        "priority": "Normal",
-        "sequence": 454,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4536,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5168,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071011760312,
-        "eventId": "455",
-        "lastEpochMicrosec": 1477071021760312,
-        "priority": "Normal",
-        "sequence": 455,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6458,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6017,
-            "packetsIn": 100,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071232173922,
-        "eventId": "477",
-        "lastEpochMicrosec": 1477071242173922,
-        "priority": "Normal",
-        "sequence": 477,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6871,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 36,
-            "bytesOut": 6766,
-            "packetsIn": 101,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071282252737,
-        "eventId": "482",
-        "lastEpochMicrosec": 1477071292252737,
-        "priority": "Normal",
-        "sequence": 482,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3884,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4248,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071322325958,
-        "eventId": "486",
-        "lastEpochMicrosec": 1477071332325958,
-        "priority": "Normal",
-        "sequence": 486,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 34518,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 192,
-            "bytesOut": 34192,
-            "packetsIn": 384,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071432517955,
-        "eventId": "497",
-        "lastEpochMicrosec": 1477071442517955,
-        "priority": "Normal",
-        "sequence": 497,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4916,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4318,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071512671652,
-        "eventId": "505",
-        "lastEpochMicrosec": 1477071522671652,
-        "priority": "Normal",
-        "sequence": 505,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6259,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5600,
-            "packetsIn": 91,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071522697277,
-        "eventId": "506",
-        "lastEpochMicrosec": 1477071532697277,
-        "priority": "Normal",
-        "sequence": 506,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5240,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5426,
-            "packetsIn": 80,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071552753988,
-        "eventId": "509",
-        "lastEpochMicrosec": 1477071562753988,
-        "priority": "Normal",
-        "sequence": 509,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5060,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5434,
-            "packetsIn": 79,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071612865423,
-        "eventId": "515",
-        "lastEpochMicrosec": 1477071622865423,
-        "priority": "Normal",
-        "sequence": 515,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3974,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4660,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071793233631,
-        "eventId": "533",
-        "lastEpochMicrosec": 1477071803233631,
-        "priority": "Normal",
-        "sequence": 533,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6859,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 43,
-            "bytesOut": 6912,
-            "packetsIn": 100,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071823290532,
-        "eventId": "536",
-        "lastEpochMicrosec": 1477071833290532,
-        "priority": "Normal",
-        "sequence": 536,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4982,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 26,
-            "bytesOut": 5081,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071833308226,
-        "eventId": "537",
-        "lastEpochMicrosec": 1477071843308226,
-        "priority": "Normal",
-        "sequence": 537,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4974,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4426,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071843328660,
-        "eventId": "538",
-        "lastEpochMicrosec": 1477071853328660,
-        "priority": "Normal",
-        "sequence": 538,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 13226,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 89,
-            "bytesOut": 18924,
-            "packetsIn": 153,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072053741964,
-        "eventId": "559",
-        "lastEpochMicrosec": 1477072063741964,
-        "priority": "Normal",
-        "sequence": 559,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 8673,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 53,
-            "bytesOut": 9805,
-            "packetsIn": 117,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072063763247,
-        "eventId": "560",
-        "lastEpochMicrosec": 1477072073763247,
-        "priority": "Normal",
-        "sequence": 560,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4676,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6446,
-            "packetsIn": 70,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072224086825,
-        "eventId": "576",
-        "lastEpochMicrosec": 1477072234086825,
-        "priority": "Normal",
-        "sequence": 576,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4262,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5318,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072254141660,
-        "eventId": "579",
-        "lastEpochMicrosec": 1477072264141660,
-        "priority": "Normal",
-        "sequence": 579,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4946,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072344303482,
-        "eventId": "588",
-        "lastEpochMicrosec": 1477072354303482,
-        "priority": "Normal",
-        "sequence": 588,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3800,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5398,
-            "packetsIn": 56,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072584773904,
-        "eventId": "612",
-        "lastEpochMicrosec": 1477072594773904,
-        "priority": "Normal",
-        "sequence": 612,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5264,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 6018,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072594792760,
-        "eventId": "613",
-        "lastEpochMicrosec": 1477072604792760,
-        "priority": "Normal",
-        "sequence": 613,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4604,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5722,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072775124558,
-        "eventId": "631",
-        "lastEpochMicrosec": 1477072785124558,
-        "priority": "Normal",
-        "sequence": 631,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4280,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5410,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072975517941,
-        "eventId": "651",
-        "lastEpochMicrosec": 1477072985517941,
-        "priority": "Normal",
-        "sequence": 651,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4316,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 27,
-            "bytesOut": 5018,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073035627391,
-        "eventId": "657",
-        "lastEpochMicrosec": 1477073045627391,
-        "priority": "Normal",
-        "sequence": 657,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4915,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 4836,
-            "packetsIn": 74,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073276077930,
-        "eventId": "681",
-        "lastEpochMicrosec": 1477073286077930,
-        "priority": "Normal",
-        "sequence": 681,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4244,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4914,
-            "packetsIn": 64,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073396285928,
-        "eventId": "693",
-        "lastEpochMicrosec": 1477073406285928,
-        "priority": "Normal",
-        "sequence": 693,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4982,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6892,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073406303927,
-        "eventId": "694",
-        "lastEpochMicrosec": 1477073416303927,
-        "priority": "Normal",
-        "sequence": 694,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5000,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5378,
-            "packetsIn": 68,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073496473912,
-        "eventId": "703",
-        "lastEpochMicrosec": 1477073506473912,
-        "priority": "Normal",
-        "sequence": 703,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4406,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073546558533,
-        "eventId": "708",
-        "lastEpochMicrosec": 1477073556558533,
-        "priority": "Normal",
-        "sequence": 708,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3608,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5230,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073646749551,
-        "eventId": "718",
-        "lastEpochMicrosec": 1477073656749551,
-        "priority": "Normal",
-        "sequence": 718,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4352,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4946,
-            "packetsIn": 57,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073676813943,
-        "eventId": "721",
-        "lastEpochMicrosec": 1477073686813943,
-        "priority": "Normal",
-        "sequence": 721,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4864,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5148,
-            "packetsIn": 67,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070190253108,
-        "eventId": "373",
-        "lastEpochMicrosec": 1477070200253108,
-        "priority": "Normal",
-        "sequence": 373,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4328,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5286,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070280421939,
-        "eventId": "382",
-        "lastEpochMicrosec": 1477070290421939,
-        "priority": "Normal",
-        "sequence": 382,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6206,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 32,
-            "bytesOut": 5512,
-            "packetsIn": 96,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070330509980,
-        "eventId": "387",
-        "lastEpochMicrosec": 1477070340509980,
-        "priority": "Normal",
-        "sequence": 387,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3518,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 22,
-            "bytesOut": 4028,
-            "packetsIn": 53,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070420665950,
-        "eventId": "396",
-        "lastEpochMicrosec": 1477070430665950,
-        "priority": "Normal",
-        "sequence": 396,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4360,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4812,
-            "packetsIn": 59,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070430683794,
-        "eventId": "397",
-        "lastEpochMicrosec": 1477070440683794,
-        "priority": "Normal",
-        "sequence": 397,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5301,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 33,
-            "bytesOut": 5536,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070560936376,
-        "eventId": "410",
-        "lastEpochMicrosec": 1477070570936376,
-        "priority": "Normal",
-        "sequence": 410,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6866,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 106,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070570954302,
-        "eventId": "411",
-        "lastEpochMicrosec": 1477070580954302,
-        "priority": "Normal",
-        "sequence": 411,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6681,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 41,
-            "bytesOut": 6568,
-            "packetsIn": 96,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070741264005,
-        "eventId": "428",
-        "lastEpochMicrosec": 1477070751264005,
-        "priority": "Normal",
-        "sequence": 428,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 34880,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 217,
-            "bytesOut": 36350,
-            "packetsIn": 398,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070881514499,
-        "eventId": "442",
-        "lastEpochMicrosec": 1477070891514499,
-        "priority": "Normal",
-        "sequence": 442,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4762,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 4934,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070911574857,
-        "eventId": "445",
-        "lastEpochMicrosec": 1477070921574857,
-        "priority": "Normal",
-        "sequence": 445,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 7057,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 46,
-            "bytesOut": 7462,
-            "packetsIn": 105,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477070921593735,
-        "eventId": "446",
-        "lastEpochMicrosec": 1477070931593735,
-        "priority": "Normal",
-        "sequence": 446,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6740,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 41,
-            "bytesOut": 6775,
-            "packetsIn": 104,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071292270837,
-        "eventId": "483",
-        "lastEpochMicrosec": 1477071302270837,
-        "priority": "Normal",
-        "sequence": 483,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4934,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5325,
-            "packetsIn": 75,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071302289972,
-        "eventId": "484",
-        "lastEpochMicrosec": 1477071312289972,
-        "priority": "Normal",
-        "sequence": 484,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6216,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6786,
-            "packetsIn": 81,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071452551360,
-        "eventId": "499",
-        "lastEpochMicrosec": 1477071462551360,
-        "priority": "Normal",
-        "sequence": 499,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6218,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 44,
-            "bytesOut": 7316,
-            "packetsIn": 95,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071482617903,
-        "eventId": "502",
-        "lastEpochMicrosec": 1477071492617903,
-        "priority": "Normal",
-        "sequence": 502,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5634,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 37,
-            "bytesOut": 6446,
-            "packetsIn": 87,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071562771042,
-        "eventId": "510",
-        "lastEpochMicrosec": 1477071572771042,
-        "priority": "Normal",
-        "sequence": 510,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6354,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 47,
-            "bytesOut": 7514,
-            "packetsIn": 96,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071622883746,
-        "eventId": "516",
-        "lastEpochMicrosec": 1477071632883746,
-        "priority": "Normal",
-        "sequence": 516,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 20684,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 138,
-            "bytesOut": 23872,
-            "packetsIn": 242,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071753155902,
-        "eventId": "529",
-        "lastEpochMicrosec": 1477071763155902,
-        "priority": "Normal",
-        "sequence": 529,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4442,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 38,
-            "bytesOut": 6956,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071853349474,
-        "eventId": "539",
-        "lastEpochMicrosec": 1477071863349474,
-        "priority": "Normal",
-        "sequence": 539,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 66655,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 401,
-            "bytesOut": 64534,
-            "packetsIn": 755,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477071943529023,
-        "eventId": "548",
-        "lastEpochMicrosec": 1477071953529023,
-        "priority": "Normal",
-        "sequence": 548,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 29098,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 186,
-            "bytesOut": 40028,
-            "packetsIn": 338,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072033705953,
-        "eventId": "557",
-        "lastEpochMicrosec": 1477072043705953,
-        "priority": "Normal",
-        "sequence": 557,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3560,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 4758,
-            "packetsIn": 52,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072083807753,
-        "eventId": "562",
-        "lastEpochMicrosec": 1477072093807753,
-        "priority": "Normal",
-        "sequence": 562,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5753,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5248,
-            "packetsIn": 82,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072123885526,
-        "eventId": "566",
-        "lastEpochMicrosec": 1477072133885526,
-        "priority": "Normal",
-        "sequence": 566,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4102,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5462,
-            "packetsIn": 54,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072173997938,
-        "eventId": "571",
-        "lastEpochMicrosec": 1477072183997938,
-        "priority": "Normal",
-        "sequence": 571,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 5054,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6906,
-            "packetsIn": 76,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072264158607,
-        "eventId": "580",
-        "lastEpochMicrosec": 1477072274158607,
-        "priority": "Normal",
-        "sequence": 580,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3884,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4058,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072324268097,
-        "eventId": "586",
-        "lastEpochMicrosec": 1477072334268097,
-        "priority": "Normal",
-        "sequence": 586,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3182,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4808,
-            "packetsIn": 46,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072334288872,
-        "eventId": "587",
-        "lastEpochMicrosec": 1477072344288872,
-        "priority": "Normal",
-        "sequence": 587,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4034,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5316,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072394394368,
-        "eventId": "593",
-        "lastEpochMicrosec": 1477072404394368,
-        "priority": "Normal",
-        "sequence": 593,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3872,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 23,
-            "bytesOut": 4074,
-            "packetsIn": 58,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072434461951,
-        "eventId": "597",
-        "lastEpochMicrosec": 1477072444461951,
-        "priority": "Normal",
-        "sequence": 597,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4028,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 29,
-            "bytesOut": 5214,
-            "packetsIn": 60,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072504621951,
-        "eventId": "604",
-        "lastEpochMicrosec": 1477072514621951,
-        "priority": "Normal",
-        "sequence": 604,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4130,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 25,
-            "bytesOut": 4350,
-            "packetsIn": 62,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072524657943,
-        "eventId": "606",
-        "lastEpochMicrosec": 1477072534657943,
-        "priority": "Normal",
-        "sequence": 606,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6691,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 35,
-            "bytesOut": 5804,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072664921950,
-        "eventId": "620",
-        "lastEpochMicrosec": 1477072674921950,
-        "priority": "Normal",
-        "sequence": 620,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4640,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5426,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072765105949,
-        "eventId": "630",
-        "lastEpochMicrosec": 1477072775105949,
-        "priority": "Normal",
-        "sequence": 630,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 38076,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 238,
-            "bytesOut": 52028,
-            "packetsIn": 425,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477072815193944,
-        "eventId": "635",
-        "lastEpochMicrosec": 1477072825193944,
-        "priority": "Normal",
-        "sequence": 635,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4806,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 39,
-            "bytesOut": 6986,
-            "packetsIn": 72,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073055662629,
-        "eventId": "659",
-        "lastEpochMicrosec": 1477073065662629,
-        "priority": "Normal",
-        "sequence": 659,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3470,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4240,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073165876528,
-        "eventId": "670",
-        "lastEpochMicrosec": 1477073175876528,
-        "priority": "Normal",
-        "sequence": 670,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6615,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 30,
-            "bytesOut": 5086,
-            "packetsIn": 98,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073205948758,
-        "eventId": "674",
-        "lastEpochMicrosec": 1477073215948758,
-        "priority": "Normal",
-        "sequence": 674,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4682,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 5600,
-            "packetsIn": 71,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073215965142,
-        "eventId": "675",
-        "lastEpochMicrosec": 1477073225965142,
-        "priority": "Normal",
-        "sequence": 675,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4178,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 24,
-            "bytesOut": 4152,
-            "packetsIn": 55,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073256037943,
-        "eventId": "679",
-        "lastEpochMicrosec": 1477073266037943,
-        "priority": "Normal",
-        "sequence": 679,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4406,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 42,
-            "bytesOut": 7156,
-            "packetsIn": 65,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073306133613,
-        "eventId": "684",
-        "lastEpochMicrosec": 1477073316133613,
-        "priority": "Normal",
-        "sequence": 684,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 3974,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4644,
-            "packetsIn": 51,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073316150514,
-        "eventId": "685",
-        "lastEpochMicrosec": 1477073326150514,
-        "priority": "Normal",
-        "sequence": 685,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 6375,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 28,
-            "bytesOut": 4538,
-            "packetsIn": 94,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073386268859,
-        "eventId": "692",
-        "lastEpochMicrosec": 1477073396268859,
-        "priority": "Normal",
-        "sequence": 692,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  },
-  {
-    "event": {
-      "measurementsForVfScalingFields": {
-        "measurementInterval": 10,
-        "measurementsForVfScalingVersion": 1.1,
-        "vNicUsageArray": [
-          {
-            "bytesIn": 4458,
-            "multicastPacketsIn": 0,
-            "multicastPacketsOut": 0,
-            "unicastPacketsIn": 0,
-            "broadcastPacketsOut": 0,
-            "packetsOut": 31,
-            "bytesOut": 5418,
-            "packetsIn": 66,
-            "broadcastPacketsIn": 0,
-            "vNicIdentifier": "eth0",
-            "unicastPacketsOut": 0
-          }
-        ]
-      },
-      "commonEventHeader": {
-        "reportingEntityName": "vpp-test",
-        "startEpochMicrosec": 1477073536542160,
-        "eventId": "707",
-        "lastEpochMicrosec": 1477073546542160,
-        "priority": "Normal",
-        "sequence": 707,
-        "sourceName": "Dummy VM name - No Metadata available",
-        "domain": "measurementsForVfScaling",
-        "functionalRole": "vFirewall",
-        "reportingEntityId": "No UUID available",
-        "version": 1.1,
-        "sourceId": "Dummy VM UUID - No Metadata available"
-      }
-    }
-  }
-]
diff --git a/dcae-analytics-tca/src/test/resources/data/json/policy/tca_policy.json b/dcae-analytics-tca/src/test/resources/data/json/policy/tca_policy.json
deleted file mode 100644 (file)
index 1bf9e83..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-{
-  "domain": "measurementsForVfScaling",
-  "metricsPerFunctionalRole": [
-    {
-      "functionalRole": "vFirewall",
-      "policyScope": "resource=vFirewall;type=configuration",
-      "policyName": "configuration.dcae.microservice.tca.xml",
-      "policyVersion": "v0.0.1",
-      "thresholds": [
-        {
-          "closedLoopControlName": "CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8",
-          "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn",
-          "thresholdValue": 4000,
-          "direction": "LESS_OR_EQUAL",
-          "severity": "MAJOR"
-        },
-        {
-          "closedLoopControlName": "CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09",
-          "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn",
-          "thresholdValue": 20000,
-          "direction": "GREATER_OR_EQUAL",
-          "severity": "CRITICAL"
-        }
-      ]
-    },
-    {
-      "functionalRole": "vLoadBalancer",
-      "policyScope": "resource=vLoadBalancer;type=configuration",
-      "policyName": "configuration.dcae.microservice.tca.xml",
-      "policyVersion": "v0.0.1",
-      "thresholds": [
-        {
-          "closedLoopControlName": "CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A",
-          "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn",
-          "thresholdValue": 500,
-          "direction": "LESS_OR_EQUAL",
-          "severity": "MAJOR"
-        },
-        {
-          "closedLoopControlName": "CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B",
-          "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn",
-          "thresholdValue": 5000,
-          "direction": "GREATER_OR_EQUAL",
-          "severity": "CRITICAL"
-        }
-      ]
-    }
-  ]
-}
diff --git a/dcae-analytics-tca/src/test/resources/data/properties/tca_controller_policy.properties b/dcae-analytics-tca/src/test/resources/data/properties/tca_controller_policy.properties
deleted file mode 100644 (file)
index 6eeea87..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# ===============================LICENSE_START======================================
-#  dcae-analytics
-# ================================================================================
-#    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
-# ================================================================================
-#  Licensed under the Apache License, Version 2.0 (the "License");
-#  you may not use this file except in compliance with the License.
-#   You may obtain a copy of the License at
-#
-#          http://www.apache.org/licenses/LICENSE-2.0
-#
-#  Unless required by applicable law or agreed to in writing, software
-#  distributed under the License is distributed on an "AS IS" BASIS,
-#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-#  See the License for the specific language governing permissions and
-#  limitations under the License.
-#  ============================LICENSE_END===========================================
-#
-
-domain=measurementsForVfScaling
-
-configuration.metricsPerFunctionalRole.vFirewall.policy.functionalRole=vFirewall
-configuration.metricsPerFunctionalRole.vFirewall.policyName=configuration.dcae.microservice.tca.xml
-configuration.metricsPerFunctionalRole.vFirewall.policyVersion=v0.0.1
-configuration.metricsPerFunctionalRole.vFirewall.policyScope=resource=vFirewall;type=configuration
-
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.closedLoopControlName=CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.thresholdValue=4000
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.direction=LESS_OR_EQUAL
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.severity=MAJOR
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.0.policy.version=1.0.2
-
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.closedLoopControlName=L-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.thresholdValue=20000
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.direction=GREATER_OR_EQUAL
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.severity=CRITICAL
-configuration.metricsPerFunctionalRole.vFirewall.thresholds.1.policy.version=1.0.2
-
-configuration.metricsPerFunctionalRole.vLoadBalancer.policy.functionalRole=vLoadBalancer
-configuration.metricsPerFunctionalRole.vLoadBalancer.policyName=configuration.dcae.microservice.tca.xml
-configuration.metricsPerFunctionalRole.vLoadBalancer.policyVersion=v0.0.1
-configuration.metricsPerFunctionalRole.vLoadBalancer.policyScope=resource=vLoadBalancer;type=configuration
-
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.closedLoopControlName=CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.thresholdValue=500
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.direction=LESS_OR_EQUAL
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.severity=MAJOR
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.0.policy.version=1.0.2
-
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.closedLoopControlName=CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.thresholdValue=5000
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.direction=GREATER_OR_EQUAL
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.severity=CRITICAL
-configuration.metricsPerFunctionalRole.vLoadBalancer.thresholds.1.policy.version=1.0.2
diff --git a/dcae-analytics-test/src/main/resources/data/json/cef/cef_message.json b/dcae-analytics-test/src/main/resources/data/json/cef/cef_message.json
new file mode 100644 (file)
index 0000000..e3be937
--- /dev/null
@@ -0,0 +1,76 @@
+{
+  "event": {
+    "commonEventHeader": {
+      "domain": "measurementsForVfScaling",
+      "eventId": "UC1-SCL01081-1492639920787",
+      "eventName": "Mfvs_eNodeB_RANKPI",
+      "lastEpochMicrosec": 1492639920787,
+      "nfNamingCode": "ENBE",
+      "priority": "Normal",
+      "reportingEntityId": "",
+      "reportingEntityName": "vtc2e7admn2",
+      "sequence": 0,
+      "sourceId": "SCL01081_9B_1",
+      "sourceName": "SCL01081",
+      "startEpochMicrosec": 1492639920787,
+      "version": 3.0
+    },
+    "measurementsForVfScalingFields": {
+      "additionalFields": [
+        {
+          "name": "software_version ",
+          "value": "version1"
+        },
+        {
+          "name": "vendor ",
+          "value": "Ericsson "
+        }
+      ],
+      "additionalMeasurements": [
+        {
+          "name": "OaaS_UC1_EricssonSleepingCell",
+          "arrayOfFields": [
+            {
+              "name": "PMRAATTCBRA",
+              "value": "1353"
+            },
+            {
+              "name": "PMRASUCCCBRA",
+              "value": "1351"
+            },
+            {
+              "name": "PMCELLDOWNTIMEAUTO",
+              "value": "0"
+            },
+            {
+              "name": "PMCELLDOWNTIMEMAN",
+              "value": "0"
+            },
+            {
+              "name": "PMRRCCONNESTABATT",
+              "value": "297"
+            },
+            {
+              "name": "PMRRCCONNESTABSUCC",
+              "value": "297"
+            }
+          ]
+        }
+      ],
+      "vNicPerformanceArray": [
+        {
+          "receivedBroadcastPacketsAccumulated" : 5000,
+          "receivedBroadcastPacketsDelta" : 5,
+          "receivedDiscardedPacketsAccumulated" : 12,
+          "receivedDiscardedPacketsDelta" : 2,
+          "receivedErrorPacketsAccumulated" : 2,
+          "receivedErrorPacketsDelta" : 1,
+          "valuesAreSuspect" : false,
+          "vNicIdentifier": "someVNicIdentifier"
+        }
+      ],
+      "measurementInterval": 900,
+      "measurementsForVfScalingVersion": 2.0
+    }
+  }
+}
diff --git a/dcae-analytics-test/src/main/resources/data/json/cef/cef_message_with_threshold_violation.json b/dcae-analytics-test/src/main/resources/data/json/cef/cef_message_with_threshold_violation.json
new file mode 100644 (file)
index 0000000..9dba3cd
--- /dev/null
@@ -0,0 +1,76 @@
+{
+  "event": {
+    "commonEventHeader": {
+      "domain": "measurementsForVfScaling",
+      "eventId": "UC1-SCL01081-1492639920787",
+      "eventName": "Mfvs_eNodeB_RANKPI",
+      "lastEpochMicrosec": 1492639920787,
+      "nfNamingCode": "ENBE",
+      "priority": "Normal",
+      "reportingEntityId": "",
+      "reportingEntityName": "vtc2e7admn2",
+      "sequence": 0,
+      "sourceId": "SCL01081_9B_1",
+      "sourceName": "SCL01081",
+      "startEpochMicrosec": 1492639920787,
+      "version": 3.0
+    },
+    "measurementsForVfScalingFields": {
+      "additionalFields": [
+        {
+          "name": "software_version ",
+          "value": "version1"
+        },
+        {
+          "name": "vendor ",
+          "value": "Ericsson "
+        }
+      ],
+      "additionalMeasurements": [
+        {
+          "name": "OaaS_UC1_EricssonSleepingCell",
+          "arrayOfFields": [
+            {
+              "name": "PMRAATTCBRA",
+              "value": "1353"
+            },
+            {
+              "name": "PMRASUCCCBRA",
+              "value": "1351"
+            },
+            {
+              "name": "PMCELLDOWNTIMEAUTO",
+              "value": "0"
+            },
+            {
+              "name": "PMCELLDOWNTIMEMAN",
+              "value": "0"
+            },
+            {
+              "name": "PMRRCCONNESTABATT",
+              "value": "297"
+            },
+            {
+              "name": "PMRRCCONNESTABSUCC",
+              "value": "297"
+            }
+          ]
+        }
+      ],
+      "vNicPerformanceArray": [
+        {
+          "receivedBroadcastPacketsAccumulated" : 21000,
+          "receivedBroadcastPacketsDelta" : 5,
+          "receivedDiscardedPacketsAccumulated" : 12,
+          "receivedDiscardedPacketsDelta" : 2,
+          "receivedErrorPacketsAccumulated" : 2,
+          "receivedErrorPacketsDelta" : 1,
+          "valuesAreSuspect" : false,
+          "vNicIdentifier": "someVNicIdentifier"
+        }
+      ],
+      "measurementInterval": 900,
+      "measurementsForVfScalingVersion": 2.0
+    }
+  }
+}
diff --git a/dcae-analytics-test/src/main/resources/data/json/cef/cef_messages.json b/dcae-analytics-test/src/main/resources/data/json/cef/cef_messages.json
new file mode 100644 (file)
index 0000000..26dfd63
--- /dev/null
@@ -0,0 +1,33 @@
+[
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"Name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/301:fclustr-301:FGroup-308:femto-34179","reportingEntityName":"1085190","startEpochMicrosec":1493393250722,"eventId":"UC2-BRHMALM02001-1493393250722","lastEpochMicrosec":1493393250722,"priority":"Normal","sequence":0,"sourceName":"BRHMALM02001","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4860","reportingEntityName":"75160","startEpochMicrosec":1493393250717,"eventId":"UC2-PTLDORM58217-1493393250717","lastEpochMicrosec":1493393250717,"priority":"Normal","sequence":0,"sourceName":"PTLDORM58217","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-7558","reportingEntityName":"96140","startEpochMicrosec":1493393250712,"eventId":"UC2-PTLDORM58210-1493393250712","lastEpochMicrosec":1493393250712,"priority":"Normal","sequence":0,"sourceName":"PTLDORM58210","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/203:fclustr-203:FGroup-310:femto-37457","reportingEntityName":"1373204","startEpochMicrosec":1493393250718,"eventId":"UC2-BSTNVTM06013-1493393250718","lastEpochMicrosec":1493393250718,"priority":"Normal","sequence":0,"sourceName":"BSTNVTM06013","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/203:fclustr-203:FGroup-223:femto-39355","reportingEntityName":"1060176","startEpochMicrosec":1493393250721,"eventId":"UC2-BSTNVTM06103-1493393250721","lastEpochMicrosec":1493393250721,"priority":"Normal","sequence":0,"sourceName":"BSTNVTM06103","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/158:fclustr-158:FGroup-28:femto-30166","reportingEntityName":"954175","startEpochMicrosec":1493393250720,"eventId":"UC2-PITBPAM38246-1493393250720","lastEpochMicrosec":1493393250720,"priority":"Normal","sequence":0,"sourceName":"PITBPAM38246","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/203:fclustr-203:FGroup-223:femto-33673","reportingEntityName":"1060173","startEpochMicrosec":1493393250723,"eventId":"UC2-BSTNVTM06066-1493393250723","lastEpochMicrosec":1493393250723,"priority":"Normal","sequence":0,"sourceName":"BSTNVTM06066","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/3:fclustr-3:FGroup-47:femto-34309","reportingEntityName":"1185198","startEpochMicrosec":1493393250724,"eventId":"UC2-SCRMCNM29032-1493393250724","lastEpochMicrosec":1493393250724,"priority":"Normal","sequence":0,"sourceName":"SCRMCNM29032","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4855","reportingEntityName":"75138","startEpochMicrosec":1493393250714,"eventId":"UC2-PTLDORM58212-1493393250714","lastEpochMicrosec":1493393250714,"priority":"Normal","sequence":0,"sourceName":"PTLDORM58212","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-10466","reportingEntityName":"133734","startEpochMicrosec":1493393250715,"eventId":"UC2-PTLDORM58925-1493393250715","lastEpochMicrosec":1493393250715,"priority":"Normal","sequence":0,"sourceName":"PTLDORM58925","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/201:fclustr-201:FGroup-218:femto-29721","reportingEntityName":"844171","startEpochMicrosec":1493393250719,"eventId":"UC2-NYCMNYM23031-1493393250719","lastEpochMicrosec":1493393250719,"priority":"Normal","sequence":0,"sourceName":"NYCMNYM23031","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4858","reportingEntityName":"75137","startEpochMicrosec":1493393250715,"eventId":"UC2-PTLDORM58215-1493393250715","lastEpochMicrosec":1493393250715,"priority":"Normal","sequence":0,"sourceName":"PTLDORM58215","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4852","reportingEntityName":"75173","startEpochMicrosec":1493393250726,"eventId":"UC2-PTLDORM58014-1493393250726","lastEpochMicrosec":1493393250726,"priority":"Normal","sequence":0,"sourceName":"PTLDORM58014","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/3:fclustr-3:FGroup-282:femto-36109","reportingEntityName":"1085174","startEpochMicrosec":1493393250725,"eventId":"UC2-SLKCUTM08059-1493393250725","lastEpochMicrosec":1493393250725,"priority":"Normal","sequence":0,"sourceName":"SLKCUTM08059","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/3:fclustr-3:FGroup-366:femto-37721","reportingEntityName":"1385173","startEpochMicrosec":1493393250720,"eventId":"UC2-SLKCUTM08083-1493393250720","lastEpochMicrosec":1493393250720,"priority":"Normal","sequence":0,"sourceName":"SLKCUTM08083","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/158:fclustr-158:FGroup-105:femto-33105","reportingEntityName":"1064173","startEpochMicrosec":1493393250722,"eventId":"UC2-STLSMOM29030-1493393250722","lastEpochMicrosec":1493393250722,"priority":"Normal","sequence":0,"sourceName":"STLSMOM29030","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/152:fclustr-152:FGroup-45:femto-8549","reportingEntityName":"165395","startEpochMicrosec":1493393250727,"eventId":"UC2-MILWWIM04202-1493393250727","lastEpochMicrosec":1493393250727,"priority":"Normal","sequence":0,"sourceName":"MILWWIM04202","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/3:fclustr-3:FGroup-42:femto-30554","reportingEntityName":"1304171","startEpochMicrosec":1493393250723,"eventId":"UC2-DNVRCOM04034-1493393250723","lastEpochMicrosec":1493393250723,"priority":"Normal","sequence":0,"sourceName":"DNVRCOM04034","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4856","reportingEntityName":"75139","startEpochMicrosec":1493393250714,"eventId":"UC2-PTLDORM58213-1493393250714","lastEpochMicrosec":1493393250714,"priority":"Normal","sequence":0,"sourceName":"PTLDORM58213","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4862","reportingEntityName":"75158","startEpochMicrosec":1493393250718,"eventId":"UC2-PTLDORM58219-1493393250718","lastEpochMicrosec":1493393250718,"priority":"Normal","sequence":0,"sourceName":"PTLDORM58219","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-9407","reportingEntityName":"114953","startEpochMicrosec":1493393250713,"eventId":"UC2-PTLDORM58211-1493393250713","lastEpochMicrosec":1493393250713,"priority":"Normal","sequence":0,"sourceName":"PTLDORM58211","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/252:fclustr-252:FGroup-141:femto-36114","reportingEntityName":"1253171","startEpochMicrosec":1493393250721,"eventId":"UC2-BLTMMDM00025-1493393250721","lastEpochMicrosec":1493393250721,"priority":"Normal","sequence":0,"sourceName":"BLTMMDM00025","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4861","reportingEntityName":"75159","startEpochMicrosec":1493393250718,"eventId":"UC2-PTLDORM58218-1493393250718","lastEpochMicrosec":1493393250718,"priority":"Normal","sequence":0,"sourceName":"PTLDORM58218","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/203:fclustr-203:FGroup-309:femto-37456","reportingEntityName":"1373227","startEpochMicrosec":1493393250717,"eventId":"UC2-BSTNVTM06011-1493393250717","lastEpochMicrosec":1493393250717,"priority":"Normal","sequence":0,"sourceName":"BSTNVTM06011","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4859","reportingEntityName":"75166","startEpochMicrosec":1493393250716,"eventId":"UC2-PTLDORM58216-1493393250716","lastEpochMicrosec":1493393250716,"priority":"Normal","sequence":0,"sourceName":"PTLDORM58216","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/251:fclustr-251:FGroup-50:femto-11763","reportingEntityName":"165383","startEpochMicrosec":1493393250724,"eventId":"UC2-BLTMMDM00367-1493393250724","lastEpochMicrosec":1493393250724,"priority":"Normal","sequence":0,"sourceName":"BLTMMDM00367","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4857","reportingEntityName":"75142","startEpochMicrosec":1493393250714,"eventId":"UC2-PTLDORM58214-1493393250714","lastEpochMicrosec":1493393250714,"priority":"Normal","sequence":0,"sourceName":"PTLDORM58214","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-10465","reportingEntityName":"133740","startEpochMicrosec":1493393250716,"eventId":"UC2-PTLDORM58924-1493393250716","lastEpochMicrosec":1493393250716,"priority":"Normal","sequence":0,"sourceName":"PTLDORM58924","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/53:fclustr-53:FGroup-165:femto-32607","reportingEntityName":"977200","startEpochMicrosec":1493393250726,"eventId":"UC2-LSANCLM30038-1493393250726","lastEpochMicrosec":1493393250726,"priority":"Normal","sequence":0,"sourceName":"LSANCLM30038","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/53:fclustr-53:FGroup-165:femto-32555","reportingEntityName":"977174","startEpochMicrosec":1493393250725,"eventId":"UC2-LSANCLM30037-1493393250725","lastEpochMicrosec":1493393250725,"priority":"Normal","sequence":0,"sourceName":"LSANCLM30037","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}},
+  {"event":{"measurementsForVfScalingFields":{"measurementInterval":600,"additionalMeasurements":[{"arrayOfFields":[{"name":"BS_Reset_Needed","value":"1"}],"name":"OaaS_UC2_ALUMetrocellBackhaul"}],"measurementsForVfScalingVersion":2.0,"additionalFields":[{"name":"software_version","value":""},{"name":"vendor","value":"ALU"},{"name":"datetime","value":""}]},"commonEventHeader":{"nfNamingCode":"MEAP","version":3.0,"sourceId":"network:FemtoCluster\/1:fclustr-1:FGroup-14:femto-5578","reportingEntityName":"70120","startEpochMicrosec":1493393250720,"eventId":"UC2-DNVRCOM04230-1493393250720","lastEpochMicrosec":1493393250720,"priority":"Normal","sequence":0,"sourceName":"DNVRCOM04230","domain":"measurementsForVfScaling","eventName":"Mfvs_eNodeB_RANKPI","reportingEntityId":""}}}
+]
diff --git a/dcae-analytics-test/src/main/resources/data/json/config/controller_app_config.json b/dcae-analytics-test/src/main/resources/data/json/config/controller_app_config.json
new file mode 100644 (file)
index 0000000..0a82d6b
--- /dev/null
@@ -0,0 +1,33 @@
+{
+  "appName":"dcae-tca",
+  "appDescription": "DCAE Analytics Threshold Crossing Alert Application",
+  "tcaVESMessageStatusTableName": "TCAVESMessageStatusTable",
+  "tcaVESMessageStatusTableTTLSeconds": 86400.0,
+  "tcaAlertsAbatementTableName": "TCAAlertsAbatementTable",
+  "tcaAlertsAbatementTableTTLSeconds": 1728000.0,
+  "tcaVESAlertsTableName": "TCAVESAlertsTable",
+  "tcaVESAlertsTableTTLSeconds": 1728000.0,
+  "thresholdCalculatorFlowletInstances": 2.0,
+  "tcaSubscriberOutputStreamName": "TCASubscriberOutputStream",
+  "services_calls": {},
+  "streams_publishes":{
+    "tca_handle_out":{
+      "type": "message_router",
+      "aaf_username": "USER",
+      "aaf_password":"PASSWORD",
+      "dmaap_info": {
+        "topic_url": "https://HOSTNAME:3905/events/com.att.dcae.dmaap.mtnje2.DcaeTestVESPub"
+      }
+    }
+  },
+  "streams_subscribes":{
+    "tca_handle_in":{
+      "type": "message_router",
+      "aaf_username": "USER",
+      "aaf_password":"PASSWORD",
+      "dmaap_info":{
+        "topic_url":"https://HOSTNAME:3905/events/com.att.dcae.dmaap.mtnje2.DcaeTestVESSub"
+      }
+    }
+  }
+}
@@ -1,48 +1,63 @@
 {
   "domain": "measurementsForVfScaling",
-  "metricsPerFunctionalRole": [
+  "metricsPerEventName": [
     {
-      "functionalRole": "vFirewall",
+      "eventName": "Mfvs_eNodeB_RANKPI",
+      "controlLoopSchemaType" : "VNF",
       "policyScope": "resource=vFirewall;type=configuration",
       "policyName": "configuration.dcae.microservice.tca.xml",
       "policyVersion": "v0.0.1",
       "thresholds": [
         {
           "closedLoopControlName": "CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8",
+          "closedLoopEventStatus" : "ONSET",
           "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn",
+          "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated",
           "thresholdValue": 4000,
           "direction": "LESS_OR_EQUAL",
           "severity": "MAJOR"
         },
         {
           "closedLoopControlName": "CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09",
+          "closedLoopEventStatus" : "ONSET",
           "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn",
+          "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated",
           "thresholdValue": 20000,
           "direction": "GREATER_OR_EQUAL",
           "severity": "CRITICAL"
+        },
+        {
+          "closedLoopControlName": "CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09",
+          "closedLoopEventStatus" : "ABATED",
+          "version": "1.0.2",
+          "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated",
+          "thresholdValue": 0,
+          "direction": "EQUAL",
+          "severity": "CRITICAL"
         }
       ]
     },
     {
-      "functionalRole": "vLoadBalancer",
+      "eventName": "vLoadBalancer",
+      "controlLoopSchemaType" : "VNF",
       "policyScope": "resource=vLoadBalancer;type=configuration",
       "policyName": "configuration.dcae.microservice.tca.xml",
       "policyVersion": "v0.0.1",
       "thresholds": [
         {
           "closedLoopControlName": "CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A",
+          "closedLoopEventStatus" : "ONSET",
           "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn",
+          "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated",
           "thresholdValue": 500,
           "direction": "LESS_OR_EQUAL",
           "severity": "MAJOR"
         },
         {
           "closedLoopControlName": "CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B",
+          "closedLoopEventStatus" : "ONSET",
           "version": "1.0.2",
-          "fieldPath": "$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn",
+          "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated",
           "thresholdValue": 5000,
           "direction": "GREATER_OR_EQUAL",
           "severity": "CRITICAL"
diff --git a/dcae-analytics-test/src/main/resources/data/json/tca/ves_mock_messages.json b/dcae-analytics-test/src/main/resources/data/json/tca/ves_mock_messages.json
new file mode 100644 (file)
index 0000000..9d3b408
--- /dev/null
@@ -0,0 +1,353 @@
+[
+  {
+    "event": {
+      "measurementsForVfScalingFields": {
+        "vNicPerformanceArray": [
+          {
+            "receivedBroadcastPacketsAccumulated": 5000,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
+          }
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
+      },
+      "commonEventHeader": {
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
+        "priority": "Normal",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
+        "domain": "measurementsForVfScaling",
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
+      }
+    }
+  },
+  {
+    "event": {
+      "measurementsForVfScalingFields": {
+        "vNicPerformanceArray": [
+          {
+            "receivedBroadcastPacketsAccumulated": 4000,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
+          }
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
+      },
+      "commonEventHeader": {
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
+        "priority": "Normal",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
+        "domain": "measurementsForVfScaling",
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
+      }
+    }
+  },
+  {
+    "event": {
+      "measurementsForVfScalingFields": {
+        "vNicPerformanceArray": [
+          {
+            "receivedBroadcastPacketsAccumulated": 3999,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
+          }
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
+      },
+      "commonEventHeader": {
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
+        "priority": "Normal",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
+        "domain": "measurementsForVfScaling",
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
+      }
+    }
+  },
+  {
+    "event": {
+      "measurementsForVfScalingFields": {
+        "vNicPerformanceArray": [
+          {
+            "receivedBroadcastPacketsAccumulated": 19999,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
+          }
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
+      },
+      "commonEventHeader": {
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
+        "priority": "Normal",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
+        "domain": "measurementsForVfScaling",
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
+      }
+    }
+  },
+  {
+    "event": {
+      "measurementsForVfScalingFields": {
+        "vNicPerformanceArray": [
+          {
+            "receivedBroadcastPacketsAccumulated": 20000,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
+          }
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
+      },
+      "commonEventHeader": {
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
+        "priority": "Normal",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
+        "domain": "measurementsForVfScaling",
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
+      }
+    }
+  },
+  {
+    "event": {
+      "measurementsForVfScalingFields": {
+        "vNicPerformanceArray": [
+          {
+            "receivedBroadcastPacketsAccumulated": 20001,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
+          }
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
+      },
+      "commonEventHeader": {
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
+        "priority": "Normal",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
+        "domain": "measurementsForVfScaling",
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
+      }
+    }
+  },
+  {
+    "event": {
+      "measurementsForVfScalingFields": {
+        "vNicPerformanceArray": [
+          {
+            "receivedBroadcastPacketsAccumulated": 0,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
+          }
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
+      },
+      "commonEventHeader": {
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
+        "priority": "Normal",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
+        "domain": "measurementsForVfScaling",
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
+      }
+    }
+  },
+  {
+    "event": {
+      "measurementsForVfScalingFields": {
+        "vNicPerformanceArray": [
+          {
+            "receivedBroadcastPacketsAccumulated": 0,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
+          }
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
+      },
+      "commonEventHeader": {
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
+        "priority": "Normal",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
+        "domain": "measurementsForVfScaling",
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
+      }
+    }
+  },
+
+  {
+    "event": {
+      "measurementsForVfScalingFields": {
+        "vNicPerformanceArray": [
+          {
+            "receivedBroadcastPacketsAccumulated": 20001,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
+          }
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
+      },
+      "commonEventHeader": {
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
+        "priority": "Normal",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
+        "domain": "measurementsForVfScaling",
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
+      }
+    }
+  },
+  {
+    "event": {
+      "measurementsForVfScalingFields": {
+        "vNicPerformanceArray": [
+          {
+            "receivedBroadcastPacketsAccumulated": 0,
+            "receivedBroadcastPacketsDelta": 5,
+            "receivedDiscardedPacketsAccumulated": 12,
+            "receivedDiscardedPacketsDelta": 2,
+            "receivedErrorPacketsAccumulated": 2,
+            "receivedErrorPacketsDelta": 1,
+            "valuesAreSuspect": false,
+            "vNicIdentifier": "someVNicIdentifier"
+          }
+        ],
+        "measurementInterval": 600,
+        "measurementsForVfScalingVersion": 2.0
+      },
+      "commonEventHeader": {
+        "nfNamingCode": "MEAP",
+        "version": 3.0,
+        "sourceId": "network1",
+        "reportingEntityName": "1085190",
+        "startEpochMicrosec": 1493393250722,
+        "eventId": "UC22",
+        "lastEpochMicrosec": 1493393250722,
+        "priority": "Normal",
+        "sequence": 0,
+        "sourceName": "BRHMALM02001",
+        "domain": "measurementsForVfScaling",
+        "eventName": "Mfvs_eNodeB_RANKPI",
+        "reportingEntityId": ""
+      }
+    }
+  }
+]
diff --git a/dcae-analytics-test/src/main/resources/data/properties/tca_controller_policy.properties b/dcae-analytics-test/src/main/resources/data/properties/tca_controller_policy.properties
new file mode 100644 (file)
index 0000000..7f9ff20
--- /dev/null
@@ -0,0 +1,78 @@
+#
+# ===============================LICENSE_START======================================
+#  dcae-analytics
+# ================================================================================
+#    Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+# ================================================================================
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#   You may obtain a copy of the License at
+#
+#          http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+#  ============================LICENSE_END===========================================
+#
+
+
+subscriberContentType=application/json
+subscriberConsumerId=c12
+subscriberConsumerGroup=OpenDCAE-c12
+subscriberTimeoutMS=-1
+subscriberMessageLimit=-1
+subscriberPollingInterval=20000
+publisherContentType=application/json
+publisherMaxBatchSize=10
+publisherMaxRecoveryQueueSize=100000
+publisherPollingInterval=20000
+enableAlertCEFFormat=false
+
+domain=measurementsForVfScaling
+
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.policy.eventName=Mfvs_eNodeB_RANKPI
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.policyName=configuration.dcae.microservice.tca.xml
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.policyVersion=v0.0.1
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.policyScope=resource=Mfvs_eNodeB_RANKPI;type=configuration
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.closedLoopControlName=VNF
+
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.0.policy.closedLoopControlName=CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.0.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.0.policy.thresholdValue=4000
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.0.policy.direction=LESS_OR_EQUAL
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.0.policy.severity=MAJOR
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.0.policy.version=1.0.2
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.0.policy.closedLoopEventStatus=ONSET
+
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.1.policy.closedLoopControlName=L-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.1.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.1.policy.thresholdValue=20000
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.1.policy.direction=GREATER_OR_EQUAL
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.1.policy.severity=CRITICAL
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.1.policy.version=1.0.2
+configuration.metricsPerEventName.Mfvs_eNodeB_RANKPI.thresholds.1.policy.closedLoopEventStatus=ONSET
+
+configuration.metricsPerEventName.vLoadBalancer.policy.eventName=vLoadBalancer
+configuration.metricsPerEventName.vLoadBalancer.policyName=configuration.dcae.microservice.tca.xml
+configuration.metricsPerEventName.vLoadBalancer.policyVersion=v0.0.1
+configuration.metricsPerEventName.vLoadBalancer.policyScope=resource=vLoadBalancer;type=configuration
+configuration.metricsPerEventName.vLoadBalancer.closedLoopControlName=VNF
+
+configuration.metricsPerEventName.vLoadBalancer.thresholds.0.policy.closedLoopControlName=CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A
+configuration.metricsPerEventName.vLoadBalancer.thresholds.0.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated
+configuration.metricsPerEventName.vLoadBalancer.thresholds.0.policy.thresholdValue=500
+configuration.metricsPerEventName.vLoadBalancer.thresholds.0.policy.direction=LESS_OR_EQUAL
+configuration.metricsPerEventName.vLoadBalancer.thresholds.0.policy.severity=MAJOR
+configuration.metricsPerEventName.vLoadBalancer.thresholds.0.policy.version=1.0.2
+configuration.metricsPerEventName.vLoadBalancer.thresholds.0.policy.closedLoopEventStatus=ONSET
+
+configuration.metricsPerEventName.vLoadBalancer.thresholds.1.policy.closedLoopControlName=CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B
+configuration.metricsPerEventName.vLoadBalancer.thresholds.1.policy.fieldPath=$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated
+configuration.metricsPerEventName.vLoadBalancer.thresholds.1.policy.thresholdValue=5000
+configuration.metricsPerEventName.vLoadBalancer.thresholds.1.policy.direction=GREATER_OR_EQUAL
+configuration.metricsPerEventName.vLoadBalancer.thresholds.1.policy.severity=CRITICAL
+configuration.metricsPerEventName.vLoadBalancer.thresholds.1.policy.version=1.0.2
+configuration.metricsPerEventName.vLoadBalancer.thresholds.1.policy.closedLoopEventStatus=ONSET
diff --git a/dcae-analytics-test/src/main/resources/data/properties/tca_controller_policy_from_json.properties b/dcae-analytics-test/src/main/resources/data/properties/tca_controller_policy_from_json.properties
new file mode 100644 (file)
index 0000000..1a8034b
--- /dev/null
@@ -0,0 +1,37 @@
+# ============LICENSE_START=========================================================
+# dcae-analytics
+# ================================================================================
+#  Copyright Â© 2017 AT&T Intellectual Property. All rights reserved.
+# ================================================================================
+#  Licensed under the Apache License, Version 2.0 (the "License");
+#  you may not use this file except in compliance with the License.
+#  You may obtain a copy of the License at
+#
+#        http://www.apache.org/licenses/LICENSE-2.0
+#
+#  Unless required by applicable law or agreed to in writing, software
+#  distributed under the License is distributed on an "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#  See the License for the specific language governing permissions and
+#  limitations under the License.
+# ============LICENSE_END=========================================================
+#
+
+subscriberContentType=application/json
+subscriberConsumerId=c12
+subscriberConsumerGroup=OpenDCAE-c12
+subscriberTimeoutMS=-1
+subscriberMessageLimit=-1
+subscriberPollingInterval=20000
+
+publisherContentType=application/json
+publisherMaxBatchSize=10
+publisherMaxRecoveryQueueSize=100000
+publisherPollingInterval=20000
+enableAlertCEFFormat=false
+
+tca_policy={\"domain\":\"measurementsForVfScaling\",\"metricsPerEventName\":[{\"eventName\":\"Mfvs_eNodeB_RANKPI\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vFirewall;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":4000,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":20000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]},{\"eventName\":\"vLoadBalancer\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vLoadBalancer;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":500,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":5000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]}]}
+
+
+
+
index 29e8507..0c543c7 100644 (file)
@@ -3,7 +3,7 @@ unset http_proxy; unset https_proxy
 dcae_cli data_format add --update tcaInput.json
 dcae_cli data_format add --update tcaOutput.json
 dcae_cli component add --update tcaSpec.json
-dcae_cli component run --dmaap-file dmaap.json --force --additional-user USER cdap.tca.hi.lo.app
+dcae_cli component run --dmaap-file dmaap.json --force cdap.tca.hi.lo.app
 
 # publish
 dcae_cli data_format publish "TCA Alert Definition"
@@ -14,4 +14,4 @@ dcae_cli component undeploy cdap.tca.hi.lo.app
 # to inspect
 dcae_cli component show cdap.tca.hi.lo.app
 dcae_cli component list
-dcae_cli component list --deployed
\ No newline at end of file
+dcae_cli component list --deployed
index 8bb4dd5..76d111c 100644 (file)
@@ -1,18 +1,18 @@
 {
-       "tca_handle_in": {
-               "aaf_username": "USER",
-               "aaf_password": "PASSWORD",
-               "type": "message_router",
-               "dmaap_info": {
-                       "topic_url": "https://HOSTNAME:3905/events/com.att.dcae.dmaap.mtnje2.DcaeTestVESSub"
-               }
-       },
-       "tca_handle_out": {
-               "aaf_username": "USER",
-               "aaf_password": "PASSWORD",
-               "type": "message_router",
-               "dmaap_info": {
-                       "topic_url": "https://HOSTNAME:3905/events/com.att.dcae.dmaap.mtnje2.DcaeTestVESPub"
-               }
-       }
+  "tca_handle_in": {
+    "aaf_username": "USER",
+    "aaf_password": "PASSWORD",
+    "type": "message_router",
+    "dmaap_info": {
+      "topic_url": "https://HOSTNAME:3905/events/com.att.dcae.dmaap.mtnje2.DcaeTestVESSub"
+    }
+  },
+  "tca_handle_out": {
+    "aaf_username": "USER",
+    "aaf_password": "PASSWORD",
+    "type": "message_router",
+    "dmaap_info": {
+      "topic_url": "https://HOSTNAME:3905/events/com.att.dcae.dmaap.mtnje2.DcaeTestVESPub"
+    }
+  }
 }
index 0d5a81a..aea9fcf 100644 (file)
@@ -3,12 +3,12 @@
         "name": "Common Event Format Definition",
         "version": "25.0.0",
         "description": "Common Event Format Definition"
+
     },
     "dataformatversion": "1.0.0",
     "reference": {
         "name": "Common Event Format",
         "format": "JSON",
         "version": "25.0.0"
-   }
-}
\ No newline at end of file
+    }
+}
index 03c836f..3f2e16b 100644 (file)
@@ -1,63 +1,78 @@
 {
-    "self": {
-        "name": "TCA Alert Definition",
-        "version": "1.0.0",
-        "description": "The format of the output event from TCA"
-    },
-    "dataformatversion": "1.0.0",
-    "jsonschema": {
-        "name": "TCA Alert",
-        "version": "1.0.0",
-        "properties": {
-          "closedLoopControlame": {
-            "type": "string"
-          },
-          "version": {
-            "type": "string"
-          },
-          "requestID": {
-            "type": "string"
-          },
-          "closedLoopAlarmStart": {
-            "type": "string"
-          },
-          "closedLoopEventClient": {
-            "type": "string"
-          },
-          "target_type": {
-            "type": "string",
-            "enum": [ "VNF", "VM" ]
-          },
-          "target": {
-            "type": "string",
-            "enum": [ "generic-vnf.vnf-id", "vserver.vserver-name" ]
-          },
-          "AAI": {"anyOf": [
-            {"generic-vnf.vnf-id": {
+  "self": {
+    "name": "TCA Alert Definition",
+    "version": "1.0.0",
+    "description": "The format of the output event from TCA"
+  },
+  "dataformatversion": "1.0.0",
+  "jsonschema": {
+    "name": "TCA Alert",
+    "version": "1.0.0",
+    "properties": {
+      "closedLoopControlame": {
+        "type": "string"
+      },
+      "version": {
+        "type": "string"
+      },
+      "requestID": {
+        "type": "string"
+      },
+      "closedLoopAlarmStart": {
+        "type": "string"
+      },
+      "closedLoopEventClient": {
+        "type": "string"
+      },
+      "target_type": {
+        "type": "string",
+        "enum": [
+          "VNF",
+          "VM"
+        ]
+      },
+      "target": {
+        "type": "string",
+        "enum": [
+          "generic-vnf.vnf-id",
+          "vserver.vserver-name"
+        ]
+      },
+      "AAI": {
+        "anyOf": [
+          {
+            "generic-vnf.vnf-id": {
               "type": "string"
-            }}, 
-            {"vserver.vserver-name" : {
-              "type": "string"
-            }}]
-          },
-          "from": {
-            "type": "string",
-            "enum": [ "DCAE" ]
-          },
-          "policyScope": {
-            "type": "string"
+            }
           },
-          "policyName": {
-            "type": "string"
-          },
-          "policyVersion": {
-            "type": "string"
-          },
-          "closedLoopEventStatus": {
-            "type": "string",
-            "enum": [ "ONSET" ]
+          {
+            "vserver.vserver-name": {
+              "type": "string"
+            }
           }
-
-        }
-   }
-}
\ No newline at end of file
+        ]
+      },
+      "from": {
+        "type": "string",
+        "enum": [
+          "DCAE"
+        ]
+      },
+      "policyScope": {
+        "type": "string"
+      },
+      "policyName": {
+        "type": "string"
+      },
+      "policyVersion": {
+        "type": "string"
+      },
+      "closedLoopEventStatus": {
+        "type": "string",
+        "enum": [
+          "ONSET"
+        ]
+      }
+    }
+  }
+}
index 4b3a5c9..73276bb 100644 (file)
 {
-       "self": {
-               "name": "cdap.tca.hi.lo.app",
-               "version": "1.0.2",
-               "description": "cdap tca hi lo application",
-               "component_type": "cdap"
-       },
-       "streams": {
-               "subscribes": [{
-                               "config_key": "tca_handle_in",
-                               "format": "Common Event Format Definition",
-                               "version": "25.0.0",
-                               "type": "message router"
-                       }
-               ],
-               "publishes": [{
-                               "config_key": "tca_handle_out",
-                               "format": "TCA Alert Definition",
-                               "version": "1.0.0",
-                               "type": "message router"
-                       }
-               ]
-       },
-       "services": {
-               "calls": [],
-               "provides": []
-       },
-       "auxilary": {
-               "streamname": "TCASubscriberOutputStream",
-               "artifact_name": "dcae-analytics-tca",
-               "artifact_version": "1.1.0",
-               "programs": [{
-                               "program_type": "flows",
-                               "program_id": "TCAVESCollectorFlow"
-                       }, {
-                               "program_type": "workers",
-                               "program_id": "TCADMaaPMRSubscriberWorker"
-                       }, {
-                               "program_type": "workers",
-                               "program_id": "TCADMaaPMRPublisherWorker"
-                       }
-               ],
-               "namespace": "cdap_tca_hi_lo"
-       },
-       "artifacts": [{
-                       "uri": "${nexusproxy}/repository/dcae-dev-raw/jar_files/dcae-analytics-tca-1.1.0.jar",
-                       "type": "jar"
-               }
-       ],
-       "parameters": {
-               "app_config": [{
-                               "name": "appName",
-                               "description": "",
-                               "value": "dcae-tca"
-                       }, {
-                               "name": "appDescription",
-                               "description": "",
-                               "value": "DCAE Analytics Threshold Crossing Alert Application"
-                       }, {
-                               "name": "tcaSubscriberOutputStreamName",
-                               "description": "",
-                               "value": "TCASubscriberOutputStream"
-                       }, {
-                               "name": "thresholdCalculatorFlowletInstances",
-                               "description": "",
-                               "value": 2
-                       }, {
-                               "name": "tcaVESMessageStatusTableName",
-                               "description": "",
-                               "value": "TCAVESMessageStatusTable"
-                       }, {
-                               "name": "tcaVESMessageStatusTableTTLSeconds",
-                               "description": "",
-                               "value": 86400
-                       }, {
-                               "name": "tcaVESAlertsTableName",
-                               "description": "",
-                               "value": "TCAVESAlertsTable"
-                       }, {
-                               "name": "tcaVESAlertsTableTTLSeconds",
-                               "description": "",
-                               "value": 1728000
-                       }
-               ],
-               "app_preferences": [{
-                               "name": "subscriberContentType",
-                               "description": "",
-                               "value": "application/json"
-                       }, {
-                               "name": "subscriberConsumerId",
-                               "description": "",
-                               "value": "c12"
-                       }, {
-                               "name": "subscriberConsumerGroup",
-                               "description": "",
-                               "value": "OpenDCAE-c12"
-                       }, {
-                               "name": "subscriberTimeoutMS",
-                               "description": "",
-                               "value": -1
-                       }, {
-                               "name": "subscriberMessageLimit",
-                               "description": "",
-                               "value": -1
-                       }, {
-                               "name": "subscriberPollingInterval",
-                               "description": "",
-                               "value": 20000
-                       }, {
-                               "name": "publisherContentType",
-                               "description": "",
-                               "value": "application/json"
-                       }, {
-                               "name": "publisherMaxBatchSize",
-                               "description": "",
-                               "value": 10
-                       }, {
-                               "name": "publisherMaxRecoveryQueueSize",
-                               "description": "",
-                               "value": 100000
-                       }, {
-                               "name": "publisherPollingInterval",
-                               "description": "",
-                               "value": 20000
-                       }, {
-                               "name": "tca_policy",
-                               "description": "",
-                               "value":
-                               "'{\"domain\":\"measurementsForVfScaling\",\"metricsPerFunctionalRole\":[{\"functionalRole\":\"vFirewall\",\"policyScope\":\"resource=vFirewall;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn\",\"thresholdValue\":4000,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].bytesIn\",\"thresholdValue\":20000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]},{\"functionalRole\":\"vLoadBalancer\",\"policyScope\":\"resource=vLoadBalancer;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn\",\"thresholdValue\":500,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicUsageArray[*].packetsIn\",\"thresholdValue\":5000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]}]}'"
-                       }
-               ],
-               "program_preferences": [],
-
-               "policy_parameters": [{
-                               "name": "domain",
-                               "description": "",
-                               "type": "string",
-                               "value": "measurementsForVfScaling",
-                               "constraints":
-                               [{
-                                               "equal": "measurementsForVfScaling"
-                                       }
-                               ]
-                       }, {
-                               "name": "metricsPerFunctionalRole",
-                               "description": "",
-                               "type": "list",
-                               "entry_schema":
-                               [{
-                                               "name": "functionalRole",
-                                               "description": "Function of the event source e.g., eNodeB, MME, PCRF",
-                                               "type": "string",
-                                               "value": ""
-                                       }, {
-                                               "name": "policyScope",
-                                               "description": "Policy Scope associated with this event.For example-resource=vFirewall;type=configuration",
-                                               "type": "string",
-                                               "value": ""
-                                       }, {
-                                               "name": "policyName",
-                                               "description": "Policy name/ID for this event",
-                                               "type": "string",
-                                               "value": "configuration.dcae.microservice.tca.xml"
-                                       }, {
-                                               "name": "policyVersion",
-                                               "description": "Policy Version",
-                                               "type": "string",
-                                               "value": "v0.0.1"
-                                       }, {
-                                               "name": "thresholds",
-                                               "description": "",
-                                               "type": "list",
-                                               "entry_schema":
-                                               [{
-                                                               "name": "closedLoopControlName",
-                                                               "description": "A UNIQUE string identifying the Closed Loop ID this event is for.",
-                                                               "type": "string",
-                                                               "value": ""
-                                                       }, {
-                                                               "name": "version",
-                                                               "description": "Version for the closed loop message",
-                                                               "type": "string",
-                                                               "value": ""
-                                                       }, {
-                                                               "name": "fieldPath",
-                                                               "description": "",
-                                                               "type": "string",
-                                                               "value": ""
-                                                       }, {
-                                                               "name": "thresholdValue",
-                                                               "description": "",
-                                                               "type": "number",
-                                                               "value": ""
-                                                       }, {
-                                                               "name": "direction",
-                                                               "description": "",
-                                                               "type": "string",
-                                                               "value": "",
-                                                               "constraints":
-                                                               [{
-                                                                               "valid_value":
-                                                                               ["LESS", "LESS_OR_EQUAL", "GREATER", "GREATER_OR_EQUAL"]
-                                                                       }
-                                                               ]
-                                                       }, {
-                                                               "name": "severity",
-                                                               "description": "event severity or priority",
-                                                               "value": "",
-                                                               "type": "string",
-                                                               "constraints":
-                                                               [{
-                                                                               "valid_value":
-                                                                               ["CRITICAL", "MAJOR", "MINOR", "WARNING", "NORMAL"]
-                                                                       }
-                                                               ]
-                                                       }
-                                               ]
-                                       }
-                               ]
-                       }
-               ]
-       }
+  "self": {
+    "name": "cdap.tca.hi.lo.app",
+    "version": "1.0.3",
+    "description": "cdap tca hi lo application",
+    "component_type": "cdap"
+  },
+  "streams": {
+    "subscribes": [
+      {
+        "config_key": "tca_handle_in",
+        "format": "Common Event Format Definition",
+        "version": "25.0.0",
+        "type": "message router"
+      }
+    ],
+    "publishes": [
+      {
+        "config_key": "tca_handle_out",
+        "format": "TCA Alert Definition",
+        "version": "1.0.0",
+        "type": "message router"
+      }
+    ]
+  },
+  "services": {
+    "calls": [],
+    "provides": []
+  },
+  "auxilary": {
+    "streamname": "TCASubscriberOutputStream",
+    "artifact_name": "dcae-analytics-cdap-tca",
+    "artifact_version": "2.0.0",
+    "namespace": "cdap_tca_hi_lo",
+    "programs": [
+      {
+        "program_type": "flows",
+        "program_id": "TCAVESCollectorFlow"
+      },
+      {
+        "program_type": "workers",
+        "program_id": "TCADMaaPMRSubscriberWorker"
+      },
+      {
+        "program_type": "workers",
+        "program_id": "TCADMaaPMRPublisherWorker"
+      }
+    ]
+  },
+  "artifacts": [
+    {
+      "uri": "${nexusproxy}/repository/dcae-dev-raw/jar_files/dcae-analytics-tca-2.0.0.jar",
+      "type": "jar"
+    }
+  ],
+  "parameters": {
+    "app_config": [
+      {
+        "name": "appName",
+        "description": "CDAP Application Name for TCA App",
+        "value": "dcae-tca"
+      },
+      {
+        "name": "appDescription",
+        "description": "CDAP Application Description for TCA App",
+        "value": "DCAE Analytics Threshold Crossing Alert Application"
+      },
+      {
+        "name": "tcaSubscriberOutputStreamName",
+        "description": "Name of Stream where TCA DMaaP Subscriber pushes incoming messages to TCA App for processing",
+        "value": "TCASubscriberOutputStream"
+      },
+      {
+        "name": "thresholdCalculatorFlowletInstances",
+        "description": "Number of instances for Threshold Calculator",
+        "value": 2
+      },
+      {
+        "name": "tcaVESMessageStatusTableName",
+        "description": "TCA Message Status Table Name where status of each TCA message is stored",
+        "value": "TCAVESMessageStatusTable"
+      },
+      {
+        "name": "tcaVESMessageStatusTableTTLSeconds",
+        "description": "Time to Live for entries in Message Status Table",
+        "value": 86400
+      },
+      {
+        "name": "tcaVESAlertsTableName",
+        "description": "Table where TCA generated alerts are temporarily stored before published to DMaaP MR topic",
+        "value": "TCAVESAlertsTable"
+      },
+      {
+        "name": "tcaVESAlertsTableTTLSeconds",
+        "description": "Time to Live for entries in Alerts Table",
+        "value": 1728000
+      },
+      {
+        "name" : "tcaAlertsAbatementTableName",
+        "description" : "Table where information to determine sending of Abatement Alerts is stored",
+        "value" : "TCAAlertsAbatementTable"
+      },
+      {
+        "name" : "tcaAlertsAbatementTableTTLSeconds",
+        "description": "Time to Live for entries in  Alerts Abatement Table",
+        "value" : 1728000
+      }
+    ],
+    "app_preferences": [
+      {
+        "name": "subscriberContentType",
+        "description": "Subscriber Content Type",
+        "value": "application/json"
+      },
+      {
+        "name": "subscriberConsumerId",
+        "description": "Subscriber Consumer Id",
+        "value": "c12"
+      },
+      {
+        "name": "subscriberConsumerGroup",
+        "description": "Subscriber Group Id",
+        "value": "OpenDCAE-c12"
+      },
+      {
+        "name": "subscriberTimeoutMS",
+        "description": "Subscriber timeout in milliseconds",
+        "value": -1
+      },
+      {
+        "name": "subscriberMessageLimit",
+        "description": "Subscriber max message fetch limit",
+        "value": -1
+      },
+      {
+        "name": "subscriberPollingInterval",
+        "description": "Subscriber Polling Interval in milliseconds",
+        "value": 30000
+      },
+      {
+        "name": "publisherContentType",
+        "description": "Publisher Content Type",
+        "value": "application/json"
+      },
+      {
+        "name": "publisherMaxBatchSize",
+        "description": "Publisher max batch size",
+        "value": 1
+      },
+      {
+        "name": "publisherMaxRecoveryQueueSize",
+        "description": "Publisher Max Recovery Queue Size",
+        "value": 100000
+      },
+      {
+        "name": "publisherPollingInterval",
+        "description": "Publisher Polling Interval in milliseconds",
+        "value": 20000
+      },
+      {
+        "name": "enableAlertCEFFormat",
+        "description": "",
+        "value": "false"
+      },
+      {
+        "name": "tca_policy",
+        "description": "TCA Policy JSON",
+        "value": "{\"domain\":\"measurementsForVfScaling\",\"metricsPerEventName\":[{\"eventName\":\"Mfvs_eNodeB_RANKPI\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vFirewall;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":4000,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":20000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"closedLoopEventStatus\":\"ABATED\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":0,\"direction\":\"EQUAL\",\"severity\":\"CRITICAL\"}]},{\"eventName\":\"vLoadBalancer\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vLoadBalancer;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":500,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":5000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]}]}"
+      }
+    ],
+    "program_preferences": [],
+    "policy_schema": [
+      {
+        "name": "domain",
+        "description": "Domain name to which TCA needs to be applied",
+        "type": "string",
+        "value": "measurementsForVfScaling",
+        "constraints": [
+          {
+            "equal": "measurementsForVfScaling"
+          }
+        ]
+      },
+      {
+        "name": "metricsPerEventName",
+        "description": "Contains eventName and threshold details that need to be applied to given eventName",
+        "type": "list",
+        "entry_schema": [
+          {
+            "name": "eventName",
+            "description": "Event name to which thresholds need to be applied",
+            "type": "string",
+            "value": ""
+          },
+          {
+            "name": "controlLoopSchemaType",
+            "description": "Specifies Control Loop Schema Type for the event Name e.g. VNF, VM",
+            "type": "string",
+            "value": "",
+            "constraints": [
+              {
+                "valid_value": [
+                  "VM",
+                  "VNF"
+                ]
+              }
+            ]
+          },
+          {
+            "name": "policyScope",
+            "description": "TCA Policy Scope",
+            "type": "string",
+            "value": ""
+          },
+          {
+            "name": "policyName",
+            "description": "TCA Policy Scope Name",
+            "type": "string",
+            "value": ""
+          },
+          {
+            "name": "policyVersion",
+            "description": "TCA Policy Scope Version",
+            "type": "string",
+            "value": ""
+          },
+          {
+            "name": "thresholds",
+            "description": "Thresholds associated with eventName",
+            "type": "list",
+            "entry_schema": [
+              {
+                "name": "closedLoopControlName",
+                "description": "Closed Loop Control Name associated with the threshold",
+                "type": "string",
+                "value": ""
+              },
+              {
+                "name": "version",
+                "description": "Version number associated with the threshold",
+                "type": "string",
+                "value": ""
+              },
+              {
+                "name": "fieldPath",
+                "description": "Json field Path as per CEF message which needs to be analyzed for TCA",
+                "type": "string",
+                "value": ""
+              },
+              {
+                "name": "thresholdValue",
+                "description": "Threshold value for the field Path inside CEF message",
+                "type": "number",
+                "value": ""
+              },
+              {
+                "name": "direction",
+                "description": "Direction of the threshold",
+                "type": "string",
+                "value": "",
+                "constraints": [
+                  {
+                    "valid_value": [
+                      "LESS",
+                      "LESS_OR_EQUAL",
+                      "GREATER",
+                      "GREATER_OR_EQUAL"
+                    ]
+                  }
+                ]
+              },
+              {
+                "name": "closedLoopEventStatus",
+                "description": "Closed Loop Event Status of the threshold",
+                "type": "string",
+                "value": "",
+                "constraints": [
+                  {
+                    "valid_value": [
+                      "ONSET",
+                      "ABATED"
+                    ]
+                  }
+                ]
+              },
+              {
+                "name": "severity",
+                "description": "Threshold Event Severity",
+                "value": "",
+                "type": "string",
+                "constraints": [
+                  {
+                    "valid_value": [
+                      "CRITICAL",
+                      "MAJOR",
+                      "MINOR",
+                      "WARNING",
+                      "NORMAL"
+                    ]
+                  }
+                ]
+              }
+            ]
+          }
+        ]
+      }
+    ]
+  }
 }
+
diff --git a/pom.xml b/pom.xml
index 21e4090..9a60d65 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -96,6 +96,7 @@
         <findbugs.plugin.version>3.0.2</findbugs.plugin.version>
         <pmd.plugin.version>3.5</pmd.plugin.version>
         <surefire.report.plugin.version>2.19.1</surefire.report.plugin.version>
+        <checkstyle.plugin.version>2.16</checkstyle.plugin.version>
         <javadoc.plugin.version>2.10.4</javadoc.plugin.version>
         <source.plugin.version>2.4</source.plugin.version>
         <jar.plugin.version>2.4</jar.plugin.version>
         <skip.integration.tests>true</skip.integration.tests>
         <pmd.violation.buildfail>true</pmd.violation.buildfail>
         <findbugs.failOnError>true</findbugs.failOnError>
+        <checkstyle.failOnViolation>true</checkstyle.failOnViolation>
+        <checkstyle.file.name>checkstyle.xml</checkstyle.file.name>
+        <checkstyle.suppression.file.name>suppressions.xml</checkstyle.suppression.file.name>       
         <dependency.locations.enabled>false</dependency.locations.enabled>
         <nexusproxy>https://nexus.onap.org</nexusproxy>
                <snapshots.path>content/repositories/snapshots/</snapshots.path>
                     </executions>
                 </plugin>
 
+                <!-- CHECKSTYLE PLUGIN -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-checkstyle-plugin</artifactId>
+                    <version>${checkstyle.plugin.version}</version>
+                    <executions>
+                        <execution>
+                            <id>validate</id>
+                            <phase>validate</phase>
+                            <configuration>
+                                <configLocation>${checkstyle.file.name}</configLocation>
+                                <suppressionsLocation>${checkstyle.suppression.file.name}</suppressionsLocation>
+                                <encoding>UTF-8</encoding>
+                                <consoleOutput>true</consoleOutput>
+                                <!-- BUILD FAIL ON CHECKSTYLE VIOLATION -->
+                                <failOnViolation>${checkstyle.failOnViolation}</failOnViolation>
+                                <includeTestSourceDirectory>true</includeTestSourceDirectory>
+                                <outputFile>${project.reporting.outputDirectory}/checkstyle</outputFile>
+                            </configuration>
+                            <goals>
+                                <goal>check</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                    <dependencies>
+                        <dependency>
+                            <groupId>com.puppycrawl.tools</groupId>
+                            <artifactId>checkstyle</artifactId>
+                            <version>6.19</version>
+                        </dependency>
+                    </dependencies>
+                </plugin>
+
                 <!-- ECLIPSE PLUGIN -->
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
 
 
                 <!-- JGIT FLOW PLUGIN -->
-
                 <plugin>
                     <groupId>external.atlassian.jgitflow</groupId>
                     <artifactId>jgitflow-maven-plugin</artifactId>
                 <artifactId>findbugs-maven-plugin</artifactId>
             </plugin>
 
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <inherited>false</inherited>
+            </plugin>
+
             <plugin>
                 <groupId>external.atlassian.jgitflow</groupId>
                 <artifactId>jgitflow-maven-plugin</artifactId>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-site-plugin</artifactId>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <configuration>
+                    <configLocation>${checkstyle.file.name}</configLocation>
+                    <suppressionsLocation>${checkstyle.suppression.file.name}</suppressionsLocation>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jxr-plugin</artifactId>