A bit of background: the error here is is a result of the Relax-NG schema requiring a leaf node to have a 'properties' entry; that is considered a sanity check by the schema author, but emerges as an issue when we moved to a modular structure for the *.xml.i include files. Leaving that restriction as-is, the solution of merging leaf nodes in the lxml script should be straightforward (the general case more intricate), so I will look at amending the override-default script.
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Aug 10 2021
Aug 9 2021
Aug 7 2021
Aug 6 2021
Aug 5 2021
Aug 4 2021
Aug 3 2021
Jul 29 2021
Jul 14 2021
@artooro This sounds reasonable, and I don't imagine a problem, though I have yet to try it; if you would like to submit a pull request with fix, I will review.
Jul 5 2021
Jul 1 2021
Jun 29 2021
Jun 26 2021
Jun 24 2021
Jun 23 2021
Jun 18 2021
A simple experiment using GraphQL to configure a DHCP server is here:
https://github.com/vyos/vyos-1x/compare/current...jestabro:graphql
Jun 12 2021
Jun 11 2021
Jun 10 2021
Already backported: ff7b2b0e62510ef8de28c9c4bfa34badeabec775
Jun 9 2021
@erkin One additional detail: there is an attempt at clean up on entering configuration mode (in UnionfsCstore::setupSession); nonetheless, there are clearly potential (and potentially serious) issues here. Cf. T3054 for the comment on setupSession; there has been no serious investigation of the issue yet.
Jun 8 2021
May 23 2021
Needs testing, but initial implementation here:
Opening a new task for the issue described in the last comment, above. The original problem re. error messages was resolved in vyos-utils 68d1b283 .
May 18 2021
There are two separate issues in this task: quoting of hw-id values (resolved in Sagitta/Equuleus); re-ordering of interfaces with respect to hw-id (Open).
May 14 2021
May 13 2021
May 12 2021
@rherold, this was a known bug, fixed in 1.4, but missed in backports to 1.3. As a workaround, systemctl stop vyos-configd before the commit will reveal the errors; if I recall correctly, the error is a missing 'country-code' entry.
Apr 27 2021
Apr 24 2021
Apr 18 2021
Apr 17 2021
Apr 16 2021
>>> from vyos.config import Config
>>> import pprint
>>> conf = Config()
>>> # no mangling
... tmp = conf.get_config_dict(['simple'], get_first_key=True)
>>> pprint.pprint(tmp)
{'some-tag-node': {'some-foo': {'just-a-node': {'single-value': 'bar'}},
'some-other-foo': {'just-a-node': {'multiple-value': ['first',
'second']}}}}
>>> # standard mangling
... tmp = conf.get_config_dict(['simple'], get_first_key=True, key_mangling=('-', '_'))
>>> pprint.pprint(tmp)
{'some_tag_node': {'some_foo': {'just_a_node': {'single_value': 'bar'}},
'some_other_foo': {'just_a_node': {'multiple_value': ['first',
'second']}}}}
>>> # mangling with no_tag_node_value_mangle=True
... tmp = conf.get_config_dict(['simple'], get_first_key=True, key_mangling=('-', '_'), no_tag_node_value_mangle=True)
>>> pprint.pprint(tmp)
{'some_tag_node': {'some-foo': {'just_a_node': {'single_value': 'bar'}},
'some-other-foo': {'just_a_node': {'multiple_value': ['first',
'second']}}}}
>>>