]> git.puffer.fish Git - mirror/frr.git/commitdiff
isisd: Allow full `no` form for `domain-password` and `area-password` 17790/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 26 Dec 2024 15:33:03 +0000 (17:33 +0200)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 7 Jan 2025 14:42:38 +0000 (14:42 +0000)
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>
(cherry picked from commit a696547d6c78d4140649f96d6bef9a335fe5dfa5)

isisd/isis_cli.c

index 93f7bbf753a2710dae732be9be1f9472f518b6ae..f2e48277f97f7128c536936caa5eb30f3cdff4a5 100644 (file)
@@ -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);