summaryrefslogtreecommitdiff
path: root/pathd/path_pcep_pcc.h
diff options
context:
space:
mode:
authorJavier Garcia <javier.garcia@voltanet.io>2021-01-22 10:38:12 +0100
committerJavier Garcia <javier.garcia@voltanet.io>2021-03-05 12:12:47 +0100
commit749714731ee9a59ae39be77e7db3915ce3ad0bd8 (patch)
tree2a50fcd5ce5c2f01ac381ba769c3d8f145768f9d /pathd/path_pcep_pcc.h
parent40c1b0e6b8ad0a76f159885cb1a866f645b917fd (diff)
pceplib: Integrate pcelib into frr
Signed-off-by: Brady Johnson <brady@voltanet.io> Co-authored-by: Javier Garcia <javier.garcia@voltanet.io> Signed-off-by: Javier Garcia <javier.garcia@voltanet.io>
Diffstat (limited to 'pathd/path_pcep_pcc.h')
-rw-r--r--pathd/path_pcep_pcc.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/pathd/path_pcep_pcc.h b/pathd/path_pcep_pcc.h
index a466d92d50..c07a6ae541 100644
--- a/pathd/path_pcep_pcc.h
+++ b/pathd/path_pcep_pcc.h
@@ -113,13 +113,18 @@ void pcep_pcc_pathd_event_handler(struct ctrl_state *ctrl_state,
struct path *path);
void pcep_pcc_timeout_handler(struct ctrl_state *ctrl_state,
struct pcc_state *pcc_state,
- enum pcep_ctrl_timer_type type, void *param);
+ enum pcep_ctrl_timeout_type type, void *param);
void pcep_pcc_sync_path(struct ctrl_state *ctrl_state,
struct pcc_state *pcc_state, struct path *path);
void pcep_pcc_sync_done(struct ctrl_state *ctrl_state,
struct pcc_state *pcc_state);
+/* Send a report explicitly. When doing so the PCC may send multiple reports
+ * due to expectations from vendors for the first report to be with a DOWN
+ * status. The parameter is_stable is used for that purpose as a hint wheter
+ * to expect an update for the report */
void pcep_pcc_send_report(struct ctrl_state *ctrl_state,
- struct pcc_state *pcc_state, struct path *path);
+ struct pcc_state *pcc_state, struct path *path,
+ bool is_stable);
int pcep_pcc_multi_pce_sync_path(struct ctrl_state *ctrl_state, int pcc_id,
struct pcc_state **pcc_state_list);
int pcep_pcc_multi_pce_remove_pcc(struct ctrl_state *ctrl_state,