add init method for ns_config v3.0.2 v3.0.3
authorMike Marchetti <mmarchetti@sandvine.com>
Fri, 24 Nov 2017 15:04:53 +0000 (10:04 -0500)
committerMike Marchetti <mmarchetti@sandvine.com>
Fri, 24 Nov 2017 15:04:53 +0000 (10:04 -0500)
Signed-off-by: Mike Marchetti <mmarchetti@sandvine.com>
osmclient/v1/ns.py

index 8ea1854..65f816d 100644 (file)
@@ -113,6 +113,8 @@ class Ns(object):
 
             nsr['ssh-authorized-key'] = ssh_keys_format
 
+        ns_config = {}
+
         if config: 
             ns_config = yaml.load(config)