diff options
author | 2017-09-16 12:04:31 +0800 | |
---|---|---|
committer | 2017-09-16 12:04:31 +0800 | |
commit | 2994711131aa9df214fa09ee77d45023a13afabc (patch) | |
tree | e7d7bab5851865c3269138f3c379be1073f287c4 /lcm/pub/msapi/aai.py | |
parent | 7f062af4fa8adb4e8bbf2b79c9b72ab32f284cd4 (diff) |
Fix vfc lcm vnf operations unit tests
Change-Id: I4f7b6ea1f698b5add05e2931a992c0c65c8fe20e
Issue-ID: VFC-366
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'lcm/pub/msapi/aai.py')
-rw-r--r-- | lcm/pub/msapi/aai.py | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lcm/pub/msapi/aai.py b/lcm/pub/msapi/aai.py index 25f61626..f553d50d 100644 --- a/lcm/pub/msapi/aai.py +++ b/lcm/pub/msapi/aai.py @@ -21,6 +21,7 @@ from lcm.pub.config.config import AAI_BASE_URL, AAI_USER, AAI_PASSWD from lcm.pub.exceptions import NSLCMException from lcm.pub.utils import restcall + logger = logging.getLogger(__name__) @@ -31,13 +32,13 @@ def call_aai(resource, method, content=''): } return restcall.call_req(AAI_BASE_URL, - AAI_USER, - AAI_PASSWD, - restcall.rest_no_auth, - resource, - method, - content, - additional_headers) + AAI_USER, + AAI_PASSWD, + restcall.rest_no_auth, + resource, + method, + content, + additional_headers) def create_customer_aai(global_customer_id, data): resource = "/business/customers/customer/%s" % global_customer_id |