diff options
| author | Mark Stapp <mjs@voltanet.io> | 2019-09-25 14:05:50 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2019-09-25 14:05:50 -0400 |
| commit | f26730e17eab452c5e111d237be6536cf89a49fb (patch) | |
| tree | 14fb13973df007c932db6aa7110337877e6b9927 /zebra/zebra_dplane.c | |
| parent | 16296beaa5ff0b51e1b9e88848206dcea5cd2a32 (diff) | |
zebra: handle config write for dataplane values
Add the (single) dataplane config value to the output of
config write, 'show run' - missed this during dplane development.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_dplane.c')
| -rw-r--r-- | zebra/zebra_dplane.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index 12f8a1ae3d..bf343e06e5 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -2511,6 +2511,18 @@ int dplane_show_provs_helper(struct vty *vty, bool detailed) } /* + * Helper for 'show run' etc. + */ +int dplane_config_write_helper(struct vty *vty) +{ + if (zdplane_info.dg_max_queued_updates != DPLANE_DEFAULT_MAX_QUEUED) + vty_out(vty, "zebra dplane limit %u\n", + zdplane_info.dg_max_queued_updates); + + return 0; +} + +/* * Provider registration */ int dplane_provider_register(const char *name, |
