Skip to content

Commit

Permalink
isisd: Allow full no form for domain-password and area-password
Browse files Browse the repository at this point in the history
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 #17722

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
  • Loading branch information
ton31337 committed Dec 26, 2024
1 parent 803ff41 commit a696547
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions isisd/isis_cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a696547

Please sign in to comment.