diff options
| author | Christian Franke <chris@opensourcerouting.org> | 2018-04-02 18:39:46 +0200 |
|---|---|---|
| committer | Christian Franke <chris@opensourcerouting.org> | 2018-09-05 11:38:13 +0200 |
| commit | b30e837b3f544836503ee479f02d749b7d3cf9e4 (patch) | |
| tree | 11596aec762f74fcbdb9d82d96ff5efc627ea785 /isisd/isis_spf.h | |
| parent | 8e6fb83b4bfccdd95e652384b60603da6d1f49bf (diff) | |
fabricd: run a hop-by-hop spf
OpenFabric uses an spf with the metric for all links set to one,
both for flooding optimization and for fabric locality detection.
So extend isisd's spf code to allow running it with such a metric
and have it run whenever normal spf runs.
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_spf.h')
| -rw-r--r-- | isisd/isis_spf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/isisd/isis_spf.h b/isisd/isis_spf.h index 9a73ca8783..0532bd5465 100644 --- a/isisd/isis_spf.h +++ b/isisd/isis_spf.h @@ -37,4 +37,8 @@ void spftree_area_adj_del(struct isis_area *area, struct isis_adjacency *adj); int isis_spf_schedule(struct isis_area *area, int level); void isis_spf_cmds_init(void); void isis_spf_print(struct isis_spftree *spftree, struct vty *vty); +struct isis_spftree *isis_run_hopcount_spf(struct isis_area *area, + uint8_t *sysid, + struct isis_spftree *spftree); + #endif /* _ZEBRA_ISIS_SPF_H */ |
