]> git.proxmox.com Git - mirror_frr.git/blame - isisd/fabricd.h
zebra, lib: fix the ZEBRA_INTERFACE_VRF_UPDATE zapi message
[mirror_frr.git] / isisd / fabricd.h
CommitLineData
8e6fb83b
CF
1/*
2 * IS-IS Rout(e)ing protocol - OpenFabric extensions
3 *
4 * Copyright (C) 2018 Christian Franke
5 *
6 * This file is part of FreeRangeRouting (FRR)
7 *
8 * FRR is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2, or (at your option) any
11 * later version.
12 *
13 * FRR is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License along
19 * with this program; see the file COPYING; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22#ifndef FABRICD_H
23#define FABRICD_H
24
e923107c
CF
25#define FABRICD_DEFAULT_CSNP_DELAY 500
26
8e6fb83b
CF
27struct fabricd;
28
29struct isis_circuit;
30struct isis_area;
b30e837b 31struct isis_spftree;
9d224819 32struct isis_lsp;
92ed0cde 33struct vty;
8e6fb83b 34
b30e837b
CF
35struct fabricd *fabricd_new(struct isis_area *area);
36void fabricd_finish(struct fabricd *f);
8e6fb83b 37void fabricd_initial_sync_hello(struct isis_circuit *circuit);
df0ba689 38bool fabricd_initial_sync_is_complete(struct isis_area *area);
8e6fb83b
CF
39bool fabricd_initial_sync_is_in_progress(struct isis_area *area);
40struct isis_circuit *fabricd_initial_sync_circuit(struct isis_area *area);
41void fabricd_initial_sync_finish(struct isis_area *area);
b30e837b
CF
42void fabricd_run_spf(struct isis_area *area);
43struct isis_spftree *fabricd_spftree(struct isis_area *area);
92ed0cde
CF
44void fabricd_configure_tier(struct isis_area *area, uint8_t tier);
45uint8_t fabricd_tier(struct isis_area *area);
46int fabricd_write_settings(struct isis_area *area, struct vty *vty);
1eb7c3a1 47void fabricd_lsp_flood(struct isis_lsp *lsp, struct isis_circuit *circuit);
e923107c 48void fabricd_trigger_csnp(struct isis_area *area, bool circuit_scoped);
41415888 49struct list *fabricd_ip_addrs(struct isis_circuit *circuit);
1eb7c3a1 50void fabricd_lsp_free(struct isis_lsp *lsp);
a6b60da9
CF
51void fabricd_update_lsp_no_flood(struct isis_lsp *lsp,
52 struct isis_circuit *circuit);
e923107c
CF
53void fabricd_configure_triggered_csnp(struct isis_area *area, int delay,
54 bool always_send_csnp);
2cd971af 55void fabricd_init(void);
8e6fb83b 56#endif