projects
/
osm
/
osmclient.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b45082b
)
add init method for ns_config
34/5734/1
rift300
author
Mike Marchetti
<mmarchetti@sandvine.com>
Fri, 24 Nov 2017 15:04:53 +0000
(10:04 -0500)
committer
Mike 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
patch
|
blob
|
history
diff --git
a/osmclient/v1/ns.py
b/osmclient/v1/ns.py
index
8ea1854
..
65f816d
100644
(file)
--- 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)