diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-05 16:26:33 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2019-05-05 16:26:33 +0800 |
commit | 535eb90bcf8ad78eb5d8968798f9919e42bb5109 (patch) | |
tree | 05c912f9612dd14132047d19c6014fa03bc4765a | |
parent | 3f80fe0aa3cd24eb64fa89ba298ac2305499929e (diff) |
Remove user and passwd when call gvnfm
Change-Id: Ia500f05e2bcb41db97e2b7b78fad92d58154dca0
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r-- | gvnfmadapter/driver/interfaces/views.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gvnfmadapter/driver/interfaces/views.py b/gvnfmadapter/driver/interfaces/views.py index f399ab9..19cbc66 100644 --- a/gvnfmadapter/driver/interfaces/views.py +++ b/gvnfmadapter/driver/interfaces/views.py @@ -479,8 +479,10 @@ class Subscription(APIView): def call_vnfm(resource, method, vnfm_info, data=""): ret = restcall.call_req( base_url=ignorcase_get(vnfm_info, "url"), - user=ignorcase_get(vnfm_info, "userName"), - passwd=ignorcase_get(vnfm_info, "password"), + # user=ignorcase_get(vnfm_info, "userName"), + # passwd=ignorcase_get(vnfm_info, "password"), + user="", + passwd="", auth_type=restcall.rest_no_auth, resource=resource, method=method, |