There are two methods of loading a config file in VyOS: the backend 'loadFile', and the Python script 'vyos-load-config.py'; the latter adds automatic migration and supports loading from a remote config file. ConfigSession (used by http-api; boot-config-loader; and smoketests) uses the backend call, but should have access to the config load script as well. This will extend the features and convenience for use in http-api and smoketests.
Description
Description
Details
Details
- Difficulty level
- Easy (less than an hour)
- Version
- vyos-1.3
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Unspecified (possibly destroys the router)
- Issue type
- Internal change (not visible to end users)
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | ENHANCEMENT | jestabro | T3003 Extend smoketest framework to allow loading an arbitrary config file | ||
Resolved | FEATURE REQUEST | jestabro | T3004 ConfigSession should (optionally) use config load script | ||
Resolved | jestabro | T3007 HTTP-API should use config load script, not backend config load |