[lxc-devel] [lxc/lxc] 31ee74: confile: use deindexed network keys

GitHub noreply at github.com
Mon Jul 31 19:16:12 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 31ee747baa110d3cea080005f773c786edacb3b1
      https://github.com/lxc/lxc/commit/31ee747baa110d3cea080005f773c786edacb3b1
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-30 (Sun, 30 Jul 2017)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: use deindexed network keys

When we are passed a network key like "lxc.net.[i].ipv4.address" we need to
make sure that we pass the deindexed key "lxc.net.ipv4.address" to the
{get,clr,set} methods otherwise we'll end up in an endless loop.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 4222a9f44b57af51d140350160877a807eea96a6
      https://github.com/lxc/lxc/commit/4222a9f44b57af51d140350160877a807eea96a6
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-30 (Sun, 30 Jul 2017)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  lxccontainer: clear whole indexed networks

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: bb461dcca6fa11b5d21d29e1b299dfc0dc1b4b26
      https://github.com/lxc/lxc/commit/bb461dcca6fa11b5d21d29e1b299dfc0dc1b4b26
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-07-31 (Mon, 31 Jul 2017)

  Changed paths:
    M src/tests/parse_config_file.c

  Log Message:
  -----------
  test: test for invalid network key

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: d1f811d5de00edc991beb6a09dae8034331f4041
      https://github.com/lxc/lxc/commit/d1f811d5de00edc991beb6a09dae8034331f4041
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2017-07-31 (Mon, 31 Jul 2017)

  Changed paths:
    M src/lxc/confile.c
    M src/lxc/lxccontainer.c
    M src/tests/parse_config_file.c

  Log Message:
  -----------
  Merge pull request #1721 from brauner/2017-07-30/fix_saved_config_handling

network parser fixes


Compare: https://github.com/lxc/lxc/compare/dd871fa00a70...d1f811d5de00


More information about the lxc-devel mailing list