libvirt/src/lxc
Julio Faracco 0ebb057a2a lxc: Introduce lxcNetworkParseDataEntry
Refactor lxcNetworkWalkCallback to be a simple method to handle
both possible network settings with indexes or the simple one. It is
better the decouple the whole algorithm to parse data to only parse
which entry type libvirt is handling.

The new method is responsible to verify is the settings correspond to
network entry. Right now, it is only verifying "lxc.network.", but in
the future, it can be used to verify "lxc.net.X." too. Any other case
would be rejected.

On the other hand, the idea here is working only with types. If we know
that entry is part of network settings, after we just need to know which
type is. It keeps the handler simple.

Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
2019-02-25 10:41:39 -05:00
..
libvirtd_lxc.aug
lxc_cgroup.c lxc: Use virCgroupGetMemoryStat 2018-08-13 11:53:53 +02:00
lxc_cgroup.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lxc_conf.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
lxc_conf.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lxc_container.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
lxc_container.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lxc_controller.c Use NULLSTR_EMPTY 2019-02-14 14:09:38 +01:00
lxc_domain.c lxc: Don't reboot host on virDomainReboot 2019-02-07 11:36:41 +01:00
lxc_domain.h lxc: Don't reboot host on virDomainReboot 2019-02-07 11:36:41 +01:00
lxc_driver.c domain: Fix unknown flags diagnosis in virDomainGetXMLDesc 2019-02-19 16:52:51 -06:00
lxc_driver.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lxc_fuse.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
lxc_fuse.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lxc_hostdev.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
lxc_hostdev.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lxc_monitor_protocol.x Unify int types handling in protocol files 2016-01-11 19:56:06 +03:00
lxc_monitor.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
lxc_monitor.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lxc_native.c lxc: Introduce lxcNetworkParseDataEntry 2019-02-25 10:41:39 -05:00
lxc_native.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lxc_process.c lxc: Restore seclabels after the container is killed 2019-02-07 11:17:51 +01:00
lxc_process.h Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
lxc.conf lxc.conf: s/QEMU/LXC/ 2016-11-09 18:56:15 +01:00
Makefile.inc.am make sure libvirt is linked first 2018-03-05 16:49:50 +00:00
test_libvirtd_lxc.aug.in Autogenerate augeas test case from default config files 2012-05-28 11:07:12 +01:00