]> git.puffer.fish Git - matthieu/frr.git/commit
pathd: fix 'no msd' command not possible under pcc node
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 9 Nov 2023 13:49:18 +0000 (14:49 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 21 Nov 2023 17:02:10 +0000 (18:02 +0100)
commitd6d2527448efbdbb6ee7c8d9ae1ac58ee7e0b912
treea857b8efc71801904645649c2c400504d68f03a3
parent4730aeb5e55476ff4f5295f440ec08988f5db977
pathd: fix 'no msd' command not possible under pcc node

It should be possible to reset the configured msd value,
and not mentioning the previous msd value.

> ubuntu2204(config-sr-te-pcep-pcc)# no msd
> % Command incomplete: no msd
> ubuntu2204(config-sr-te-pcep-pcc)#

Fix this by defining the msd parameter optional, and
separating the 'no msd' command from the 'msd' command.

Fixe: efba0985fcdd ("pathd: Add optional support for PCEP to pathd")

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
doc/user/pathd.rst
pathd/path_pcep_cli.c