Change-Id: I0c154cc730e13e860880cbb06091ed6ee5fbba11
"vimAccountId": request.POST.get('vimAccountId', ''),
}
if 'ssh_key' in request.POST and request.POST.get('ssh_key') != '':
"vimAccountId": request.POST.get('vimAccountId', ''),
}
if 'ssh_key' in request.POST and request.POST.get('ssh_key') != '':
- ns_data["ssh_keys"] = request.POST.get('ssh_key')
+ ns_data["ssh_keys"] = [request.POST.get('ssh_key')]
if 'config' in request.POST:
ns_config = yaml.load(request.POST.get('config'))
if 'config' in request.POST:
ns_config = yaml.load(request.POST.get('config'))