[libvirt] [PATCH v2 0/3] Rebase LXC network definition to support version 3.0

Julio Faracco posted 3 patches 5 years, 3 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190111030123.25211-1-jcfaracco@gmail.com
src/lxc/lxc_native.c                          | 195 ++++++++++++------
.../lxcconf2xml-ethernet-v3.config            |  16 +-
.../lxcconf2xml-fstab-v3.config               |  10 +-
.../lxcconf2xml-macvlannetwork-v3.config      |  10 +-
.../lxcconf2xml-miscnetwork-v3.config         |  38 ++--
.../lxcconf2xml-physnetwork-v3.config         |  14 +-
.../lxcconf2xml-simple-v3.config              |  18 +-
.../lxcconf2xml-vlannetwork-v3.config         |  10 +-
tests/lxcconf2xmltest.c                       |   1 +
9 files changed, 187 insertions(+), 125 deletions(-)
[libvirt] [PATCH v2 0/3] Rebase LXC network definition to support version 3.0
Posted by Julio Faracco 5 years, 3 months ago
The series propose a new way to define NICs inside LXC native. It is
needed because LXC version 3.X uses indexes to define NICs and the
current algorithm is not able to support them. At least, if you consider
settings defined using a random logic.

v1-v2: Includes Michal's suggestions.

Julio Faracco (3):
  lxc: refactoring LXC network definition with a sparse array.
  tests: Change legacy network configs to version 3.0 with indexes.
  tests: Include a random network testcase to test indexes.

 src/lxc/lxc_native.c                          | 195 ++++++++++++------
 .../lxcconf2xml-ethernet-v3.config            |  16 +-
 .../lxcconf2xml-fstab-v3.config               |  10 +-
 .../lxcconf2xml-macvlannetwork-v3.config      |  10 +-
 .../lxcconf2xml-miscnetwork-v3.config         |  38 ++--
 .../lxcconf2xml-physnetwork-v3.config         |  14 +-
 .../lxcconf2xml-simple-v3.config              |  18 +-
 .../lxcconf2xml-vlannetwork-v3.config         |  10 +-
 tests/lxcconf2xmltest.c                       |   1 +
 9 files changed, 187 insertions(+), 125 deletions(-)

-- 
2.19.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list