TSG-14909 tsg-service-chaining-engine的service_function_status metrics适配vsys_id的变更

This commit is contained in:
luwenpeng
2023-04-26 15:04:04 +08:00
parent 989a118969
commit d1b04d50b8
18 changed files with 64 additions and 53 deletions

View File

@@ -13,7 +13,7 @@ void health_check_session_init(const char *profile);
// return 0 : success
// return -1 : key exist
// struct health_check *policy : need deep copy
uint64_t health_check_session_add(int profile_id, const struct health_check *policy);
uint64_t health_check_session_add(int profile_id, int vsys_id, const struct health_check *policy);
// return 0 : success
// return -1 : key not exist

View File

@@ -88,6 +88,7 @@ struct selected_sf
enum forward_type sff_forward_type;
int sf_need_skip;
int sf_vsys_id;
int sf_profile_id;
enum session_action sf_action;
enum action_reason sf_action_reason;

View File

@@ -14,7 +14,7 @@ void sf_status_destory(struct sf_status *handle);
void sf_status_reset(struct sf_status *handle);
void sf_status_delete(struct sf_status *handle, int sf_profile_id);
void sf_status_update(struct sf_status *handle, int sf_profile_id, int sf_status, int sf_latency);
void sf_status_update(struct sf_status *handle, int sf_vsys_id, int sf_profile_id, int sf_status, int sf_latency);
void sf_status_send(struct sf_status *handle);
int sf_status_get_interval(struct sf_status *handle);