lxc / python3-lxc

Python 3.x binding for liblxc
https://linuxcontainers.org/lxc
GNU Lesser General Public License v2.1
57 stars 38 forks source link

api_test: fix interfaces comparison failure #13

Closed vicamo closed 5 years ago

vicamo commented 5 years ago

When the host has kernel module sit or ipip inserted, additional network interfaces sit0 and/or tunl0 would appear inside the container by default as well, which fails the api_test.

This change append sit0/tunl0 to expected interfaces when applicable.

Closes: #2 Signed-off-by: You-Sheng Yang vicamo@gmail.com