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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux