TSG-14909 tsg-service-chaining-engine的service_function_status metrics适配vsys_id的变更
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user