-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
SUMMARY
Adding a comment is done by either prefixing it with !! or send it as 'comment' config.
Both options are not possible with the current cliconfig.
ISSUE TYPE
- !! cannot be used, as all line starting with ! are stripped
- comment cannot be used, as it is multiline command (like a banner)
arista.eos/plugins/cliconf/eos.py
Line 156 in 53fb3c0
if cmd.startswith("banner") or multiline:
arista.eos/plugins/cliconf/eos.py
Line 232 in 53fb3c0
if cmd.startswith("banner") or multiline:
COMPONENT NAME
cliconfig/eos.py
ADDITIONAL INFORMATION
AVD 5.2.2 allows to add comments to interfaces. These are generated as a !! comment on the interface configuration.
When deployed via CV, it works fine, but when using eAPI, the comments are not send to the device
The solution is to either allow lines prefixed by !!, or treat 'comment' as a multiline
Metadata
Metadata
Assignees
Labels
No labels