Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-04 | Python/configdict: add function vlan_to_dict | Christian Poessinger | |
A generic function which can parse the VLAN (vif, vif-s, cif-c) nodes in a config session. A dictionary describing the VLAN is returned. A good example will be the interface-bonding.py script used to generate bond interfaces in the system. It is used as follows: if conf.exists('vif'): for vif in conf.list_nodes('vif'): # set config level to vif interface conf.set_level(cfg_base + ' vif ' + vif) bond['vif'].append(vlan_to_dict(conf)) | |||
2019-09-04 | Python/configdict: add list_diff function to compare two lists | Christian Poessinger | |
A list containing only unique elements not part of the other list is returned. This is usefull to check e.g. which IP addresses need to be removed from the OS. | |||
2019-01-02 | Initial implementation of declarative config dict retrieval library. | Daniil Baturin | |