diff options
| author | Javier Garcia <javier.garcia@voltanet.io> | 2021-04-22 15:52:27 +0200 |
|---|---|---|
| committer | Javier Garcia <javier.garcia@voltanet.io> | 2021-05-10 12:36:46 +0200 |
| commit | 75c69d151c8e72e42dfb4b1966428e9cf79cb7f4 (patch) | |
| tree | 240ecdf1e026387c787fa33fe8a716750525dd1a /pathd/path_main.c | |
| parent | 34723b2fad066efb410ce121f50c7372c76e61bb (diff) | |
pathd. TED support . Client to link State - [part 1/4]
- pathd will act as a client to for the configured igp.
- pathd must be configured to activate and receive data from igp.
!pathd config snippet
segment-routing
traffic-eng
mpls-te on
mpls-te import ospfv2
Signed-off-by: Javier Garcia <javier.garcia@voltanet.io>
Diffstat (limited to 'pathd/path_main.c')
| -rw-r--r-- | pathd/path_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pathd/path_main.c b/pathd/path_main.c index f54ab736c4..8d88475206 100644 --- a/pathd/path_main.c +++ b/pathd/path_main.c @@ -33,6 +33,7 @@ #include "path_nb.h" #include "path_zebra.h" #include "path_errors.h" +#include "path_ted.h" char backup_config_file[256]; @@ -70,6 +71,8 @@ static void sighup(void) static void sigint(void) { zlog_notice("Terminating on signal"); + zlog_notice("Unregisterfrom opaque,etc "); + pathd_shutdown(); exit(0); } @@ -146,6 +149,7 @@ int main(int argc, char **argv, char **envp) path_error_init(); path_zebra_init(master); path_cli_init(); + path_ted_init(master); frr_config_fork(); frr_run(master); |
