The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/pylxd/pull/188
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Add "config" and "managed" attributes to the Network model. In addition to be generally useful information, it also fixes warnings we were getting upon calling `Client.networks.get()` about these attributes not existing.
From c5018280db0c01f3656f69fa6e791386c03eda47 Mon Sep 17 00:00:00 2001 From: Virgil Dupras <hs...@hardcoded.net> Date: Sun, 16 Oct 2016 21:01:18 -0400 Subject: [PATCH] Add missing attributes to Network model Add "config" and "managed" attributes to the Network model. In addition to be generally useful information, it also fixes warnings we were getting upon calling `Client.networks.get()` about these attributes not existing. --- pylxd/models/network.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pylxd/models/network.py b/pylxd/models/network.py index 2b9af32..c59fc01 100644 --- a/pylxd/models/network.py +++ b/pylxd/models/network.py @@ -19,6 +19,8 @@ class Network(model.Model): name = model.Attribute() type = model.Attribute() used_by = model.Attribute() + config = model.Attribute() + managed = model.Attribute() @classmethod def get(cls, client, name):
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel