diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2017-12-08 14:32:38 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-02-27 11:11:24 +0100 |
commit | ff705b15dd5e191e727662412a8433d718887a08 (patch) | |
tree | c24cded67abdfb4af873cc13303c2274d13feb53 /zebra/zebra_ns.h | |
parent | zebra: add the registration mechanism for netns (diff) | |
download | frr-ff705b15dd5e191e727662412a8433d718887a08.tar.xz frr-ff705b15dd5e191e727662412a8433d718887a08.zip |
zebra: handle the zns init/destroy
The zebra netnamespace contexts are initialised, based on the callback
coming from the NS. Reversely, the list of ns is parsed to disable the
ns contexts.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/zebra_ns.h')
-rw-r--r-- | zebra/zebra_ns.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_ns.h b/zebra/zebra_ns.h index aaf5abaa2..3a998a49f 100644 --- a/zebra/zebra_ns.h +++ b/zebra/zebra_ns.h @@ -78,6 +78,7 @@ struct zebra_ns *zebra_ns_lookup(ns_id_t ns_id); int zebra_ns_init(void); int zebra_ns_enable(ns_id_t ns_id, void **info); +int zebra_ns_disabled(struct ns *ns); int zebra_ns_disable(ns_id_t ns_id, void **info); extern struct route_table *zebra_ns_find_table(struct zebra_ns *zns, |