diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-05-14 20:15:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-14 20:15:54 +0200 |
commit | 984570360393a5f4c1d9c2785a7e90a818db8019 (patch) | |
tree | a20890853c79e41e9a0a7a9ccca910db25dd6205 /bgpd | |
parent | Merge pull request #11149 from donaldsharp/update_group_debugging (diff) | |
parent | bgpd: Fix no form of rpki commands to take values (diff) | |
download | frr-984570360393a5f4c1d9c2785a7e90a818db8019.tar.xz frr-984570360393a5f4c1d9c2785a7e90a818db8019.zip |
Merge pull request #11135 from donaldsharp/bgp_rpki_no_forms
bgpd: Fix no form of rpki commands to take values
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgp_rpki.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/bgpd/bgp_rpki.c b/bgpd/bgp_rpki.c index 0612e078c..97e94a97c 100644 --- a/bgpd/bgp_rpki.c +++ b/bgpd/bgp_rpki.c @@ -1036,10 +1036,11 @@ DEFPY (rpki_polling_period, DEFUN (no_rpki_polling_period, no_rpki_polling_period_cmd, - "no rpki polling_period", + "no rpki polling_period [(1-86400)]", NO_STR RPKI_OUTPUT_STRING - "Set polling period back to default\n") + "Set polling period back to default\n" + "Polling period value\n") { polling_period = POLLING_PERIOD_DEFAULT; return CMD_SUCCESS; @@ -1063,10 +1064,11 @@ DEFPY (rpki_expire_interval, DEFUN (no_rpki_expire_interval, no_rpki_expire_interval_cmd, - "no rpki expire_interval", + "no rpki expire_interval [(600-172800)]", NO_STR RPKI_OUTPUT_STRING - "Set expire interval back to default\n") + "Set expire interval back to default\n" + "Expire interval value\n") { expire_interval = polling_period * 2; return CMD_SUCCESS; @@ -1085,10 +1087,11 @@ DEFPY (rpki_retry_interval, DEFUN (no_rpki_retry_interval, no_rpki_retry_interval_cmd, - "no rpki retry_interval", + "no rpki retry_interval [(1-7200)]", NO_STR RPKI_OUTPUT_STRING - "Set retry interval back to default\n") + "Set retry interval back to default\n" + "retry interval value\n") { retry_interval = RETRY_INTERVAL_DEFAULT; return CMD_SUCCESS; |