Open AliMickey opened 2 months ago
I am also receiving the same error.
Me too.
This works for me
show-ip-bgp-summary:
name: Show BGP Neighbor Summary
rules:
- condition: ""
commands: show ip bgp summary
field:
description: ""
options:
- value: ""
for FRR
show-ip-bgp-summary:
name: Show BGP Neighbor Summary
rules:
- condition: ""
commands: vtysh -c "show ip bgp summary"
field:
description: ""
options:
- value: ""
The way you did it worked. The documentation has errors because look: you used "commands" and in the documentation it says "command". Another detail is how the "field" is defined. It only worked defining it the way you did.
Deployment Type
Docker
Version
v2.0.4
Steps to Reproduce
One example:
Expected Behavior
The directive should be parsed correctly and not throw errors.
Observed Behavior
Error shown. Defining/undefining the directive on the device does not matter, same error.
Have tried many different custom directive configs but one way or another it throws a validation error.
Configuration
No response
Devices
No response
Logs