<?xml version="1.0" encoding="UTF-8"?>
<robot generated="20180115 23:43:22.973" generator="Robot 3.0.2 (Python 2.7.13 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="20180115 23:43:23.092" level="INFO">Creating Session using : alias=session, url=http://10.20.11.11:8087, headers={'Content-Type': 'application/xml'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7ff45d92ab10&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:23.093" starttime="20180115 23:43:23.091"></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="20180115 23:43:23.726" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8087): Max retries exceeded with url: /restconf/modules (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d92ae50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180115 23:43:23.726" starttime="20180115 23:43:23.094"></status>
</kw>
<doc>Get the restconf modules, check 200 status and ietf-restconf presence.</doc>
<status status="FAIL" endtime="20180115 23:43:23.727" critical="yes" starttime="20180115 23:43:23.093">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8087): Max retries exceeded with url: /restconf/modules (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d92ae50&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="20180115 23:43:23.728" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180115 23:43:23.729" starttime="20180115 23:43:23.728"></status>
</kw>
<doc>Test suite to verify Restconf is OK.</doc>
<status status="FAIL" endtime="20180115 23:43:23.729" starttime="20180115 23:43:23.056"></status>
</suite>
<status status="FAIL" endtime="20180115 23:43:23.730" starttime="20180115 23:43:23.053"></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="20180115 23:43:23.866" level="INFO">Creating Session using : alias=KeyStoneSession, url=http://10.20.11.11:35357, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:23.867" starttime="20180115 23:43:23.866"></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="20180115 23:43:23.868" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20180115 23:43:24.126" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180115 23:43:24.126" starttime="20180115 23:43:23.867"></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="20180115 23:43:24.127" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180115 23:43:24.127" starttime="20180115 23:43:24.126"></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="20180115 23:43:24.128" level="INFO">${TOKEN} = d90369ed817640a395bb46a486ebe0c8</msg>
<status status="PASS" endtime="20180115 23:43:24.128" starttime="20180115 23:43:24.127"></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="20180115 23:43:24.129" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'd90369ed817640a395bb46a486ebe0c8', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180115 23:43:24.129" starttime="20180115 23:43:24.128"></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="20180115 23:43:24.130" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'd90369ed817640a395bb46a486ebe0c8'}</msg>
<status status="PASS" endtime="20180115 23:43:24.130" starttime="20180115 23:43:24.129"></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="20180115 23:43:24.130" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'd90369ed817640a395bb46a486ebe0c8', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180115 23:43:24.131" starttime="20180115 23:43:24.130"></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="20180115 23:43:24.131" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'd90369ed817640a395bb46a486ebe0c8'}</msg>
<status status="PASS" endtime="20180115 23:43:24.131" starttime="20180115 23:43:24.131"></status>
</kw>
<status status="PASS" endtime="20180115 23:43:24.132" starttime="20180115 23:43:23.865"></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="20180115 23:43:24.150" level="INFO">Creating Session using : alias=ODL, url=http://10.20.11.11:8181, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7ff45d6d7790&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:24.150" starttime="20180115 23:43:24.149"></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="20180115 23:43:24.758" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d6e7850&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180115 23:43:24.758" starttime="20180115 23:43:24.151"></status>
</kw>
<doc>Get the complete list of networks</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180115 23:43:24.759" critical="yes" starttime="20180115 23:43:24.150">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d6e7850&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="20180115 23:43:25.372" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d6d7c50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180115 23:43:25.372" starttime="20180115 23:43:24.761"></status>
</kw>
<doc>Get the complete list of subnets</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180115 23:43:25.373" critical="yes" starttime="20180115 23:43:24.760">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d6d7c50&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="20180115 23:43:25.982" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d778990&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180115 23:43:25.982" starttime="20180115 23:43:25.374"></status>
</kw>
<doc>Get the complete list of ports</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180115 23:43:25.982" critical="yes" starttime="20180115 23:43:25.373">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d778990&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="20180115 23:43:25.984" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180115 23:43:25.985" starttime="20180115 23:43:25.984"></status>
</kw>
<status status="FAIL" endtime="20180115 23:43:25.985" starttime="20180115 23:43:24.132"></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="20180115 23:43:26.011" level="INFO">Creating Session using : alias=OSSession, url=http://10.20.11.11:9696, headers={u'X-Auth-Token': 'd90369ed817640a395bb46a486ebe0c8', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:26.012" starttime="20180115 23:43:26.010"></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="20180115 23:43:26.013" level="INFO">{u'X-Auth-Token': 'd90369ed817640a395bb46a486ebe0c8', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180115 23:43:26.013" starttime="20180115 23:43:26.013"></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="20180115 23:43:26.324" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/networks, headers=None json=None</msg>
<msg timestamp="20180115 23:43:26.324" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180115 23:43:26.324" starttime="20180115 23:43:26.013"></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="20180115 23:43:26.325" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180115 23:43:26.325" starttime="20180115 23:43:26.325"></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="20180115 23:43:26.326" level="INFO">To JSON using : content={"networks": [{"provider:physical_network": "physnet1", "updated_at": "2018-01-15T22:01:39Z", "revision_number": 5, "mtu": 1500, "id": "4959e396-d7c9-41d1-87f6-e76100cff0da", "router:external": true, "availability_zone_hints": [], "availability_zones": ["nova"], "ipv4_address_scope": null, "shared": false, "project_id": "39d03383a92f4da7af0798dee77d75ad", "status": "ACTIVE", "subnets": ["c1d3526c-c7cd-4c84-a27d-914dd18f56c6"], "description": "", "tags": [], "ipv6_address_scope": null, "is_default": false, "provider:segmentation_id": null, "name": "admin_external", "admin_state_up": true, "tenant_id": "39d03383a92f4da7af0798dee77d75ad", "created_at": "2018-01-15T22:01:36Z", "provider:network_type": "flat"}, {"provider:physical_network": null, "updated_at": "2018-01-15T22:02:03Z", "revision_number": 4, "mtu": 1450, "id": "b0a8c1e2-806d-4027-bc10-0fddb1a37612", "router:external": false, "availability_zone_hints": [], "availability_zones": ["nova"], "ipv4_address_scope": null, "shared": false, "project_id": "39d03383a92f4da7af0798dee77d75ad", "status": "ACTIVE", "subnets": ["55415a81-c029-45bd-8a59-ed4158312066"], "description": "", "tags": [], "ipv6_address_scope": null, "provider:segmentation_id": 30, "name": "tenant", "admin_state_up": true, "tenant_id": "39d03383a92f4da7af0798dee77d75ad", "created_at": "2018-01-15T22:02:01Z", "provider:network_type": "vxlan"}]} </msg>
<msg timestamp="20180115 23:43:26.326" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180115 23:43:26.326" level="INFO">${OSResult} = {u'networks': [{u'provider:physical_network': u'physnet1', u'updated_at': u'2018-01-15T22:01:39Z', u'revision_number': 5, u'provider:network_type': u'flat', u'id': u'4959e396-d7c9-41d1-87f6-e76100cff0...</msg>
<status status="PASS" endtime="20180115 23:43:26.326" starttime="20180115 23:43:26.325"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180115 23:43:26.327" level="INFO">{u'networks': [{u'provider:physical_network': u'physnet1', u'updated_at': u'2018-01-15T22:01:39Z', u'revision_number': 5, u'provider:network_type': u'flat', u'id': u'4959e396-d7c9-41d1-87f6-e76100cff0da', 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'39d03383a92f4da7af0798dee77d75ad', u'status': u'ACTIVE', u'subnets': [u'c1d3526c-c7cd-4c84-a27d-914dd18f56c6'], u'description': u'', u'tags': [], u'ipv6_address_scope': None, u'is_default': False, u'provider:segmentation_id': None, u'name': u'admin_external', u'admin_state_up': True, u'tenant_id': u'39d03383a92f4da7af0798dee77d75ad', u'created_at': u'2018-01-15T22:01:36Z', u'mtu': 1500}, {u'provider:physical_network': None, u'updated_at': u'2018-01-15T22:02:03Z', u'revision_number': 4, u'provider:network_type': u'vxlan', u'id': u'b0a8c1e2-806d-4027-bc10-0fddb1a37612', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [u'nova'], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'39d03383a92f4da7af0798dee77d75ad', u'status': u'ACTIVE', u'subnets': [u'55415a81-c029-45bd-8a59-ed4158312066'], u'description': u'', u'tags': [], u'ipv6_address_scope': None, u'provider:segmentation_id': 30, u'name': u'tenant', u'admin_state_up': True, u'tenant_id': u'39d03383a92f4da7af0798dee77d75ad', u'created_at': u'2018-01-15T22:02:01Z', u'mtu': 1450}]}</msg>
<status status="PASS" endtime="20180115 23:43:26.327" starttime="20180115 23:43:26.326"></status>
</kw>
<doc>Checking OpenStack Neutron for known networks</doc>
<tags>
<tag>Network Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180115 23:43:26.327" critical="yes" starttime="20180115 23:43:26.012"></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="20180115 23:43:26.329" level="INFO">Creating Session using : alias=ODLSession, url=http://10.20.11.11:8181, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7ff45d7194d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:26.329" starttime="20180115 23:43:26.328"></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="20180115 23:43:26.936" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d719550&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180115 23:43:26.937" starttime="20180115 23:43:26.329"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known networks</doc>
<tags>
<tag>Network Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180115 23:43:26.937" critical="yes" starttime="20180115 23:43:26.327">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d719550&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="20180115 23:43:26.940" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20180115 23:43:26.940" starttime="20180115 23:43:26.939"></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="20180115 23:43:27.719" 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="20180115 23:43:27.719" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180115 23:43:27.719" starttime="20180115 23:43:26.940"></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="20180115 23:43:27.721" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180115 23:43:27.721" starttime="20180115 23:43:27.720"></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="20180115 23:43:27.722" level="INFO">To JSON using : content={"network": {"provider:physical_network": null, "updated_at": "2018-01-15T23:43:27Z", "revision_number": 2, "mtu": 1450, "id": "8f465465-39ba-47dc-a01d-6f839686cac5", "router:external": false, "availability_zone_hints": [], "availability_zones": [], "ipv4_address_scope": null, "shared": false, "project_id": "39d03383a92f4da7af0798dee77d75ad", "status": "ACTIVE", "subnets": [], "description": "", "tags": [], "ipv6_address_scope": null, "provider:segmentation_id": 10, "name": "odl_network", "admin_state_up": true, "tenant_id": "39d03383a92f4da7af0798dee77d75ad", "created_at": "2018-01-15T23:43:27Z", "provider:network_type": "vxlan"}} </msg>
<msg timestamp="20180115 23:43:27.722" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180115 23:43:27.722" level="INFO">${result} = {u'network': {u'provider:physical_network': None, u'updated_at': u'2018-01-15T23:43:27Z', u'revision_number': 2, u'provider:network_type': u'vxlan', u'id': u'8f465465-39ba-47dc-a01d-6f839686cac5', u'r...</msg>
<status status="PASS" endtime="20180115 23:43:27.722" starttime="20180115 23:43:27.721"></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="20180115 23:43:27.723" level="INFO">${result} = {u'provider:physical_network': None, u'updated_at': u'2018-01-15T23:43:27Z', u'revision_number': 2, u'provider:network_type': u'vxlan', u'id': u'8f465465-39ba-47dc-a01d-6f839686cac5', u'router:externa...</msg>
<status status="PASS" endtime="20180115 23:43:27.723" starttime="20180115 23:43:27.723"></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="20180115 23:43:27.724" level="INFO">${NETID} = 8f465465-39ba-47dc-a01d-6f839686cac5</msg>
<status status="PASS" endtime="20180115 23:43:27.724" starttime="20180115 23:43:27.724"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180115 23:43:27.725" level="INFO">{u'provider:physical_network': None, u'updated_at': u'2018-01-15T23:43:27Z', u'revision_number': 2, u'provider:network_type': u'vxlan', u'id': u'8f465465-39ba-47dc-a01d-6f839686cac5', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'39d03383a92f4da7af0798dee77d75ad', u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'tags': [], u'ipv6_address_scope': None, u'provider:segmentation_id': 10, u'name': u'odl_network', u'admin_state_up': True, u'tenant_id': u'39d03383a92f4da7af0798dee77d75ad', u'created_at': u'2018-01-15T23:43:27Z', u'mtu': 1450}</msg>
<status status="PASS" endtime="20180115 23:43:27.725" starttime="20180115 23:43:27.725"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${NETID}</arg>
</arguments>
<msg timestamp="20180115 23:43:27.726" level="INFO">8f465465-39ba-47dc-a01d-6f839686cac5</msg>
<status status="PASS" endtime="20180115 23:43:27.726" starttime="20180115 23:43:27.726"></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="20180115 23:43:27.727" level="INFO">${NETID} = 8f465465-39ba-47dc-a01d-6f839686cac5</msg>
<status status="PASS" endtime="20180115 23:43:27.727" starttime="20180115 23:43:27.727"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180115 23:43:29.728" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180115 23:43:29.729" starttime="20180115 23:43:27.728"></status>
</kw>
<doc>Create new network in OpenStack</doc>
<tags>
<tag>Create Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180115 23:43:29.729" critical="yes" starttime="20180115 23:43:26.938"></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="20180115 23:43:30.338" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks/8f465465-39ba-47dc-a01d-6f839686cac5 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d74f9d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180115 23:43:30.338" starttime="20180115 23:43:29.731"></status>
</kw>
<doc>Check network created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>Network OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180115 23:43:30.339" critical="yes" starttime="20180115 23:43:29.730">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks/8f465465-39ba-47dc-a01d-6f839686cac5 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d74f9d0&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="20180115 23:43:30.341" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180115 23:43:30.341" starttime="20180115 23:43:30.340"></status>
</kw>
<doc>Checking Network created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180115 23:43:30.341" starttime="20180115 23:43:25.987"></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="20180115 23:43:30.366" level="INFO">Creating Session using : alias=OSSession, url=http://10.20.11.11:9696, headers={u'X-Auth-Token': 'd90369ed817640a395bb46a486ebe0c8', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:30.367" starttime="20180115 23:43:30.366"></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="20180115 23:43:30.368" level="INFO">{u'X-Auth-Token': 'd90369ed817640a395bb46a486ebe0c8', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180115 23:43:30.368" starttime="20180115 23:43:30.368"></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="20180115 23:43:30.565" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/subnets, headers=None json=None</msg>
<msg timestamp="20180115 23:43:30.565" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180115 23:43:30.565" starttime="20180115 23:43:30.369"></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="20180115 23:43:30.566" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180115 23:43:30.567" starttime="20180115 23:43:30.566"></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="20180115 23:43:30.568" level="INFO">To JSON using : content={"subnets": [{"service_types": [], "description": "", "enable_dhcp": true, "tags": [], "network_id": "b0a8c1e2-806d-4027-bc10-0fddb1a37612", "tenant_id": "39d03383a92f4da7af0798dee77d75ad", "created_at": "2018-01-15T22:02:03Z", "dns_nameservers": [], "updated_at": "2018-01-15T22:02:03Z", "gateway_ip": "10.20.11.1", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.20.11.3", "end": "10.20.11.10"}], "host_routes": [], "revision_number": 2, "ip_version": 4, "ipv6_address_mode": null, "cidr": "10.20.11.0/24", "project_id": "39d03383a92f4da7af0798dee77d75ad", "id": "55415a81-c029-45bd-8a59-ed4158312066", "subnetpool_id": null, "name": "tenant_subnet"}, {"service_types": [], "description": "", "enable_dhcp": false, "tags": [], "network_id": "4959e396-d7c9-41d1-87f6-e76100cff0da", "tenant_id": "39d03383a92f4da7af0798dee77d75ad", "created_at": "2018-01-15T22:01:39Z", "dns_nameservers": [], "updated_at": "2018-01-15T22:01:39Z", "gateway_ip": "172.10.101.1", "ipv6_ra_mode": null, "allocation_pools": [{"start": "172.10.101.2", "end": "172.10.101.20"}], "host_routes": [], "revision_number": 2, "ip_version": 4, "ipv6_address_mode": null, "cidr": "172.10.101.0/24", "project_id": "39d03383a92f4da7af0798dee77d75ad", "id": "c1d3526c-c7cd-4c84-a27d-914dd18f56c6", "subnetpool_id": null, "name": "admin_external_subnet"}]} </msg>
<msg timestamp="20180115 23:43:30.568" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180115 23:43:30.568" level="INFO">${OSResult} = {u'subnets': [{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'b0a8c1e2-806d-4027-bc10-0fddb1a37612', u'tenant_id': u'39d03383a92f4da7af0798dee77d75ad', ...</msg>
<status status="PASS" endtime="20180115 23:43:30.568" starttime="20180115 23:43:30.567"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180115 23:43:30.569" level="INFO">{u'subnets': [{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'b0a8c1e2-806d-4027-bc10-0fddb1a37612', u'tenant_id': u'39d03383a92f4da7af0798dee77d75ad', u'created_at': u'2018-01-15T22:02:03Z', u'dns_nameservers': [], u'updated_at': u'2018-01-15T22:02:03Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'10.20.11.3', u'end': u'10.20.11.10'}], u'gateway_ip': u'10.20.11.1', u'revision_number': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'10.20.11.0/24', u'project_id': u'39d03383a92f4da7af0798dee77d75ad', u'id': u'55415a81-c029-45bd-8a59-ed4158312066', u'subnetpool_id': None, u'name': u'tenant_subnet'}, {u'service_types': [], u'description': u'', u'enable_dhcp': False, u'tags': [], u'network_id': u'4959e396-d7c9-41d1-87f6-e76100cff0da', u'tenant_id': u'39d03383a92f4da7af0798dee77d75ad', u'created_at': u'2018-01-15T22:01:39Z', u'dns_nameservers': [], u'updated_at': u'2018-01-15T22:01:39Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'172.10.101.2', u'end': u'172.10.101.20'}], u'gateway_ip': u'172.10.101.1', u'revision_number': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'172.10.101.0/24', u'project_id': u'39d03383a92f4da7af0798dee77d75ad', u'id': u'c1d3526c-c7cd-4c84-a27d-914dd18f56c6', u'subnetpool_id': None, u'name': u'admin_external_subnet'}]}</msg>
<status status="PASS" endtime="20180115 23:43:30.569" starttime="20180115 23:43:30.568"></status>
</kw>
<doc>Checking OpenStack Neutron for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180115 23:43:30.569" critical="yes" starttime="20180115 23:43:30.367"></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="20180115 23:43:30.572" level="INFO">Creating Session using : alias=ODLSession, url=http://10.20.11.11:8181, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7ff45d74f390&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:30.573" starttime="20180115 23:43:30.571"></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="20180115 23:43:31.181" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d985310&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180115 23:43:31.181" starttime="20180115 23:43:30.573"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180115 23:43:31.182" critical="yes" starttime="20180115 23:43:30.570">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d985310&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="20180115 23:43:31.184" level="INFO">{"subnet":{"network_id":"8f465465-39ba-47dc-a01d-6f839686cac5","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="20180115 23:43:31.184" starttime="20180115 23:43:31.184"></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="20180115 23:43:32.568" 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="20180115 23:43:32.568" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180115 23:43:32.568" starttime="20180115 23:43:31.185"></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="20180115 23:43:32.570" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180115 23:43:32.570" starttime="20180115 23:43:32.569"></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="20180115 23:43:32.571" level="INFO">To JSON using : content={"subnet": {"service_types": [], "description": "", "enable_dhcp": true, "tags": [], "network_id": "8f465465-39ba-47dc-a01d-6f839686cac5", "tenant_id": "39d03383a92f4da7af0798dee77d75ad", "created_at": "2018-01-15T23:43:31Z", "dns_nameservers": [], "updated_at": "2018-01-15T23:43:31Z", "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": 2, "ip_version": 4, "ipv6_address_mode": null, "cidr": "172.16.64.0/24", "project_id": "39d03383a92f4da7af0798dee77d75ad", "id": "a37920aa-3d3b-4fae-9338-b18f96c59768", "subnetpool_id": null, "name": ""}} </msg>
<msg timestamp="20180115 23:43:32.571" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180115 23:43:32.571" level="INFO">${result} = {u'subnet': {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'8f465465-39ba-47dc-a01d-6f839686cac5', u'tenant_id': u'39d03383a92f4da7af0798dee77d75ad', u'...</msg>
<status status="PASS" endtime="20180115 23:43:32.571" starttime="20180115 23:43:32.570"></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="20180115 23:43:32.572" level="INFO">${result} = {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'8f465465-39ba-47dc-a01d-6f839686cac5', u'tenant_id': u'39d03383a92f4da7af0798dee77d75ad', u'created_at':...</msg>
<status status="PASS" endtime="20180115 23:43:32.572" starttime="20180115 23:43:32.571"></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="20180115 23:43:32.573" level="INFO">${SUBNETID} = a37920aa-3d3b-4fae-9338-b18f96c59768</msg>
<status status="PASS" endtime="20180115 23:43:32.573" starttime="20180115 23:43:32.572"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180115 23:43:32.574" level="INFO">{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'8f465465-39ba-47dc-a01d-6f839686cac5', u'tenant_id': u'39d03383a92f4da7af0798dee77d75ad', u'created_at': u'2018-01-15T23:43:31Z', u'dns_nameservers': [], u'updated_at': u'2018-01-15T23:43:31Z', 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': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'172.16.64.0/24', u'project_id': u'39d03383a92f4da7af0798dee77d75ad', u'id': u'a37920aa-3d3b-4fae-9338-b18f96c59768', u'subnetpool_id': None, u'name': u''}</msg>
<status status="PASS" endtime="20180115 23:43:32.574" starttime="20180115 23:43:32.573"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${SUBNETID}</arg>
</arguments>
<msg timestamp="20180115 23:43:32.575" level="INFO">a37920aa-3d3b-4fae-9338-b18f96c59768</msg>
<status status="PASS" endtime="20180115 23:43:32.575" starttime="20180115 23:43:32.574"></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="20180115 23:43:32.576" level="INFO">${SUBNETID} = a37920aa-3d3b-4fae-9338-b18f96c59768</msg>
<status status="PASS" endtime="20180115 23:43:32.576" starttime="20180115 23:43:32.575"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180115 23:43:34.576" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180115 23:43:34.577" starttime="20180115 23:43:32.576"></status>
</kw>
<doc>Create new subnet in OpenStack</doc>
<tags>
<tag>Create Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180115 23:43:34.577" critical="yes" starttime="20180115 23:43:31.182"></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="20180115 23:43:35.187" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/a37920aa-3d3b-4fae-9338-b18f96c59768 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d783690&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180115 23:43:35.187" starttime="20180115 23:43:34.579"></status>
</kw>
<doc>Check new subnet created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>subnet OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180115 23:43:35.188" critical="yes" starttime="20180115 23:43:34.578">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/a37920aa-3d3b-4fae-9338-b18f96c59768 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d783690&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="20180115 23:43:35.190" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180115 23:43:35.191" starttime="20180115 23:43:35.190"></status>
</kw>
<doc>Checking Subnets created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180115 23:43:35.191" starttime="20180115 23:43:30.344"></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="20180115 23:43:35.223" level="INFO">Creating Session using : alias=OSSession, url=http://10.20.11.11:9696, headers={u'X-Auth-Token': 'd90369ed817640a395bb46a486ebe0c8', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:35.224" starttime="20180115 23:43:35.222"></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="20180115 23:43:35.226" level="INFO">{u'X-Auth-Token': 'd90369ed817640a395bb46a486ebe0c8', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180115 23:43:35.226" starttime="20180115 23:43:35.225"></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="20180115 23:43:35.348" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/ports, headers=None json=None</msg>
<msg timestamp="20180115 23:43:35.348" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180115 23:43:35.348" starttime="20180115 23:43:35.226"></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="20180115 23:43:35.349" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180115 23:43:35.349" starttime="20180115 23:43:35.348"></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="20180115 23:43:35.349" level="INFO">To JSON using : content={"ports": [{"status": "ACTIVE", "binding:host_id": "host-10-20-11-3", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-15T23:43:33Z", "device_owner": "network:dhcp", "revision_number": 5, "binding:profile": {}, "fixed_ips": [{"subnet_id": "a37920aa-3d3b-4fae-9338-b18f96c59768", "ip_address": "172.16.64.20"}], "id": "27acbe45-3301-4fe5-8647-d957c89b655a", "security_groups": [], "device_id": "dhcp6775ab5e-ad99-5b53-8363-f02c497e62e4-8f465465-39ba-47dc-a01d-6f839686cac5", "name": "", "admin_state_up": true, "network_id": "8f465465-39ba-47dc-a01d-6f839686cac5", "tenant_id": "39d03383a92f4da7af0798dee77d75ad", "binding:vif_details": {"port_filter": true}, "binding:vnic_type": "normal", "binding:vif_type": "ovs", "mac_address": "fa:16:3e:c0:fa:8e", "project_id": "39d03383a92f4da7af0798dee77d75ad", "created_at": "2018-01-15T23:43:32Z"}, {"status": "ACTIVE", "binding:host_id": "host-10-20-11-4", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-15T22:02:07Z", "device_owner": "network:dhcp", "revision_number": 5, "binding:profile": {}, "fixed_ips": [{"subnet_id": "55415a81-c029-45bd-8a59-ed4158312066", "ip_address": "10.20.11.3"}], "id": "d2273e2b-7cc5-4e7a-b330-d2d92b33f90a", "security_groups": [], "device_id": "dhcp95ded33c-b9e4-55b0-baca-dd1a633282a5-b0a8c1e2-806d-4027-bc10-0fddb1a37612", "name": "", "admin_state_up": true, "network_id": "b0a8c1e2-806d-4027-bc10-0fddb1a37612", "tenant_id": "39d03383a92f4da7af0798dee77d75ad", "binding:vif_details": {"port_filter": true}, "binding:vnic_type": "normal", "binding:vif_type": "ovs", "mac_address": "fa:16:3e:58:f2:8c", "project_id": "39d03383a92f4da7af0798dee77d75ad", "created_at": "2018-01-15T22:02:05Z"}]} </msg>
<msg timestamp="20180115 23:43:35.350" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180115 23:43:35.350" level="INFO">${OSResult} = {u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-15T23:43:33Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'binding:profile': {}, u'fixed_ips'...</msg>
<status status="PASS" endtime="20180115 23:43:35.350" starttime="20180115 23:43:35.349"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180115 23:43:35.351" level="INFO">{u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-15T23:43:33Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'a37920aa-3d3b-4fae-9338-b18f96c59768', u'ip_address': u'172.16.64.20'}], u'id': u'27acbe45-3301-4fe5-8647-d957c89b655a', u'security_groups': [], u'binding:vif_details': {u'port_filter': True}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:c0:fa:8e', u'project_id': u'39d03383a92f4da7af0798dee77d75ad', u'status': u'ACTIVE', u'binding:host_id': u'host-10-20-11-3', u'description': u'', u'tags': [], u'device_id': u'dhcp6775ab5e-ad99-5b53-8363-f02c497e62e4-8f465465-39ba-47dc-a01d-6f839686cac5', u'name': u'', u'admin_state_up': True, u'network_id': u'8f465465-39ba-47dc-a01d-6f839686cac5', u'tenant_id': u'39d03383a92f4da7af0798dee77d75ad', u'created_at': u'2018-01-15T23:43:32Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-15T22:02:07Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'55415a81-c029-45bd-8a59-ed4158312066', u'ip_address': u'10.20.11.3'}], u'id': u'd2273e2b-7cc5-4e7a-b330-d2d92b33f90a', u'security_groups': [], u'binding:vif_details': {u'port_filter': True}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:58:f2:8c', u'project_id': u'39d03383a92f4da7af0798dee77d75ad', u'status': u'ACTIVE', u'binding:host_id': u'host-10-20-11-4', u'description': u'', u'tags': [], u'device_id': u'dhcp95ded33c-b9e4-55b0-baca-dd1a633282a5-b0a8c1e2-806d-4027-bc10-0fddb1a37612', u'name': u'', u'admin_state_up': True, u'network_id': u'b0a8c1e2-806d-4027-bc10-0fddb1a37612', u'tenant_id': u'39d03383a92f4da7af0798dee77d75ad', u'created_at': u'2018-01-15T22:02:05Z', u'binding:vnic_type': u'normal'}]}</msg>
<status status="PASS" endtime="20180115 23:43:35.351" starttime="20180115 23:43:35.350"></status>
</kw>
<doc>Checking OpenStack Neutron for known ports</doc>
<tags>
<tag>Ports Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180115 23:43:35.351" critical="yes" starttime="20180115 23:43:35.224"></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="20180115 23:43:35.353" level="INFO">Creating Session using : alias=ODLSession, url=http://10.20.11.11:8181, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7ff45d723dd0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:35.353" starttime="20180115 23:43:35.352"></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="20180115 23:43:35.960" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d98dc90&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180115 23:43:35.960" starttime="20180115 23:43:35.353"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known ports</doc>
<tags>
<tag>Ports Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180115 23:43:35.961" critical="yes" starttime="20180115 23:43:35.351">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d98dc90&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="20180115 23:43:35.963" level="INFO">{"port":{"network_id":"8f465465-39ba-47dc-a01d-6f839686cac5","admin_state_up": true}}</msg>
<status status="PASS" endtime="20180115 23:43:35.963" starttime="20180115 23:43:35.963"></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="20180115 23:43:38.227" 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="20180115 23:43:38.228" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180115 23:43:38.228" starttime="20180115 23:43:35.963"></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="20180115 23:43:38.229" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180115 23:43:38.229" starttime="20180115 23:43:38.228"></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="20180115 23:43:38.230" level="INFO">To JSON using : content={"port": {"status": "DOWN", "binding:host_id": "", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-15T23:43:36Z", "device_owner": "", "revision_number": 4, "binding:profile": {}, "fixed_ips": [{"subnet_id": "a37920aa-3d3b-4fae-9338-b18f96c59768", "ip_address": "172.16.64.23"}], "id": "a2116e11-4c87-4472-ba43-f348de0cdb73", "security_groups": ["6de25795-c9cb-42c1-98ff-ddc94ff991d1"], "device_id": "", "name": "", "admin_state_up": true, "network_id": "8f465465-39ba-47dc-a01d-6f839686cac5", "tenant_id": "39d03383a92f4da7af0798dee77d75ad", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "unbound", "mac_address": "fa:16:3e:3b:d6:b8", "project_id": "39d03383a92f4da7af0798dee77d75ad", "created_at": "2018-01-15T23:43:36Z"}} </msg>
<msg timestamp="20180115 23:43:38.230" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180115 23:43:38.230" level="INFO">${result} = {u'port': {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-15T23:43:36Z', u'device_owner': u'', u'revision_number': 4, u'binding:profile': {}, u'fixed_ips': [{u'subnet_i...</msg>
<status status="PASS" endtime="20180115 23:43:38.230" starttime="20180115 23:43:38.229"></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="20180115 23:43:38.231" level="INFO">${result} = {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-15T23:43:36Z', u'device_owner': u'', u'revision_number': 4, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'a379...</msg>
<status status="PASS" endtime="20180115 23:43:38.231" starttime="20180115 23:43:38.231"></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="20180115 23:43:38.232" level="INFO">${PORTID} = a2116e11-4c87-4472-ba43-f348de0cdb73</msg>
<status status="PASS" endtime="20180115 23:43:38.232" starttime="20180115 23:43:38.232"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180115 23:43:38.233" level="INFO">{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-15T23:43:36Z', u'device_owner': u'', u'revision_number': 4, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'a37920aa-3d3b-4fae-9338-b18f96c59768', u'ip_address': u'172.16.64.23'}], u'id': u'a2116e11-4c87-4472-ba43-f348de0cdb73', u'security_groups': [u'6de25795-c9cb-42c1-98ff-ddc94ff991d1'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:3b:d6:b8', u'project_id': u'39d03383a92f4da7af0798dee77d75ad', 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'8f465465-39ba-47dc-a01d-6f839686cac5', u'tenant_id': u'39d03383a92f4da7af0798dee77d75ad', u'created_at': u'2018-01-15T23:43:36Z', u'binding:vnic_type': u'normal'}</msg>
<status status="PASS" endtime="20180115 23:43:38.233" starttime="20180115 23:43:38.232"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${PORTID}</arg>
</arguments>
<msg timestamp="20180115 23:43:38.234" level="INFO">a2116e11-4c87-4472-ba43-f348de0cdb73</msg>
<status status="PASS" endtime="20180115 23:43:38.234" starttime="20180115 23:43:38.233"></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="20180115 23:43:38.235" level="INFO">${PORTID} = a2116e11-4c87-4472-ba43-f348de0cdb73</msg>
<status status="PASS" endtime="20180115 23:43:38.235" starttime="20180115 23:43:38.234"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180115 23:43:40.235" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180115 23:43:40.236" starttime="20180115 23:43:38.235"></status>
</kw>
<doc>Create new port in OpenStack</doc>
<tags>
<tag>Create port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180115 23:43:40.236" critical="yes" starttime="20180115 23:43:35.961"></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="20180115 23:43:40.843" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports/a2116e11-4c87-4472-ba43-f348de0cdb73 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d74f110&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180115 23:43:40.844" starttime="20180115 23:43:40.237"></status>
</kw>
<doc>Check new port created in OpenDaylight</doc>
<tags>
<tag>Check port OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180115 23:43:40.844" critical="yes" starttime="20180115 23:43:40.236">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports/a2116e11-4c87-4472-ba43-f348de0cdb73 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d74f110&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="20180115 23:43:40.846" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180115 23:43:40.846" starttime="20180115 23:43:40.845"></status>
</kw>
<doc>Checking Port created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180115 23:43:40.846" starttime="20180115 23:43:35.195"></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="20180115 23:43:40.869" level="INFO">Creating Session using : alias=OSSession, url=http://10.20.11.11:9696, headers={u'X-Auth-Token': 'd90369ed817640a395bb46a486ebe0c8'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:40.869" starttime="20180115 23:43:40.868"></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="20180115 23:43:40.870" level="INFO">Creating Session using : alias=ODLSession, url=http://10.20.11.11:8181, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7ff45d70efd0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:40.871" starttime="20180115 23:43:40.870"></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="20180115 23:43:41.479" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports/a2116e11-4c87-4472-ba43-f348de0cdb73 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d78e4d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180115 23:43:41.479" starttime="20180115 23:43:40.871"></status>
</kw>
<status status="FAIL" endtime="20180115 23:43:41.480" starttime="20180115 23:43:40.871"></status>
</kw>
<status status="FAIL" endtime="20180115 23:43:41.480" starttime="20180115 23:43:40.868"></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="20180115 23:43:41.482" critical="yes" starttime="20180115 23:43:41.480">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports/a2116e11-4c87-4472-ba43-f348de0cdb73 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d78e4d0&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="20180115 23:43:41.483" critical="yes" starttime="20180115 23:43:41.482">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports/a2116e11-4c87-4472-ba43-f348de0cdb73 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d78e4d0&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="20180115 23:43:41.485" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180115 23:43:41.485" starttime="20180115 23:43:41.484"></status>
</kw>
<doc>Checking Port deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180115 23:43:41.485" starttime="20180115 23:43:40.848">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports/a2116e11-4c87-4472-ba43-f348de0cdb73 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d78e4d0&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="20180115 23:43:41.518" level="INFO">Creating Session using : alias=OSSession, url=http://10.20.11.11:9696, headers={u'X-Auth-Token': 'd90369ed817640a395bb46a486ebe0c8'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:41.519" starttime="20180115 23:43:41.517"></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="20180115 23:43:41.520" level="INFO">Creating Session using : alias=ODLSession, url=http://10.20.11.11:8181, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7ff45d6c1590&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:41.521" starttime="20180115 23:43:41.519"></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="20180115 23:43:42.130" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/a37920aa-3d3b-4fae-9338-b18f96c59768 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d6ea150&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180115 23:43:42.130" starttime="20180115 23:43:41.521"></status>
</kw>
<status status="FAIL" endtime="20180115 23:43:42.131" starttime="20180115 23:43:41.521"></status>
</kw>
<status status="FAIL" endtime="20180115 23:43:42.131" starttime="20180115 23:43:41.516"></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="20180115 23:43:42.133" critical="yes" starttime="20180115 23:43:42.132">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/a37920aa-3d3b-4fae-9338-b18f96c59768 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d6ea150&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="20180115 23:43:42.135" critical="yes" starttime="20180115 23:43:42.134">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/a37920aa-3d3b-4fae-9338-b18f96c59768 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d6ea150&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="20180115 23:43:42.136" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180115 23:43:42.136" starttime="20180115 23:43:42.136"></status>
</kw>
<doc>Checking Subnets deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180115 23:43:42.137" starttime="20180115 23:43:41.487">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/a37920aa-3d3b-4fae-9338-b18f96c59768 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d6ea150&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="20180115 23:43:42.167" level="INFO">Creating Session using : alias=OSSession, url=http://10.20.11.11:9696, headers={u'X-Auth-Token': 'd90369ed817640a395bb46a486ebe0c8'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:42.168" starttime="20180115 23:43:42.166"></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="20180115 23:43:42.169" level="INFO">Creating Session using : alias=ODLSession, url=http://10.20.11.11:8181, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7ff45d6ead90&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180115 23:43:42.170" starttime="20180115 23:43:42.168"></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="20180115 23:43:42.779" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks/8f465465-39ba-47dc-a01d-6f839686cac5 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d6ea790&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180115 23:43:42.780" starttime="20180115 23:43:42.171"></status>
</kw>
<status status="FAIL" endtime="20180115 23:43:42.780" starttime="20180115 23:43:42.170"></status>
</kw>
<status status="FAIL" endtime="20180115 23:43:42.781" starttime="20180115 23:43:42.165"></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="20180115 23:43:42.782" critical="yes" starttime="20180115 23:43:42.781">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks/8f465465-39ba-47dc-a01d-6f839686cac5 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d6ea790&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="20180115 23:43:42.784" critical="yes" starttime="20180115 23:43:42.783">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks/8f465465-39ba-47dc-a01d-6f839686cac5 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d6ea790&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="20180115 23:43:42.785" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180115 23:43:42.785" starttime="20180115 23:43:42.785"></status>
</kw>
<doc>Checking Network deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180115 23:43:42.785" starttime="20180115 23:43:42.139">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks/8f465465-39ba-47dc-a01d-6f839686cac5 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7ff45d6ea790&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="20180115 23:43:42.791" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180115 23:43:42.791" starttime="20180115 23:43:42.790"></status>
</kw>
<status status="PASS" endtime="20180115 23:43:42.791" starttime="20180115 23:43:42.790"></status>
</kw>
<doc>Test suite for Neutron Plugin</doc>
<status status="FAIL" endtime="20180115 23:43:42.791" starttime="20180115 23:43:23.732"></status>
</suite>
<status status="FAIL" endtime="20180115 23:43:42.801" starttime="20180115 23:43:22.976"></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="20180115 23:43:23.868" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
</errors>
</robot>
