[PATCH v4 0/4] This series implement support for network syntax settings for LXC 3.X.

Julio Faracco posted 4 patches 4 years, 1 month ago
Test syntax-check failed
Failed in applying to current master (apply log)
src/lxc/lxc_native.c                          | 200 ++++++++++++------
.../lxcconf2xml-ethernet-v3.config            |  16 +-
.../lxcconf2xml-fstab-v3.config               |  10 +-
.../lxcconf2xml-macvlannetwork-v3.config      |  10 +-
.../lxcconf2xml-miscnetwork-v3.config         |  34 +--
.../lxcconf2xml-nonenetwork-v3.config         |   2 +-
.../lxcconf2xml-physnetwork-v3.config         |  14 +-
.../lxcconf2xml-simple-v3.config              |  18 +-
.../lxcconf2xml-vlannetwork-v3.config         |  10 +-
9 files changed, 190 insertions(+), 124 deletions(-)
[PATCH v4 0/4] This series implement support for network syntax settings for LXC 3.X.
Posted by Julio Faracco 4 years, 1 month ago
Old:
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = virbr0

New:
lxc.net.0.type = veth
lxc.net.0.flags = up
lxc.net.0.link = virbr0

v1-v2: Moving sscanf to virStrToLong_ull according Daniel's suggestion.
v2-v3: Adding missing g_autofree from `suffix` variable.
v2-v4: Removing g_autofree inserted above and adding some missing free
functions. See Daniel's test results/comments.

Julio Faracco (4):
  lxc: refactor lxcNetworkParseData pointers to use new structures
  lxc: add LXC version 3 network parser
  lxc: remove domain definition from lxc network struct
  tests: update LXC config dataset to support V3 indexes

 src/lxc/lxc_native.c                          | 200 ++++++++++++------
 .../lxcconf2xml-ethernet-v3.config            |  16 +-
 .../lxcconf2xml-fstab-v3.config               |  10 +-
 .../lxcconf2xml-macvlannetwork-v3.config      |  10 +-
 .../lxcconf2xml-miscnetwork-v3.config         |  34 +--
 .../lxcconf2xml-nonenetwork-v3.config         |   2 +-
 .../lxcconf2xml-physnetwork-v3.config         |  14 +-
 .../lxcconf2xml-simple-v3.config              |  18 +-
 .../lxcconf2xml-vlannetwork-v3.config         |  10 +-
 9 files changed, 190 insertions(+), 124 deletions(-)

-- 
2.20.1