From: Mike Marchetti Date: Fri, 24 Nov 2017 15:04:53 +0000 (-0500) Subject: add init method for ns_config X-Git-Tag: v3.0.2^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=70bbcafa1cabff399dfa131f565eea99fbd34c12;p=osm%2Fosmclient.git add init method for ns_config Signed-off-by: Mike Marchetti --- 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)