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

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



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


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