aboutsummaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
Diffstat (limited to 'testcases')
-rw-r--r--testcases/Controllers/ODL/custom_tests/neutron/001__reachability.robot27
-rwxr-xr-xtestcases/OpenStack/rally/run_rally-cert.py2
-rw-r--r--testcases/security_scan/config.ini4
3 files changed, 30 insertions, 3 deletions
diff --git a/testcases/Controllers/ODL/custom_tests/neutron/001__reachability.robot b/testcases/Controllers/ODL/custom_tests/neutron/001__reachability.robot
new file mode 100644
index 00000000..d5ec842e
--- /dev/null
+++ b/testcases/Controllers/ODL/custom_tests/neutron/001__reachability.robot
@@ -0,0 +1,27 @@
+*** Variables ***
+${NeutronNorthbound} /controller/nb/v2/neutron
+${NetworkNorthbound} ${NeutronNorthbound}/networks
+${SubnetNorthbound} ${NeutronNorthbound}/subnets
+${PortNorthbound} ${NeutronNorthbound}/ports
+
+*** Settings ***
+Suite Setup Create Session ODL http://${CONTROLLER}:${PORT} headers=${HEADERS} auth=${AUTH}
+Suite Teardown Delete All Sessions
+Library RequestsLibrary
+Variables ../../../variables/Variables.py
+
+*** Test Cases ***
+Get the complete list of networks
+ [Tags] reachability
+ ${resp} get request ODL ${NetworkNorthbound}
+ Should be Equal As Strings ${resp.status_code} 200
+
+Get the complete list of subnets
+ [Tags] reachability
+ ${resp} get request ODL ${SubnetNorthbound}
+ Should be Equal As Strings ${resp.status_code} 200
+
+Get the complete list of ports
+ [Tags] reachability
+ ${resp} get request ODL ${PortNorthbound}
+ Should be Equal As Strings ${resp.status_code} 200
diff --git a/testcases/OpenStack/rally/run_rally-cert.py b/testcases/OpenStack/rally/run_rally-cert.py
index abff07be..7822c7e9 100755
--- a/testcases/OpenStack/rally/run_rally-cert.py
+++ b/testcases/OpenStack/rally/run_rally-cert.py
@@ -266,7 +266,7 @@ def get_output(proc, test_name):
'success': success_avg}
SUMMARY.append(scenario_summary)
- logger.info("\n" + result)
+ logger.debug("\n" + result)
return result
diff --git a/testcases/security_scan/config.ini b/testcases/security_scan/config.ini
index bfbcf82d..9d97fc12 100644
--- a/testcases/security_scan/config.ini
+++ b/testcases/security_scan/config.ini
@@ -10,7 +10,7 @@ user = heat-admin
scantype = xccdf
secpolicy = /usr/share/xml/scap/ssg/content/ssg-centos7-xccdf.xml
cpe = /usr/share/xml/scap/ssg/content/ssg-rhel7-cpe-dictionary.xml
-profile = standard
+profile = stig-rhel7-server-upstream
report = report.hmtl
results = results.xml
reports_dir=/home/opnfv/functest/results/security_scan/
@@ -22,7 +22,7 @@ user = heat-admin
scantype = xccdf
secpolicy = /usr/share/xml/scap/ssg/content/ssg-centos7-xccdf.xml
cpe = /usr/share/xml/scap/ssg/content/ssg-rhel7-cpe-dictionary.xml
-profile = standard
+profile = sstig-rhel7-server-upstream
report = report.hmtl
results = results.xml
reports_dir=/home/opnfv/functest/results/security_scan/