diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-12-01 08:01:37 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-12-01 08:01:37 -0300 |
| commit | 7d2de131ce99187a49095687c33afc6ce97e8f46 (patch) | |
| tree | 3262c71067d403173c6c7999073460e0eb609377 /zebra/zebra_errors.h | |
| parent | 78695ce3a4d4faf6930f057b55c316b74a7426eb (diff) | |
bfdd: session specific command type checks
Replace the unclear error message:
```
% Failed to edit configuration.
YANG error(s):
Schema node not found.
YANG path: /frr-bfdd:bfdd/bfd/sessions/single-hop[dest-addr='192.168.253.6'][interface=''][vrf='default']/minimum-ttl
```
With:
```
frr(config-bfd-peer)# minimum-ttl 250
% Minimum TTL is only available for multi hop sessions.
! or
frr(config-bfd-peer)# echo
% Echo mode is only available for single hop sessions.
frr(config-bfd-peer)# echo-interval 300
% Echo mode is only available for single hop sessions.
```
Reported-by: Trae Santiago
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_errors.h')
0 files changed, 0 insertions, 0 deletions
