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 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=a7fc913c81339c8a5cc59a30a91ddcb4aa846dd2;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)