diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-09-11 12:37:22 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-09-12 14:23:18 +0800 |
commit | 7479f29b3d0a613d459cd26b31eab38f00a00b22 (patch) | |
tree | 2a763a2de3bd25cdddd49d5efb1eacc7036741e8 /testapi/opnfv_testapi/common/message.py | |
parent | 28d5b3d14a6354ec170ebaea7f0f6ba342375b61 (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 'testapi/opnfv_testapi/common/message.py')
-rw-r--r-- | testapi/opnfv_testapi/common/message.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testapi/opnfv_testapi/common/message.py b/testapi/opnfv_testapi/common/message.py index 951cbaf..8b5c3fb 100644 --- a/testapi/opnfv_testapi/common/message.py +++ b/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' |