diff options
author | ying.yunlong <ying.yunlong@zte.com.cn> | 2017-08-30 16:03:45 +0800 |
---|---|---|
committer | ying.yunlong <ying.yunlong@zte.com.cn> | 2017-08-30 16:03:45 +0800 |
commit | 0801c4f94071231a622c4ecb0d3f1d8d478d9192 (patch) | |
tree | c2f1e9c743cfcb873c3797b1995d7eb195be0c8e /lcm/lcm/pub/utils/restcall.py | |
parent | 2208d0ecf680a3c2e815afa7fead92b35e774d53 (diff) |
Refactor vnflcm call aai rest
Change-Id: Iacca08ae970eb518063373bd18b3be86eb8f00ea
Issue-ID: VFC-192
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'lcm/lcm/pub/utils/restcall.py')
-rw-r--r-- | lcm/lcm/pub/utils/restcall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/lcm/pub/utils/restcall.py b/lcm/lcm/pub/utils/restcall.py index 1fbe59f9..c13d07a6 100644 --- a/lcm/lcm/pub/utils/restcall.py +++ b/lcm/lcm/pub/utils/restcall.py @@ -104,7 +104,7 @@ def call_req_aai(base_url, user, passwd, auth_type, resource, method, content='' try: full_url = combine_url(base_url, resource) headers = {'content-type': 'application/json', 'accept': 'application/json', - 'X-FromAppId': 'AAI', 'X-TransactionId': 'get_aai_subscr'} + 'X-FromAppId': 'VFC-GVNFM-VNFLCM', 'X-TransactionId': str(uuid.uuid1())} if user: headers['Authorization'] = 'Basic ' + ('%s:%s' % (user, passwd)).encode("base64") ca_certs = None |