diff options
author | 2017-09-11 12:37:22 +0800 | |
---|---|---|
committer | 2017-09-12 14:23:18 +0800 | |
commit | d3d8b624e4f7056910f2639f2ed9f5e66a79307f (patch) | |
tree | 9e87f8818c1a1d0d0d0adc2600be2d70fc5921e5 /utils/test/testapi/opnfv_testapi/common/message.py | |
parent | 02e8765db17f2a28ef04aa28d10a3b28ad5eeb3f (diff) |
leverage LFID authentication to pod creation
only valid linux foundation user is allowed to create the new pod
add owner field in pods to track the pod creator
Change-Id: Icada07152069f7c826bfa6122cb86db8c4e3bf68
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/common/message.py')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/common/message.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/test/testapi/opnfv_testapi/common/message.py b/utils/test/testapi/opnfv_testapi/common/message.py index 951cbaf9c..8b5c3fb7a 100644 --- a/utils/test/testapi/opnfv_testapi/common/message.py +++ b/utils/test/testapi/opnfv_testapi/common/message.py @@ -42,6 +42,14 @@ def invalid_token(): return 'Invalid Token' +def not_login(): + return 'TestAPI id is not provided' + + +def not_lfid(): + return 'Not a valid Linux Foundation Account' + + def no_update(): return 'Nothing to update' |