From 70bbcafa1cabff399dfa131f565eea99fbd34c12 Mon Sep 17 00:00:00 2001 From: Mike Marchetti Date: Fri, 24 Nov 2017 10:04:53 -0500 Subject: [PATCH] add init method for ns_config Signed-off-by: Mike Marchetti --- osmclient/v1/ns.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osmclient/v1/ns.py b/osmclient/v1/ns.py index 8ea1854..65f816d 100644 --- a/osmclient/v1/ns.py +++ b/osmclient/v1/ns.py @@ -113,6 +113,8 @@ class Ns(object): nsr['ssh-authorized-key'] = ssh_keys_format + ns_config = {} + if config: ns_config = yaml.load(config) -- 2.25.1