summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-wirelessmodem.py
AgeCommit message (Collapse)Author
2020-04-09util: T2226: os.system was wrongly converted to runThomas Mangin
os.system does print the ouput of the command, run() does not. A new function called call() does the printing and return the error code.
2020-04-08vyos-util: rename chown_file() > chown()Christian Poessinger
... to make it clear also directories can be chown(-ed)
2020-04-08bridge: T2232: bugfix wifi and wwan verify() sectionChristian Poessinger
Commit fcce471 ("bridge: T2232: prevent deletion of enslaved interfaces") added a regression by referencing a wrong variable name.
2020-04-07bridge: T2232: prevent deletion of enslaved interfacesChristian Poessinger
Interfaces enslaved to a bridge are not allowed to be deleted. If an interface is deleted from the config but it is still enslaved to a bridge will cause a configuration error on the subsequent boot.
2020-04-06util: T2226: rewrite wirelessmodem to use cmdThomas Mangin
2020-04-06util: T2226: covert most calls from os.system to utilThomas Mangin
As little change a possible but the function call The behaviour should be totally unchanged.
2020-04-05T2230: confert dos to unix line endingsChristian Poessinger
2020-04-04vyos.util: rename chmod_x_file() to chmod_x()Christian Poessinger
Now both files and directories are supported.
2020-04-04wwan: T1988: move default route scripts to Jinja templatesChristian Poessinger
2020-04-04vyos.util: use common subprocess_cmd wrapperChristian Poessinger
2020-04-04wwan: T1988: move Jinja2 templates to data/templates folderChristian Poessinger
This makes the actual code which generates the configs much more human readable.
2020-04-04wwan: T1988: move vrf/ifalias to ip-pre-up scriptChristian Poessinger
A ip-pre-up script is better the ip-up as this is done before any addresses have been added and any traffic flows.
2020-04-03wwan: T1988: minor cleanupsChristian Poessinger
2020-04-02wwan: migrate alias and vrf script from pre-up to upChristian Poessinger
As the pre-up script is only run once when the interface is brought up but not when the interface maybe only comes up 20 seconds later due to the remote site some actions can not be performed as placing the interface e.g. into a VRF instance. TODO: also move the backup default route parts to this new script.
2020-04-02wwan: migrate to new new helpers in vyos.utilChristian Poessinger
Commit d2cf287 ("vyos.util: add chown_file and chmod_x_file helpers") added common helper functions to chown or chmod +x a file. Make use of those helpers.
2020-04-02wwan: vrf: T2200: add CLI options and parse configuration to dictionaryChristian Poessinger
2020-03-29wwan: T1988: add missing support for backup default routesChristian Poessinger
2020-03-29wwan: T1988: create peer directory on demandChristian Poessinger
2020-03-29wwan: T1988: reorder config option to match VyOS 1.2Christian Poessinger
2020-03-28wwan: T1988: ppp: change order of debug and logfile optionsChristian Poessinger
2020-03-28wwan: T1988: support interface disableChristian Poessinger
2020-03-28wwan: T1988: add support for Sierra Wireless MC7710 modemChristian Poessinger
2020-03-28wwan: T1988: initial XML/Python representationChristian Poessinger