summaryrefslogtreecommitdiffstats
path: root/isisd
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-12-26 16:33:03 +0100
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-12-26 16:42:14 +0100
commita696547d6c78d4140649f96d6bef9a335fe5dfa5 (patch)
tree3863083934073d38cabf111dd94d2cec7ad399ac /isisd
parentMerge pull request #17647 from LabNConsulting/fix-oper-test (diff)
downloadfrr-a696547d6c78d4140649f96d6bef9a335fe5dfa5.tar.xz
frr-a696547d6c78d4140649f96d6bef9a335fe5dfa5.zip
isisd: Allow full `no` form for `domain-password` and `area-password`
Before: ``` LR1.wue3(config)# router isis VyOS LR1.wue3(config-router)# no area-password clear % Unknown command: no area-password clear LR1.wue3(config-router)# no area-password clear foo % Unknown command: no area-password clear foo LR1.wue3(config-router)# ``` Closes https://github.com/FRRouting/frr/issues/17722 Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'isisd')
-rw-r--r--isisd/isis_cli.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/isisd/isis_cli.c b/isisd/isis_cli.c
index 93f7bbf75..f2e48277f 100644
--- a/isisd/isis_cli.c
+++ b/isisd/isis_cli.c
@@ -626,10 +626,17 @@ DEFPY_YANG(domain_passwd, domain_passwd_cmd,
}
DEFPY_YANG(no_area_passwd, no_area_passwd_cmd,
- "no <area-password|domain-password>$cmd",
+ "no <area-password|domain-password>$cmd [<clear|md5>$pwd_type WORD$pwd [authenticate snp <send-only|validate>$snp]]",
NO_STR
"Configure the authentication password for an area\n"
- "Set the authentication password for a routing domain\n")
+ "Set the authentication password for a routing domain\n"
+ "Clear-text authentication type\n"
+ "MD5 authentication type\n"
+ "Level-wide password\n"
+ "Authentication\n"
+ "SNP PDUs\n"
+ "Send but do not check PDUs on receiving\n"
+ "Send and check PDUs on receiving\n")
{
nb_cli_enqueue_change(vty, ".", NB_OP_DESTROY, NULL);