feature: TSG-21853 Refactoring TFE Kafka infrastructure
This commit is contained in:
@@ -11,15 +11,6 @@ struct app_id_dict
|
||||
|
||||
void app_id_dict_free(struct app_id_dict *app_dict);
|
||||
|
||||
enum RESOURCE_TYPE
|
||||
{
|
||||
STATIC_MAAT,
|
||||
KAFKA_LOGGER,
|
||||
DEVICE_ID,
|
||||
EFFECTIVE_DEVICE_TAG,
|
||||
DYNAMIC_FIELDSTAT,
|
||||
};
|
||||
|
||||
enum scan_common_table
|
||||
{
|
||||
PXY_CTRL_SOURCE_IP,
|
||||
@@ -46,6 +37,15 @@ enum scan_common_table
|
||||
__SCAN_COMMON_TABLE_MAX
|
||||
};
|
||||
|
||||
int tfe_bussiness_resouce_init();
|
||||
void *tfe_bussiness_resouce_get(enum RESOURCE_TYPE type);
|
||||
int tfe_bussiness_tableid_get(enum scan_common_table type);
|
||||
int tfe_env_init();
|
||||
int tfe_bussiness_tableid_get(enum scan_common_table type);
|
||||
|
||||
int tfe_get_vsys_id();
|
||||
const char *tfe_get_device_id();
|
||||
const char *tfe_get_data_center();
|
||||
const char *tfe_get_device_group();
|
||||
const char *tfe_get_device_tag();
|
||||
const char *tfe_get_sled_ip();
|
||||
struct kafka *tfe_get_kafka_handle();
|
||||
struct maat *tfe_get_maat_handle();
|
||||
struct tfe_fieldstat_metric_t *tfe_get_fieldstat_handle();
|
||||
Reference in New Issue
Block a user