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

Julio Faracco posted 3 patches 12 weeks ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20181228190138.21128-1-jcfaracco@gmail.com
src/lxc/lxc_native.c                          | 191 ++++++++++++------
.../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-randomnetwork-v3.config       |  21 ++
.../lxcconf2xml-randomnetwork.xml             |  45 +++++
.../lxcconf2xml-simple-v3.config              |  18 +-
.../lxcconf2xml-vlannetwork-v3.config         |  10 +-
tests/lxcconf2xmltest.c                       |   1 +
11 files changed, 249 insertions(+), 125 deletions(-)
create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-randomnetwork-v3.config
create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-randomnetwork.xml

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

Posted by Julio Faracco 12 weeks 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.

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                          | 191 ++++++++++++------
 .../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-randomnetwork-v3.config       |  21 ++
 .../lxcconf2xml-randomnetwork.xml             |  45 +++++
 .../lxcconf2xml-simple-v3.config              |  18 +-
 .../lxcconf2xml-vlannetwork-v3.config         |  10 +-
 tests/lxcconf2xmltest.c                       |   1 +
 11 files changed, 249 insertions(+), 125 deletions(-)
 create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-randomnetwork-v3.config
 create mode 100644 tests/lxcconf2xmldata/lxcconf2xml-randomnetwork.xml

-- 
2.19.1

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