ns_name,
resp))
- def create(self, nsd_name, nsr_name, account, wim_account=None, config=None,
+ def create(self, nsd_name, nsr_name, account, config=None,
ssh_keys=None, description='default description',
admin_status='ENABLED'):
postdata = {}
ns_config = {}
if config:
- ns_config = yaml.load(config)
+ ns_config = yaml.safe_load(config)
if ns_config and 'vim-network-name' in ns_config:
for network in ns_config['vim-network-name']: