<?xml version="1.0" encoding="UTF-8"?>
<robot generated="20180104 00:26:14.057" 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="20180104 00:26:14.266" 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 0x7f0ab48a7d50&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:14.266" starttime="20180104 00:26:14.265"></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="20180104 00:26:14.908" 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 0x7f0ab4888350&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180104 00:26:14.908" starttime="20180104 00:26:14.267"></status>
</kw>
<doc>Get the restconf modules, check 200 status and ietf-restconf presence.</doc>
<status status="FAIL" endtime="20180104 00:26:14.908" critical="yes" starttime="20180104 00:26:14.267">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 0x7f0ab4888350&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="20180104 00:26:14.910" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180104 00:26:14.910" starttime="20180104 00:26:14.910"></status>
</kw>
<doc>Test suite to verify Restconf is OK.</doc>
<status status="FAIL" endtime="20180104 00:26:14.910" starttime="20180104 00:26:14.178"></status>
</suite>
<status status="FAIL" endtime="20180104 00:26:14.912" starttime="20180104 00:26:14.174"></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="20180104 00:26:15.102" 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="20180104 00:26:15.103" starttime="20180104 00:26:15.102"></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="20180104 00:26:15.104" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20180104 00:26:15.330" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180104 00:26:15.331" starttime="20180104 00:26:15.103"></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="20180104 00:26:15.332" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180104 00:26:15.332" starttime="20180104 00:26:15.331"></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="20180104 00:26:15.333" level="INFO">${TOKEN} = 75145c0e84b54259bda1b6ba61d336d4</msg>
<status status="PASS" endtime="20180104 00:26:15.333" starttime="20180104 00:26:15.332"></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="20180104 00:26:15.334" level="INFO">${X-AUTH} = {u'X-Auth-Token': '75145c0e84b54259bda1b6ba61d336d4', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180104 00:26:15.334" starttime="20180104 00:26:15.333"></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="20180104 00:26:15.335" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': '75145c0e84b54259bda1b6ba61d336d4'}</msg>
<status status="PASS" endtime="20180104 00:26:15.335" starttime="20180104 00:26:15.335"></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="20180104 00:26:15.336" level="INFO">${X-AUTH} = {u'X-Auth-Token': '75145c0e84b54259bda1b6ba61d336d4', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180104 00:26:15.336" starttime="20180104 00:26:15.336"></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="20180104 00:26:15.337" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': '75145c0e84b54259bda1b6ba61d336d4'}</msg>
<status status="PASS" endtime="20180104 00:26:15.337" starttime="20180104 00:26:15.337"></status>
</kw>
<status status="PASS" endtime="20180104 00:26:15.338" starttime="20180104 00:26:15.101"></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="20180104 00:26:15.360" 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 0x7f0ab4708710&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:15.361" starttime="20180104 00:26:15.360"></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="20180104 00:26:15.970" 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 0x7f0ab46af550&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180104 00:26:15.971" starttime="20180104 00:26:15.362"></status>
</kw>
<doc>Get the complete list of networks</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180104 00:26:15.971" critical="yes" starttime="20180104 00:26:15.361">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 0x7f0ab46af550&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="20180104 00:26:16.582" 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 0x7f0ab46ffa10&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180104 00:26:16.583" starttime="20180104 00:26:15.973"></status>
</kw>
<doc>Get the complete list of subnets</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180104 00:26:16.583" critical="yes" starttime="20180104 00:26:15.972">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 0x7f0ab46ffa10&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="20180104 00:26:17.193" 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 0x7f0ab46af290&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180104 00:26:17.193" starttime="20180104 00:26:16.585"></status>
</kw>
<doc>Get the complete list of ports</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180104 00:26:17.194" critical="yes" starttime="20180104 00:26:16.584">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 0x7f0ab46af290&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="20180104 00:26:17.196" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180104 00:26:17.197" starttime="20180104 00:26:17.196"></status>
</kw>
<status status="FAIL" endtime="20180104 00:26:17.197" starttime="20180104 00:26:15.338"></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="20180104 00:26:17.226" level="INFO">Creating Session using : alias=OSSession, url=http://10.20.11.11:9696, headers={u'X-Auth-Token': '75145c0e84b54259bda1b6ba61d336d4', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:17.227" starttime="20180104 00:26:17.226"></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="20180104 00:26:17.229" level="INFO">{u'X-Auth-Token': '75145c0e84b54259bda1b6ba61d336d4', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180104 00:26:17.229" starttime="20180104 00:26:17.229"></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="20180104 00:26:17.540" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/networks, headers=None json=None</msg>
<msg timestamp="20180104 00:26:17.541" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180104 00:26:17.541" starttime="20180104 00:26:17.230"></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="20180104 00:26:17.542" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180104 00:26:17.542" starttime="20180104 00:26:17.541"></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="20180104 00:26:17.542" level="INFO">To JSON using : content={"networks": [{"provider:physical_network": "physnet1", "updated_at": "2018-01-03T22:48:52Z", "revision_number": 5, "mtu": 1500, "id": "5c81d363-2555-4f9c-9c0f-ce81b2e6b83c", "router:external": true, "availability_zone_hints": [], "availability_zones": ["nova"], "ipv4_address_scope": null, "shared": false, "project_id": "c110841646aa4cc8a4a9c71b102ebcc8", "status": "ACTIVE", "subnets": ["556a2a14-2c16-440f-b4b4-9f610e796be2"], "description": "", "tags": [], "ipv6_address_scope": null, "is_default": false, "provider:segmentation_id": null, "name": "admin_external", "admin_state_up": true, "tenant_id": "c110841646aa4cc8a4a9c71b102ebcc8", "created_at": "2018-01-03T22:48:50Z", "provider:network_type": "flat"}]} </msg>
<msg timestamp="20180104 00:26:17.542" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180104 00:26:17.542" level="INFO">${OSResult} = {u'networks': [{u'provider:physical_network': u'physnet1', u'updated_at': u'2018-01-03T22:48:52Z', u'revision_number': 5, u'provider:network_type': u'flat', u'id': u'5c81d363-2555-4f9c-9c0f-ce81b2e6b8...</msg>
<status status="PASS" endtime="20180104 00:26:17.543" starttime="20180104 00:26:17.542"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180104 00:26:17.543" level="INFO">{u'networks': [{u'provider:physical_network': u'physnet1', u'updated_at': u'2018-01-03T22:48:52Z', u'revision_number': 5, u'provider:network_type': u'flat', u'id': u'5c81d363-2555-4f9c-9c0f-ce81b2e6b83c', 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'c110841646aa4cc8a4a9c71b102ebcc8', u'status': u'ACTIVE', u'subnets': [u'556a2a14-2c16-440f-b4b4-9f610e796be2'], 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'c110841646aa4cc8a4a9c71b102ebcc8', u'created_at': u'2018-01-03T22:48:50Z', u'mtu': 1500}]}</msg>
<status status="PASS" endtime="20180104 00:26:17.543" starttime="20180104 00:26:17.543"></status>
</kw>
<doc>Checking OpenStack Neutron for known networks</doc>
<tags>
<tag>Network Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180104 00:26:17.543" critical="yes" starttime="20180104 00:26:17.227"></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="20180104 00:26:17.545" 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 0x7f0ab46e2710&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:17.546" starttime="20180104 00:26:17.544"></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="20180104 00:26:18.154" 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 0x7f0ab46e26d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180104 00:26:18.154" starttime="20180104 00:26:17.546"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known networks</doc>
<tags>
<tag>Network Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180104 00:26:18.155" critical="yes" starttime="20180104 00:26:17.544">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 0x7f0ab46e26d0&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="20180104 00:26:18.157" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20180104 00:26:18.157" starttime="20180104 00:26:18.157"></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="20180104 00:26:19.169" 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="20180104 00:26:19.169" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180104 00:26:19.169" starttime="20180104 00:26:18.158"></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="20180104 00:26:19.170" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180104 00:26:19.170" starttime="20180104 00:26:19.170"></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="20180104 00:26:19.171" level="INFO">To JSON using : content={"network": {"provider:physical_network": null, "updated_at": "2018-01-04T00:26:18Z", "revision_number": 2, "mtu": 1450, "id": "b571c3a6-629e-4145-99e4-81edc8085009", "router:external": false, "availability_zone_hints": [], "availability_zones": [], "ipv4_address_scope": null, "shared": false, "project_id": "c110841646aa4cc8a4a9c71b102ebcc8", "status": "ACTIVE", "subnets": [], "description": "", "tags": [], "ipv6_address_scope": null, "provider:segmentation_id": 49, "name": "odl_network", "admin_state_up": true, "tenant_id": "c110841646aa4cc8a4a9c71b102ebcc8", "created_at": "2018-01-04T00:26:18Z", "provider:network_type": "vxlan"}} </msg>
<msg timestamp="20180104 00:26:19.172" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180104 00:26:19.172" level="INFO">${result} = {u'network': {u'provider:physical_network': None, u'updated_at': u'2018-01-04T00:26:18Z', u'revision_number': 2, u'provider:network_type': u'vxlan', u'id': u'b571c3a6-629e-4145-99e4-81edc8085009', u'r...</msg>
<status status="PASS" endtime="20180104 00:26:19.172" starttime="20180104 00:26:19.171"></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="20180104 00:26:19.173" level="INFO">${result} = {u'provider:physical_network': None, u'updated_at': u'2018-01-04T00:26:18Z', u'revision_number': 2, u'provider:network_type': u'vxlan', u'id': u'b571c3a6-629e-4145-99e4-81edc8085009', u'router:externa...</msg>
<status status="PASS" endtime="20180104 00:26:19.173" starttime="20180104 00:26:19.172"></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="20180104 00:26:19.174" level="INFO">${NETID} = b571c3a6-629e-4145-99e4-81edc8085009</msg>
<status status="PASS" endtime="20180104 00:26:19.174" starttime="20180104 00:26:19.173"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180104 00:26:19.175" level="INFO">{u'provider:physical_network': None, u'updated_at': u'2018-01-04T00:26:18Z', u'revision_number': 2, u'provider:network_type': u'vxlan', u'id': u'b571c3a6-629e-4145-99e4-81edc8085009', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'c110841646aa4cc8a4a9c71b102ebcc8', u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'tags': [], u'ipv6_address_scope': None, u'provider:segmentation_id': 49, u'name': u'odl_network', u'admin_state_up': True, u'tenant_id': u'c110841646aa4cc8a4a9c71b102ebcc8', u'created_at': u'2018-01-04T00:26:18Z', u'mtu': 1450}</msg>
<status status="PASS" endtime="20180104 00:26:19.175" starttime="20180104 00:26:19.174"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${NETID}</arg>
</arguments>
<msg timestamp="20180104 00:26:19.175" level="INFO">b571c3a6-629e-4145-99e4-81edc8085009</msg>
<status status="PASS" endtime="20180104 00:26:19.175" starttime="20180104 00:26:19.175"></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="20180104 00:26:19.176" level="INFO">${NETID} = b571c3a6-629e-4145-99e4-81edc8085009</msg>
<status status="PASS" endtime="20180104 00:26:19.176" starttime="20180104 00:26:19.176"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180104 00:26:21.177" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180104 00:26:21.178" starttime="20180104 00:26:19.177"></status>
</kw>
<doc>Create new network in OpenStack</doc>
<tags>
<tag>Create Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180104 00:26:21.178" critical="yes" starttime="20180104 00:26:18.155"></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="20180104 00:26:21.788" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks/b571c3a6-629e-4145-99e4-81edc8085009 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab46ff050&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180104 00:26:21.788" starttime="20180104 00:26:21.180"></status>
</kw>
<doc>Check network created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>Network OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180104 00:26:21.789" critical="yes" starttime="20180104 00:26:21.179">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks/b571c3a6-629e-4145-99e4-81edc8085009 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab46ff050&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="20180104 00:26:21.791" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180104 00:26:21.791" starttime="20180104 00:26:21.790"></status>
</kw>
<doc>Checking Network created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180104 00:26:21.791" starttime="20180104 00:26:17.199"></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="20180104 00:26:21.814" level="INFO">Creating Session using : alias=OSSession, url=http://10.20.11.11:9696, headers={u'X-Auth-Token': '75145c0e84b54259bda1b6ba61d336d4', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:21.815" starttime="20180104 00:26:21.814"></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="20180104 00:26:21.816" level="INFO">{u'X-Auth-Token': '75145c0e84b54259bda1b6ba61d336d4', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180104 00:26:21.816" starttime="20180104 00:26:21.816"></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="20180104 00:26:21.932" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/subnets, headers=None json=None</msg>
<msg timestamp="20180104 00:26:21.932" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180104 00:26:21.932" starttime="20180104 00:26:21.816"></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="20180104 00:26:21.933" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180104 00:26:21.934" starttime="20180104 00:26:21.933"></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="20180104 00:26:21.934" level="INFO">To JSON using : content={"subnets": [{"service_types": [], "description": "", "enable_dhcp": false, "tags": [], "network_id": "5c81d363-2555-4f9c-9c0f-ce81b2e6b83c", "tenant_id": "c110841646aa4cc8a4a9c71b102ebcc8", "created_at": "2018-01-03T22:48:52Z", "dns_nameservers": [], "updated_at": "2018-01-03T22:48:52Z", "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": "c110841646aa4cc8a4a9c71b102ebcc8", "id": "556a2a14-2c16-440f-b4b4-9f610e796be2", "subnetpool_id": null, "name": "admin_external_subnet"}]} </msg>
<msg timestamp="20180104 00:26:21.935" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180104 00:26:21.935" level="INFO">${OSResult} = {u'subnets': [{u'service_types': [], u'description': u'', u'enable_dhcp': False, u'tags': [], u'network_id': u'5c81d363-2555-4f9c-9c0f-ce81b2e6b83c', u'tenant_id': u'c110841646aa4cc8a4a9c71b102ebcc8',...</msg>
<status status="PASS" endtime="20180104 00:26:21.935" starttime="20180104 00:26:21.934"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180104 00:26:21.936" level="INFO">{u'subnets': [{u'service_types': [], u'description': u'', u'enable_dhcp': False, u'tags': [], u'network_id': u'5c81d363-2555-4f9c-9c0f-ce81b2e6b83c', u'tenant_id': u'c110841646aa4cc8a4a9c71b102ebcc8', u'created_at': u'2018-01-03T22:48:52Z', u'dns_nameservers': [], u'updated_at': u'2018-01-03T22:48:52Z', 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'c110841646aa4cc8a4a9c71b102ebcc8', u'id': u'556a2a14-2c16-440f-b4b4-9f610e796be2', u'subnetpool_id': None, u'name': u'admin_external_subnet'}]}</msg>
<status status="PASS" endtime="20180104 00:26:21.936" starttime="20180104 00:26:21.935"></status>
</kw>
<doc>Checking OpenStack Neutron for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180104 00:26:21.936" critical="yes" starttime="20180104 00:26:21.815"></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="20180104 00:26:21.938" 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 0x7f0ab4f2f8d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:21.939" starttime="20180104 00:26:21.938"></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="20180104 00:26:22.548" 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 0x7f0ab4679a90&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180104 00:26:22.549" starttime="20180104 00:26:21.939"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180104 00:26:22.549" critical="yes" starttime="20180104 00:26:21.937">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 0x7f0ab4679a90&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="20180104 00:26:22.551" level="INFO">{"subnet":{"network_id":"b571c3a6-629e-4145-99e4-81edc8085009","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="20180104 00:26:22.552" starttime="20180104 00:26:22.551"></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="20180104 00:26:24.045" 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="20180104 00:26:24.045" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180104 00:26:24.045" starttime="20180104 00:26:22.552"></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="20180104 00:26:24.046" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180104 00:26:24.046" starttime="20180104 00:26:24.046"></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="20180104 00:26:24.047" level="INFO">To JSON using : content={"subnet": {"service_types": [], "description": "", "enable_dhcp": true, "tags": [], "network_id": "b571c3a6-629e-4145-99e4-81edc8085009", "tenant_id": "c110841646aa4cc8a4a9c71b102ebcc8", "created_at": "2018-01-04T00:26:22Z", "dns_nameservers": [], "updated_at": "2018-01-04T00:26:22Z", "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": "c110841646aa4cc8a4a9c71b102ebcc8", "id": "c7d22885-dfc8-48df-9930-4de383011c76", "subnetpool_id": null, "name": ""}} </msg>
<msg timestamp="20180104 00:26:24.047" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180104 00:26:24.047" level="INFO">${result} = {u'subnet': {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'b571c3a6-629e-4145-99e4-81edc8085009', u'tenant_id': u'c110841646aa4cc8a4a9c71b102ebcc8', u'...</msg>
<status status="PASS" endtime="20180104 00:26:24.047" starttime="20180104 00:26:24.047"></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="20180104 00:26:24.048" level="INFO">${result} = {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'b571c3a6-629e-4145-99e4-81edc8085009', u'tenant_id': u'c110841646aa4cc8a4a9c71b102ebcc8', u'created_at':...</msg>
<status status="PASS" endtime="20180104 00:26:24.048" starttime="20180104 00:26:24.048"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${result}</arg>
<arg>id</arg>
</arguments>
<assign>
<var>${SUBNETID}</var>
</assign>
<msg timestamp="20180104 00:26:24.049" level="INFO">${SUBNETID} = c7d22885-dfc8-48df-9930-4de383011c76</msg>
<status status="PASS" endtime="20180104 00:26:24.049" starttime="20180104 00:26:24.048"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180104 00:26:24.049" level="INFO">{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'b571c3a6-629e-4145-99e4-81edc8085009', u'tenant_id': u'c110841646aa4cc8a4a9c71b102ebcc8', u'created_at': u'2018-01-04T00:26:22Z', u'dns_nameservers': [], u'updated_at': u'2018-01-04T00:26:22Z', 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'c110841646aa4cc8a4a9c71b102ebcc8', u'id': u'c7d22885-dfc8-48df-9930-4de383011c76', u'subnetpool_id': None, u'name': u''}</msg>
<status status="PASS" endtime="20180104 00:26:24.050" starttime="20180104 00:26:24.049"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${SUBNETID}</arg>
</arguments>
<msg timestamp="20180104 00:26:24.050" level="INFO">c7d22885-dfc8-48df-9930-4de383011c76</msg>
<status status="PASS" endtime="20180104 00:26:24.050" starttime="20180104 00:26:24.050"></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="20180104 00:26:24.051" level="INFO">${SUBNETID} = c7d22885-dfc8-48df-9930-4de383011c76</msg>
<status status="PASS" endtime="20180104 00:26:24.051" starttime="20180104 00:26:24.051"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180104 00:26:26.052" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180104 00:26:26.052" starttime="20180104 00:26:24.051"></status>
</kw>
<doc>Create new subnet in OpenStack</doc>
<tags>
<tag>Create Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180104 00:26:26.053" critical="yes" starttime="20180104 00:26:22.550"></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="20180104 00:26:26.664" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/c7d22885-dfc8-48df-9930-4de383011c76 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab46e5110&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180104 00:26:26.665" starttime="20180104 00:26:26.055"></status>
</kw>
<doc>Check new subnet created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>subnet OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180104 00:26:26.665" critical="yes" starttime="20180104 00:26:26.054">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/c7d22885-dfc8-48df-9930-4de383011c76 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab46e5110&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="20180104 00:26:26.667" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180104 00:26:26.667" starttime="20180104 00:26:26.667"></status>
</kw>
<doc>Checking Subnets created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180104 00:26:26.667" starttime="20180104 00:26:21.793"></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="20180104 00:26:26.693" level="INFO">Creating Session using : alias=OSSession, url=http://10.20.11.11:9696, headers={u'X-Auth-Token': '75145c0e84b54259bda1b6ba61d336d4', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:26.694" starttime="20180104 00:26:26.693"></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="20180104 00:26:26.696" level="INFO">{u'X-Auth-Token': '75145c0e84b54259bda1b6ba61d336d4', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180104 00:26:26.697" starttime="20180104 00:26:26.696"></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="20180104 00:26:26.810" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/ports, headers=None json=None</msg>
<msg timestamp="20180104 00:26:26.810" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180104 00:26:26.811" starttime="20180104 00:26:26.697"></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="20180104 00:26:26.812" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180104 00:26:26.812" starttime="20180104 00:26:26.811"></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="20180104 00:26:26.813" 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-04T00:26:25Z", "device_owner": "network:dhcp", "revision_number": 5, "binding:profile": {}, "fixed_ips": [{"subnet_id": "c7d22885-dfc8-48df-9930-4de383011c76", "ip_address": "172.16.64.20"}], "id": "fa81a9dd-6ae9-4c32-96d1-ed97ab120f4d", "security_groups": [], "device_id": "dhcp6775ab5e-ad99-5b53-8363-f02c497e62e4-b571c3a6-629e-4145-99e4-81edc8085009", "name": "", "admin_state_up": true, "network_id": "b571c3a6-629e-4145-99e4-81edc8085009", "tenant_id": "c110841646aa4cc8a4a9c71b102ebcc8", "binding:vif_details": {"port_filter": true}, "binding:vnic_type": "normal", "binding:vif_type": "ovs", "mac_address": "fa:16:3e:15:f5:94", "project_id": "c110841646aa4cc8a4a9c71b102ebcc8", "created_at": "2018-01-04T00:26:24Z"}]} </msg>
<msg timestamp="20180104 00:26:26.813" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180104 00:26:26.813" level="INFO">${OSResult} = {u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-04T00:26:25Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'binding:profile': {}, u'fixed_ips'...</msg>
<status status="PASS" endtime="20180104 00:26:26.814" starttime="20180104 00:26:26.812"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180104 00:26:26.814" level="INFO">{u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-04T00:26:25Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'c7d22885-dfc8-48df-9930-4de383011c76', u'ip_address': u'172.16.64.20'}], u'id': u'fa81a9dd-6ae9-4c32-96d1-ed97ab120f4d', u'security_groups': [], u'binding:vif_details': {u'port_filter': True}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:15:f5:94', u'project_id': u'c110841646aa4cc8a4a9c71b102ebcc8', 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-b571c3a6-629e-4145-99e4-81edc8085009', u'name': u'', u'admin_state_up': True, u'network_id': u'b571c3a6-629e-4145-99e4-81edc8085009', u'tenant_id': u'c110841646aa4cc8a4a9c71b102ebcc8', u'created_at': u'2018-01-04T00:26:24Z', u'binding:vnic_type': u'normal'}]}</msg>
<status status="PASS" endtime="20180104 00:26:26.815" starttime="20180104 00:26:26.814"></status>
</kw>
<doc>Checking OpenStack Neutron for known ports</doc>
<tags>
<tag>Ports Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180104 00:26:26.815" critical="yes" starttime="20180104 00:26:26.695"></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="20180104 00:26:26.818" 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 0x7f0ab470fd50&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:26.818" starttime="20180104 00:26:26.817"></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="20180104 00:26:27.428" 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 0x7f0ab4708550&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180104 00:26:27.428" starttime="20180104 00:26:26.819"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known ports</doc>
<tags>
<tag>Ports Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180104 00:26:27.428" critical="yes" starttime="20180104 00:26:26.815">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 0x7f0ab4708550&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="20180104 00:26:27.431" level="INFO">{"port":{"network_id":"b571c3a6-629e-4145-99e4-81edc8085009","admin_state_up": true}}</msg>
<status status="PASS" endtime="20180104 00:26:27.431" starttime="20180104 00:26:27.430"></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="20180104 00:26:29.178" 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="20180104 00:26:29.178" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180104 00:26:29.178" starttime="20180104 00:26:27.431"></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="20180104 00:26:29.179" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180104 00:26:29.179" starttime="20180104 00:26:29.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>${result}</var>
</assign>
<msg timestamp="20180104 00:26:29.180" level="INFO">To JSON using : content={"port": {"status": "DOWN", "binding:host_id": "", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-04T00:26:28Z", "device_owner": "", "revision_number": 4, "binding:profile": {}, "fixed_ips": [{"subnet_id": "c7d22885-dfc8-48df-9930-4de383011c76", "ip_address": "172.16.64.30"}], "id": "4c88c634-5ba2-43b9-9af4-c18979640c80", "security_groups": ["6c7116e5-2d03-433b-bba5-1681e3be7381"], "device_id": "", "name": "", "admin_state_up": true, "network_id": "b571c3a6-629e-4145-99e4-81edc8085009", "tenant_id": "c110841646aa4cc8a4a9c71b102ebcc8", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "unbound", "mac_address": "fa:16:3e:38:8d:eb", "project_id": "c110841646aa4cc8a4a9c71b102ebcc8", "created_at": "2018-01-04T00:26:28Z"}} </msg>
<msg timestamp="20180104 00:26:29.180" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180104 00:26:29.180" level="INFO">${result} = {u'port': {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-04T00:26:28Z', u'device_owner': u'', u'revision_number': 4, u'binding:profile': {}, u'fixed_ips': [{u'subnet_i...</msg>
<status status="PASS" endtime="20180104 00:26:29.180" starttime="20180104 00:26:29.179"></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="20180104 00:26:29.181" level="INFO">${result} = {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-04T00:26:28Z', u'device_owner': u'', u'revision_number': 4, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'c7d2...</msg>
<status status="PASS" endtime="20180104 00:26:29.181" starttime="20180104 00:26:29.180"></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="20180104 00:26:29.181" level="INFO">${PORTID} = 4c88c634-5ba2-43b9-9af4-c18979640c80</msg>
<status status="PASS" endtime="20180104 00:26:29.181" starttime="20180104 00:26:29.181"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180104 00:26:29.182" level="INFO">{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-04T00:26:28Z', u'device_owner': u'', u'revision_number': 4, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'c7d22885-dfc8-48df-9930-4de383011c76', u'ip_address': u'172.16.64.30'}], u'id': u'4c88c634-5ba2-43b9-9af4-c18979640c80', u'security_groups': [u'6c7116e5-2d03-433b-bba5-1681e3be7381'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:38:8d:eb', u'project_id': u'c110841646aa4cc8a4a9c71b102ebcc8', 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'b571c3a6-629e-4145-99e4-81edc8085009', u'tenant_id': u'c110841646aa4cc8a4a9c71b102ebcc8', u'created_at': u'2018-01-04T00:26:28Z', u'binding:vnic_type': u'normal'}</msg>
<status status="PASS" endtime="20180104 00:26:29.182" starttime="20180104 00:26:29.182"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${PORTID}</arg>
</arguments>
<msg timestamp="20180104 00:26:29.182" level="INFO">4c88c634-5ba2-43b9-9af4-c18979640c80</msg>
<status status="PASS" endtime="20180104 00:26:29.183" starttime="20180104 00:26:29.182"></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="20180104 00:26:29.183" level="INFO">${PORTID} = 4c88c634-5ba2-43b9-9af4-c18979640c80</msg>
<status status="PASS" endtime="20180104 00:26:29.183" starttime="20180104 00:26:29.183"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180104 00:26:31.184" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180104 00:26:31.184" starttime="20180104 00:26:29.183"></status>
</kw>
<doc>Create new port in OpenStack</doc>
<tags>
<tag>Create port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180104 00:26:31.185" critical="yes" starttime="20180104 00:26:27.429"></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="20180104 00:26:31.796" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports/4c88c634-5ba2-43b9-9af4-c18979640c80 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab46e5910&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180104 00:26:31.797" starttime="20180104 00:26:31.187"></status>
</kw>
<doc>Check new port created in OpenDaylight</doc>
<tags>
<tag>Check port OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180104 00:26:31.797" critical="yes" starttime="20180104 00:26:31.186">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports/4c88c634-5ba2-43b9-9af4-c18979640c80 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab46e5910&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="20180104 00:26:31.801" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180104 00:26:31.802" starttime="20180104 00:26:31.800"></status>
</kw>
<doc>Checking Port created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180104 00:26:31.802" starttime="20180104 00:26:26.670"></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="20180104 00:26:31.832" level="INFO">Creating Session using : alias=OSSession, url=http://10.20.11.11:9696, headers={u'X-Auth-Token': '75145c0e84b54259bda1b6ba61d336d4'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:31.832" starttime="20180104 00:26:31.831"></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="20180104 00:26:31.833" 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 0x7f0ab4731710&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:31.834" starttime="20180104 00:26:31.833"></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="20180104 00:26:32.443" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports/4c88c634-5ba2-43b9-9af4-c18979640c80 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab4746b50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180104 00:26:32.443" starttime="20180104 00:26:31.835"></status>
</kw>
<status status="FAIL" endtime="20180104 00:26:32.444" starttime="20180104 00:26:31.834"></status>
</kw>
<status status="FAIL" endtime="20180104 00:26:32.444" starttime="20180104 00:26:31.830"></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="20180104 00:26:32.445" critical="yes" starttime="20180104 00:26:32.444">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports/4c88c634-5ba2-43b9-9af4-c18979640c80 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab4746b50&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="20180104 00:26:32.447" critical="yes" starttime="20180104 00:26:32.446">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports/4c88c634-5ba2-43b9-9af4-c18979640c80 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab4746b50&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="20180104 00:26:32.448" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180104 00:26:32.449" starttime="20180104 00:26:32.448"></status>
</kw>
<doc>Checking Port deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180104 00:26:32.449" starttime="20180104 00:26:31.805">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/ports/4c88c634-5ba2-43b9-9af4-c18979640c80 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab4746b50&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="20180104 00:26:32.477" level="INFO">Creating Session using : alias=OSSession, url=http://10.20.11.11:9696, headers={u'X-Auth-Token': '75145c0e84b54259bda1b6ba61d336d4'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:32.478" starttime="20180104 00:26:32.476"></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="20180104 00:26:32.479" 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 0x7f0ab47534d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:32.479" starttime="20180104 00:26:32.478"></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="20180104 00:26:33.088" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/c7d22885-dfc8-48df-9930-4de383011c76 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab467ddd0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180104 00:26:33.088" starttime="20180104 00:26:32.480"></status>
</kw>
<status status="FAIL" endtime="20180104 00:26:33.089" starttime="20180104 00:26:32.480"></status>
</kw>
<status status="FAIL" endtime="20180104 00:26:33.089" starttime="20180104 00:26:32.476"></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="20180104 00:26:33.091" critical="yes" starttime="20180104 00:26:33.089">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/c7d22885-dfc8-48df-9930-4de383011c76 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab467ddd0&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="20180104 00:26:33.092" critical="yes" starttime="20180104 00:26:33.091">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/c7d22885-dfc8-48df-9930-4de383011c76 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab467ddd0&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="20180104 00:26:33.094" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180104 00:26:33.094" starttime="20180104 00:26:33.093"></status>
</kw>
<doc>Checking Subnets deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180104 00:26:33.094" starttime="20180104 00:26:32.451">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/c7d22885-dfc8-48df-9930-4de383011c76 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab467ddd0&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="20180104 00:26:33.121" level="INFO">Creating Session using : alias=OSSession, url=http://10.20.11.11:9696, headers={u'X-Auth-Token': '75145c0e84b54259bda1b6ba61d336d4'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:33.122" starttime="20180104 00:26:33.120"></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="20180104 00:26:33.123" 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 0x7f0ab473bc50&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180104 00:26:33.123" starttime="20180104 00:26:33.122"></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="20180104 00:26:33.733" level="FAIL">ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks/b571c3a6-629e-4145-99e4-81edc8085009 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab473b650&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180104 00:26:33.733" starttime="20180104 00:26:33.124"></status>
</kw>
<status status="FAIL" endtime="20180104 00:26:33.733" starttime="20180104 00:26:33.123"></status>
</kw>
<status status="FAIL" endtime="20180104 00:26:33.734" starttime="20180104 00:26:33.120"></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="20180104 00:26:33.735" critical="yes" starttime="20180104 00:26:33.734">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks/b571c3a6-629e-4145-99e4-81edc8085009 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab473b650&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="20180104 00:26:33.737" critical="yes" starttime="20180104 00:26:33.736">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks/b571c3a6-629e-4145-99e4-81edc8085009 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab473b650&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="20180104 00:26:33.738" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180104 00:26:33.738" starttime="20180104 00:26:33.738"></status>
</kw>
<doc>Checking Network deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180104 00:26:33.739" starttime="20180104 00:26:33.096">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='10.20.11.11', port=8181): Max retries exceeded with url: /controller/nb/v2/neutron/networks/b571c3a6-629e-4145-99e4-81edc8085009 (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f0ab473b650&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="20180104 00:26:33.744" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180104 00:26:33.744" starttime="20180104 00:26:33.744"></status>
</kw>
<status status="PASS" endtime="20180104 00:26:33.744" starttime="20180104 00:26:33.743"></status>
</kw>
<doc>Test suite for Neutron Plugin</doc>
<status status="FAIL" endtime="20180104 00:26:33.745" starttime="20180104 00:26:14.913"></status>
</suite>
<status status="FAIL" endtime="20180104 00:26:33.754" starttime="20180104 00:26:14.061"></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="20180104 00:26:15.104" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
</errors>
</robot>
