<?xml version="1.0" encoding="UTF-8"?>
<robot generated="20180828 10:20:46.767" generator="Robot 3.0.2 (Python 2.7.15 on linux2)">
<suite id="s1" name="Basic &amp; Neutron">
<suite source="/src/odl_test/csit/suites/integration/basic" id="s1-s1" name="Basic">
<suite source="/src/odl_test/csit/suites/integration/basic/restconf_modules.robot" id="s1-s1-s1" name="Restconf Modules">
<kw type="setup" name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>session</arg>
<arg>http://${ODL_SYSTEM_IP}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>headers=${HEADERS_XML}</arg>
</arguments>
<msg timestamp="20180828 10:20:46.844" level="INFO">Creating Session using : alias=session, url=http://192.30.9.6:8181, headers={u'Content-Type': u'application/xml'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f57e1db0110&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:20:46.844" starttime="20180828 10:20:46.843"></status>
</kw>
<test id="s1-s1-s1-t1" name="Get Controller Modules">
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>session</arg>
<arg>${MODULES_API}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:16.402" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8181): Max retries exceeded with url: /restconf/modules (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1db9b50&gt;: Failed to establish a new connection: [Errno 110] Operation timed out',))</msg>
<status status="FAIL" endtime="20180828 10:29:16.403" starttime="20180828 10:20:46.845"></status>
</kw>
<doc>Get the restconf modules, check 200 status and ietf-restconf presence.</doc>
<status status="FAIL" endtime="20180828 10:29:16.403" critical="yes" starttime="20180828 10:20:46.845">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8181): Max retries exceeded with url: /restconf/modules (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1db9b50&gt;: Failed to establish a new connection: [Errno 110] Operation timed out',))</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180828 10:29:16.405" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180828 10:29:16.406" starttime="20180828 10:29:16.405"></status>
</kw>
<doc>Test suite to verify Restconf is OK.</doc>
<status status="FAIL" endtime="20180828 10:29:16.406" starttime="20180828 10:20:46.806"></status>
</suite>
<status status="FAIL" endtime="20180828 10:29:16.409" starttime="20180828 10:20:46.804"></status>
</suite>
<suite source="/src/odl_test/csit/suites/openstack/neutron" id="s1-s2" name="Neutron">
<kw type="setup" name="Start Suite">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>KeyStoneSession</arg>
<arg>${KEYSTONEURL}</arg>
<arg>headers=${HEADERS}</arg>
</arguments>
<msg timestamp="20180828 10:29:16.470" level="INFO">Creating Session using : alias=KeyStoneSession, url=http://172.30.9.23:5000, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:16.471" starttime="20180828 10:29:16.469"></status>
</kw>
<kw name="Post" library="RequestsLibrary">
<doc>**Deprecated- See Post Request now**</doc>
<arguments>
<arg>KeyStoneSession</arg>
<arg>/v3/auth/tokens</arg>
<arg>${UserInfo}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:16.471" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20180828 10:29:16.878" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180828 10:29:16.878" starttime="20180828 10:29:16.471"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${resp.status_code}</arg>
<arg>201</arg>
</arguments>
<msg timestamp="20180828 10:29:16.880" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180828 10:29:16.880" starttime="20180828 10:29:16.879"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${resp.headers}</arg>
<arg>X-Subject-Token</arg>
</arguments>
<assign>
<var>${TOKEN}</var>
</assign>
<msg timestamp="20180828 10:29:16.882" level="INFO">${TOKEN} = gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS4Y</msg>
<status status="PASS" endtime="20180828 10:29:16.882" starttime="20180828 10:29:16.880"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>X-Auth-Token=${TOKEN}</arg>
<arg>Content-Type=application/json</arg>
</arguments>
<assign>
<var>${X-AUTH}</var>
</assign>
<msg timestamp="20180828 10:29:16.883" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS...</msg>
<status status="PASS" endtime="20180828 10:29:16.883" starttime="20180828 10:29:16.882"></status>
</kw>
<kw name="Create Dictionary" library="BuiltIn">
<doc>Creates and returns a dictionary based on the given ``items``.</doc>
<arguments>
<arg>X-Auth-Token=${TOKEN}</arg>
</arguments>
<assign>
<var>${X-AUTH-NOCONTENT}</var>
</assign>
<msg timestamp="20180828 10:29:16.884" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS...</msg>
<status status="PASS" endtime="20180828 10:29:16.885" starttime="20180828 10:29:16.884"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${X-AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:16.886" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS...</msg>
<status status="PASS" endtime="20180828 10:29:16.886" starttime="20180828 10:29:16.885"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${X-AUTH-NOCONTENT}</arg>
</arguments>
<msg timestamp="20180828 10:29:16.887" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS...</msg>
<status status="PASS" endtime="20180828 10:29:16.887" starttime="20180828 10:29:16.886"></status>
</kw>
<status status="PASS" endtime="20180828 10:29:16.887" starttime="20180828 10:29:16.469"></status>
</kw>
<suite source="/src/odl_test/csit/suites/openstack/neutron/001__reachability.robot" id="s1-s2-s1" name="Reachability">
<kw type="setup" name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ODL</arg>
<arg>http://${ODL_SYSTEM_IP}:${PORT}</arg>
<arg>headers=${HEADERS}</arg>
<arg>auth=${AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:16.921" level="INFO">Creating Session using : alias=ODL, url=http://192.30.9.6:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f57e1d13690&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:16.922" starttime="20180828 10:29:16.920"></status>
</kw>
<test id="s1-s2-s1-t1" name="Get the complete list of networks">
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>ODL</arg>
<arg>${NEUTRON_NETWORKS_API}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:17.531" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f33610&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180828 10:29:17.531" starttime="20180828 10:29:16.923"></status>
</kw>
<doc>Get the complete list of networks</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:17.532" critical="yes" starttime="20180828 10:29:16.922">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f33610&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<test id="s1-s2-s1-t2" name="Get the complete list of subnets">
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>ODL</arg>
<arg>${NEUTRON_SUBNETS_API}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:18.140" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f2b5d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180828 10:29:18.140" starttime="20180828 10:29:17.534"></status>
</kw>
<doc>Get the complete list of subnets</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:18.141" critical="yes" starttime="20180828 10:29:17.532">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f2b5d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<test id="s1-s2-s1-t3" name="Get the complete list of ports">
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>ODL</arg>
<arg>${NEUTRON_PORTS_API}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:18.749" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f2b590&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180828 10:29:18.749" starttime="20180828 10:29:18.142"></status>
</kw>
<doc>Get the complete list of ports</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:18.750" critical="yes" starttime="20180828 10:29:18.141">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f2b590&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180828 10:29:18.752" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180828 10:29:18.753" starttime="20180828 10:29:18.752"></status>
</kw>
<status status="FAIL" endtime="20180828 10:29:18.753" starttime="20180828 10:29:16.888"></status>
</suite>
<suite source="/src/odl_test/csit/suites/openstack/neutron/010__networks.robot" id="s1-s2-s2" name="Networks">
<kw type="setup" name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>OSSession</arg>
<arg>${NEUTRONURL}</arg>
<arg>headers=${X-AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:18.787" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.23:9696, headers={u'X-Auth-Token': 'gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS4Y', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:18.787" starttime="20180828 10:29:18.786"></status>
</kw>
<test id="s1-s2-s2-t1" name="Check OpenStack Networks">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${X-AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:18.790" level="INFO">{u'X-Auth-Token': 'gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS4Y', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180828 10:29:18.790" starttime="20180828 10:29:18.789"></status>
</kw>
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>OSSession</arg>
<arg>${OSREST}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:19.450" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/networks, headers=None json=None</msg>
<msg timestamp="20180828 10:29:19.451" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180828 10:29:19.451" starttime="20180828 10:29:18.790"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${resp.status_code}</arg>
<arg>200</arg>
</arguments>
<msg timestamp="20180828 10:29:19.452" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180828 10:29:19.453" starttime="20180828 10:29:19.452"></status>
</kw>
<kw name="To Json" library="RequestsLibrary">
<doc>Convert a string to a JSON object</doc>
<arguments>
<arg>${resp.content}</arg>
</arguments>
<assign>
<var>${OSResult}</var>
</assign>
<msg timestamp="20180828 10:29:19.454" level="INFO">To JSON using : content={"networks":[{"provider:physical_network":"datacentre","ipv6_address_scope":null,"revision_number":2,"port_security_enabled":true,"mtu":1500,"id":"74721f5d-6096-4ea3-ae93-2107115850e8","router:external":true,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"b18112b49c304b0097f2129a84e3e067","status":"ACTIVE","subnets":["8e4d8aa6-79b7-41a6-9fe4-7ee91323e3c6"],"description":"","tags":[],"updated_at":"2018-08-28T10:12:18Z","is_default":false,"provider:segmentation_id":null,"name":"external","admin_state_up":true,"tenant_id":"b18112b49c304b0097f2129a84e3e067","created_at":"2018-08-28T10:12:15Z","provider:network_type":"flat"}]} </msg>
<msg timestamp="20180828 10:29:19.454" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180828 10:29:19.454" level="INFO">${OSResult} = {u'networks': [{u'provider:physical_network': u'datacentre', u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'74721f5d-60...</msg>
<status status="PASS" endtime="20180828 10:29:19.455" starttime="20180828 10:29:19.453"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180828 10:29:19.456" level="INFO">{u'networks': [{u'provider:physical_network': u'datacentre', u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'74721f5d-6096-4ea3-ae93-2107115850e8', u'router:external': True, u'availability_zone_hints': [], u'availability_zones': [u'nova'], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'b18112b49c304b0097f2129a84e3e067', u'status': u'ACTIVE', u'subnets': [u'8e4d8aa6-79b7-41a6-9fe4-7ee91323e3c6'], u'description': u'', u'tags': [], u'updated_at': u'2018-08-28T10:12:18Z', u'is_default': False, u'provider:segmentation_id': None, u'name': u'external', u'admin_state_up': True, u'tenant_id': u'b18112b49c304b0097f2129a84e3e067', u'created_at': u'2018-08-28T10:12:15Z', u'mtu': 1500}]}</msg>
<status status="PASS" endtime="20180828 10:29:19.456" starttime="20180828 10:29:19.455"></status>
</kw>
<doc>Checking OpenStack Neutron for known networks</doc>
<tags>
<tag>Network Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180828 10:29:19.456" critical="yes" starttime="20180828 10:29:18.788"></status>
</test>
<test id="s1-s2-s2-t2" name="Check OpenDaylight Networks">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ODLSession</arg>
<arg>http://${ODL_SYSTEM_IP}:${PORT}</arg>
<arg>headers=${HEADERS}</arg>
<arg>auth=${AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:19.459" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.6:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f57e1f74c10&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:19.460" starttime="20180828 10:29:19.458"></status>
</kw>
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>ODLSession</arg>
<arg>${NEUTRON_NETWORKS_API}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:20.069" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f74d50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180828 10:29:20.070" starttime="20180828 10:29:19.461"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known networks</doc>
<tags>
<tag>Network Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:20.070" critical="yes" starttime="20180828 10:29:19.457">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f74d50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<test id="s1-s2-s2-t3" name="Create Network">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${postNet}</arg>
</arguments>
<msg timestamp="20180828 10:29:20.073" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20180828 10:29:20.073" starttime="20180828 10:29:20.072"></status>
</kw>
<kw name="Post Request" library="RequestsLibrary">
<doc>Send a POST request on the session object found using the</doc>
<arguments>
<arg>OSSession</arg>
<arg>${OSREST}</arg>
<arg>data=${postNet}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:20.328" level="INFO">Post Request using : alias=OSSession, uri=/v2.0/networks, data=&lt;empty&gt;, headers=None, files=None, allow_redirects=True </msg>
<msg timestamp="20180828 10:29:20.328" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180828 10:29:20.328" starttime="20180828 10:29:20.074"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${resp.status_code}</arg>
<arg>201</arg>
</arguments>
<msg timestamp="20180828 10:29:20.329" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180828 10:29:20.330" starttime="20180828 10:29:20.328"></status>
</kw>
<kw name="To Json" library="RequestsLibrary">
<doc>Convert a string to a JSON object</doc>
<arguments>
<arg>${resp.content}</arg>
</arguments>
<assign>
<var>${result}</var>
</assign>
<msg timestamp="20180828 10:29:20.331" level="INFO">To JSON using : content={"network":{"provider:physical_network":null,"ipv6_address_scope":null,"revision_number":1,"port_security_enabled":true,"provider:network_type":"vxlan","id":"619a7d31-f630-40ec-a61a-d919cd21847d","router:external":false,"availability_zone_hints":[],"availability_zones":[],"ipv4_address_scope":null,"shared":false,"project_id":"8c0c48513c494234a764a9b7ebf0db6c","status":"ACTIVE","subnets":[],"description":"","tags":[],"updated_at":"2018-08-28T10:29:20Z","is_default":false,"provider:segmentation_id":18,"name":"odl_network","admin_state_up":true,"tenant_id":"8c0c48513c494234a764a9b7ebf0db6c","created_at":"2018-08-28T10:29:20Z","mtu":1450}} </msg>
<msg timestamp="20180828 10:29:20.331" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180828 10:29:20.331" level="INFO">${result} = {u'network': {u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 1, u'port_security_enabled': True, u'mtu': 1450, u'id': u'619a7d31-f630-40ec-a61a-d919cd21847d', u'ro...</msg>
<status status="PASS" endtime="20180828 10:29:20.331" starttime="20180828 10:29:20.330"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${result}</arg>
<arg>network</arg>
</arguments>
<assign>
<var>${result}</var>
</assign>
<msg timestamp="20180828 10:29:20.332" level="INFO">${result} = {u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 1, u'port_security_enabled': True, u'mtu': 1450, u'id': u'619a7d31-f630-40ec-a61a-d919cd21847d', u'router:external...</msg>
<status status="PASS" endtime="20180828 10:29:20.333" starttime="20180828 10:29:20.332"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${result}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${NETID}</var>
</assign>
<msg timestamp="20180828 10:29:20.334" level="INFO">${NETID} = 619a7d31-f630-40ec-a61a-d919cd21847d</msg>
<status status="PASS" endtime="20180828 10:29:20.334" starttime="20180828 10:29:20.333"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180828 10:29:20.335" level="INFO">{u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 1, u'port_security_enabled': True, u'mtu': 1450, u'id': u'619a7d31-f630-40ec-a61a-d919cd21847d', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'8c0c48513c494234a764a9b7ebf0db6c', u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'tags': [], u'updated_at': u'2018-08-28T10:29:20Z', u'is_default': False, u'provider:segmentation_id': 18, u'name': u'odl_network', u'admin_state_up': True, u'tenant_id': u'8c0c48513c494234a764a9b7ebf0db6c', u'created_at': u'2018-08-28T10:29:20Z', u'provider:network_type': u'vxlan'}</msg>
<status status="PASS" endtime="20180828 10:29:20.335" starttime="20180828 10:29:20.334"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${NETID}</arg>
</arguments>
<msg timestamp="20180828 10:29:20.336" level="INFO">619a7d31-f630-40ec-a61a-d919cd21847d</msg>
<status status="PASS" endtime="20180828 10:29:20.336" starttime="20180828 10:29:20.335"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${NETID}</arg>
</arguments>
<msg timestamp="20180828 10:29:20.337" level="INFO">${NETID} = 619a7d31-f630-40ec-a61a-d919cd21847d</msg>
<status status="PASS" endtime="20180828 10:29:20.337" starttime="20180828 10:29:20.336"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180828 10:29:22.338" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180828 10:29:22.339" starttime="20180828 10:29:20.338"></status>
</kw>
<doc>Create new network in OpenStack</doc>
<tags>
<tag>Create Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180828 10:29:22.339" critical="yes" starttime="20180828 10:29:20.071"></status>
</test>
<test id="s1-s2-s2-t4" name="Check Network">
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>ODLSession</arg>
<arg>${NEUTRON_NETWORKS_API}/${NetID}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:22.948" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/619a7d31-f630-40ec-a61a-d919cd21847d (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f80dd0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180828 10:29:22.949" starttime="20180828 10:29:22.341"></status>
</kw>
<doc>Check network created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>Network OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:22.949" critical="yes" starttime="20180828 10:29:22.340">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/619a7d31-f630-40ec-a61a-d919cd21847d (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f80dd0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180828 10:29:22.951" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180828 10:29:22.952" starttime="20180828 10:29:22.951"></status>
</kw>
<doc>Checking Network created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180828 10:29:22.952" starttime="20180828 10:29:18.756"></status>
</suite>
<suite source="/src/odl_test/csit/suites/openstack/neutron/020__subnets.robot" id="s1-s2-s3" name="Subnets">
<kw type="setup" name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>OSSession</arg>
<arg>${NEUTRONURL}</arg>
<arg>headers=${X-AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:22.983" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.23:9696, headers={u'X-Auth-Token': 'gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS4Y', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:22.984" starttime="20180828 10:29:22.982"></status>
</kw>
<test id="s1-s2-s3-t1" name="Check OpenStack Subnets">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${X-AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:22.986" level="INFO">{u'X-Auth-Token': 'gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS4Y', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180828 10:29:22.986" starttime="20180828 10:29:22.986"></status>
</kw>
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>OSSession</arg>
<arg>${OSREST}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:23.041" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/subnets, headers=None json=None</msg>
<msg timestamp="20180828 10:29:23.042" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180828 10:29:23.042" starttime="20180828 10:29:22.987"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${resp.status_code}</arg>
<arg>200</arg>
</arguments>
<msg timestamp="20180828 10:29:23.043" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180828 10:29:23.043" starttime="20180828 10:29:23.042"></status>
</kw>
<kw name="To Json" library="RequestsLibrary">
<doc>Convert a string to a JSON object</doc>
<arguments>
<arg>${resp.content}</arg>
</arguments>
<assign>
<var>${OSResult}</var>
</assign>
<msg timestamp="20180828 10:29:23.044" level="INFO">To JSON using : content={"subnets":[{"service_types":[],"description":"","enable_dhcp":false,"tags":[],"network_id":"74721f5d-6096-4ea3-ae93-2107115850e8","tenant_id":"b18112b49c304b0097f2129a84e3e067","created_at":"2018-08-28T10:12:18Z","dns_nameservers":[],"updated_at":"2018-08-28T10:12:18Z","ipv6_ra_mode":null,"allocation_pools":[{"start":"172.30.9.200","end":"172.30.9.220"}],"gateway_ip":"172.30.9.1","revision_number":0,"ipv6_address_mode":null,"ip_version":4,"host_routes":[],"cidr":"172.30.9.0/24","project_id":"b18112b49c304b0097f2129a84e3e067","id":"8e4d8aa6-79b7-41a6-9fe4-7ee91323e3c6","subnetpool_id":null,"name":"external-subnet"}]} </msg>
<msg timestamp="20180828 10:29:23.045" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180828 10:29:23.045" level="INFO">${OSResult} = {u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': False, u'tags': [], u'network_id': u'74721f5d-6096-4ea3-ae93-2107115850e8', u'tenant_id': u'b18112b49c304b...</msg>
<status status="PASS" endtime="20180828 10:29:23.045" starttime="20180828 10:29:23.044"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180828 10:29:23.046" level="INFO">{u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': False, u'tags': [], u'network_id': u'74721f5d-6096-4ea3-ae93-2107115850e8', u'tenant_id': u'b18112b49c304b0097f2129a84e3e067', u'created_at': u'2018-08-28T10:12:18Z', u'dns_nameservers': [], u'updated_at': u'2018-08-28T10:12:18Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'172.30.9.200', u'end': u'172.30.9.220'}], u'gateway_ip': u'172.30.9.1', u'revision_number': 0, u'ip_version': 4, u'ipv6_address_mode': None, u'cidr': u'172.30.9.0/24', u'project_id': u'b18112b49c304b0097f2129a84e3e067', u'id': u'8e4d8aa6-79b7-41a6-9fe4-7ee91323e3c6', u'subnetpool_id': None, u'name': u'external-subnet'}]}</msg>
<status status="PASS" endtime="20180828 10:29:23.046" starttime="20180828 10:29:23.045"></status>
</kw>
<doc>Checking OpenStack Neutron for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180828 10:29:23.046" critical="yes" starttime="20180828 10:29:22.984"></status>
</test>
<test id="s1-s2-s3-t2" name="Check OpenDaylight subnets">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ODLSession</arg>
<arg>http://${ODL_SYSTEM_IP}:${PORT}</arg>
<arg>headers=${HEADERS}</arg>
<arg>auth=${AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:23.050" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.6:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f57e1f3a950&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:23.051" starttime="20180828 10:29:23.049"></status>
</kw>
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>ODLSession</arg>
<arg>${NEUTRON_SUBNETS_API}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:23.659" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f3a610&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180828 10:29:23.659" starttime="20180828 10:29:23.051"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:23.659" critical="yes" starttime="20180828 10:29:23.047">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f3a610&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<test id="s1-s2-s3-t3" name="Create New subnet">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${data}</arg>
</arguments>
<msg timestamp="20180828 10:29:23.662" level="INFO">{"subnet":{"network_id":"619a7d31-f630-40ec-a61a-d919cd21847d","ip_version":4,"cidr":"172.16.64.0/24","allocation_pools":[{"start":"172.16.64.20","end":"172.16.64.120"}]}}</msg>
<status status="PASS" endtime="20180828 10:29:23.662" starttime="20180828 10:29:23.662"></status>
</kw>
<kw name="Post Request" library="RequestsLibrary">
<doc>Send a POST request on the session object found using the</doc>
<arguments>
<arg>OSSession</arg>
<arg>${OSREST}</arg>
<arg>data=${data}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:24.046" level="INFO">Post Request using : alias=OSSession, uri=/v2.0/subnets, data=&lt;empty&gt;, headers=None, files=None, allow_redirects=True </msg>
<msg timestamp="20180828 10:29:24.046" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180828 10:29:24.047" starttime="20180828 10:29:23.663"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${resp.status_code}</arg>
<arg>201</arg>
</arguments>
<msg timestamp="20180828 10:29:24.048" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180828 10:29:24.048" starttime="20180828 10:29:24.047"></status>
</kw>
<kw name="To Json" library="RequestsLibrary">
<doc>Convert a string to a JSON object</doc>
<arguments>
<arg>${resp.content}</arg>
</arguments>
<assign>
<var>${result}</var>
</assign>
<msg timestamp="20180828 10:29:24.049" level="INFO">To JSON using : content={"subnet":{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"619a7d31-f630-40ec-a61a-d919cd21847d","tenant_id":"8c0c48513c494234a764a9b7ebf0db6c","created_at":"2018-08-28T10:29:23Z","dns_nameservers":[],"updated_at":"2018-08-28T10:29:23Z","gateway_ip":"172.16.64.1","ipv6_ra_mode":null,"allocation_pools":[{"start":"172.16.64.20","end":"172.16.64.120"}],"host_routes":[],"revision_number":0,"ip_version":4,"ipv6_address_mode":null,"cidr":"172.16.64.0/24","project_id":"8c0c48513c494234a764a9b7ebf0db6c","id":"a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4","subnetpool_id":null,"name":""}} </msg>
<msg timestamp="20180828 10:29:24.049" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180828 10:29:24.050" level="INFO">${result} = {u'subnet': {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'619a7d31-f630-40ec-a61a-d919cd21847d', u'tenant_id': u'8c0c48513c494234a764a9b7ebf0db6c', u'...</msg>
<status status="PASS" endtime="20180828 10:29:24.050" starttime="20180828 10:29:24.048"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${result}</arg>
<arg>subnet</arg>
</arguments>
<assign>
<var>${result}</var>
</assign>
<msg timestamp="20180828 10:29:24.051" level="INFO">${result} = {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'619a7d31-f630-40ec-a61a-d919cd21847d', u'tenant_id': u'8c0c48513c494234a764a9b7ebf0db6c', u'created_at':...</msg>
<status status="PASS" endtime="20180828 10:29:24.051" starttime="20180828 10:29:24.050"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${result}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${SUBNETID}</var>
</assign>
<msg timestamp="20180828 10:29:24.052" level="INFO">${SUBNETID} = a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4</msg>
<status status="PASS" endtime="20180828 10:29:24.052" starttime="20180828 10:29:24.051"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180828 10:29:24.053" level="INFO">{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'619a7d31-f630-40ec-a61a-d919cd21847d', u'tenant_id': u'8c0c48513c494234a764a9b7ebf0db6c', u'created_at': u'2018-08-28T10:29:23Z', u'dns_nameservers': [], u'updated_at': u'2018-08-28T10:29:23Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'172.16.64.20', u'end': u'172.16.64.120'}], u'gateway_ip': u'172.16.64.1', u'revision_number': 0, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'172.16.64.0/24', u'project_id': u'8c0c48513c494234a764a9b7ebf0db6c', u'id': u'a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4', u'subnetpool_id': None, u'name': u''}</msg>
<status status="PASS" endtime="20180828 10:29:24.053" starttime="20180828 10:29:24.052"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${SUBNETID}</arg>
</arguments>
<msg timestamp="20180828 10:29:24.054" level="INFO">a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4</msg>
<status status="PASS" endtime="20180828 10:29:24.054" starttime="20180828 10:29:24.053"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${SUBNETID}</arg>
</arguments>
<msg timestamp="20180828 10:29:24.055" level="INFO">${SUBNETID} = a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4</msg>
<status status="PASS" endtime="20180828 10:29:24.055" starttime="20180828 10:29:24.055"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180828 10:29:26.056" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180828 10:29:26.057" starttime="20180828 10:29:24.056"></status>
</kw>
<doc>Create new subnet in OpenStack</doc>
<tags>
<tag>Create Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180828 10:29:26.057" critical="yes" starttime="20180828 10:29:23.660"></status>
</test>
<test id="s1-s2-s3-t4" name="Check New subnet">
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>ODLSession</arg>
<arg>${NEUTRON_SUBNETS_API}/${SUBNETID}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:26.667" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1d17610&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180828 10:29:26.667" starttime="20180828 10:29:26.060"></status>
</kw>
<doc>Check new subnet created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>subnet OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:26.668" critical="yes" starttime="20180828 10:29:26.058">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1d17610&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180828 10:29:26.670" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180828 10:29:26.670" starttime="20180828 10:29:26.670"></status>
</kw>
<doc>Checking Subnets created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180828 10:29:26.670" starttime="20180828 10:29:22.955"></status>
</suite>
<suite source="/src/odl_test/csit/suites/openstack/neutron/030__ports.robot" id="s1-s2-s4" name="Ports">
<kw type="setup" name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>OSSession</arg>
<arg>${NEUTRONURL}</arg>
<arg>headers=${X-AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:26.706" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.23:9696, headers={u'X-Auth-Token': 'gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS4Y', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:26.707" starttime="20180828 10:29:26.705"></status>
</kw>
<test id="s1-s2-s4-t1" name="Check OpenStack ports">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${X-AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:26.709" level="INFO">{u'X-Auth-Token': 'gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS4Y', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180828 10:29:26.709" starttime="20180828 10:29:26.708"></status>
</kw>
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>OSSession</arg>
<arg>${OSREST}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:26.771" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/ports, headers=None json=None</msg>
<msg timestamp="20180828 10:29:26.772" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180828 10:29:26.772" starttime="20180828 10:29:26.709"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${resp.status_code}</arg>
<arg>200</arg>
</arguments>
<msg timestamp="20180828 10:29:26.773" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180828 10:29:26.773" starttime="20180828 10:29:26.772"></status>
</kw>
<kw name="To Json" library="RequestsLibrary">
<doc>Convert a string to a JSON object</doc>
<arguments>
<arg>${resp.content}</arg>
</arguments>
<assign>
<var>${OSResult}</var>
</assign>
<msg timestamp="20180828 10:29:26.774" level="INFO">To JSON using : content={"ports":[{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-08-28T10:29:26Z","device_owner":"network:dhcp","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4","ip_address":"172.16.64.20"}],"id":"1d34c387-f4fc-477e-8521-f2ba04cca91b","security_groups":[],"binding:vif_details":{},"binding:vif_type":"ovs","mac_address":"fa:16:3e:9f:a5:07","project_id":"8c0c48513c494234a764a9b7ebf0db6c","status":"ACTIVE","binding:host_id":"overcloud-controller-0.opnfvlf.org","description":"","tags":[],"device_id":"dhcp827da361-9c56-50f7-913f-5a01f7bfed2c-619a7d31-f630-40ec-a61a-d919cd21847d","name":"","admin_state_up":true,"network_id":"619a7d31-f630-40ec-a61a-d919cd21847d","tenant_id":"8c0c48513c494234a764a9b7ebf0db6c","created_at":"2018-08-28T10:29:24Z","binding:vnic_type":"normal"}]} </msg>
<msg timestamp="20180828 10:29:26.775" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180828 10:29:26.775" level="INFO">${OSResult} = {u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-08-28T10:29:26Z', u'device_owner': u'network:dhcp', u'revision_number': 3, u'port_security_enabled': False, u'b...</msg>
<status status="PASS" endtime="20180828 10:29:26.775" starttime="20180828 10:29:26.774"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180828 10:29:26.776" level="INFO">{u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-08-28T10:29:26Z', u'device_owner': u'network:dhcp', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4', u'ip_address': u'172.16.64.20'}], u'id': u'1d34c387-f4fc-477e-8521-f2ba04cca91b', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:9f:a5:07', u'project_id': u'8c0c48513c494234a764a9b7ebf0db6c', u'status': u'ACTIVE', u'binding:host_id': u'overcloud-controller-0.opnfvlf.org', u'description': u'', u'tags': [], u'device_id': u'dhcp827da361-9c56-50f7-913f-5a01f7bfed2c-619a7d31-f630-40ec-a61a-d919cd21847d', u'name': u'', u'admin_state_up': True, u'network_id': u'619a7d31-f630-40ec-a61a-d919cd21847d', u'tenant_id': u'8c0c48513c494234a764a9b7ebf0db6c', u'created_at': u'2018-08-28T10:29:24Z', u'binding:vnic_type': u'normal'}]}</msg>
<status status="PASS" endtime="20180828 10:29:26.776" starttime="20180828 10:29:26.775"></status>
</kw>
<doc>Checking OpenStack Neutron for known ports</doc>
<tags>
<tag>Ports Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180828 10:29:26.777" critical="yes" starttime="20180828 10:29:26.707"></status>
</test>
<test id="s1-s2-s4-t2" name="Check OpenDaylight ports">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ODLSession</arg>
<arg>http://${ODL_SYSTEM_IP}:${PORT}</arg>
<arg>headers=${HEADERS}</arg>
<arg>auth=${AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:26.780" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.6:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f57e1d13bd0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:26.781" starttime="20180828 10:29:26.779"></status>
</kw>
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>ODLSession</arg>
<arg>${NEUTRON_PORTS_API}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:27.389" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1d179d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180828 10:29:27.389" starttime="20180828 10:29:26.781"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known ports</doc>
<tags>
<tag>Ports Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:27.390" critical="yes" starttime="20180828 10:29:26.777">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1d179d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<test id="s1-s2-s4-t3" name="Create New Port">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${data}</arg>
</arguments>
<msg timestamp="20180828 10:29:27.393" level="INFO">{"port":{"network_id":"619a7d31-f630-40ec-a61a-d919cd21847d","admin_state_up": true}}</msg>
<status status="PASS" endtime="20180828 10:29:27.393" starttime="20180828 10:29:27.392"></status>
</kw>
<kw name="Post Request" library="RequestsLibrary">
<doc>Send a POST request on the session object found using the</doc>
<arguments>
<arg>OSSession</arg>
<arg>${OSREST}</arg>
<arg>data=${data}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:28.027" level="INFO">Post Request using : alias=OSSession, uri=/v2.0/ports, data=&lt;empty&gt;, headers=None, files=None, allow_redirects=True </msg>
<msg timestamp="20180828 10:29:28.028" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180828 10:29:28.028" starttime="20180828 10:29:27.393"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${resp.status_code}</arg>
<arg>201</arg>
</arguments>
<msg timestamp="20180828 10:29:28.029" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180828 10:29:28.029" starttime="20180828 10:29:28.028"></status>
</kw>
<kw name="To Json" library="RequestsLibrary">
<doc>Convert a string to a JSON object</doc>
<arguments>
<arg>${resp.content}</arg>
</arguments>
<assign>
<var>${result}</var>
</assign>
<msg timestamp="20180828 10:29:28.030" level="INFO">To JSON using : content={"port":{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-08-28T10:29:27Z","device_owner":"","revision_number":1,"binding:profile":{},"port_security_enabled":true,"fixed_ips":[{"subnet_id":"a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4","ip_address":"172.16.64.38"}],"id":"8c678b3f-9541-4b55-843d-d5afb2b75782","security_groups":["d3c52ca5-d9a8-4b2f-a611-f5a8f727210d"],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:7f:42:6b","project_id":"8c0c48513c494234a764a9b7ebf0db6c","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"","name":"","admin_state_up":true,"network_id":"619a7d31-f630-40ec-a61a-d919cd21847d","tenant_id":"8c0c48513c494234a764a9b7ebf0db6c","created_at":"2018-08-28T10:29:27Z","binding:vnic_type":"normal"}} </msg>
<msg timestamp="20180828 10:29:28.031" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180828 10:29:28.031" level="INFO">${result} = {u'port': {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-08-28T10:29:27Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': ...</msg>
<status status="PASS" endtime="20180828 10:29:28.031" starttime="20180828 10:29:28.030"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${result}</arg>
<arg>port</arg>
</arguments>
<assign>
<var>${result}</var>
</assign>
<msg timestamp="20180828 10:29:28.032" level="INFO">${result} = {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-08-28T10:29:27Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fi...</msg>
<status status="PASS" endtime="20180828 10:29:28.032" starttime="20180828 10:29:28.031"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${result}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${PORTID}</var>
</assign>
<msg timestamp="20180828 10:29:28.033" level="INFO">${PORTID} = 8c678b3f-9541-4b55-843d-d5afb2b75782</msg>
<status status="PASS" endtime="20180828 10:29:28.033" starttime="20180828 10:29:28.033"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180828 10:29:28.034" level="INFO">{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-08-28T10:29:27Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fixed_ips': [{u'subnet_id': u'a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4', u'ip_address': u'172.16.64.38'}], u'id': u'8c678b3f-9541-4b55-843d-d5afb2b75782', u'security_groups': [u'd3c52ca5-d9a8-4b2f-a611-f5a8f727210d'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:7f:42:6b', u'project_id': u'8c0c48513c494234a764a9b7ebf0db6c', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'', u'name': u'', u'admin_state_up': True, u'network_id': u'619a7d31-f630-40ec-a61a-d919cd21847d', u'tenant_id': u'8c0c48513c494234a764a9b7ebf0db6c', u'created_at': u'2018-08-28T10:29:27Z', u'binding:vnic_type': u'normal'}</msg>
<status status="PASS" endtime="20180828 10:29:28.035" starttime="20180828 10:29:28.034"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${PORTID}</arg>
</arguments>
<msg timestamp="20180828 10:29:28.035" level="INFO">8c678b3f-9541-4b55-843d-d5afb2b75782</msg>
<status status="PASS" endtime="20180828 10:29:28.036" starttime="20180828 10:29:28.035"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${PORTID}</arg>
</arguments>
<msg timestamp="20180828 10:29:28.037" level="INFO">${PORTID} = 8c678b3f-9541-4b55-843d-d5afb2b75782</msg>
<status status="PASS" endtime="20180828 10:29:28.037" starttime="20180828 10:29:28.036"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180828 10:29:30.038" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180828 10:29:30.038" starttime="20180828 10:29:28.037"></status>
</kw>
<doc>Create new port in OpenStack</doc>
<tags>
<tag>Create port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180828 10:29:30.039" critical="yes" starttime="20180828 10:29:27.391"></status>
</test>
<test id="s1-s2-s4-t4" name="Check New Port">
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>ODLSession</arg>
<arg>${NEUTRON_PORTS_API}/${PORTID}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:30.649" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/8c678b3f-9541-4b55-843d-d5afb2b75782 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f80350&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180828 10:29:30.649" starttime="20180828 10:29:30.041"></status>
</kw>
<doc>Check new port created in OpenDaylight</doc>
<tags>
<tag>Check port OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:30.649" critical="yes" starttime="20180828 10:29:30.039">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/8c678b3f-9541-4b55-843d-d5afb2b75782 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1f80350&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180828 10:29:30.651" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180828 10:29:30.652" starttime="20180828 10:29:30.651"></status>
</kw>
<doc>Checking Port created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180828 10:29:30.652" starttime="20180828 10:29:26.674"></status>
</suite>
<suite source="/src/odl_test/csit/suites/openstack/neutron/040__delete_ports.robot" id="s1-s2-s5" name="Delete Ports">
<kw type="setup" name="Start Suite">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>OSSession</arg>
<arg>${NEUTRONURL}</arg>
<arg>headers=${X-AUTH-NOCONTENT}</arg>
</arguments>
<msg timestamp="20180828 10:29:30.684" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.23:9696, headers={u'X-Auth-Token': 'gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS4Y'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:30.685" starttime="20180828 10:29:30.684"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ODLSession</arg>
<arg>http://${ODL_SYSTEM_IP}:${PORT}</arg>
<arg>headers=${HEADERS}</arg>
<arg>auth=${AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:30.686" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.6:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f57e1c64850&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:30.687" starttime="20180828 10:29:30.685"></status>
</kw>
<kw name="Check Port Exists">
<arguments>
<arg>${PORTID}</arg>
</arguments>
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>ODLSession</arg>
<arg>${NEUTRON_PORTS_API}/${portid}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:31.294" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/8c678b3f-9541-4b55-843d-d5afb2b75782 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1db0ed0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180828 10:29:31.295" starttime="20180828 10:29:30.688"></status>
</kw>
<status status="FAIL" endtime="20180828 10:29:31.295" starttime="20180828 10:29:30.687"></status>
</kw>
<status status="FAIL" endtime="20180828 10:29:31.295" starttime="20180828 10:29:30.683"></status>
</kw>
<test id="s1-s2-s5-t1" name="Delete New Port">
<doc>Delete previously created port in OpenStack</doc>
<tags>
<tag>Delete port OpenStack Neutron</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:31.297" critical="yes" starttime="20180828 10:29:31.296">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/8c678b3f-9541-4b55-843d-d5afb2b75782 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1db0ed0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<test id="s1-s2-s5-t2" name="Check Port Deleted">
<doc>Check port deleted in OpenDaylight</doc>
<tags>
<tag>Check port deleted OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:31.299" critical="yes" starttime="20180828 10:29:31.297">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/8c678b3f-9541-4b55-843d-d5afb2b75782 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1db0ed0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180828 10:29:31.300" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180828 10:29:31.301" starttime="20180828 10:29:31.300"></status>
</kw>
<doc>Checking Port deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180828 10:29:31.301" starttime="20180828 10:29:30.655">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/8c678b3f-9541-4b55-843d-d5afb2b75782 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1db0ed0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</suite>
<suite source="/src/odl_test/csit/suites/openstack/neutron/050__delete_subnets.robot" id="s1-s2-s6" name="Delete Subnets">
<kw type="setup" name="Start Suite">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>OSSession</arg>
<arg>${NEUTRONURL}</arg>
<arg>headers=${X-AUTH-NOCONTENT}</arg>
</arguments>
<msg timestamp="20180828 10:29:31.331" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.23:9696, headers={u'X-Auth-Token': 'gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS4Y'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:31.332" starttime="20180828 10:29:31.331"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ODLSession</arg>
<arg>http://${ODL_SYSTEM_IP}:${PORT}</arg>
<arg>headers=${HEADERS}</arg>
<arg>auth=${AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:31.333" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.6:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f57e1c7cdd0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:31.334" starttime="20180828 10:29:31.332"></status>
</kw>
<kw name="Check Subnet Exists">
<arguments>
<arg>${SUBNETID}</arg>
</arguments>
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>ODLSession</arg>
<arg>${NEUTRON_SUBNETS_API}/${subnetid}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:31.941" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1c64a50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180828 10:29:31.941" starttime="20180828 10:29:31.334"></status>
</kw>
<status status="FAIL" endtime="20180828 10:29:31.942" starttime="20180828 10:29:31.334"></status>
</kw>
<status status="FAIL" endtime="20180828 10:29:31.942" starttime="20180828 10:29:31.330"></status>
</kw>
<test id="s1-s2-s6-t1" name="Delete New subnet">
<doc>Delete previously created subnet in OpenStack</doc>
<tags>
<tag>Delete Subnet OpenStack Neutron</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:31.943" critical="yes" starttime="20180828 10:29:31.942">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1c64a50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<test id="s1-s2-s6-t2" name="Check New subnet deleted">
<doc>Check subnet deleted in OpenDaylight</doc>
<tags>
<tag>Check subnet deleted OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:31.945" critical="yes" starttime="20180828 10:29:31.944">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1c64a50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180828 10:29:31.946" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180828 10:29:31.946" starttime="20180828 10:29:31.946"></status>
</kw>
<doc>Checking Subnets deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180828 10:29:31.946" starttime="20180828 10:29:31.303">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/a2f7f9e9-ce6e-43fd-b5c0-2acc863486d4 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1c64a50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</suite>
<suite source="/src/odl_test/csit/suites/openstack/neutron/060__delete_networks.robot" id="s1-s2-s7" name="Delete Networks">
<kw type="setup" name="Start Suite">
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>OSSession</arg>
<arg>${NEUTRONURL}</arg>
<arg>headers=${X-AUTH-NOCONTENT}</arg>
</arguments>
<msg timestamp="20180828 10:29:31.975" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.23:9696, headers={u'X-Auth-Token': 'gAAAAABbhSP8s7G8K2EPty8iUNUkQDR_hDDDvn_G68FVg7NY60yN_LyahSVGKmyP6jStA00eSVZ06FWOO3SN3cdT8G_G3dDtFR8eCPZJzPGX3zk4uFt1G2Wgyu7IV6-S9XGlWDnkzafxcoBCaMpQxl0phANAR68qekGgoW2dNamw7Weix-6uS4Y'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:31.975" starttime="20180828 10:29:31.974"></status>
</kw>
<kw name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>ODLSession</arg>
<arg>http://${ODL_SYSTEM_IP}:${PORT}</arg>
<arg>headers=${HEADERS}</arg>
<arg>auth=${AUTH}</arg>
</arguments>
<msg timestamp="20180828 10:29:31.976" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.6:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f57e1c64c90&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180828 10:29:31.977" starttime="20180828 10:29:31.975"></status>
</kw>
<kw name="Check Network Exists">
<arguments>
<arg>${NETID}</arg>
</arguments>
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>ODLSession</arg>
<arg>${NEUTRON_NETWORKS_API}/${netid}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20180828 10:29:32.585" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/619a7d31-f630-40ec-a61a-d919cd21847d (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1c645d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180828 10:29:32.585" starttime="20180828 10:29:31.978"></status>
</kw>
<status status="FAIL" endtime="20180828 10:29:32.586" starttime="20180828 10:29:31.977"></status>
</kw>
<status status="FAIL" endtime="20180828 10:29:32.586" starttime="20180828 10:29:31.973"></status>
</kw>
<test id="s1-s2-s7-t1" name="Delete Network">
<doc>Delete network in OpenStack</doc>
<tags>
<tag>Delete Network OpenStack Neutron</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:32.587" critical="yes" starttime="20180828 10:29:32.586">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/619a7d31-f630-40ec-a61a-d919cd21847d (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1c645d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<test id="s1-s2-s7-t2" name="Check Network deleted">
<doc>Check network deleted in OpenDaylight</doc>
<tags>
<tag>Check Network OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180828 10:29:32.589" critical="yes" starttime="20180828 10:29:32.588">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/619a7d31-f630-40ec-a61a-d919cd21847d (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1c645d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180828 10:29:32.590" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180828 10:29:32.591" starttime="20180828 10:29:32.590"></status>
</kw>
<doc>Checking Network deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180828 10:29:32.591" starttime="20180828 10:29:31.948">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.6', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/619a7d31-f630-40ec-a61a-d919cd21847d (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f57e1c645d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</status>
</suite>
<kw type="teardown" name="Stop Suite">
<kw name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180828 10:29:32.597" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180828 10:29:32.598" starttime="20180828 10:29:32.597"></status>
</kw>
<status status="PASS" endtime="20180828 10:29:32.598" starttime="20180828 10:29:32.596"></status>
</kw>
<doc>Test suite for Neutron Plugin</doc>
<status status="FAIL" endtime="20180828 10:29:32.598" starttime="20180828 10:29:16.411"></status>
</suite>
<status status="FAIL" endtime="20180828 10:29:32.612" starttime="20180828 10:20:46.768"></status>
</suite>
<statistics>
<total>
<stat fail="16" pass="6">Critical Tests</stat>
<stat fail="16" pass="6">All Tests</stat>
</total>
<tag>
<stat fail="2" pass="0">Check</stat>
<stat fail="1" pass="0">Check Network OpenDaylight</stat>
<stat fail="1" pass="0">Check port deleted OpenDaylight</stat>
<stat fail="1" pass="0">Check port OpenDaylight</stat>
<stat fail="1" pass="0">Check subnet deleted OpenDaylight</stat>
<stat fail="0" pass="1">Create Network OpenStack Neutron</stat>
<stat fail="0" pass="1">Create port OpenStack Neutron</stat>
<stat fail="0" pass="1">Create Subnet OpenStack Neutron</stat>
<stat fail="1" pass="0">Delete Network OpenStack Neutron</stat>
<stat fail="1" pass="0">Delete port OpenStack Neutron</stat>
<stat fail="1" pass="0">Delete Subnet OpenStack Neutron</stat>
<stat fail="1" pass="0">Network Neutron OpenDaylight</stat>
<stat fail="0" pass="1">Network Neutron OpenStack</stat>
<stat fail="1" pass="0">Network OpenDaylight</stat>
<stat fail="1" pass="0">Ports Neutron OpenDaylight</stat>
<stat fail="0" pass="1">Ports Neutron OpenStack</stat>
<stat fail="3" pass="0">reachability</stat>
<stat fail="1" pass="0">subnet OpenDaylight</stat>
<stat fail="1" pass="0">Subnets Neutron OpenDaylight</stat>
<stat fail="0" pass="1">Subnets Neutron OpenStack</stat>
</tag>
<suite>
<stat fail="16" id="s1" name="Basic &amp; Neutron" pass="6">Basic &amp; Neutron</stat>
<stat fail="1" id="s1-s1" name="Basic" pass="0">Basic &amp; Neutron.Basic</stat>
<stat fail="1" id="s1-s1-s1" name="Restconf Modules" pass="0">Basic &amp; Neutron.Basic.Restconf Modules</stat>
<stat fail="15" id="s1-s2" name="Neutron" pass="6">Basic &amp; Neutron.Neutron</stat>
<stat fail="3" id="s1-s2-s1" name="Reachability" pass="0">Basic &amp; Neutron.Neutron.Reachability</stat>
<stat fail="2" id="s1-s2-s2" name="Networks" pass="2">Basic &amp; Neutron.Neutron.Networks</stat>
<stat fail="2" id="s1-s2-s3" name="Subnets" pass="2">Basic &amp; Neutron.Neutron.Subnets</stat>
<stat fail="2" id="s1-s2-s4" name="Ports" pass="2">Basic &amp; Neutron.Neutron.Ports</stat>
<stat fail="2" id="s1-s2-s5" name="Delete Ports" pass="0">Basic &amp; Neutron.Neutron.Delete Ports</stat>
<stat fail="2" id="s1-s2-s6" name="Delete Subnets" pass="0">Basic &amp; Neutron.Neutron.Delete Subnets</stat>
<stat fail="2" id="s1-s2-s7" name="Delete Networks" pass="0">Basic &amp; Neutron.Neutron.Delete Networks</stat>
</suite>
</statistics>
<errors>
<msg timestamp="20180828 10:29:16.471" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
</errors>
</robot>
