diff options
| author | Olivier Dugeon <olivier.dugeon@orange.com> | 2022-02-02 16:56:30 +0100 | 
|---|---|---|
| committer | Olivier Dugeon <olivier.dugeon@orange.com> | 2022-02-02 17:04:12 +0100 | 
| commit | 62f79ac1296594d43e4350f9d03a308ac2b33fa1 (patch) | |
| tree | 034fe2e3d48b8bb92b680695933756182c6aec58 /sharpd | |
| parent | 621fb5f341aac84275ef5cd24d115ddb6c867064 (diff) | |
tests: Add CSPF topotest
Add new topotest for the Constraints ShortestPath First (CSPF) algorithm.
This topotest uses IS-IS-TE as base network to populate a Traffic Engineering
Database (TED) and sharpd to call cspf algorithms on this IS-IS-TE topology.
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'sharpd')
| -rw-r--r-- | sharpd/sharp_zebra.c | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/sharpd/sharp_zebra.c b/sharpd/sharp_zebra.c index 8c9f0c2784..313febd9bb 100644 --- a/sharpd/sharp_zebra.c +++ b/sharpd/sharp_zebra.c @@ -799,10 +799,12 @@ static int sharp_opaque_handler(ZAPI_CALLBACK_ARGS)  	if (info.type == LINK_STATE_UPDATE) {  		lse = ls_stream2ted(sg.ted, s, false); -		if (lse) +		if (lse) {  			zlog_debug(" |- Got %s %s from Link State Database",  				   status2txt[lse->status],  				   type2txt[lse->type]); +			lse->status = SYNC; +		}  		else  			zlog_debug(  				"%s: Error to convert Stream into Link State",  | 
