This pulls a lot of common code out of lxc_user_nic.c. It also moves one function from conf.c that was duplicated in lxc_user_nic.c (It removes a DEBUG statement because (a) it doesn't seem actually useful and (b) DEBUG doesn't work in network.c). Also replace the old test of only parsing code with a skeleton for a full test. (Note - the test will need some work, it's just there as do-what-i-mean code example) Signed-off-by:Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by:
Stéphane Graber <stgraber@ubuntu.com>
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| Makefile.am | Loading commit data... | |
| attach.c | Loading commit data... | |
| cgpath.c | Loading commit data... | |
| clonetest.c | Loading commit data... | |
| concurrent.c | Loading commit data... | |
| console.c | Loading commit data... | |
| containertests.c | Loading commit data... | |
| createtest.c | Loading commit data... | |
| destroytest.c | Loading commit data... | |
| get_item.c | Loading commit data... | |
| getkeys.c | Loading commit data... | |
| list.c | Loading commit data... | |
| locktests.c | Loading commit data... | |
| lxc-test-ubuntu | Loading commit data... | |
| lxc-test-usernic | Loading commit data... | |
| lxcpath.c | Loading commit data... | |
| may_control.c | Loading commit data... | |
| reboot.c | Loading commit data... | |
| saveconfig.c | Loading commit data... | |
| shutdowntest.c | Loading commit data... | |
| snapshot.c | Loading commit data... | |
| startone.c | Loading commit data... |