<?xml version="1.0" encoding="UTF-8"?>
<robot generated="20181014 23:22:07.164" generator="Robot 3.0.2 (Python 2.7.15 on linux2)">
<suite id="s1" name="Basic &amp; Neutron">
<suite source="/src/odl_test/csit/suites/integration/basic" id="s1-s1" name="Basic">
<suite source="/src/odl_test/csit/suites/integration/basic/restconf_modules.robot" id="s1-s1-s1" name="Restconf Modules">
<kw type="setup" name="Create Session" library="RequestsLibrary">
<doc>Create Session: create a HTTP session to a server</doc>
<arguments>
<arg>session</arg>
<arg>http://${ODL_SYSTEM_IP}:${RESTCONFPORT}</arg>
<arg>auth=${AUTH}</arg>
<arg>headers=${HEADERS_XML}</arg>
</arguments>
<msg timestamp="20181014 23:22:07.290" level="INFO">Creating Session using : alias=session, url=http://192.16.1.222:8181, headers={u'Content-Type': u'application/xml'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7fcad269f190&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:07.291" starttime="20181014 23:22:07.290"></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="20181014 23:22:07.936" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8181): Max retries exceeded with url: /restconf/modules (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad26fc2d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 23:22:07.937" starttime="20181014 23:22:07.292"></status>
</kw>
<doc>Get the restconf modules, check 200 status and ietf-restconf presence.</doc>
<status status="FAIL" endtime="20181014 23:22:07.937" critical="yes" starttime="20181014 23:22:07.291">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8181): Max retries exceeded with url: /restconf/modules (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad26fc2d0&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="20181014 23:22:07.938" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 23:22:07.938" starttime="20181014 23:22:07.938"></status>
</kw>
<doc>Test suite to verify Restconf is OK.</doc>
<status status="FAIL" endtime="20181014 23:22:07.938" starttime="20181014 23:22:07.220"></status>
</suite>
<status status="FAIL" endtime="20181014 23:22:07.939" starttime="20181014 23:22:07.218"></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="20181014 23:22:07.983" level="INFO">Creating Session using : alias=KeyStoneSession, url=https://192.16.1.222:5000, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:07.983" starttime="20181014 23:22:07.982"></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="20181014 23:22:07.984" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20181014 23:22:07.989" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
<msg timestamp="20181014 23:22:08.403" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181014 23:22:08.403" starttime="20181014 23:22:07.983"></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="20181014 23:22:08.404" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 23:22:08.405" starttime="20181014 23:22:08.404"></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="20181014 23:22:08.406" level="INFO">${TOKEN} = gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coELh8</msg>
<status status="PASS" endtime="20181014 23:22:08.406" starttime="20181014 23:22:08.405"></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="20181014 23:22:08.408" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coEL...</msg>
<status status="PASS" endtime="20181014 23:22:08.408" starttime="20181014 23:22:08.407"></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="20181014 23:22:08.410" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coEL...</msg>
<status status="PASS" endtime="20181014 23:22:08.410" starttime="20181014 23:22:08.408"></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="20181014 23:22:08.412" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coEL...</msg>
<status status="PASS" endtime="20181014 23:22:08.412" starttime="20181014 23:22:08.411"></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="20181014 23:22:08.413" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coEL...</msg>
<status status="PASS" endtime="20181014 23:22:08.413" starttime="20181014 23:22:08.412"></status>
</kw>
<status status="PASS" endtime="20181014 23:22:08.413" starttime="20181014 23:22:07.982"></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="20181014 23:22:08.429" level="INFO">Creating Session using : alias=ODL, url=http://192.16.1.222:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7fcad2456b50&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:08.429" starttime="20181014 23:22:08.428"></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="20181014 23:22:09.035" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad24739d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 23:22:09.035" starttime="20181014 23:22:08.430"></status>
</kw>
<doc>Get the complete list of networks</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20181014 23:22:09.035" critical="yes" starttime="20181014 23:22:08.430">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad24739d0&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="20181014 23:22:09.641" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2407410&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 23:22:09.641" starttime="20181014 23:22:09.036"></status>
</kw>
<doc>Get the complete list of subnets</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20181014 23:22:09.642" critical="yes" starttime="20181014 23:22:09.036">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2407410&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="20181014 23:22:10.247" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2407bd0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 23:22:10.247" starttime="20181014 23:22:09.643"></status>
</kw>
<doc>Get the complete list of ports</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20181014 23:22:10.248" critical="yes" starttime="20181014 23:22:09.642">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2407bd0&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="20181014 23:22:10.249" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 23:22:10.249" starttime="20181014 23:22:10.249"></status>
</kw>
<status status="FAIL" endtime="20181014 23:22:10.249" starttime="20181014 23:22:08.413"></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="20181014 23:22:10.269" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coELh8', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:10.269" starttime="20181014 23:22:10.268"></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="20181014 23:22:10.271" level="INFO">{u'X-Auth-Token': 'gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coELh8', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20181014 23:22:10.271" starttime="20181014 23:22:10.270"></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="20181014 23:22:10.276" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
<msg timestamp="20181014 23:22:10.502" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/networks, headers=None json=None</msg>
<msg timestamp="20181014 23:22:10.503" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 23:22:10.503" starttime="20181014 23:22:10.271"></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="20181014 23:22:10.503" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 23:22:10.504" starttime="20181014 23:22:10.503"></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="20181014 23:22:10.504" level="INFO">To JSON using : content={"networks":[{"provider:physical_network":"physnet","ipv6_address_scope":null,"revision_number":6,"port_security_enabled":true,"mtu":1500,"id":"a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd","router:external":true,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","status":"ACTIVE","subnets":["2fda6871-1ffa-46ed-99e1-1d0be768ce25"],"description":"","tags":[],"updated_at":"2018-10-14T23:07:41Z","is_default":false,"provider:segmentation_id":null,"name":"ext-net","admin_state_up":true,"tenant_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","created_at":"2018-10-14T23:07:34Z","provider:network_type":"flat"}]} </msg>
<msg timestamp="20181014 23:22:10.504" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 23:22:10.504" level="INFO">${OSResult} = {u'networks': [{u'provider:physical_network': u'physnet', u'ipv6_address_scope': None, u'revision_number': 6, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'a3e0bfae-72eb-...</msg>
<status status="PASS" endtime="20181014 23:22:10.505" starttime="20181014 23:22:10.504"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20181014 23:22:10.505" level="INFO">{u'networks': [{u'provider:physical_network': u'physnet', u'ipv6_address_scope': None, u'revision_number': 6, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd', 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'38bf5d0623d24ac2b6e3b0b849c21ccf', u'status': u'ACTIVE', u'subnets': [u'2fda6871-1ffa-46ed-99e1-1d0be768ce25'], u'description': u'', u'tags': [], u'updated_at': u'2018-10-14T23:07:41Z', u'is_default': False, u'provider:segmentation_id': None, u'name': u'ext-net', u'admin_state_up': True, u'tenant_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'created_at': u'2018-10-14T23:07:34Z', u'mtu': 1500}]}</msg>
<status status="PASS" endtime="20181014 23:22:10.505" starttime="20181014 23:22:10.505"></status>
</kw>
<doc>Checking OpenStack Neutron for known networks</doc>
<tags>
<tag>Network Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20181014 23:22:10.505" critical="yes" starttime="20181014 23:22:10.270"></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="20181014 23:22:10.507" level="INFO">Creating Session using : alias=ODLSession, url=http://192.16.1.222:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7fcad2407a10&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:10.507" starttime="20181014 23:22:10.506"></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="20181014 23:22:11.114" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2416510&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 23:22:11.115" starttime="20181014 23:22:10.507"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known networks</doc>
<tags>
<tag>Network Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20181014 23:22:11.115" critical="yes" starttime="20181014 23:22:10.506">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2416510&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="20181014 23:22:11.116" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20181014 23:22:11.116" starttime="20181014 23:22:11.116"></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="20181014 23:22:11.118" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
<msg timestamp="20181014 23:22:11.450" 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="20181014 23:22:11.451" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181014 23:22:11.451" starttime="20181014 23:22:11.117"></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="20181014 23:22:11.451" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 23:22:11.452" starttime="20181014 23:22:11.451"></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="20181014 23:22:11.452" level="INFO">To JSON using : content={"network":{"provider:physical_network":null,"ipv6_address_scope":null,"revision_number":2,"port_security_enabled":true,"provider:network_type":"vxlan","id":"30af59fd-c695-4239-8caf-25b9041df2e5","router:external":false,"availability_zone_hints":[],"availability_zones":[],"ipv4_address_scope":null,"shared":false,"project_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","status":"ACTIVE","subnets":[],"description":"","tags":[],"updated_at":"2018-10-14T23:22:11Z","is_default":false,"provider:segmentation_id":15,"name":"odl_network","admin_state_up":true,"tenant_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","created_at":"2018-10-14T23:22:11Z","mtu":1450}} </msg>
<msg timestamp="20181014 23:22:11.452" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 23:22:11.452" level="INFO">${result} = {u'network': {u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'mtu': 1450, u'id': u'30af59fd-c695-4239-8caf-25b9041df2e5', u'ro...</msg>
<status status="PASS" endtime="20181014 23:22:11.452" starttime="20181014 23:22:11.452"></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="20181014 23:22:11.453" level="INFO">${result} = {u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'mtu': 1450, u'id': u'30af59fd-c695-4239-8caf-25b9041df2e5', u'router:external...</msg>
<status status="PASS" endtime="20181014 23:22:11.453" starttime="20181014 23:22:11.453"></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="20181014 23:22:11.454" level="INFO">${NETID} = 30af59fd-c695-4239-8caf-25b9041df2e5</msg>
<status status="PASS" endtime="20181014 23:22:11.454" starttime="20181014 23:22:11.453"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20181014 23:22:11.454" level="INFO">{u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'mtu': 1450, u'id': u'30af59fd-c695-4239-8caf-25b9041df2e5', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'tags': [], u'updated_at': u'2018-10-14T23:22:11Z', u'is_default': False, u'provider:segmentation_id': 15, u'name': u'odl_network', u'admin_state_up': True, u'tenant_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'created_at': u'2018-10-14T23:22:11Z', u'provider:network_type': u'vxlan'}</msg>
<status status="PASS" endtime="20181014 23:22:11.454" starttime="20181014 23:22:11.454"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${NETID}</arg>
</arguments>
<msg timestamp="20181014 23:22:11.455" level="INFO">30af59fd-c695-4239-8caf-25b9041df2e5</msg>
<status status="PASS" endtime="20181014 23:22:11.455" starttime="20181014 23:22:11.454"></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="20181014 23:22:11.455" level="INFO">${NETID} = 30af59fd-c695-4239-8caf-25b9041df2e5</msg>
<status status="PASS" endtime="20181014 23:22:11.455" starttime="20181014 23:22:11.455"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181014 23:22:13.456" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181014 23:22:13.456" starttime="20181014 23:22:11.456"></status>
</kw>
<doc>Create new network in OpenStack</doc>
<tags>
<tag>Create Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181014 23:22:13.456" critical="yes" starttime="20181014 23:22:11.115"></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="20181014 23:22:14.064" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/30af59fd-c695-4239-8caf-25b9041df2e5 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2407310&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 23:22:14.064" starttime="20181014 23:22:13.458"></status>
</kw>
<doc>Check network created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>Network OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20181014 23:22:14.065" critical="yes" starttime="20181014 23:22:13.457">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/30af59fd-c695-4239-8caf-25b9041df2e5 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2407310&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="20181014 23:22:14.066" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 23:22:14.066" starttime="20181014 23:22:14.066"></status>
</kw>
<doc>Checking Network created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20181014 23:22:14.067" starttime="20181014 23:22:10.252"></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="20181014 23:22:14.086" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coELh8', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:14.087" starttime="20181014 23:22:14.086"></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="20181014 23:22:14.088" level="INFO">{u'X-Auth-Token': 'gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coELh8', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20181014 23:22:14.088" starttime="20181014 23:22:14.087"></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="20181014 23:22:14.093" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
<msg timestamp="20181014 23:22:14.170" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/subnets, headers=None json=None</msg>
<msg timestamp="20181014 23:22:14.171" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 23:22:14.171" starttime="20181014 23:22:14.088"></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="20181014 23:22:14.171" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 23:22:14.171" starttime="20181014 23:22:14.171"></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="20181014 23:22:14.172" level="INFO">To JSON using : content={"subnets":[{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd","tenant_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","created_at":"2018-10-14T23:07:41Z","dns_nameservers":[],"updated_at":"2018-10-14T23:07:41Z","ipv6_ra_mode":null,"allocation_pools":[{"start":"192.16.1.101","end":"192.16.1.199"}],"gateway_ip":"192.16.1.1","revision_number":0,"ipv6_address_mode":null,"ip_version":4,"host_routes":[],"cidr":"192.16.1.0/24","project_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","id":"2fda6871-1ffa-46ed-99e1-1d0be768ce25","subnetpool_id":null,"name":"ext-subnet"}]} </msg>
<msg timestamp="20181014 23:22:14.172" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 23:22:14.172" level="INFO">${OSResult} = {u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd', u'tenant_id': u'38bf5d0623d24ac...</msg>
<status status="PASS" endtime="20181014 23:22:14.172" starttime="20181014 23:22:14.172"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20181014 23:22:14.173" level="INFO">{u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd', u'tenant_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'created_at': u'2018-10-14T23:07:41Z', u'dns_nameservers': [], u'updated_at': u'2018-10-14T23:07:41Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'192.16.1.101', u'end': u'192.16.1.199'}], u'gateway_ip': u'192.16.1.1', u'revision_number': 0, u'ip_version': 4, u'ipv6_address_mode': None, u'cidr': u'192.16.1.0/24', u'project_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'id': u'2fda6871-1ffa-46ed-99e1-1d0be768ce25', u'subnetpool_id': None, u'name': u'ext-subnet'}]}</msg>
<status status="PASS" endtime="20181014 23:22:14.173" starttime="20181014 23:22:14.173"></status>
</kw>
<doc>Checking OpenStack Neutron for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20181014 23:22:14.173" critical="yes" starttime="20181014 23:22:14.087"></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="20181014 23:22:14.175" level="INFO">Creating Session using : alias=ODLSession, url=http://192.16.1.222:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7fcad2407dd0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:14.175" starttime="20181014 23:22:14.174"></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="20181014 23:22:14.781" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2420e10&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 23:22:14.781" starttime="20181014 23:22:14.175"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20181014 23:22:14.781" critical="yes" starttime="20181014 23:22:14.174">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2420e10&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="20181014 23:22:14.784" level="INFO">{"subnet":{"network_id":"30af59fd-c695-4239-8caf-25b9041df2e5","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="20181014 23:22:14.784" starttime="20181014 23:22:14.784"></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="20181014 23:22:14.787" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
<msg timestamp="20181014 23:22:15.306" 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="20181014 23:22:15.307" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181014 23:22:15.307" starttime="20181014 23:22:14.785"></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="20181014 23:22:15.308" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 23:22:15.308" starttime="20181014 23:22:15.307"></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="20181014 23:22:15.308" level="INFO">To JSON using : content={"subnet":{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"30af59fd-c695-4239-8caf-25b9041df2e5","tenant_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","created_at":"2018-10-14T23:22:14Z","dns_nameservers":[],"updated_at":"2018-10-14T23:22:14Z","gateway_ip":"172.16.64.1","ipv6_ra_mode":null,"allocation_pools":[{"start":"172.16.64.20","end":"172.16.64.120"}],"host_routes":[],"revision_number":0,"ip_version":4,"ipv6_address_mode":null,"cidr":"172.16.64.0/24","project_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","id":"d4e75b63-fea3-4088-aa65-268b3e790c41","subnetpool_id":null,"name":""}} </msg>
<msg timestamp="20181014 23:22:15.308" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 23:22:15.309" level="INFO">${result} = {u'subnet': {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'30af59fd-c695-4239-8caf-25b9041df2e5', u'tenant_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'...</msg>
<status status="PASS" endtime="20181014 23:22:15.309" starttime="20181014 23:22:15.308"></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="20181014 23:22:15.309" level="INFO">${result} = {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'30af59fd-c695-4239-8caf-25b9041df2e5', u'tenant_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'created_at':...</msg>
<status status="PASS" endtime="20181014 23:22:15.309" starttime="20181014 23:22:15.309"></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="20181014 23:22:15.310" level="INFO">${SUBNETID} = d4e75b63-fea3-4088-aa65-268b3e790c41</msg>
<status status="PASS" endtime="20181014 23:22:15.310" starttime="20181014 23:22:15.309"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20181014 23:22:15.310" level="INFO">{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'30af59fd-c695-4239-8caf-25b9041df2e5', u'tenant_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'created_at': u'2018-10-14T23:22:14Z', u'dns_nameservers': [], u'updated_at': u'2018-10-14T23:22:14Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'172.16.64.20', u'end': u'172.16.64.120'}], u'gateway_ip': u'172.16.64.1', u'revision_number': 0, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'172.16.64.0/24', u'project_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'id': u'd4e75b63-fea3-4088-aa65-268b3e790c41', u'subnetpool_id': None, u'name': u''}</msg>
<status status="PASS" endtime="20181014 23:22:15.310" starttime="20181014 23:22:15.310"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${SUBNETID}</arg>
</arguments>
<msg timestamp="20181014 23:22:15.311" level="INFO">d4e75b63-fea3-4088-aa65-268b3e790c41</msg>
<status status="PASS" endtime="20181014 23:22:15.311" starttime="20181014 23:22:15.311"></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="20181014 23:22:15.312" level="INFO">${SUBNETID} = d4e75b63-fea3-4088-aa65-268b3e790c41</msg>
<status status="PASS" endtime="20181014 23:22:15.312" starttime="20181014 23:22:15.311"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181014 23:22:17.312" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181014 23:22:17.313" starttime="20181014 23:22:15.312"></status>
</kw>
<doc>Create new subnet in OpenStack</doc>
<tags>
<tag>Create Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181014 23:22:17.313" critical="yes" starttime="20181014 23:22:14.782"></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="20181014 23:22:17.922" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/d4e75b63-fea3-4088-aa65-268b3e790c41 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad24ac390&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 23:22:17.922" starttime="20181014 23:22:17.315"></status>
</kw>
<doc>Check new subnet created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>subnet OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20181014 23:22:17.922" critical="yes" starttime="20181014 23:22:17.313">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/d4e75b63-fea3-4088-aa65-268b3e790c41 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad24ac390&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="20181014 23:22:17.924" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 23:22:17.924" starttime="20181014 23:22:17.923"></status>
</kw>
<doc>Checking Subnets created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20181014 23:22:17.924" starttime="20181014 23:22:14.069"></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="20181014 23:22:17.943" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coELh8', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:17.943" starttime="20181014 23:22:17.942"></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="20181014 23:22:17.944" level="INFO">{u'X-Auth-Token': 'gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coELh8', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20181014 23:22:17.945" starttime="20181014 23:22:17.944"></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="20181014 23:22:17.950" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
<msg timestamp="20181014 23:22:18.037" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/ports, headers=None json=None</msg>
<msg timestamp="20181014 23:22:18.037" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 23:22:18.037" starttime="20181014 23:22:17.945"></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="20181014 23:22:18.038" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 23:22:18.038" starttime="20181014 23:22:18.037"></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="20181014 23:22:18.039" level="INFO">To JSON using : content={"ports":[{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-14T23:07:51Z","device_owner":"network:dhcp","revision_number":6,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"2fda6871-1ffa-46ed-99e1-1d0be768ce25","ip_address":"192.16.1.103"}],"id":"00e44256-31bc-4001-ae69-ba4edab0e212","security_groups":[],"binding:vif_details":{"port_filter":true,"datapath_type":"system","ovs_hybrid_plug":true},"binding:vif_type":"ovs","mac_address":"fa:16:3e:b2:b3:b3","project_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","status":"ACTIVE","binding:host_id":"host3","description":"","tags":[],"device_id":"dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd","name":"","admin_state_up":true,"network_id":"a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd","tenant_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","created_at":"2018-10-14T23:07:43Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-14T23:22:17Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"d4e75b63-fea3-4088-aa65-268b3e790c41","ip_address":"172.16.64.21"}],"id":"055e38e3-2462-4a91-b0f8-8800f6ab1560","security_groups":[],"binding:vif_details":{"port_filter":true,"datapath_type":"system","ovs_hybrid_plug":true},"binding:vif_type":"ovs","mac_address":"fa:16:3e:bf:cf:71","project_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","status":"DOWN","binding:host_id":"host2","description":"","tags":[],"device_id":"dhcp6e683b9c-430b-509e-9237-cf130714d68f-30af59fd-c695-4239-8caf-25b9041df2e5","name":"","admin_state_up":true,"network_id":"30af59fd-c695-4239-8caf-25b9041df2e5","tenant_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","created_at":"2018-10-14T23:22:16Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-14T23:07:51Z","device_owner":"network:dhcp","revision_number":6,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"2fda6871-1ffa-46ed-99e1-1d0be768ce25","ip_address":"192.16.1.101"}],"id":"29311273-664e-4eaf-a39a-9e5d977fd179","security_groups":[],"binding:vif_details":{"port_filter":true,"datapath_type":"system","ovs_hybrid_plug":true},"binding:vif_type":"ovs","mac_address":"fa:16:3e:ae:15:1f","project_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","status":"ACTIVE","binding:host_id":"host1","description":"","tags":[],"device_id":"dhcp540ba512-ba2e-5213-b381-56c767787d41-a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd","name":"","admin_state_up":true,"network_id":"a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd","tenant_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","created_at":"2018-10-14T23:07:42Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-14T23:07:51Z","device_owner":"network:dhcp","revision_number":6,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"2fda6871-1ffa-46ed-99e1-1d0be768ce25","ip_address":"192.16.1.102"}],"id":"2c11c6b8-0766-40fd-951a-e67b91442346","security_groups":[],"binding:vif_details":{"port_filter":true,"datapath_type":"system","ovs_hybrid_plug":true},"binding:vif_type":"ovs","mac_address":"fa:16:3e:13:ce:89","project_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","status":"ACTIVE","binding:host_id":"host2","description":"","tags":[],"device_id":"dhcp6e683b9c-430b-509e-9237-cf130714d68f-a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd","name":"","admin_state_up":true,"network_id":"a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd","tenant_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","created_at":"2018-10-14T23:07:42Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-14T23:22:16Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"d4e75b63-fea3-4088-aa65-268b3e790c41","ip_address":"172.16.64.20"}],"id":"403cb8f2-910e-482f-8650-223f9eafc04d","security_groups":[],"binding:vif_details":{"port_filter":true,"datapath_type":"system","ovs_hybrid_plug":true},"binding:vif_type":"ovs","mac_address":"fa:16:3e:95:68:aa","project_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","status":"DOWN","binding:host_id":"host3","description":"","tags":[],"device_id":"dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-30af59fd-c695-4239-8caf-25b9041df2e5","name":"","admin_state_up":true,"network_id":"30af59fd-c695-4239-8caf-25b9041df2e5","tenant_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","created_at":"2018-10-14T23:22:15Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-14T23:22:17Z","device_owner":"network:dhcp","revision_number":4,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"d4e75b63-fea3-4088-aa65-268b3e790c41","ip_address":"172.16.64.22"}],"id":"63a069ce-f8e8-4119-ab16-6eb3821341fc","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:1e:36:5f","project_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","status":"DOWN","binding:host_id":"host1","description":"","tags":[],"device_id":"dhcp540ba512-ba2e-5213-b381-56c767787d41-30af59fd-c695-4239-8caf-25b9041df2e5","name":"","admin_state_up":true,"network_id":"30af59fd-c695-4239-8caf-25b9041df2e5","tenant_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","created_at":"2018-10-14T23:22:17Z","binding:vnic_type":"normal"}]} </msg>
<msg timestamp="20181014 23:22:18.039" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 23:22:18.040" level="INFO">${OSResult} = {u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T23:07:51Z', u'device_owner': u'network:dhcp', u'revision_number': 6, u'port_security_enabled': False, u'b...</msg>
<status status="PASS" endtime="20181014 23:22:18.040" starttime="20181014 23:22:18.038"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20181014 23:22:18.040" level="INFO">{u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T23:07:51Z', u'device_owner': u'network:dhcp', u'revision_number': 6, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'2fda6871-1ffa-46ed-99e1-1d0be768ce25', u'ip_address': u'192.16.1.103'}], u'id': u'00e44256-31bc-4001-ae69-ba4edab0e212', u'security_groups': [], u'binding:vif_details': {u'port_filter': True, u'datapath_type': u'system', u'ovs_hybrid_plug': True}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:b2:b3:b3', u'project_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'status': u'ACTIVE', u'binding:host_id': u'host3', u'description': u'', u'tags': [], u'device_id': u'dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd', u'name': u'', u'admin_state_up': True, u'network_id': u'a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd', u'tenant_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'created_at': u'2018-10-14T23:07:43Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T23:22:17Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'd4e75b63-fea3-4088-aa65-268b3e790c41', u'ip_address': u'172.16.64.21'}], u'id': u'055e38e3-2462-4a91-b0f8-8800f6ab1560', u'security_groups': [], u'binding:vif_details': {u'port_filter': True, u'datapath_type': u'system', u'ovs_hybrid_plug': True}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:bf:cf:71', u'project_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'status': u'DOWN', u'binding:host_id': u'host2', u'description': u'', u'tags': [], u'device_id': u'dhcp6e683b9c-430b-509e-9237-cf130714d68f-30af59fd-c695-4239-8caf-25b9041df2e5', u'name': u'', u'admin_state_up': True, u'network_id': u'30af59fd-c695-4239-8caf-25b9041df2e5', u'tenant_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'created_at': u'2018-10-14T23:22:16Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T23:07:51Z', u'device_owner': u'network:dhcp', u'revision_number': 6, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'2fda6871-1ffa-46ed-99e1-1d0be768ce25', u'ip_address': u'192.16.1.101'}], u'id': u'29311273-664e-4eaf-a39a-9e5d977fd179', u'security_groups': [], u'binding:vif_details': {u'port_filter': True, u'datapath_type': u'system', u'ovs_hybrid_plug': True}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:ae:15:1f', u'project_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'status': u'ACTIVE', u'binding:host_id': u'host1', u'description': u'', u'tags': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd', u'name': u'', u'admin_state_up': True, u'network_id': u'a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd', u'tenant_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'created_at': u'2018-10-14T23:07:42Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T23:07:51Z', u'device_owner': u'network:dhcp', u'revision_number': 6, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'2fda6871-1ffa-46ed-99e1-1d0be768ce25', u'ip_address': u'192.16.1.102'}], u'id': u'2c11c6b8-0766-40fd-951a-e67b91442346', u'security_groups': [], u'binding:vif_details': {u'port_filter': True, u'datapath_type': u'system', u'ovs_hybrid_plug': True}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:13:ce:89', u'project_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'status': u'ACTIVE', u'binding:host_id': u'host2', u'description': u'', u'tags': [], u'device_id': u'dhcp6e683b9c-430b-509e-9237-cf130714d68f-a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd', u'name': u'', u'admin_state_up': True, u'network_id': u'a3e0bfae-72eb-4c05-93ca-68c9a4fc0efd', u'tenant_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'created_at': u'2018-10-14T23:07:42Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T23:22:16Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'd4e75b63-fea3-4088-aa65-268b3e790c41', u'ip_address': u'172.16.64.20'}], u'id': u'403cb8f2-910e-482f-8650-223f9eafc04d', u'security_groups': [], u'binding:vif_details': {u'port_filter': True, u'datapath_type': u'system', u'ovs_hybrid_plug': True}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:95:68:aa', u'project_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'status': u'DOWN', u'binding:host_id': u'host3', u'description': u'', u'tags': [], u'device_id': u'dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-30af59fd-c695-4239-8caf-25b9041df2e5', u'name': u'', u'admin_state_up': True, u'network_id': u'30af59fd-c695-4239-8caf-25b9041df2e5', u'tenant_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'created_at': u'2018-10-14T23:22:15Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T23:22:17Z', u'device_owner': u'network:dhcp', u'revision_number': 4, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'd4e75b63-fea3-4088-aa65-268b3e790c41', u'ip_address': u'172.16.64.22'}], u'id': u'63a069ce-f8e8-4119-ab16-6eb3821341fc', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:1e:36:5f', u'project_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'status': u'DOWN', u'binding:host_id': u'host1', u'description': u'', u'tags': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-30af59fd-c695-4239-8caf-25b9041df2e5', u'name': u'', u'admin_state_up': True, u'network_id': u'30af59fd-c695-4239-8caf-25b9041df2e5', u'tenant_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'created_at': u'2018-10-14T23:22:17Z', u'binding:vnic_type': u'normal'}]}</msg>
<status status="PASS" endtime="20181014 23:22:18.040" starttime="20181014 23:22:18.040"></status>
</kw>
<doc>Checking OpenStack Neutron for known ports</doc>
<tags>
<tag>Ports Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20181014 23:22:18.041" critical="yes" starttime="20181014 23:22:17.943"></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="20181014 23:22:18.042" level="INFO">Creating Session using : alias=ODLSession, url=http://192.16.1.222:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7fcad23c90d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:18.043" starttime="20181014 23:22:18.042"></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="20181014 23:22:18.649" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad23c3f50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 23:22:18.649" starttime="20181014 23:22:18.043"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known ports</doc>
<tags>
<tag>Ports Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20181014 23:22:18.649" critical="yes" starttime="20181014 23:22:18.041">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad23c3f50&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="20181014 23:22:18.651" level="INFO">{"port":{"network_id":"30af59fd-c695-4239-8caf-25b9041df2e5","admin_state_up": true}}</msg>
<status status="PASS" endtime="20181014 23:22:18.651" starttime="20181014 23:22:18.650"></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="20181014 23:22:18.653" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
<msg timestamp="20181014 23:22:19.968" 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="20181014 23:22:19.969" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181014 23:22:19.969" starttime="20181014 23:22:18.651"></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="20181014 23:22:19.969" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 23:22:19.969" starttime="20181014 23:22:19.969"></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="20181014 23:22:19.971" level="INFO">To JSON using : content={"port":{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-14T23:22:19Z","device_owner":"","revision_number":6,"binding:profile":{},"port_security_enabled":true,"fixed_ips":[{"subnet_id":"d4e75b63-fea3-4088-aa65-268b3e790c41","ip_address":"172.16.64.31"}],"id":"230ba5f7-ffe0-43ff-9385-ca500359bdef","security_groups":["f6ff9dcd-594f-4b9b-9b24-ad3d8f884adb"],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:1a:b3:15","project_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"","name":"","admin_state_up":true,"network_id":"30af59fd-c695-4239-8caf-25b9041df2e5","tenant_id":"38bf5d0623d24ac2b6e3b0b849c21ccf","created_at":"2018-10-14T23:22:19Z","binding:vnic_type":"normal"}} </msg>
<msg timestamp="20181014 23:22:19.971" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 23:22:19.971" level="INFO">${result} = {u'port': {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T23:22:19Z', u'device_owner': u'', u'revision_number': 6, u'binding:profile': {}, u'port_security_enabled': ...</msg>
<status status="PASS" endtime="20181014 23:22:19.972" starttime="20181014 23:22:19.970"></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="20181014 23:22:19.972" level="INFO">${result} = {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T23:22:19Z', u'device_owner': u'', u'revision_number': 6, u'binding:profile': {}, u'port_security_enabled': True, u'fi...</msg>
<status status="PASS" endtime="20181014 23:22:19.972" starttime="20181014 23:22:19.972"></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="20181014 23:22:19.973" level="INFO">${PORTID} = 230ba5f7-ffe0-43ff-9385-ca500359bdef</msg>
<status status="PASS" endtime="20181014 23:22:19.973" starttime="20181014 23:22:19.973"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20181014 23:22:19.973" level="INFO">{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T23:22:19Z', u'device_owner': u'', u'revision_number': 6, u'binding:profile': {}, u'port_security_enabled': True, u'fixed_ips': [{u'subnet_id': u'd4e75b63-fea3-4088-aa65-268b3e790c41', u'ip_address': u'172.16.64.31'}], u'id': u'230ba5f7-ffe0-43ff-9385-ca500359bdef', u'security_groups': [u'f6ff9dcd-594f-4b9b-9b24-ad3d8f884adb'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:1a:b3:15', u'project_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', 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'30af59fd-c695-4239-8caf-25b9041df2e5', u'tenant_id': u'38bf5d0623d24ac2b6e3b0b849c21ccf', u'created_at': u'2018-10-14T23:22:19Z', u'binding:vnic_type': u'normal'}</msg>
<status status="PASS" endtime="20181014 23:22:19.974" starttime="20181014 23:22:19.973"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${PORTID}</arg>
</arguments>
<msg timestamp="20181014 23:22:19.974" level="INFO">230ba5f7-ffe0-43ff-9385-ca500359bdef</msg>
<status status="PASS" endtime="20181014 23:22:19.974" starttime="20181014 23:22:19.974"></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="20181014 23:22:19.975" level="INFO">${PORTID} = 230ba5f7-ffe0-43ff-9385-ca500359bdef</msg>
<status status="PASS" endtime="20181014 23:22:19.975" starttime="20181014 23:22:19.974"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181014 23:22:21.975" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181014 23:22:21.976" starttime="20181014 23:22:19.975"></status>
</kw>
<doc>Create new port in OpenStack</doc>
<tags>
<tag>Create port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181014 23:22:21.976" critical="yes" starttime="20181014 23:22:18.650"></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="20181014 23:22:22.584" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/230ba5f7-ffe0-43ff-9385-ca500359bdef (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2445210&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 23:22:22.585" starttime="20181014 23:22:21.977"></status>
</kw>
<doc>Check new port created in OpenDaylight</doc>
<tags>
<tag>Check port OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20181014 23:22:22.585" critical="yes" starttime="20181014 23:22:21.976">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/230ba5f7-ffe0-43ff-9385-ca500359bdef (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2445210&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="20181014 23:22:22.587" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 23:22:22.587" starttime="20181014 23:22:22.586"></status>
</kw>
<doc>Checking Port created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20181014 23:22:22.587" starttime="20181014 23:22:17.925"></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="20181014 23:22:22.606" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coELh8'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:22.606" starttime="20181014 23:22:22.606"></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="20181014 23:22:22.607" level="INFO">Creating Session using : alias=ODLSession, url=http://192.16.1.222:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7fcad23c9bd0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:22.608" starttime="20181014 23:22:22.607"></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="20181014 23:22:23.214" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/230ba5f7-ffe0-43ff-9385-ca500359bdef (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2473f10&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 23:22:23.214" starttime="20181014 23:22:22.608"></status>
</kw>
<status status="FAIL" endtime="20181014 23:22:23.214" starttime="20181014 23:22:22.608"></status>
</kw>
<status status="FAIL" endtime="20181014 23:22:23.214" starttime="20181014 23:22:22.605"></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="20181014 23:22:23.215" critical="yes" starttime="20181014 23:22:23.214">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/230ba5f7-ffe0-43ff-9385-ca500359bdef (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2473f10&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="20181014 23:22:23.216" critical="yes" starttime="20181014 23:22:23.215">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/230ba5f7-ffe0-43ff-9385-ca500359bdef (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2473f10&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="20181014 23:22:23.217" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 23:22:23.217" starttime="20181014 23:22:23.217"></status>
</kw>
<doc>Checking Port deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20181014 23:22:23.217" starttime="20181014 23:22:22.589">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/230ba5f7-ffe0-43ff-9385-ca500359bdef (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad2473f10&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="20181014 23:22:23.235" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coELh8'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:23.236" starttime="20181014 23:22:23.235"></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="20181014 23:22:23.237" level="INFO">Creating Session using : alias=ODLSession, url=http://192.16.1.222:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7fcad23ec090&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:23.237" starttime="20181014 23:22:23.236"></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="20181014 23:22:23.845" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/d4e75b63-fea3-4088-aa65-268b3e790c41 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad23c9550&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 23:22:23.845" starttime="20181014 23:22:23.238"></status>
</kw>
<status status="FAIL" endtime="20181014 23:22:23.846" starttime="20181014 23:22:23.238"></status>
</kw>
<status status="FAIL" endtime="20181014 23:22:23.846" starttime="20181014 23:22:23.234"></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="20181014 23:22:23.847" critical="yes" starttime="20181014 23:22:23.846">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/d4e75b63-fea3-4088-aa65-268b3e790c41 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad23c9550&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="20181014 23:22:23.849" critical="yes" starttime="20181014 23:22:23.848">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/d4e75b63-fea3-4088-aa65-268b3e790c41 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad23c9550&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="20181014 23:22:23.850" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 23:22:23.851" starttime="20181014 23:22:23.850"></status>
</kw>
<doc>Checking Subnets deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20181014 23:22:23.851" starttime="20181014 23:22:23.218">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/d4e75b63-fea3-4088-aa65-268b3e790c41 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad23c9550&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="20181014 23:22:23.885" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbw8-gKsyjuCk9jXYrFnw8XWa1pUQ2Cr8TcHPgm9GFLtcRJvjqj8RiU0NxXz6sqAWYCjgz79NqGNO1H2_ww2HQjjnv49f699GVk-c9tn6-DA2ucKRInDPgvhJyA-G0b-3lKrOY2QG52YR-aQkWflUUF0vUIGjt1PiTDo9ekzJf3coELh8'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:23.886" starttime="20181014 23:22:23.884"></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="20181014 23:22:23.887" level="INFO">Creating Session using : alias=ODLSession, url=http://192.16.1.222:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7fcad23c9490&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 23:22:23.887" starttime="20181014 23:22:23.886"></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="20181014 23:22:24.496" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/30af59fd-c695-4239-8caf-25b9041df2e5 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad23f6a90&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 23:22:24.496" starttime="20181014 23:22:23.888"></status>
</kw>
<status status="FAIL" endtime="20181014 23:22:24.497" starttime="20181014 23:22:23.888"></status>
</kw>
<status status="FAIL" endtime="20181014 23:22:24.497" starttime="20181014 23:22:23.883"></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="20181014 23:22:24.498" critical="yes" starttime="20181014 23:22:24.497">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/30af59fd-c695-4239-8caf-25b9041df2e5 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad23f6a90&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="20181014 23:22:24.499" critical="yes" starttime="20181014 23:22:24.498">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/30af59fd-c695-4239-8caf-25b9041df2e5 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad23f6a90&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="20181014 23:22:24.500" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 23:22:24.500" starttime="20181014 23:22:24.500"></status>
</kw>
<doc>Checking Network deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20181014 23:22:24.500" starttime="20181014 23:22:23.853">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.16.1.222', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/30af59fd-c695-4239-8caf-25b9041df2e5 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7fcad23f6a90&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="20181014 23:22:24.504" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 23:22:24.504" starttime="20181014 23:22:24.504"></status>
</kw>
<status status="PASS" endtime="20181014 23:22:24.504" starttime="20181014 23:22:24.503"></status>
</kw>
<doc>Test suite for Neutron Plugin</doc>
<status status="FAIL" endtime="20181014 23:22:24.504" starttime="20181014 23:22:07.940"></status>
</suite>
<status status="FAIL" endtime="20181014 23:22:24.510" starttime="20181014 23:22:07.164"></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="20181014 23:22:07.984" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20181014 23:22:07.989" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
<msg timestamp="20181014 23:22:10.276" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
<msg timestamp="20181014 23:22:11.118" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
<msg timestamp="20181014 23:22:14.093" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
<msg timestamp="20181014 23:22:14.787" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
<msg timestamp="20181014 23:22:17.950" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
<msg timestamp="20181014 23:22:18.653" level="WARN">/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:857: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)
</msg>
</errors>
</robot>
