feature: TSG-21852 service_chaining_rule_hits support fieldstat4
This commit is contained in:
@@ -19,7 +19,7 @@ add_library(temp_platform
|
||||
${CMAKE_SOURCE_DIR}/platform/src/sf_status.cpp)
|
||||
target_include_directories(temp_platform PUBLIC ${CMAKE_SOURCE_DIR}/common/include)
|
||||
target_include_directories(temp_platform PUBLIC ${CMAKE_SOURCE_DIR}/platform/include)
|
||||
target_link_libraries(temp_platform PUBLIC common pthread cjson maatframe MESA_prof_load MESA_field_stat gmock_marsio)
|
||||
target_link_libraries(temp_platform PUBLIC common pthread cjson maatframe MESA_prof_load MESA_field_stat fieldstat4 gmock_marsio)
|
||||
|
||||
###############################################################################
|
||||
# gtest_ctrl_pkt_opening
|
||||
|
||||
@@ -95,7 +95,6 @@ inline struct gtest_frame *gtest_frame_new(const char *json_file, const char *de
|
||||
thread_ctx->tid = 0;
|
||||
thread_ctx->thread_index = 0;
|
||||
thread_ctx->session_table = session_table_create();
|
||||
thread_ctx->sf_metrics = sf_metrics_create(profile);
|
||||
thread_ctx->ref_io = sce_ctx->io;
|
||||
thread_ctx->ref_global_metrics = sce_ctx->metrics;
|
||||
thread_ctx->ref_enforcer = sce_ctx->enforcer;
|
||||
@@ -119,7 +118,6 @@ inline void gtest_frame_free(struct gtest_frame *instance)
|
||||
struct thread_ctx *thread_ctx = &sce_ctx->work_threads[0];
|
||||
|
||||
session_table_destory(thread_ctx->session_table);
|
||||
sf_metrics_destory(thread_ctx->sf_metrics);
|
||||
|
||||
sce_ctx_destory(sce_ctx);
|
||||
LOG_CLOSE();
|
||||
|
||||
@@ -75,6 +75,11 @@ enable=0
|
||||
interval_s=1
|
||||
telegraf_bind_address=127.0.0.1
|
||||
telegraf_listen_port=8300
|
||||
output_fs_interval_ms=500
|
||||
output_kafka_interval_ms=1000
|
||||
data_center=center-xxg-tsgx
|
||||
device_group=group-xxg-tsgx
|
||||
device_id=9800165603247024
|
||||
|
||||
[bfdd]
|
||||
enable=0
|
||||
|
||||
Reference in New Issue
Block a user