Closed gcotone closed 2 years ago
Thanks for your report. I haven't cared about replace:
tag, but let me take a look.
We just need to remove them before processing probably.
thanks @codeout
Yes that should work. I'm doing a sed -i 's/replace: //g' config.file
before running junoser and it works.
@gcotone Just published v0.4.5
with the fix. Hoping it works for you.
$ junoser -c <<EOS
groups {
INTERFACE_SETTINGS {
replace: interfaces {
"<[xg]e*>" {
hold-time up 5000 down 0;
}
}
}
}
EOS
If you see any further problems, please re-open this issue. Thanks again for your bug report.
Configuration validation fails when it contains
replace:
tags used in load replace operations.E.g.: