>>> s="""
... foo {
... bar {
... baz quux foo
... }
... }
... """
>>> import vyos.configtree
>>> c = vyos.configtree.ConfigTree(s)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/vyos/configtree.py", line 167, in __init__
raise ValueError("Failed to parse config: {0}".format(msg))
ValueError: Failed to parse config: Syntax error on line 4, character 14: Invalid syntax.- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Sep 6 2019
It was indeed a bug, caused by the same issue as all other subtasks of T1598: lack of proper synchronization.
If it re-appears, please reopen of course.
Disappearing entries should no longer be a problem, but if it re-appears due to a missing case, please reopen.
Sep 5 2019
Sep 4 2019
Sep 1 2019
As a stopgap measure that allows old config to load, I've made the script cap it at 100:
Aug 31 2019
Cherry-picked into crux.
@rgrant I've cherry-picked it into Crux, will be in the 1.2.3 release soon.
Cherry-picked into crux.
Cherry-picked into crux.
Cherry-picked into crux.
CHerry-picked into crux.
Cherry-picked into crux.
Cherry-picked into crux.
Imported 2.0.17 into crux.
Aug 30 2019
Actually, there are already run monitor traffic interface $intf commands and they work fine in 1.2.3.
Aug 29 2019
Aug 27 2019
If it reappears, feel free to reopen.