Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Handling e2 reset request & change status to reset
[ric-plt/e2mgr.git]
/
Automation
/
Tests
/
Resource
/
Keywords.robot
diff --git
a/Automation/Tests/Resource/Keywords.robot
b/Automation/Tests/Resource/Keywords.robot
index
29b933b
..
f252af8
100644
(file)
--- a/
Automation/Tests/Resource/Keywords.robot
+++ b/
Automation/Tests/Resource/Keywords.robot
@@
-1,6
+1,7
@@
##############################################################################
#
# Copyright (c) 2019 AT&T Intellectual Property.
##############################################################################
#
# Copyright (c) 2019 AT&T Intellectual Property.
+# Copyright (c) 2020 Samsung Electronics Co., Ltd. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@
-35,21
+36,35
@@
Get Request nodeb
Sleep 1s
GET ${getNodeb}/${nodeb_name}
Sleep 1s
GET ${getNodeb}/${nodeb_name}
+Get request nodeb health
+ [Arguments] ${request_body}=${list_nodeb_body}
+ Sleep 1s
+ LOG health check url ${nodeb_health_url}
+ LOG health check body ${request_body}
+ PUT ${nodeb_health_url} ${request_body}
+
Update Gnb request
Sleep 1s
PUT ${update_gnb_url} ${update_gnb_body}
Add eNb Request
Update Gnb request
Sleep 1s
PUT ${update_gnb_url} ${update_gnb_body}
Add eNb Request
+ [Arguments] ${request}=${add_enb_request_body}
Sleep 1s
Sleep 1s
- POST ${enb_url} ${add_enb_request_body}
+ POST ${enb_url} ${request}
+
+Get NodeB state request
+ [Arguments] ${request}=${nodeb_state_url}
+ Sleep 1s
+ GET ${request}
Delete eNb Request
Sleep 1s
DELETE ${enb_url}/${enb_ran_name}
Update eNb Request
Delete eNb Request
Sleep 1s
DELETE ${enb_url}/${enb_ran_name}
Update eNb Request
+ [Arguments] ${request}=${update_enb_request_body}
Sleep 1s
Sleep 1s
- PUT ${enb_url}/${enb_ran_name} ${
update_enb_request_body
}
+ PUT ${enb_url}/${enb_ran_name} ${
request
}
Set General Configuration request
Sleep 1s
Set General Configuration request
Sleep 1s
@@
-171,7
+186,7
@@
Start e2adapter
Stop e2adapter
Log to Console Stopping e2adapter
Run And Return Rc And Output ${stop_e2adapter}
Stop e2adapter
Log to Console Stopping e2adapter
Run And Return Rc And Output ${stop_e2adapter}
- Sleep
5
s
+ Sleep
90
s
Restart e2adapter
Log to Console Restarting e2adapter
Restart e2adapter
Log to Console Restarting e2adapter