[lxc-devel] [lxc/lxc] 799f29: Add get_interfaces to the API

GitHub noreply at github.com
Wed Sep 18 19:40:42 UTC 2013


  Branch: refs/heads/staging
  Home:   https://github.com/lxc/lxc
  Commit: 799f29ab699f08e67231b012f20a25e23a6c391d
      https://github.com/lxc/lxc/commit/799f29ab699f08e67231b012f20a25e23a6c391d
  Author: S.Çağlar Onur <caglar at 10ur.org>
  Date:   2013-09-18 (Wed, 18 Sep 2013)

  Changed paths:
    M src/lxc/lxccontainer.c
    M src/lxc/lxccontainer.h
    M src/lxc/utils.c
    M src/lxc/utils.h
    M src/python-lxc/examples/api_test.py
    M src/python-lxc/lxc.c
    M src/python-lxc/lxc/__init__.py

  Log Message:
  -----------
  Add get_interfaces to the API

get_ips accepts an interface name as a parameter but there was no
way to get the interfaces names from the container. This patch
introduces a new get_interfaces call to the API so that users
can obtain the name of the interfaces.

Support for python bindings also introduced as a part of this version.

Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>


  Commit: 8900b9eb2514c07047541833286428572493a9fd
      https://github.com/lxc/lxc/commit/8900b9eb2514c07047541833286428572493a9fd
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2013-09-18 (Wed, 18 Sep 2013)

  Changed paths:
    M doc/ja/common_options.sgml.in
    M doc/ja/lxc-attach.sgml.in
    M doc/ja/lxc-cgroup.sgml.in
    M doc/ja/lxc-checkconfig.sgml.in
    M doc/ja/lxc-checkpoint.sgml.in
    M doc/ja/lxc-clone.sgml.in
    M doc/ja/lxc-console.sgml.in
    M doc/ja/lxc-create.sgml.in
    M doc/ja/lxc-destroy.sgml.in
    M doc/ja/lxc-device.sgml.in
    M doc/ja/lxc-execute.sgml.in
    M doc/ja/lxc-freeze.sgml.in
    M doc/ja/lxc-info.sgml.in
    M doc/ja/lxc-kill.sgml.in
    M doc/ja/lxc-ls.sgml.in
    M doc/ja/lxc-monitor.sgml.in
    M doc/ja/lxc-netstat.sgml.in
    M doc/ja/lxc-ps.sgml.in
    M doc/ja/lxc-restart.sgml.in
    M doc/ja/lxc-shutdown.sgml.in
    M doc/ja/lxc-start-ephemeral.sgml.in
    M doc/ja/lxc-start.sgml.in
    M doc/ja/lxc-stop.sgml.in
    M doc/ja/lxc-unfreeze.sgml.in
    M doc/ja/lxc-unshare.sgml.in
    M doc/ja/lxc-version.sgml.in
    M doc/ja/lxc-wait.sgml.in
    M doc/ja/lxc.conf.sgml.in
    M doc/ja/lxc.sgml.in
    M doc/ja/see_also.sgml.in
    M src/lxc/cgroup.c
    M src/lxc/cgroup.h
    M src/lxc/commands.c

  Log Message:
  -----------
  Remove trailing whitespaces

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/025ed0f39118...8900b9eb2514


More information about the lxc-devel mailing list