<?xml version="1.0" encoding="UTF-8"?>
<robot generated="20180830 09:11:28.645" 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="20180830 09:11:28.715" level="INFO">Creating Session using : alias=session, url=http://192.30.9.5:8181, headers={u'Content-Type': u'application/xml'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f71d246bed0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:11:28.716" starttime="20180830 09:11:28.715"></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="20180830 09:19:58.322" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8181): Max retries exceeded with url: /restconf/modules (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d247ab10&gt;: Failed to establish a new connection: [Errno 110] Operation timed out',))</msg>
<status status="FAIL" endtime="20180830 09:19:58.323" starttime="20180830 09:11:28.717"></status>
</kw>
<doc>Get the restconf modules, check 200 status and ietf-restconf presence.</doc>
<status status="FAIL" endtime="20180830 09:19:58.323" critical="yes" starttime="20180830 09:11:28.716">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8181): Max retries exceeded with url: /restconf/modules (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d247ab10&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="20180830 09:19:58.325" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180830 09:19:58.326" starttime="20180830 09:19:58.325"></status>
</kw>
<doc>Test suite to verify Restconf is OK.</doc>
<status status="FAIL" endtime="20180830 09:19:58.326" starttime="20180830 09:11:28.682"></status>
</suite>
<status status="FAIL" endtime="20180830 09:19:58.329" starttime="20180830 09:11:28.679"></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="20180830 09:19:58.392" level="INFO">Creating Session using : alias=KeyStoneSession, url=http://172.30.9.22: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="20180830 09:19:58.392" starttime="20180830 09:19:58.391"></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="20180830 09:19:58.393" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20180830 09:19:58.798" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180830 09:19:58.799" starttime="20180830 09:19:58.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="20180830 09:19:58.800" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180830 09:19:58.800" starttime="20180830 09:19:58.799"></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="20180830 09:19:58.801" level="INFO">${TOKEN} = gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dVbA</msg>
<status status="PASS" endtime="20180830 09:19:58.802" starttime="20180830 09:19:58.800"></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="20180830 09:19:58.803" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dV...</msg>
<status status="PASS" endtime="20180830 09:19:58.803" starttime="20180830 09:19:58.802"></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="20180830 09:19:58.804" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dV...</msg>
<status status="PASS" endtime="20180830 09:19:58.805" starttime="20180830 09:19:58.803"></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="20180830 09:19:58.806" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dV...</msg>
<status status="PASS" endtime="20180830 09:19:58.806" starttime="20180830 09:19:58.805"></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="20180830 09:19:58.807" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dV...</msg>
<status status="PASS" endtime="20180830 09:19:58.807" starttime="20180830 09:19:58.806"></status>
</kw>
<status status="PASS" endtime="20180830 09:19:58.808" starttime="20180830 09:19:58.391"></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="20180830 09:19:58.831" level="INFO">Creating Session using : alias=ODL, url=http://192.30.9.5:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f71d23dc510&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:19:58.832" starttime="20180830 09:19:58.831"></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="20180830 09:19:59.440" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d262bf50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180830 09:19:59.440" starttime="20180830 09:19:58.833"></status>
</kw>
<doc>Get the complete list of networks</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180830 09:19:59.441" critical="yes" starttime="20180830 09:19:58.832">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d262bf50&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="20180830 09:20:00.050" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d23d6f50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180830 09:20:00.050" starttime="20180830 09:19:59.443"></status>
</kw>
<doc>Get the complete list of subnets</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180830 09:20:00.051" critical="yes" starttime="20180830 09:19:59.442">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d23d6f50&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="20180830 09:20:00.660" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d262b590&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180830 09:20:00.660" starttime="20180830 09:20:00.053"></status>
</kw>
<doc>Get the complete list of ports</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180830 09:20:00.660" critical="yes" starttime="20180830 09:20:00.051">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d262b590&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="20180830 09:20:00.662" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180830 09:20:00.663" starttime="20180830 09:20:00.662"></status>
</kw>
<status status="FAIL" endtime="20180830 09:20:00.663" starttime="20180830 09:19:58.808"></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="20180830 09:20:00.695" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.22:9696, headers={u'X-Auth-Token': 'gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dVbA', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:20:00.695" starttime="20180830 09:20:00.694"></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="20180830 09:20:00.697" level="INFO">{u'X-Auth-Token': 'gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dVbA', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180830 09:20:00.697" starttime="20180830 09:20:00.697"></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="20180830 09:20:01.242" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/networks, headers=None json=None</msg>
<msg timestamp="20180830 09:20:01.242" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180830 09:20:01.243" starttime="20180830 09:20:00.698"></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="20180830 09:20:01.244" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180830 09:20:01.244" starttime="20180830 09:20:01.243"></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="20180830 09:20:01.245" 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":"1ae9a8e3-36aa-445e-9998-59dd3f01f05b","router:external":true,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"8729629bd2754da59e65d47c0e37abe8","status":"ACTIVE","subnets":["ab35bc92-1f74-4e24-a11f-68811c3cd092"],"description":"","tags":[],"updated_at":"2018-08-30T09:02:48Z","is_default":false,"provider:segmentation_id":null,"name":"external","admin_state_up":true,"tenant_id":"8729629bd2754da59e65d47c0e37abe8","created_at":"2018-08-30T09:02:44Z","provider:network_type":"flat"}]} </msg>
<msg timestamp="20180830 09:20:01.245" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180830 09:20:01.245" 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'1ae9a8e3-36...</msg>
<status status="PASS" endtime="20180830 09:20:01.246" starttime="20180830 09:20:01.244"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180830 09:20:01.246" 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'1ae9a8e3-36aa-445e-9998-59dd3f01f05b', 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'8729629bd2754da59e65d47c0e37abe8', u'status': u'ACTIVE', u'subnets': [u'ab35bc92-1f74-4e24-a11f-68811c3cd092'], u'description': u'', u'tags': [], u'updated_at': u'2018-08-30T09:02:48Z', u'is_default': False, u'provider:segmentation_id': None, u'name': u'external', u'admin_state_up': True, u'tenant_id': u'8729629bd2754da59e65d47c0e37abe8', u'created_at': u'2018-08-30T09:02:44Z', u'mtu': 1500}]}</msg>
<status status="PASS" endtime="20180830 09:20:01.247" starttime="20180830 09:20:01.246"></status>
</kw>
<doc>Checking OpenStack Neutron for known networks</doc>
<tags>
<tag>Network Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180830 09:20:01.247" critical="yes" starttime="20180830 09:20:00.696"></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="20180830 09:20:01.250" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.5:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f71d24c02d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:20:01.251" starttime="20180830 09:20:01.249"></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="20180830 09:20:01.858" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d23d6d50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180830 09:20:01.859" starttime="20180830 09:20:01.251"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known networks</doc>
<tags>
<tag>Network Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180830 09:20:01.859" critical="yes" starttime="20180830 09:20:01.247">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d23d6d50&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="20180830 09:20:01.862" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20180830 09:20:01.862" starttime="20180830 09:20:01.861"></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="20180830 09:20:02.212" 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="20180830 09:20:02.213" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180830 09:20:02.213" starttime="20180830 09:20:01.862"></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="20180830 09:20:02.214" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180830 09:20:02.214" starttime="20180830 09:20:02.213"></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="20180830 09:20:02.215" 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":"2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40","router:external":false,"availability_zone_hints":[],"availability_zones":[],"ipv4_address_scope":null,"shared":false,"project_id":"f43bf52986b74b40be2254c0cc19dd66","status":"ACTIVE","subnets":[],"description":"","tags":[],"updated_at":"2018-08-30T09:20:02Z","is_default":false,"provider:segmentation_id":42,"name":"odl_network","admin_state_up":true,"tenant_id":"f43bf52986b74b40be2254c0cc19dd66","created_at":"2018-08-30T09:20:01Z","mtu":1450}} </msg>
<msg timestamp="20180830 09:20:02.216" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180830 09:20:02.216" 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'2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40', u'ro...</msg>
<status status="PASS" endtime="20180830 09:20:02.216" starttime="20180830 09:20:02.214"></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="20180830 09:20:02.217" 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'2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40', u'router:external...</msg>
<status status="PASS" endtime="20180830 09:20:02.217" starttime="20180830 09:20:02.216"></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="20180830 09:20:02.218" level="INFO">${NETID} = 2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40</msg>
<status status="PASS" endtime="20180830 09:20:02.218" starttime="20180830 09:20:02.218"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180830 09:20:02.219" 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'2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'f43bf52986b74b40be2254c0cc19dd66', u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'tags': [], u'updated_at': u'2018-08-30T09:20:02Z', u'is_default': False, u'provider:segmentation_id': 42, u'name': u'odl_network', u'admin_state_up': True, u'tenant_id': u'f43bf52986b74b40be2254c0cc19dd66', u'created_at': u'2018-08-30T09:20:01Z', u'provider:network_type': u'vxlan'}</msg>
<status status="PASS" endtime="20180830 09:20:02.220" starttime="20180830 09:20:02.219"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${NETID}</arg>
</arguments>
<msg timestamp="20180830 09:20:02.220" level="INFO">2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40</msg>
<status status="PASS" endtime="20180830 09:20:02.221" starttime="20180830 09:20:02.220"></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="20180830 09:20:02.222" level="INFO">${NETID} = 2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40</msg>
<status status="PASS" endtime="20180830 09:20:02.222" starttime="20180830 09:20:02.221"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180830 09:20:04.223" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180830 09:20:04.223" starttime="20180830 09:20:02.222"></status>
</kw>
<doc>Create new network in OpenStack</doc>
<tags>
<tag>Create Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180830 09:20:04.224" critical="yes" starttime="20180830 09:20:01.860"></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="20180830 09:20:04.833" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d23d6d90&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180830 09:20:04.833" starttime="20180830 09:20:04.226"></status>
</kw>
<doc>Check network created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>Network OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180830 09:20:04.834" critical="yes" starttime="20180830 09:20:04.224">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d23d6d90&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="20180830 09:20:04.836" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180830 09:20:04.836" starttime="20180830 09:20:04.836"></status>
</kw>
<doc>Checking Network created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180830 09:20:04.836" starttime="20180830 09:20:00.666"></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="20180830 09:20:04.869" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.22:9696, headers={u'X-Auth-Token': 'gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dVbA', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:20:04.870" starttime="20180830 09:20:04.868"></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="20180830 09:20:04.871" level="INFO">{u'X-Auth-Token': 'gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dVbA', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180830 09:20:04.871" starttime="20180830 09:20:04.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="20180830 09:20:05.177" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/subnets, headers=None json=None</msg>
<msg timestamp="20180830 09:20:05.177" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180830 09:20:05.178" starttime="20180830 09:20:04.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="20180830 09:20:05.179" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180830 09:20:05.179" starttime="20180830 09:20:05.178"></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="20180830 09:20:05.180" level="INFO">To JSON using : content={"subnets":[{"service_types":[],"description":"","enable_dhcp":false,"tags":[],"network_id":"1ae9a8e3-36aa-445e-9998-59dd3f01f05b","tenant_id":"8729629bd2754da59e65d47c0e37abe8","created_at":"2018-08-30T09:02:48Z","dns_nameservers":[],"updated_at":"2018-08-30T09:02:48Z","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":"8729629bd2754da59e65d47c0e37abe8","id":"ab35bc92-1f74-4e24-a11f-68811c3cd092","subnetpool_id":null,"name":"external-subnet"}]} </msg>
<msg timestamp="20180830 09:20:05.180" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180830 09:20:05.181" level="INFO">${OSResult} = {u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': False, u'tags': [], u'network_id': u'1ae9a8e3-36aa-445e-9998-59dd3f01f05b', u'tenant_id': u'8729629bd2754d...</msg>
<status status="PASS" endtime="20180830 09:20:05.181" starttime="20180830 09:20:05.179"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180830 09:20:05.182" level="INFO">{u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': False, u'tags': [], u'network_id': u'1ae9a8e3-36aa-445e-9998-59dd3f01f05b', u'tenant_id': u'8729629bd2754da59e65d47c0e37abe8', u'created_at': u'2018-08-30T09:02:48Z', u'dns_nameservers': [], u'updated_at': u'2018-08-30T09:02:48Z', 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'8729629bd2754da59e65d47c0e37abe8', u'id': u'ab35bc92-1f74-4e24-a11f-68811c3cd092', u'subnetpool_id': None, u'name': u'external-subnet'}]}</msg>
<status status="PASS" endtime="20180830 09:20:05.182" starttime="20180830 09:20:05.181"></status>
</kw>
<doc>Checking OpenStack Neutron for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180830 09:20:05.182" critical="yes" starttime="20180830 09:20:04.870"></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="20180830 09:20:05.185" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.5:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f71d23d61d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:20:05.186" starttime="20180830 09:20:05.184"></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="20180830 09:20:05.794" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d248d050&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180830 09:20:05.794" starttime="20180830 09:20:05.187"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180830 09:20:05.795" critical="yes" starttime="20180830 09:20:05.183">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d248d050&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="20180830 09:20:05.798" level="INFO">{"subnet":{"network_id":"2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40","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="20180830 09:20:05.798" starttime="20180830 09:20:05.797"></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="20180830 09:20:06.206" 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="20180830 09:20:06.206" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180830 09:20:06.206" starttime="20180830 09:20:05.798"></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="20180830 09:20:06.207" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180830 09:20:06.208" starttime="20180830 09:20:06.207"></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="20180830 09:20:06.209" level="INFO">To JSON using : content={"subnet":{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40","tenant_id":"f43bf52986b74b40be2254c0cc19dd66","created_at":"2018-08-30T09:20:05Z","dns_nameservers":[],"updated_at":"2018-08-30T09:20:05Z","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":"f43bf52986b74b40be2254c0cc19dd66","id":"0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e","subnetpool_id":null,"name":""}} </msg>
<msg timestamp="20180830 09:20:06.209" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180830 09:20:06.209" level="INFO">${result} = {u'subnet': {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40', u'tenant_id': u'f43bf52986b74b40be2254c0cc19dd66', u'...</msg>
<status status="PASS" endtime="20180830 09:20:06.209" starttime="20180830 09:20:06.208"></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="20180830 09:20:06.210" level="INFO">${result} = {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40', u'tenant_id': u'f43bf52986b74b40be2254c0cc19dd66', u'created_at':...</msg>
<status status="PASS" endtime="20180830 09:20:06.210" starttime="20180830 09:20:06.209"></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="20180830 09:20:06.211" level="INFO">${SUBNETID} = 0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e</msg>
<status status="PASS" endtime="20180830 09:20:06.211" starttime="20180830 09:20:06.211"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180830 09:20:06.212" level="INFO">{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40', u'tenant_id': u'f43bf52986b74b40be2254c0cc19dd66', u'created_at': u'2018-08-30T09:20:05Z', u'dns_nameservers': [], u'updated_at': u'2018-08-30T09:20:05Z', 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'f43bf52986b74b40be2254c0cc19dd66', u'id': u'0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e', u'subnetpool_id': None, u'name': u''}</msg>
<status status="PASS" endtime="20180830 09:20:06.212" starttime="20180830 09:20:06.212"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${SUBNETID}</arg>
</arguments>
<msg timestamp="20180830 09:20:06.213" level="INFO">0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e</msg>
<status status="PASS" endtime="20180830 09:20:06.213" starttime="20180830 09:20:06.213"></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="20180830 09:20:06.214" level="INFO">${SUBNETID} = 0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e</msg>
<status status="PASS" endtime="20180830 09:20:06.214" starttime="20180830 09:20:06.214"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180830 09:20:08.215" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180830 09:20:08.216" starttime="20180830 09:20:06.215"></status>
</kw>
<doc>Create new subnet in OpenStack</doc>
<tags>
<tag>Create Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180830 09:20:08.216" critical="yes" starttime="20180830 09:20:05.795"></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="20180830 09:20:08.826" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d24ba2d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180830 09:20:08.826" starttime="20180830 09:20:08.218"></status>
</kw>
<doc>Check new subnet created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>subnet OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180830 09:20:08.826" critical="yes" starttime="20180830 09:20:08.217">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d24ba2d0&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="20180830 09:20:08.829" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180830 09:20:08.829" starttime="20180830 09:20:08.828"></status>
</kw>
<doc>Checking Subnets created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180830 09:20:08.829" starttime="20180830 09:20:04.840"></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="20180830 09:20:08.859" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.22:9696, headers={u'X-Auth-Token': 'gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dVbA', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:20:08.860" starttime="20180830 09:20:08.858"></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="20180830 09:20:08.861" level="INFO">{u'X-Auth-Token': 'gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dVbA', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180830 09:20:08.862" starttime="20180830 09:20:08.861"></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="20180830 09:20:09.075" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/ports, headers=None json=None</msg>
<msg timestamp="20180830 09:20:09.076" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180830 09:20:09.076" starttime="20180830 09:20:08.862"></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="20180830 09:20:09.077" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180830 09:20:09.077" starttime="20180830 09:20:09.076"></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="20180830 09:20:09.078" level="INFO">To JSON using : content={"ports":[{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-08-30T09:20:08Z","device_owner":"network:dhcp","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e","ip_address":"172.16.64.20"}],"id":"7b4e6deb-1666-4ce8-bae2-0636d9ea2b67","security_groups":[],"binding:vif_details":{},"binding:vif_type":"ovs","mac_address":"fa:16:3e:e5:9c:38","project_id":"f43bf52986b74b40be2254c0cc19dd66","status":"ACTIVE","binding:host_id":"overcloud-controller-0.opnfvlf.org","description":"","tags":[],"device_id":"dhcp827da361-9c56-50f7-913f-5a01f7bfed2c-2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40","name":"","admin_state_up":true,"network_id":"2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40","tenant_id":"f43bf52986b74b40be2254c0cc19dd66","created_at":"2018-08-30T09:20:06Z","binding:vnic_type":"normal"}]} </msg>
<msg timestamp="20180830 09:20:09.078" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180830 09:20:09.079" level="INFO">${OSResult} = {u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-08-30T09:20:08Z', u'device_owner': u'network:dhcp', u'revision_number': 3, u'port_security_enabled': False, u'b...</msg>
<status status="PASS" endtime="20180830 09:20:09.079" starttime="20180830 09:20:09.077"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180830 09:20:09.080" level="INFO">{u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-08-30T09:20:08Z', 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'0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e', u'ip_address': u'172.16.64.20'}], u'id': u'7b4e6deb-1666-4ce8-bae2-0636d9ea2b67', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:e5:9c:38', u'project_id': u'f43bf52986b74b40be2254c0cc19dd66', 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-2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40', u'name': u'', u'admin_state_up': True, u'network_id': u'2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40', u'tenant_id': u'f43bf52986b74b40be2254c0cc19dd66', u'created_at': u'2018-08-30T09:20:06Z', u'binding:vnic_type': u'normal'}]}</msg>
<status status="PASS" endtime="20180830 09:20:09.080" starttime="20180830 09:20:09.079"></status>
</kw>
<doc>Checking OpenStack Neutron for known ports</doc>
<tags>
<tag>Ports Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180830 09:20:09.080" critical="yes" starttime="20180830 09:20:08.860"></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="20180830 09:20:09.083" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.5:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f71d23646d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:20:09.084" starttime="20180830 09:20:09.082"></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="20180830 09:20:09.692" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d24bae50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180830 09:20:09.692" starttime="20180830 09:20:09.084"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known ports</doc>
<tags>
<tag>Ports Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180830 09:20:09.693" critical="yes" starttime="20180830 09:20:09.081">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d24bae50&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="20180830 09:20:09.695" level="INFO">{"port":{"network_id":"2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40","admin_state_up": true}}</msg>
<status status="PASS" endtime="20180830 09:20:09.696" starttime="20180830 09:20:09.695"></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="20180830 09:20:10.240" 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="20180830 09:20:10.240" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180830 09:20:10.240" starttime="20180830 09:20:09.696"></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="20180830 09:20:10.241" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180830 09:20:10.242" starttime="20180830 09:20:10.241"></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="20180830 09:20:10.243" level="INFO">To JSON using : content={"port":{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-08-30T09:20:09Z","device_owner":"","revision_number":1,"binding:profile":{},"port_security_enabled":true,"fixed_ips":[{"subnet_id":"0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e","ip_address":"172.16.64.34"}],"id":"f22758af-c6a2-4d06-9a7f-07a34288ac57","security_groups":["69740068-72f4-4346-9ea1-9ec5a56b6a48"],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:b1:89:52","project_id":"f43bf52986b74b40be2254c0cc19dd66","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"","name":"","admin_state_up":true,"network_id":"2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40","tenant_id":"f43bf52986b74b40be2254c0cc19dd66","created_at":"2018-08-30T09:20:09Z","binding:vnic_type":"normal"}} </msg>
<msg timestamp="20180830 09:20:10.243" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180830 09:20:10.243" level="INFO">${result} = {u'port': {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-08-30T09:20:09Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': ...</msg>
<status status="PASS" endtime="20180830 09:20:10.243" starttime="20180830 09:20:10.242"></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="20180830 09:20:10.245" level="INFO">${result} = {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-08-30T09:20:09Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fi...</msg>
<status status="PASS" endtime="20180830 09:20:10.245" starttime="20180830 09:20:10.244"></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="20180830 09:20:10.246" level="INFO">${PORTID} = f22758af-c6a2-4d06-9a7f-07a34288ac57</msg>
<status status="PASS" endtime="20180830 09:20:10.246" starttime="20180830 09:20:10.245"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180830 09:20:10.247" level="INFO">{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-08-30T09:20:09Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fixed_ips': [{u'subnet_id': u'0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e', u'ip_address': u'172.16.64.34'}], u'id': u'f22758af-c6a2-4d06-9a7f-07a34288ac57', u'security_groups': [u'69740068-72f4-4346-9ea1-9ec5a56b6a48'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:b1:89:52', u'project_id': u'f43bf52986b74b40be2254c0cc19dd66', 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'2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40', u'tenant_id': u'f43bf52986b74b40be2254c0cc19dd66', u'created_at': u'2018-08-30T09:20:09Z', u'binding:vnic_type': u'normal'}</msg>
<status status="PASS" endtime="20180830 09:20:10.247" starttime="20180830 09:20:10.246"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${PORTID}</arg>
</arguments>
<msg timestamp="20180830 09:20:10.248" level="INFO">f22758af-c6a2-4d06-9a7f-07a34288ac57</msg>
<status status="PASS" endtime="20180830 09:20:10.248" starttime="20180830 09:20:10.247"></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="20180830 09:20:10.249" level="INFO">${PORTID} = f22758af-c6a2-4d06-9a7f-07a34288ac57</msg>
<status status="PASS" endtime="20180830 09:20:10.249" starttime="20180830 09:20:10.248"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180830 09:20:12.250" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180830 09:20:12.251" starttime="20180830 09:20:10.249"></status>
</kw>
<doc>Create new port in OpenStack</doc>
<tags>
<tag>Create port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180830 09:20:12.251" critical="yes" starttime="20180830 09:20:09.694"></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="20180830 09:20:12.861" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/f22758af-c6a2-4d06-9a7f-07a34288ac57 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d248d210&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180830 09:20:12.862" starttime="20180830 09:20:12.253"></status>
</kw>
<doc>Check new port created in OpenDaylight</doc>
<tags>
<tag>Check port OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180830 09:20:12.862" critical="yes" starttime="20180830 09:20:12.252">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/f22758af-c6a2-4d06-9a7f-07a34288ac57 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d248d210&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="20180830 09:20:12.864" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180830 09:20:12.865" starttime="20180830 09:20:12.864"></status>
</kw>
<doc>Checking Port created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180830 09:20:12.865" starttime="20180830 09:20:08.832"></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="20180830 09:20:12.897" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.22:9696, headers={u'X-Auth-Token': 'gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dVbA'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:20:12.898" starttime="20180830 09:20:12.897"></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="20180830 09:20:12.899" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.5:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f71d2327d90&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:20:12.900" starttime="20180830 09:20:12.898"></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="20180830 09:20:13.507" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/f22758af-c6a2-4d06-9a7f-07a34288ac57 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d24d5550&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180830 09:20:13.508" starttime="20180830 09:20:12.901"></status>
</kw>
<status status="FAIL" endtime="20180830 09:20:13.508" starttime="20180830 09:20:12.900"></status>
</kw>
<status status="FAIL" endtime="20180830 09:20:13.508" starttime="20180830 09:20:12.896"></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="20180830 09:20:13.510" critical="yes" starttime="20180830 09:20:13.509">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/f22758af-c6a2-4d06-9a7f-07a34288ac57 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d24d5550&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="20180830 09:20:13.512" critical="yes" starttime="20180830 09:20:13.511">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/f22758af-c6a2-4d06-9a7f-07a34288ac57 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d24d5550&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="20180830 09:20:13.514" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180830 09:20:13.515" starttime="20180830 09:20:13.514"></status>
</kw>
<doc>Checking Port deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180830 09:20:13.515" starttime="20180830 09:20:12.868">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/f22758af-c6a2-4d06-9a7f-07a34288ac57 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d24d5550&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="20180830 09:20:13.547" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.22:9696, headers={u'X-Auth-Token': 'gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dVbA'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:20:13.547" starttime="20180830 09:20:13.546"></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="20180830 09:20:13.548" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.5:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f71d234e250&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:20:13.549" starttime="20180830 09:20:13.548"></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="20180830 09:20:14.157" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d2327dd0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180830 09:20:14.158" starttime="20180830 09:20:13.550"></status>
</kw>
<status status="FAIL" endtime="20180830 09:20:14.158" starttime="20180830 09:20:13.549"></status>
</kw>
<status status="FAIL" endtime="20180830 09:20:14.159" starttime="20180830 09:20:13.545"></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="20180830 09:20:14.160" critical="yes" starttime="20180830 09:20:14.159">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d2327dd0&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="20180830 09:20:14.162" critical="yes" starttime="20180830 09:20:14.161">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d2327dd0&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="20180830 09:20:14.164" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180830 09:20:14.164" starttime="20180830 09:20:14.163"></status>
</kw>
<doc>Checking Subnets deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180830 09:20:14.164" starttime="20180830 09:20:13.517">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/0c8eb977-fa1a-4481-ae8c-eb66ae74cb8e (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d2327dd0&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="20180830 09:20:14.195" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.22:9696, headers={u'X-Auth-Token': 'gAAAAABbh7a-eKoi8zEShPeAqiHkCztgxqEv9LUWxrkSkrpOSebNpFaBVM74bTCxr7MI9Mt1b4P96RL-ASJn-FSwl4TQTyZTSzUOmm7gEf9kxHpDy3B9LADicbCJ3uIDSgUHfNHm3CDf3twuYn7bDFNtxGUVl7rxeIi4L_VO0jHKRmwQu45dVbA'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:20:14.195" starttime="20180830 09:20:14.194"></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="20180830 09:20:14.197" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.5:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f71d24d5590&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180830 09:20:14.197" starttime="20180830 09:20:14.196"></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="20180830 09:20:14.806" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d2357d90&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180830 09:20:14.806" starttime="20180830 09:20:14.198"></status>
</kw>
<status status="FAIL" endtime="20180830 09:20:14.807" starttime="20180830 09:20:14.197"></status>
</kw>
<status status="FAIL" endtime="20180830 09:20:14.807" starttime="20180830 09:20:14.194"></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="20180830 09:20:14.808" critical="yes" starttime="20180830 09:20:14.807">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d2357d90&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="20180830 09:20:14.810" critical="yes" starttime="20180830 09:20:14.809">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d2357d90&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="20180830 09:20:14.811" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180830 09:20:14.812" starttime="20180830 09:20:14.811"></status>
</kw>
<doc>Checking Network deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180830 09:20:14.812" starttime="20180830 09:20:14.166">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.5', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/2ffe3143-0e4d-42fb-bd0e-e8b6752d6a40 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f71d2357d90&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="20180830 09:20:14.819" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180830 09:20:14.820" starttime="20180830 09:20:14.819"></status>
</kw>
<status status="PASS" endtime="20180830 09:20:14.820" starttime="20180830 09:20:14.818"></status>
</kw>
<doc>Test suite for Neutron Plugin</doc>
<status status="FAIL" endtime="20180830 09:20:14.820" starttime="20180830 09:19:58.331"></status>
</suite>
<status status="FAIL" endtime="20180830 09:20:14.831" starttime="20180830 09:11:28.646"></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="20180830 09:19:58.393" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
</errors>
</robot>
