<?xml version="1.0" encoding="UTF-8"?>
<robot generated="20180904 02:39:35.874" 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="20180904 02:39:35.976" level="INFO">Creating Session using : alias=session, url=http://192.30.9.3:8181, headers={u'Content-Type': u'application/xml'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f32f6e472d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:39:35.976" starttime="20180904 02:39:35.975"></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="20180904 02:48:05.490" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8181): Max retries exceeded with url: /restconf/modules (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6c78450&gt;: Failed to establish a new connection: [Errno 110] Operation timed out',))</msg>
<status status="FAIL" endtime="20180904 02:48:05.491" starttime="20180904 02:39:35.977"></status>
</kw>
<doc>Get the restconf modules, check 200 status and ietf-restconf presence.</doc>
<status status="FAIL" endtime="20180904 02:48:05.491" critical="yes" starttime="20180904 02:39:35.976">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8181): Max retries exceeded with url: /restconf/modules (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6c78450&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="20180904 02:48:05.493" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180904 02:48:05.493" starttime="20180904 02:48:05.493"></status>
</kw>
<doc>Test suite to verify Restconf is OK.</doc>
<status status="FAIL" endtime="20180904 02:48:05.494" starttime="20180904 02:39:35.911"></status>
</suite>
<status status="FAIL" endtime="20180904 02:48:05.497" starttime="20180904 02:39:35.909"></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="20180904 02:48:05.557" level="INFO">Creating Session using : alias=KeyStoneSession, url=http://172.30.9.38: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="20180904 02:48:05.558" starttime="20180904 02:48:05.557"></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="20180904 02:48:05.559" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20180904 02:48:05.965" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180904 02:48:05.965" starttime="20180904 02:48:05.558"></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="20180904 02:48:05.967" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180904 02:48:05.967" starttime="20180904 02:48:05.966"></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="20180904 02:48:05.968" level="INFO">${TOKEN} = gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2hs</msg>
<status status="PASS" endtime="20180904 02:48:05.968" starttime="20180904 02:48:05.967"></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="20180904 02:48:05.970" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2...</msg>
<status status="PASS" endtime="20180904 02:48:05.970" starttime="20180904 02:48:05.969"></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="20180904 02:48:05.971" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2...</msg>
<status status="PASS" endtime="20180904 02:48:05.971" starttime="20180904 02:48:05.970"></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="20180904 02:48:05.972" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2...</msg>
<status status="PASS" endtime="20180904 02:48:05.973" starttime="20180904 02:48:05.972"></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="20180904 02:48:05.974" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2...</msg>
<status status="PASS" endtime="20180904 02:48:05.974" starttime="20180904 02:48:05.973"></status>
</kw>
<status status="PASS" endtime="20180904 02:48:05.974" starttime="20180904 02:48:05.556"></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="20180904 02:48:06.002" level="INFO">Creating Session using : alias=ODL, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f32f6bccd90&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:48:06.003" starttime="20180904 02:48:06.001"></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="20180904 02:48:06.612" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b12710&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180904 02:48:06.612" starttime="20180904 02:48:06.005"></status>
</kw>
<doc>Get the complete list of networks</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180904 02:48:06.613" critical="yes" starttime="20180904 02:48:06.003">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b12710&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="20180904 02:48:07.223" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b14110&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180904 02:48:07.223" starttime="20180904 02:48:06.615"></status>
</kw>
<doc>Get the complete list of subnets</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180904 02:48:07.224" critical="yes" starttime="20180904 02:48:06.614">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b14110&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="20180904 02:48:07.833" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b148d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180904 02:48:07.833" starttime="20180904 02:48:07.226"></status>
</kw>
<doc>Get the complete list of ports</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180904 02:48:07.834" critical="yes" starttime="20180904 02:48:07.224">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b148d0&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="20180904 02:48:07.836" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180904 02:48:07.836" starttime="20180904 02:48:07.835"></status>
</kw>
<status status="FAIL" endtime="20180904 02:48:07.836" starttime="20180904 02:48:05.974"></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="20180904 02:48:07.869" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.38:9696, headers={u'X-Auth-Token': 'gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2hs', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:48:07.869" starttime="20180904 02:48:07.868"></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="20180904 02:48:07.871" level="INFO">{u'X-Auth-Token': 'gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2hs', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180904 02:48:07.871" starttime="20180904 02:48:07.871"></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="20180904 02:48:08.229" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/networks, headers=None json=None</msg>
<msg timestamp="20180904 02:48:08.229" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180904 02:48:08.229" starttime="20180904 02:48:07.872"></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="20180904 02:48:08.230" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180904 02:48:08.231" starttime="20180904 02:48:08.229"></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="20180904 02:48:08.232" 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":"74d252cf-8ba7-49bd-9b0d-d05cd510e0cd","router:external":true,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"dbf09962634246d4a97ffa9b2c2ae592","status":"ACTIVE","subnets":["6a804656-420a-4465-a83e-9b09584afc1a"],"description":"","tags":[],"updated_at":"2018-09-04T02:28:12Z","is_default":false,"provider:segmentation_id":null,"name":"external","admin_state_up":true,"tenant_id":"dbf09962634246d4a97ffa9b2c2ae592","created_at":"2018-09-04T02:28:05Z","provider:network_type":"flat"}]} </msg>
<msg timestamp="20180904 02:48:08.232" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180904 02:48:08.232" 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'74d252cf-8b...</msg>
<status status="PASS" endtime="20180904 02:48:08.232" starttime="20180904 02:48:08.231"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180904 02:48:08.233" 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'74d252cf-8ba7-49bd-9b0d-d05cd510e0cd', 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'dbf09962634246d4a97ffa9b2c2ae592', u'status': u'ACTIVE', u'subnets': [u'6a804656-420a-4465-a83e-9b09584afc1a'], u'description': u'', u'tags': [], u'updated_at': u'2018-09-04T02:28:12Z', u'is_default': False, u'provider:segmentation_id': None, u'name': u'external', u'admin_state_up': True, u'tenant_id': u'dbf09962634246d4a97ffa9b2c2ae592', u'created_at': u'2018-09-04T02:28:05Z', u'mtu': 1500}]}</msg>
<status status="PASS" endtime="20180904 02:48:08.234" starttime="20180904 02:48:08.233"></status>
</kw>
<doc>Checking OpenStack Neutron for known networks</doc>
<tags>
<tag>Network Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180904 02:48:08.234" critical="yes" starttime="20180904 02:48:07.870"></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="20180904 02:48:08.237" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f32f6b120d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:48:08.238" starttime="20180904 02:48:08.236"></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="20180904 02:48:08.846" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b12c10&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180904 02:48:08.846" starttime="20180904 02:48:08.238"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known networks</doc>
<tags>
<tag>Network Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180904 02:48:08.846" critical="yes" starttime="20180904 02:48:08.234">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b12c10&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="20180904 02:48:08.849" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20180904 02:48:08.849" starttime="20180904 02:48:08.848"></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="20180904 02:48:09.549" 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="20180904 02:48:09.549" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180904 02:48:09.549" starttime="20180904 02:48:08.849"></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="20180904 02:48:09.550" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180904 02:48:09.550" starttime="20180904 02:48:09.549"></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="20180904 02:48:09.551" 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":"52f5781d-4f6f-426d-8140-786c3e8fca32","router:external":false,"availability_zone_hints":[],"availability_zones":[],"ipv4_address_scope":null,"shared":false,"project_id":"8251a579dd56405aabe2b5259a0f77d6","status":"ACTIVE","subnets":[],"description":"","tags":[],"updated_at":"2018-09-04T02:48:09Z","is_default":false,"provider:segmentation_id":10,"name":"odl_network","admin_state_up":true,"tenant_id":"8251a579dd56405aabe2b5259a0f77d6","created_at":"2018-09-04T02:48:09Z","mtu":1450}} </msg>
<msg timestamp="20180904 02:48:09.552" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180904 02:48:09.552" 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'52f5781d-4f6f-426d-8140-786c3e8fca32', u'ro...</msg>
<status status="PASS" endtime="20180904 02:48:09.552" starttime="20180904 02:48:09.551"></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="20180904 02:48:09.553" 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'52f5781d-4f6f-426d-8140-786c3e8fca32', u'router:external...</msg>
<status status="PASS" endtime="20180904 02:48:09.553" starttime="20180904 02:48:09.552"></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="20180904 02:48:09.554" level="INFO">${NETID} = 52f5781d-4f6f-426d-8140-786c3e8fca32</msg>
<status status="PASS" endtime="20180904 02:48:09.554" starttime="20180904 02:48:09.554"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180904 02:48:09.555" 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'52f5781d-4f6f-426d-8140-786c3e8fca32', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'8251a579dd56405aabe2b5259a0f77d6', u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'tags': [], u'updated_at': u'2018-09-04T02:48:09Z', u'is_default': False, u'provider:segmentation_id': 10, u'name': u'odl_network', u'admin_state_up': True, u'tenant_id': u'8251a579dd56405aabe2b5259a0f77d6', u'created_at': u'2018-09-04T02:48:09Z', u'provider:network_type': u'vxlan'}</msg>
<status status="PASS" endtime="20180904 02:48:09.556" starttime="20180904 02:48:09.555"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${NETID}</arg>
</arguments>
<msg timestamp="20180904 02:48:09.556" level="INFO">52f5781d-4f6f-426d-8140-786c3e8fca32</msg>
<status status="PASS" endtime="20180904 02:48:09.557" starttime="20180904 02:48:09.556"></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="20180904 02:48:09.558" level="INFO">${NETID} = 52f5781d-4f6f-426d-8140-786c3e8fca32</msg>
<status status="PASS" endtime="20180904 02:48:09.558" starttime="20180904 02:48:09.557"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180904 02:48:11.559" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180904 02:48:11.559" starttime="20180904 02:48:09.558"></status>
</kw>
<doc>Create new network in OpenStack</doc>
<tags>
<tag>Create Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180904 02:48:11.560" critical="yes" starttime="20180904 02:48:08.847"></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="20180904 02:48:12.170" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/52f5781d-4f6f-426d-8140-786c3e8fca32 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b17890&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180904 02:48:12.170" starttime="20180904 02:48:11.562"></status>
</kw>
<doc>Check network created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>Network OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180904 02:48:12.170" critical="yes" starttime="20180904 02:48:11.561">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/52f5781d-4f6f-426d-8140-786c3e8fca32 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b17890&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="20180904 02:48:12.172" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180904 02:48:12.172" starttime="20180904 02:48:12.172"></status>
</kw>
<doc>Checking Network created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180904 02:48:12.172" starttime="20180904 02:48:07.839"></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="20180904 02:48:12.200" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.38:9696, headers={u'X-Auth-Token': 'gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2hs', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:48:12.201" starttime="20180904 02:48:12.199"></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="20180904 02:48:12.203" level="INFO">{u'X-Auth-Token': 'gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2hs', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180904 02:48:12.203" starttime="20180904 02:48:12.202"></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="20180904 02:48:12.519" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/subnets, headers=None json=None</msg>
<msg timestamp="20180904 02:48:12.519" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180904 02:48:12.519" starttime="20180904 02:48:12.203"></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="20180904 02:48:12.521" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180904 02:48:12.521" starttime="20180904 02:48:12.520"></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="20180904 02:48:12.522" level="INFO">To JSON using : content={"subnets":[{"service_types":[],"description":"","enable_dhcp":false,"tags":[],"network_id":"74d252cf-8ba7-49bd-9b0d-d05cd510e0cd","tenant_id":"dbf09962634246d4a97ffa9b2c2ae592","created_at":"2018-09-04T02:28:12Z","dns_nameservers":[],"updated_at":"2018-09-04T02:28:12Z","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":"dbf09962634246d4a97ffa9b2c2ae592","id":"6a804656-420a-4465-a83e-9b09584afc1a","subnetpool_id":null,"name":"external-subnet"}]} </msg>
<msg timestamp="20180904 02:48:12.522" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180904 02:48:12.523" level="INFO">${OSResult} = {u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': False, u'tags': [], u'network_id': u'74d252cf-8ba7-49bd-9b0d-d05cd510e0cd', u'tenant_id': u'dbf09962634246...</msg>
<status status="PASS" endtime="20180904 02:48:12.523" starttime="20180904 02:48:12.521"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180904 02:48:12.524" level="INFO">{u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': False, u'tags': [], u'network_id': u'74d252cf-8ba7-49bd-9b0d-d05cd510e0cd', u'tenant_id': u'dbf09962634246d4a97ffa9b2c2ae592', u'created_at': u'2018-09-04T02:28:12Z', u'dns_nameservers': [], u'updated_at': u'2018-09-04T02:28:12Z', 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'dbf09962634246d4a97ffa9b2c2ae592', u'id': u'6a804656-420a-4465-a83e-9b09584afc1a', u'subnetpool_id': None, u'name': u'external-subnet'}]}</msg>
<status status="PASS" endtime="20180904 02:48:12.524" starttime="20180904 02:48:12.523"></status>
</kw>
<doc>Checking OpenStack Neutron for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180904 02:48:12.525" critical="yes" starttime="20180904 02:48:12.201"></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="20180904 02:48:12.528" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f32f6b12b90&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:48:12.529" starttime="20180904 02:48:12.527"></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="20180904 02:48:13.137" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6d96250&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180904 02:48:13.137" starttime="20180904 02:48:12.529"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180904 02:48:13.138" critical="yes" starttime="20180904 02:48:12.525">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6d96250&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="20180904 02:48:13.141" level="INFO">{"subnet":{"network_id":"52f5781d-4f6f-426d-8140-786c3e8fca32","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="20180904 02:48:13.141" starttime="20180904 02:48:13.140"></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="20180904 02:48:13.854" 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="20180904 02:48:13.854" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180904 02:48:13.854" starttime="20180904 02:48:13.141"></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="20180904 02:48:13.856" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180904 02:48:13.856" starttime="20180904 02:48:13.855"></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="20180904 02:48:13.857" level="INFO">To JSON using : content={"subnet":{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"52f5781d-4f6f-426d-8140-786c3e8fca32","tenant_id":"8251a579dd56405aabe2b5259a0f77d6","created_at":"2018-09-04T02:48:13Z","dns_nameservers":[],"updated_at":"2018-09-04T02:48:13Z","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":"8251a579dd56405aabe2b5259a0f77d6","id":"dcdac25a-3dd4-4a40-a472-77accb1e890d","subnetpool_id":null,"name":""}} </msg>
<msg timestamp="20180904 02:48:13.857" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180904 02:48:13.857" level="INFO">${result} = {u'subnet': {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'52f5781d-4f6f-426d-8140-786c3e8fca32', u'tenant_id': u'8251a579dd56405aabe2b5259a0f77d6', u'...</msg>
<status status="PASS" endtime="20180904 02:48:13.857" starttime="20180904 02:48:13.856"></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="20180904 02:48:13.859" level="INFO">${result} = {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'52f5781d-4f6f-426d-8140-786c3e8fca32', u'tenant_id': u'8251a579dd56405aabe2b5259a0f77d6', u'created_at':...</msg>
<status status="PASS" endtime="20180904 02:48:13.859" starttime="20180904 02:48:13.858"></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="20180904 02:48:13.860" level="INFO">${SUBNETID} = dcdac25a-3dd4-4a40-a472-77accb1e890d</msg>
<status status="PASS" endtime="20180904 02:48:13.860" starttime="20180904 02:48:13.859"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180904 02:48:13.860" level="INFO">{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'52f5781d-4f6f-426d-8140-786c3e8fca32', u'tenant_id': u'8251a579dd56405aabe2b5259a0f77d6', u'created_at': u'2018-09-04T02:48:13Z', u'dns_nameservers': [], u'updated_at': u'2018-09-04T02:48:13Z', 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'8251a579dd56405aabe2b5259a0f77d6', u'id': u'dcdac25a-3dd4-4a40-a472-77accb1e890d', u'subnetpool_id': None, u'name': u''}</msg>
<status status="PASS" endtime="20180904 02:48:13.861" starttime="20180904 02:48:13.860"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${SUBNETID}</arg>
</arguments>
<msg timestamp="20180904 02:48:13.861" level="INFO">dcdac25a-3dd4-4a40-a472-77accb1e890d</msg>
<status status="PASS" endtime="20180904 02:48:13.862" starttime="20180904 02:48:13.861"></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="20180904 02:48:13.863" level="INFO">${SUBNETID} = dcdac25a-3dd4-4a40-a472-77accb1e890d</msg>
<status status="PASS" endtime="20180904 02:48:13.863" starttime="20180904 02:48:13.862"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180904 02:48:15.864" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180904 02:48:15.864" starttime="20180904 02:48:13.863"></status>
</kw>
<doc>Create new subnet in OpenStack</doc>
<tags>
<tag>Create Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180904 02:48:15.865" critical="yes" starttime="20180904 02:48:13.139"></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="20180904 02:48:16.475" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/dcdac25a-3dd4-4a40-a472-77accb1e890d (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b17a50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180904 02:48:16.475" starttime="20180904 02:48:15.867"></status>
</kw>
<doc>Check new subnet created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>subnet OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180904 02:48:16.476" critical="yes" starttime="20180904 02:48:15.866">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/dcdac25a-3dd4-4a40-a472-77accb1e890d (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b17a50&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="20180904 02:48:16.478" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180904 02:48:16.478" starttime="20180904 02:48:16.478"></status>
</kw>
<doc>Checking Subnets created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180904 02:48:16.478" starttime="20180904 02:48:12.175"></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="20180904 02:48:16.515" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.38:9696, headers={u'X-Auth-Token': 'gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2hs', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:48:16.516" starttime="20180904 02:48:16.515"></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="20180904 02:48:16.518" level="INFO">{u'X-Auth-Token': 'gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2hs', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180904 02:48:16.518" starttime="20180904 02:48:16.517"></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="20180904 02:48:16.835" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/ports, headers=None json=None</msg>
<msg timestamp="20180904 02:48:16.835" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180904 02:48:16.835" starttime="20180904 02:48:16.518"></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="20180904 02:48:16.837" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180904 02:48:16.837" starttime="20180904 02:48:16.836"></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="20180904 02:48:16.838" level="INFO">To JSON using : content={"ports":[{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-09-04T02:48:16Z","device_owner":"network:dhcp","revision_number":2,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"dcdac25a-3dd4-4a40-a472-77accb1e890d","ip_address":"172.16.64.22"}],"id":"52252a53-fbd2-460e-9592-c7a7962bafca","security_groups":[],"binding:vif_details":{},"binding:vif_type":"ovs","mac_address":"fa:16:3e:3b:42:42","project_id":"8251a579dd56405aabe2b5259a0f77d6","status":"DOWN","binding:host_id":"overcloud-controller-1.opnfvlf.org","description":"","tags":[],"device_id":"dhcp17e94b90-b2ce-5539-8324-a5c0ec508ba1-52f5781d-4f6f-426d-8140-786c3e8fca32","name":"","admin_state_up":true,"network_id":"52f5781d-4f6f-426d-8140-786c3e8fca32","tenant_id":"8251a579dd56405aabe2b5259a0f77d6","created_at":"2018-09-04T02:48:15Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-09-04T02:48:15Z","device_owner":"network:dhcp","revision_number":2,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"dcdac25a-3dd4-4a40-a472-77accb1e890d","ip_address":"172.16.64.21"}],"id":"8a53d1ee-dde3-4dd7-9550-2f53dbac8178","security_groups":[],"binding:vif_details":{},"binding:vif_type":"ovs","mac_address":"fa:16:3e:c6:0f:ef","project_id":"8251a579dd56405aabe2b5259a0f77d6","status":"DOWN","binding:host_id":"overcloud-controller-0.opnfvlf.org","description":"","tags":[],"device_id":"dhcp827da361-9c56-50f7-913f-5a01f7bfed2c-52f5781d-4f6f-426d-8140-786c3e8fca32","name":"","admin_state_up":true,"network_id":"52f5781d-4f6f-426d-8140-786c3e8fca32","tenant_id":"8251a579dd56405aabe2b5259a0f77d6","created_at":"2018-09-04T02:48:14Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-09-04T02:48:16Z","device_owner":"network:dhcp","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"dcdac25a-3dd4-4a40-a472-77accb1e890d","ip_address":"172.16.64.20"}],"id":"f7161d65-df8f-42e2-a31a-df7f8a5f017e","security_groups":[],"binding:vif_details":{},"binding:vif_type":"ovs","mac_address":"fa:16:3e:63:f8:69","project_id":"8251a579dd56405aabe2b5259a0f77d6","status":"ACTIVE","binding:host_id":"overcloud-controller-2.opnfvlf.org","description":"","tags":[],"device_id":"dhcpc69a0073-335e-55e4-8ed9-d962a64f06e6-52f5781d-4f6f-426d-8140-786c3e8fca32","name":"","admin_state_up":true,"network_id":"52f5781d-4f6f-426d-8140-786c3e8fca32","tenant_id":"8251a579dd56405aabe2b5259a0f77d6","created_at":"2018-09-04T02:48:14Z","binding:vnic_type":"normal"}]} </msg>
<msg timestamp="20180904 02:48:16.838" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180904 02:48:16.839" level="INFO">${OSResult} = {u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-09-04T02:48:16Z', u'device_owner': u'network:dhcp', u'revision_number': 2, u'port_security_enabled': False, u'b...</msg>
<status status="PASS" endtime="20180904 02:48:16.839" starttime="20180904 02:48:16.837"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180904 02:48:16.840" level="INFO">{u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-09-04T02:48:16Z', u'device_owner': u'network:dhcp', u'revision_number': 2, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'dcdac25a-3dd4-4a40-a472-77accb1e890d', u'ip_address': u'172.16.64.22'}], u'id': u'52252a53-fbd2-460e-9592-c7a7962bafca', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:3b:42:42', u'project_id': u'8251a579dd56405aabe2b5259a0f77d6', u'status': u'DOWN', u'binding:host_id': u'overcloud-controller-1.opnfvlf.org', u'description': u'', u'tags': [], u'device_id': u'dhcp17e94b90-b2ce-5539-8324-a5c0ec508ba1-52f5781d-4f6f-426d-8140-786c3e8fca32', u'name': u'', u'admin_state_up': True, u'network_id': u'52f5781d-4f6f-426d-8140-786c3e8fca32', u'tenant_id': u'8251a579dd56405aabe2b5259a0f77d6', u'created_at': u'2018-09-04T02:48:15Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-09-04T02:48:15Z', u'device_owner': u'network:dhcp', u'revision_number': 2, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'dcdac25a-3dd4-4a40-a472-77accb1e890d', u'ip_address': u'172.16.64.21'}], u'id': u'8a53d1ee-dde3-4dd7-9550-2f53dbac8178', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:c6:0f:ef', u'project_id': u'8251a579dd56405aabe2b5259a0f77d6', u'status': u'DOWN', u'binding:host_id': u'overcloud-controller-0.opnfvlf.org', u'description': u'', u'tags': [], u'device_id': u'dhcp827da361-9c56-50f7-913f-5a01f7bfed2c-52f5781d-4f6f-426d-8140-786c3e8fca32', u'name': u'', u'admin_state_up': True, u'network_id': u'52f5781d-4f6f-426d-8140-786c3e8fca32', u'tenant_id': u'8251a579dd56405aabe2b5259a0f77d6', u'created_at': u'2018-09-04T02:48:14Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-09-04T02:48:16Z', 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'dcdac25a-3dd4-4a40-a472-77accb1e890d', u'ip_address': u'172.16.64.20'}], u'id': u'f7161d65-df8f-42e2-a31a-df7f8a5f017e', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:63:f8:69', u'project_id': u'8251a579dd56405aabe2b5259a0f77d6', u'status': u'ACTIVE', u'binding:host_id': u'overcloud-controller-2.opnfvlf.org', u'description': u'', u'tags': [], u'device_id': u'dhcpc69a0073-335e-55e4-8ed9-d962a64f06e6-52f5781d-4f6f-426d-8140-786c3e8fca32', u'name': u'', u'admin_state_up': True, u'network_id': u'52f5781d-4f6f-426d-8140-786c3e8fca32', u'tenant_id': u'8251a579dd56405aabe2b5259a0f77d6', u'created_at': u'2018-09-04T02:48:14Z', u'binding:vnic_type': u'normal'}]}</msg>
<status status="PASS" endtime="20180904 02:48:16.841" starttime="20180904 02:48:16.839"></status>
</kw>
<doc>Checking OpenStack Neutron for known ports</doc>
<tags>
<tag>Ports Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180904 02:48:16.841" critical="yes" starttime="20180904 02:48:16.516"></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="20180904 02:48:16.844" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f32f6b2ee10&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:48:16.845" starttime="20180904 02:48:16.843"></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="20180904 02:48:17.453" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b2e990&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180904 02:48:17.453" starttime="20180904 02:48:16.845"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known ports</doc>
<tags>
<tag>Ports Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180904 02:48:17.454" critical="yes" starttime="20180904 02:48:16.842">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b2e990&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="20180904 02:48:17.456" level="INFO">{"port":{"network_id":"52f5781d-4f6f-426d-8140-786c3e8fca32","admin_state_up": true}}</msg>
<status status="PASS" endtime="20180904 02:48:17.456" starttime="20180904 02:48:17.456"></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="20180904 02:48:18.686" 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="20180904 02:48:18.686" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180904 02:48:18.686" starttime="20180904 02:48:17.457"></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="20180904 02:48:18.687" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180904 02:48:18.687" starttime="20180904 02:48:18.686"></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="20180904 02:48:18.689" level="INFO">To JSON using : content={"port":{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-09-04T02:48:18Z","device_owner":"","revision_number":1,"binding:profile":{},"port_security_enabled":true,"fixed_ips":[{"subnet_id":"dcdac25a-3dd4-4a40-a472-77accb1e890d","ip_address":"172.16.64.23"}],"id":"b8bc8ee3-e783-4e44-b6be-416036a6fe3f","security_groups":["0a096ec8-64c1-46f6-8336-177d55a43f67"],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:de:c9:00","project_id":"8251a579dd56405aabe2b5259a0f77d6","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"","name":"","admin_state_up":true,"network_id":"52f5781d-4f6f-426d-8140-786c3e8fca32","tenant_id":"8251a579dd56405aabe2b5259a0f77d6","created_at":"2018-09-04T02:48:18Z","binding:vnic_type":"normal"}} </msg>
<msg timestamp="20180904 02:48:18.689" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180904 02:48:18.689" level="INFO">${result} = {u'port': {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-09-04T02:48:18Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': ...</msg>
<status status="PASS" endtime="20180904 02:48:18.689" starttime="20180904 02:48:18.688"></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="20180904 02:48:18.690" level="INFO">${result} = {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-09-04T02:48:18Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fi...</msg>
<status status="PASS" endtime="20180904 02:48:18.690" starttime="20180904 02:48:18.689"></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="20180904 02:48:18.691" level="INFO">${PORTID} = b8bc8ee3-e783-4e44-b6be-416036a6fe3f</msg>
<status status="PASS" endtime="20180904 02:48:18.692" starttime="20180904 02:48:18.691"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180904 02:48:18.692" level="INFO">{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-09-04T02:48:18Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fixed_ips': [{u'subnet_id': u'dcdac25a-3dd4-4a40-a472-77accb1e890d', u'ip_address': u'172.16.64.23'}], u'id': u'b8bc8ee3-e783-4e44-b6be-416036a6fe3f', u'security_groups': [u'0a096ec8-64c1-46f6-8336-177d55a43f67'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:de:c9:00', u'project_id': u'8251a579dd56405aabe2b5259a0f77d6', 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'52f5781d-4f6f-426d-8140-786c3e8fca32', u'tenant_id': u'8251a579dd56405aabe2b5259a0f77d6', u'created_at': u'2018-09-04T02:48:18Z', u'binding:vnic_type': u'normal'}</msg>
<status status="PASS" endtime="20180904 02:48:18.693" starttime="20180904 02:48:18.692"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${PORTID}</arg>
</arguments>
<msg timestamp="20180904 02:48:18.693" level="INFO">b8bc8ee3-e783-4e44-b6be-416036a6fe3f</msg>
<status status="PASS" endtime="20180904 02:48:18.694" starttime="20180904 02:48:18.693"></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="20180904 02:48:18.695" level="INFO">${PORTID} = b8bc8ee3-e783-4e44-b6be-416036a6fe3f</msg>
<status status="PASS" endtime="20180904 02:48:18.695" starttime="20180904 02:48:18.694"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180904 02:48:20.696" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180904 02:48:20.696" starttime="20180904 02:48:18.695"></status>
</kw>
<doc>Create new port in OpenStack</doc>
<tags>
<tag>Create port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180904 02:48:20.697" critical="yes" starttime="20180904 02:48:17.454"></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="20180904 02:48:21.306" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/b8bc8ee3-e783-4e44-b6be-416036a6fe3f (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6e47650&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180904 02:48:21.306" starttime="20180904 02:48:20.699"></status>
</kw>
<doc>Check new port created in OpenDaylight</doc>
<tags>
<tag>Check port OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180904 02:48:21.306" critical="yes" starttime="20180904 02:48:20.697">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/b8bc8ee3-e783-4e44-b6be-416036a6fe3f (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6e47650&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="20180904 02:48:21.309" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180904 02:48:21.309" starttime="20180904 02:48:21.308"></status>
</kw>
<doc>Checking Port created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180904 02:48:21.309" starttime="20180904 02:48:16.482"></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="20180904 02:48:21.342" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.38:9696, headers={u'X-Auth-Token': 'gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2hs'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:48:21.343" starttime="20180904 02:48:21.341"></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="20180904 02:48:21.344" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f32f6dfa390&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:48:21.345" starttime="20180904 02:48:21.343"></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="20180904 02:48:21.952" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/b8bc8ee3-e783-4e44-b6be-416036a6fe3f (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6e47110&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180904 02:48:21.952" starttime="20180904 02:48:21.346"></status>
</kw>
<status status="FAIL" endtime="20180904 02:48:21.953" starttime="20180904 02:48:21.345"></status>
</kw>
<status status="FAIL" endtime="20180904 02:48:21.953" starttime="20180904 02:48:21.341"></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="20180904 02:48:21.954" critical="yes" starttime="20180904 02:48:21.953">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/b8bc8ee3-e783-4e44-b6be-416036a6fe3f (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6e47110&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="20180904 02:48:21.956" critical="yes" starttime="20180904 02:48:21.955">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/b8bc8ee3-e783-4e44-b6be-416036a6fe3f (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6e47110&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="20180904 02:48:21.958" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180904 02:48:21.958" starttime="20180904 02:48:21.957"></status>
</kw>
<doc>Checking Port deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180904 02:48:21.958" starttime="20180904 02:48:21.313">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/b8bc8ee3-e783-4e44-b6be-416036a6fe3f (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6e47110&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="20180904 02:48:21.988" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.38:9696, headers={u'X-Auth-Token': 'gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2hs'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:48:21.988" starttime="20180904 02:48:21.987"></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="20180904 02:48:21.990" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f32f6da5550&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:48:21.990" starttime="20180904 02:48:21.989"></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="20180904 02:48:22.597" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/dcdac25a-3dd4-4a40-a472-77accb1e890d (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b4fb10&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180904 02:48:22.598" starttime="20180904 02:48:21.991"></status>
</kw>
<status status="FAIL" endtime="20180904 02:48:22.598" starttime="20180904 02:48:21.991"></status>
</kw>
<status status="FAIL" endtime="20180904 02:48:22.598" starttime="20180904 02:48:21.987"></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="20180904 02:48:22.600" critical="yes" starttime="20180904 02:48:22.599">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/dcdac25a-3dd4-4a40-a472-77accb1e890d (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b4fb10&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="20180904 02:48:22.601" critical="yes" starttime="20180904 02:48:22.600">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/dcdac25a-3dd4-4a40-a472-77accb1e890d (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b4fb10&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="20180904 02:48:22.603" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180904 02:48:22.603" starttime="20180904 02:48:22.602"></status>
</kw>
<doc>Checking Subnets deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180904 02:48:22.603" starttime="20180904 02:48:21.960">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/dcdac25a-3dd4-4a40-a472-77accb1e890d (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b4fb10&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="20180904 02:48:22.638" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.38:9696, headers={u'X-Auth-Token': 'gAAAAABbjfJljgSvneTZjP4-kUQ4atJEa2i6YO8khYCqGpB-EoDFgUh4xoJ025w54JoIinHuW_Y39-BnaA8PIcuKvpCgdh0XIqAdUdyfADrevWN0tTSCgkaAnK8ruVzaFRm-aVPw_454_VibB4m9N62zuA5Q6rENaCY9h0QX0FqfinuOwc-O2hs'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:48:22.639" starttime="20180904 02:48:22.637"></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="20180904 02:48:22.640" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f32f6d9e290&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180904 02:48:22.640" starttime="20180904 02:48:22.639"></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="20180904 02:48:23.249" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/52f5781d-4f6f-426d-8140-786c3e8fca32 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b12bd0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180904 02:48:23.250" starttime="20180904 02:48:22.641"></status>
</kw>
<status status="FAIL" endtime="20180904 02:48:23.250" starttime="20180904 02:48:22.641"></status>
</kw>
<status status="FAIL" endtime="20180904 02:48:23.251" starttime="20180904 02:48:22.636"></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="20180904 02:48:23.252" critical="yes" starttime="20180904 02:48:23.251">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/52f5781d-4f6f-426d-8140-786c3e8fca32 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b12bd0&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="20180904 02:48:23.254" critical="yes" starttime="20180904 02:48:23.253">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/52f5781d-4f6f-426d-8140-786c3e8fca32 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b12bd0&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="20180904 02:48:23.255" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180904 02:48:23.255" starttime="20180904 02:48:23.255"></status>
</kw>
<doc>Checking Network deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180904 02:48:23.256" starttime="20180904 02:48:22.605">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/52f5781d-4f6f-426d-8140-786c3e8fca32 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f32f6b12bd0&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="20180904 02:48:23.262" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180904 02:48:23.262" starttime="20180904 02:48:23.262"></status>
</kw>
<status status="PASS" endtime="20180904 02:48:23.263" starttime="20180904 02:48:23.261"></status>
</kw>
<doc>Test suite for Neutron Plugin</doc>
<status status="FAIL" endtime="20180904 02:48:23.263" starttime="20180904 02:48:05.500"></status>
</suite>
<status status="FAIL" endtime="20180904 02:48:23.275" starttime="20180904 02:39:35.875"></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="20180904 02:48:05.559" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
</errors>
</robot>
