| Name |
Last commit
|
Last update |
|---|---|---|
| .github | ||
| config | ||
| doc | ||
| hooks | ||
| src | ||
| templates | ||
| .gitignore | ||
| .travis.yml | ||
| AUTHORS | ||
| CONTRIBUTING | ||
| COPYING | ||
| INSTALL | ||
| MAINTAINERS | ||
| Makefile.am | ||
| NEWS | ||
| README | ||
| README.md | ||
| autogen.sh | ||
| configure.ac | ||
| lxc.pc.in | ||
| lxc.spec.in |
This adds set_running_config_item() which is the analogue of get_running_config_item(). In essence it allows a caller to livepatch the container's in-memory configuration. This POC is severly limited. Here are the most obvious ones: - Only the container's in-memory config can be updated but no further actions (e.g. on-disk actions) are made. - Only keys in the "lxc.net." namespace can be changed. This POC also allows updating an existing network. For example it allows to change the network type of an existing network. This is obviously nonsense and in a non-POC implementation this should be blocked. Use Case: Callers can hotplug a new network for the container. For example, LXD can create a pair of veth devices in the host and in the container and add it to the container's in-memory config. This means, the container can later be queried for the name of the device later on etc. Note that liblxc will currently not delete hotplugged network devices on container shutdown since it won't have the ifindex of the container. Relates to https://github.com/lxc/lxd/issues/3920 . Signed-off-by:Christian Brauner <christian.brauner@ubuntu.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .github | Loading commit data... | |
| config | Loading commit data... | |
| doc | Loading commit data... | |
| hooks | Loading commit data... | |
| src | Loading commit data... | |
| templates | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| AUTHORS | Loading commit data... | |
| CONTRIBUTING | Loading commit data... | |
| COPYING | Loading commit data... | |
| INSTALL | Loading commit data... | |
| MAINTAINERS | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| NEWS | Loading commit data... | |
| README | Loading commit data... | |
| README.md | Loading commit data... | |
| autogen.sh | Loading commit data... | |
| configure.ac | Loading commit data... | |
| lxc.pc.in | Loading commit data... | |
| lxc.spec.in | Loading commit data... |