Need ability to set module and kernel options from the CLI. Hopefully, just need to set GRUB_CMDLINE_LINUX variable when running the vyatta-grub-setup script.
- Difficulty level
- Normal (likely a few hours)
- Why the issue appeared?
- Will be filled on close
Another idea would be to wrap the system options in the python configuration script with e.g. a dictionary.
Example: set system kernel vxlan-port 1337
When using a configuration dictionary vxlan-port would be the key and the value would be a list consisting of the configuration file and options, e.g. ['/etc/modprobe.d/vyos_vxlan.conf', 'options vxlan vxlan_port=']
This results in a clean API which is applied to the appropriate filed sunder the hood as VyOS is used to do.
set system kernel ixgbe-unsupported-sfp enable with an ixgbedictionary key has the value ['/etc/modprobe.d/vyos_ixgbe.conf', 'options ixgbe allow_unsupported_sfp=']