<?xml version="1.0" encoding="UTF-8"?>
<robot generated="20180901 19:30:00.723" 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="20180901 19:30:00.793" level="INFO">Creating Session using : alias=session, url=http://192.30.9.3:8181, headers={u'Content-Type': u'application/xml'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f4c348180d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:30:00.794" starttime="20180901 19:30:00.792"></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="20180901 19:38:30.386" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8181): Max retries exceeded with url: /restconf/modules (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34822c50&gt;: Failed to establish a new connection: [Errno 110] Operation timed out',))</msg>
<status status="FAIL" endtime="20180901 19:38:30.386" starttime="20180901 19:30:00.795"></status>
</kw>
<doc>Get the restconf modules, check 200 status and ietf-restconf presence.</doc>
<status status="FAIL" endtime="20180901 19:38:30.387" critical="yes" starttime="20180901 19:30:00.794">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8181): Max retries exceeded with url: /restconf/modules (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34822c50&gt;: Failed to establish a new connection: [Errno 110] Operation timed out',))</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180901 19:38:30.389" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180901 19:38:30.390" starttime="20180901 19:38:30.389"></status>
</kw>
<doc>Test suite to verify Restconf is OK.</doc>
<status status="FAIL" endtime="20180901 19:38:30.390" starttime="20180901 19:30:00.761"></status>
</suite>
<status status="FAIL" endtime="20180901 19:38:30.393" starttime="20180901 19:30:00.758"></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="20180901 19:38:30.448" level="INFO">Creating Session using : alias=KeyStoneSession, url=http://172.30.9.48: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="20180901 19:38:30.448" starttime="20180901 19:38:30.447"></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="20180901 19:38:30.449" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20180901 19:38:30.845" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180901 19:38:30.845" starttime="20180901 19:38:30.449"></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="20180901 19:38:30.846" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180901 19:38:30.846" starttime="20180901 19:38:30.845"></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="20180901 19:38:30.848" level="INFO">${TOKEN} = gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r20</msg>
<status status="PASS" endtime="20180901 19:38:30.848" starttime="20180901 19:38:30.847"></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="20180901 19:38:30.849" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r...</msg>
<status status="PASS" endtime="20180901 19:38:30.849" starttime="20180901 19:38:30.848"></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="20180901 19:38:30.850" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r...</msg>
<status status="PASS" endtime="20180901 19:38:30.851" starttime="20180901 19:38:30.850"></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="20180901 19:38:30.852" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r...</msg>
<status status="PASS" endtime="20180901 19:38:30.852" starttime="20180901 19:38:30.851"></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="20180901 19:38:30.853" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r...</msg>
<status status="PASS" endtime="20180901 19:38:30.853" starttime="20180901 19:38:30.852"></status>
</kw>
<status status="PASS" endtime="20180901 19:38:30.853" starttime="20180901 19:38:30.447"></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="20180901 19:38:30.882" level="INFO">Creating Session using : alias=ODL, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f4c34779f50&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:38:30.883" starttime="20180901 19:38:30.881"></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="20180901 19:38:31.491" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c349977d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180901 19:38:31.491" starttime="20180901 19:38:30.884"></status>
</kw>
<doc>Get the complete list of networks</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180901 19:38:31.491" critical="yes" starttime="20180901 19:38:30.883">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c349977d0&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="20180901 19:38:32.100" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34990dd0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180901 19:38:32.100" starttime="20180901 19:38:31.493"></status>
</kw>
<doc>Get the complete list of subnets</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180901 19:38:32.101" critical="yes" starttime="20180901 19:38:31.492">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34990dd0&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="20180901 19:38:32.709" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34990250&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180901 19:38:32.709" starttime="20180901 19:38:32.102"></status>
</kw>
<doc>Get the complete list of ports</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180901 19:38:32.710" critical="yes" starttime="20180901 19:38:32.101">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34990250&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="20180901 19:38:32.711" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180901 19:38:32.712" starttime="20180901 19:38:32.711"></status>
</kw>
<status status="FAIL" endtime="20180901 19:38:32.712" starttime="20180901 19:38:30.854"></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="20180901 19:38:32.744" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.48:9696, headers={u'X-Auth-Token': 'gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r20', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:38:32.744" starttime="20180901 19:38:32.743"></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="20180901 19:38:32.746" level="INFO">{u'X-Auth-Token': 'gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r20', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180901 19:38:32.746" starttime="20180901 19:38:32.746"></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="20180901 19:38:33.071" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/networks, headers=None json=None</msg>
<msg timestamp="20180901 19:38:33.071" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180901 19:38:33.071" starttime="20180901 19:38:32.746"></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="20180901 19:38:33.072" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180901 19:38:33.073" starttime="20180901 19:38:33.072"></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="20180901 19:38:33.074" level="INFO">To JSON using : content={"networks":[{"provider:physical_network":"datacentre","ipv6_address_scope":null,"revision_number":2,"port_security_enabled":true,"mtu":1500,"id":"92da8d7f-63ad-482a-afcf-a061c3630101","router:external":true,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"1b34b31468a04e39ab9d3c5ad97d8417","status":"ACTIVE","subnets":["1de3dba3-7b64-45cb-bfda-6fb1538bd3da"],"description":"","tags":[],"updated_at":"2018-09-01T19:21:41Z","is_default":false,"provider:segmentation_id":null,"name":"external","admin_state_up":true,"tenant_id":"1b34b31468a04e39ab9d3c5ad97d8417","created_at":"2018-09-01T19:21:36Z","provider:network_type":"flat"}]} </msg>
<msg timestamp="20180901 19:38:33.074" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180901 19:38:33.074" level="INFO">${OSResult} = {u'networks': [{u'provider:physical_network': u'datacentre', u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'92da8d7f-63...</msg>
<status status="PASS" endtime="20180901 19:38:33.074" starttime="20180901 19:38:33.073"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180901 19:38:33.075" level="INFO">{u'networks': [{u'provider:physical_network': u'datacentre', u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'92da8d7f-63ad-482a-afcf-a061c3630101', 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'1b34b31468a04e39ab9d3c5ad97d8417', u'status': u'ACTIVE', u'subnets': [u'1de3dba3-7b64-45cb-bfda-6fb1538bd3da'], u'description': u'', u'tags': [], u'updated_at': u'2018-09-01T19:21:41Z', u'is_default': False, u'provider:segmentation_id': None, u'name': u'external', u'admin_state_up': True, u'tenant_id': u'1b34b31468a04e39ab9d3c5ad97d8417', u'created_at': u'2018-09-01T19:21:36Z', u'mtu': 1500}]}</msg>
<status status="PASS" endtime="20180901 19:38:33.076" starttime="20180901 19:38:33.075"></status>
</kw>
<doc>Checking OpenStack Neutron for known networks</doc>
<tags>
<tag>Network Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180901 19:38:33.076" critical="yes" starttime="20180901 19:38:32.744"></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="20180901 19:38:33.079" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f4c34a41190&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:38:33.080" starttime="20180901 19:38:33.078"></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="20180901 19:38:33.688" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34784910&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180901 19:38:33.688" starttime="20180901 19:38:33.080"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known networks</doc>
<tags>
<tag>Network Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180901 19:38:33.689" critical="yes" starttime="20180901 19:38:33.076">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34784910&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="20180901 19:38:33.691" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20180901 19:38:33.691" starttime="20180901 19:38:33.690"></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="20180901 19:38:34.122" 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="20180901 19:38:34.123" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180901 19:38:34.123" starttime="20180901 19:38:33.691"></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="20180901 19:38:34.124" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180901 19:38:34.124" starttime="20180901 19:38:34.123"></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="20180901 19:38:34.126" level="INFO">To JSON using : content={"network":{"provider:physical_network":null,"ipv6_address_scope":null,"revision_number":1,"port_security_enabled":true,"provider:network_type":"vxlan","id":"4b08115e-14e6-43a6-a6bd-f6d8de450a75","router:external":false,"availability_zone_hints":[],"availability_zones":[],"ipv4_address_scope":null,"shared":false,"project_id":"4d4021a1339f4d9ba7a6d32091768ef1","status":"ACTIVE","subnets":[],"description":"","tags":[],"updated_at":"2018-09-01T19:38:33Z","is_default":false,"provider:segmentation_id":84,"name":"odl_network","admin_state_up":true,"tenant_id":"4d4021a1339f4d9ba7a6d32091768ef1","created_at":"2018-09-01T19:38:33Z","mtu":1450}} </msg>
<msg timestamp="20180901 19:38:34.126" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180901 19:38:34.126" level="INFO">${result} = {u'network': {u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 1, u'port_security_enabled': True, u'mtu': 1450, u'id': u'4b08115e-14e6-43a6-a6bd-f6d8de450a75', u'ro...</msg>
<status status="PASS" endtime="20180901 19:38:34.126" starttime="20180901 19:38:34.125"></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="20180901 19:38:34.128" level="INFO">${result} = {u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 1, u'port_security_enabled': True, u'mtu': 1450, u'id': u'4b08115e-14e6-43a6-a6bd-f6d8de450a75', u'router:external...</msg>
<status status="PASS" endtime="20180901 19:38:34.128" starttime="20180901 19:38:34.127"></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="20180901 19:38:34.129" level="INFO">${NETID} = 4b08115e-14e6-43a6-a6bd-f6d8de450a75</msg>
<status status="PASS" endtime="20180901 19:38:34.129" starttime="20180901 19:38:34.128"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180901 19:38:34.130" level="INFO">{u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 1, u'port_security_enabled': True, u'mtu': 1450, u'id': u'4b08115e-14e6-43a6-a6bd-f6d8de450a75', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'4d4021a1339f4d9ba7a6d32091768ef1', u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'tags': [], u'updated_at': u'2018-09-01T19:38:33Z', u'is_default': False, u'provider:segmentation_id': 84, u'name': u'odl_network', u'admin_state_up': True, u'tenant_id': u'4d4021a1339f4d9ba7a6d32091768ef1', u'created_at': u'2018-09-01T19:38:33Z', u'provider:network_type': u'vxlan'}</msg>
<status status="PASS" endtime="20180901 19:38:34.130" starttime="20180901 19:38:34.129"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${NETID}</arg>
</arguments>
<msg timestamp="20180901 19:38:34.131" level="INFO">4b08115e-14e6-43a6-a6bd-f6d8de450a75</msg>
<status status="PASS" endtime="20180901 19:38:34.131" starttime="20180901 19:38:34.131"></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="20180901 19:38:34.132" level="INFO">${NETID} = 4b08115e-14e6-43a6-a6bd-f6d8de450a75</msg>
<status status="PASS" endtime="20180901 19:38:34.132" starttime="20180901 19:38:34.132"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180901 19:38:36.133" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180901 19:38:36.133" starttime="20180901 19:38:34.133"></status>
</kw>
<doc>Create new network in OpenStack</doc>
<tags>
<tag>Create Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180901 19:38:36.134" critical="yes" starttime="20180901 19:38:33.689"></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="20180901 19:38:36.743" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/4b08115e-14e6-43a6-a6bd-f6d8de450a75 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34779a10&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180901 19:38:36.743" starttime="20180901 19:38:36.136"></status>
</kw>
<doc>Check network created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>Network OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180901 19:38:36.744" critical="yes" starttime="20180901 19:38:36.135">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/4b08115e-14e6-43a6-a6bd-f6d8de450a75 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34779a10&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="20180901 19:38:36.746" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180901 19:38:36.746" starttime="20180901 19:38:36.746"></status>
</kw>
<doc>Checking Network created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180901 19:38:36.746" starttime="20180901 19:38:32.715"></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="20180901 19:38:36.779" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.48:9696, headers={u'X-Auth-Token': 'gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r20', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:38:36.779" starttime="20180901 19:38:36.778"></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="20180901 19:38:36.781" level="INFO">{u'X-Auth-Token': 'gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r20', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180901 19:38:36.781" starttime="20180901 19:38:36.781"></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="20180901 19:38:37.095" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/subnets, headers=None json=None</msg>
<msg timestamp="20180901 19:38:37.095" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180901 19:38:37.095" starttime="20180901 19:38:36.781"></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="20180901 19:38:37.097" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180901 19:38:37.097" starttime="20180901 19:38:37.096"></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="20180901 19:38:37.098" level="INFO">To JSON using : content={"subnets":[{"service_types":[],"description":"","enable_dhcp":false,"tags":[],"network_id":"92da8d7f-63ad-482a-afcf-a061c3630101","tenant_id":"1b34b31468a04e39ab9d3c5ad97d8417","created_at":"2018-09-01T19:21:41Z","dns_nameservers":[],"updated_at":"2018-09-01T19:21:41Z","ipv6_ra_mode":null,"allocation_pools":[{"start":"172.30.9.200","end":"172.30.9.220"}],"gateway_ip":"172.30.9.1","revision_number":0,"ipv6_address_mode":null,"ip_version":4,"host_routes":[],"cidr":"172.30.9.0/24","project_id":"1b34b31468a04e39ab9d3c5ad97d8417","id":"1de3dba3-7b64-45cb-bfda-6fb1538bd3da","subnetpool_id":null,"name":"external-subnet"}]} </msg>
<msg timestamp="20180901 19:38:37.098" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180901 19:38:37.098" level="INFO">${OSResult} = {u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': False, u'tags': [], u'network_id': u'92da8d7f-63ad-482a-afcf-a061c3630101', u'tenant_id': u'1b34b31468a04e...</msg>
<status status="PASS" endtime="20180901 19:38:37.099" starttime="20180901 19:38:37.097"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180901 19:38:37.099" level="INFO">{u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': False, u'tags': [], u'network_id': u'92da8d7f-63ad-482a-afcf-a061c3630101', u'tenant_id': u'1b34b31468a04e39ab9d3c5ad97d8417', u'created_at': u'2018-09-01T19:21:41Z', u'dns_nameservers': [], u'updated_at': u'2018-09-01T19:21:41Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'172.30.9.200', u'end': u'172.30.9.220'}], u'gateway_ip': u'172.30.9.1', u'revision_number': 0, u'ip_version': 4, u'ipv6_address_mode': None, u'cidr': u'172.30.9.0/24', u'project_id': u'1b34b31468a04e39ab9d3c5ad97d8417', u'id': u'1de3dba3-7b64-45cb-bfda-6fb1538bd3da', u'subnetpool_id': None, u'name': u'external-subnet'}]}</msg>
<status status="PASS" endtime="20180901 19:38:37.100" starttime="20180901 19:38:37.099"></status>
</kw>
<doc>Checking OpenStack Neutron for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180901 19:38:37.100" critical="yes" starttime="20180901 19:38:36.780"></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="20180901 19:38:37.103" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f4c3499dbd0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:38:37.104" starttime="20180901 19:38:37.102"></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="20180901 19:38:37.711" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c3482a250&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180901 19:38:37.712" starttime="20180901 19:38:37.104"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180901 19:38:37.712" critical="yes" starttime="20180901 19:38:37.101">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c3482a250&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="20180901 19:38:37.714" level="INFO">{"subnet":{"network_id":"4b08115e-14e6-43a6-a6bd-f6d8de450a75","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="20180901 19:38:37.715" starttime="20180901 19:38:37.714"></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="20180901 19:38:38.336" 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="20180901 19:38:38.336" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180901 19:38:38.336" starttime="20180901 19:38:37.715"></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="20180901 19:38:38.337" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180901 19:38:38.338" starttime="20180901 19:38:38.337"></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="20180901 19:38:38.339" level="INFO">To JSON using : content={"subnet":{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"4b08115e-14e6-43a6-a6bd-f6d8de450a75","tenant_id":"4d4021a1339f4d9ba7a6d32091768ef1","created_at":"2018-09-01T19:38:37Z","dns_nameservers":[],"updated_at":"2018-09-01T19:38:37Z","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":"4d4021a1339f4d9ba7a6d32091768ef1","id":"07e7194a-75e3-4046-91ee-8e5c4a8e9bc8","subnetpool_id":null,"name":""}} </msg>
<msg timestamp="20180901 19:38:38.339" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180901 19:38:38.339" level="INFO">${result} = {u'subnet': {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'4b08115e-14e6-43a6-a6bd-f6d8de450a75', u'tenant_id': u'4d4021a1339f4d9ba7a6d32091768ef1', u'...</msg>
<status status="PASS" endtime="20180901 19:38:38.339" starttime="20180901 19:38:38.338"></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="20180901 19:38:38.341" level="INFO">${result} = {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'4b08115e-14e6-43a6-a6bd-f6d8de450a75', u'tenant_id': u'4d4021a1339f4d9ba7a6d32091768ef1', u'created_at':...</msg>
<status status="PASS" endtime="20180901 19:38:38.341" starttime="20180901 19:38:38.340"></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="20180901 19:38:38.342" level="INFO">${SUBNETID} = 07e7194a-75e3-4046-91ee-8e5c4a8e9bc8</msg>
<status status="PASS" endtime="20180901 19:38:38.342" starttime="20180901 19:38:38.341"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180901 19:38:38.343" level="INFO">{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'4b08115e-14e6-43a6-a6bd-f6d8de450a75', u'tenant_id': u'4d4021a1339f4d9ba7a6d32091768ef1', u'created_at': u'2018-09-01T19:38:37Z', u'dns_nameservers': [], u'updated_at': u'2018-09-01T19:38:37Z', 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'4d4021a1339f4d9ba7a6d32091768ef1', u'id': u'07e7194a-75e3-4046-91ee-8e5c4a8e9bc8', u'subnetpool_id': None, u'name': u''}</msg>
<status status="PASS" endtime="20180901 19:38:38.343" starttime="20180901 19:38:38.343"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${SUBNETID}</arg>
</arguments>
<msg timestamp="20180901 19:38:38.344" level="INFO">07e7194a-75e3-4046-91ee-8e5c4a8e9bc8</msg>
<status status="PASS" endtime="20180901 19:38:38.344" starttime="20180901 19:38:38.344"></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="20180901 19:38:38.345" level="INFO">${SUBNETID} = 07e7194a-75e3-4046-91ee-8e5c4a8e9bc8</msg>
<status status="PASS" endtime="20180901 19:38:38.346" starttime="20180901 19:38:38.345"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180901 19:38:40.346" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180901 19:38:40.347" starttime="20180901 19:38:38.346"></status>
</kw>
<doc>Create new subnet in OpenStack</doc>
<tags>
<tag>Create Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180901 19:38:40.347" critical="yes" starttime="20180901 19:38:37.713"></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="20180901 19:38:40.957" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/07e7194a-75e3-4046-91ee-8e5c4a8e9bc8 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c3477c6d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180901 19:38:40.957" starttime="20180901 19:38:40.350"></status>
</kw>
<doc>Check new subnet created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>subnet OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180901 19:38:40.958" critical="yes" starttime="20180901 19:38:40.348">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/07e7194a-75e3-4046-91ee-8e5c4a8e9bc8 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c3477c6d0&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="20180901 19:38:40.961" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180901 19:38:40.961" starttime="20180901 19:38:40.960"></status>
</kw>
<doc>Checking Subnets created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180901 19:38:40.961" starttime="20180901 19:38:36.751"></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="20180901 19:38:40.994" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.48:9696, headers={u'X-Auth-Token': 'gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r20', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:38:40.994" starttime="20180901 19:38:40.993"></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="20180901 19:38:40.996" level="INFO">{u'X-Auth-Token': 'gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r20', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180901 19:38:40.996" starttime="20180901 19:38:40.996"></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="20180901 19:38:41.339" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/ports, headers=None json=None</msg>
<msg timestamp="20180901 19:38:41.340" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180901 19:38:41.340" starttime="20180901 19:38:40.997"></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="20180901 19:38:41.341" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180901 19:38:41.342" starttime="20180901 19:38:41.340"></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="20180901 19:38:41.343" level="INFO">To JSON using : content={"ports":[{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-09-01T19:38:40Z","device_owner":"network:dhcp","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"07e7194a-75e3-4046-91ee-8e5c4a8e9bc8","ip_address":"172.16.64.20"}],"id":"b99fcc7a-7ba6-4675-9a0e-060f67328cce","security_groups":[],"binding:vif_details":{},"binding:vif_type":"ovs","mac_address":"fa:16:3e:83:f9:6b","project_id":"4d4021a1339f4d9ba7a6d32091768ef1","status":"ACTIVE","binding:host_id":"overcloud-controller-0.opnfvlf.org","description":"","tags":[],"device_id":"dhcp827da361-9c56-50f7-913f-5a01f7bfed2c-4b08115e-14e6-43a6-a6bd-f6d8de450a75","name":"","admin_state_up":true,"network_id":"4b08115e-14e6-43a6-a6bd-f6d8de450a75","tenant_id":"4d4021a1339f4d9ba7a6d32091768ef1","created_at":"2018-09-01T19:38:38Z","binding:vnic_type":"normal"}]} </msg>
<msg timestamp="20180901 19:38:41.343" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180901 19:38:41.343" level="INFO">${OSResult} = {u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-09-01T19:38:40Z', u'device_owner': u'network:dhcp', u'revision_number': 3, u'port_security_enabled': False, u'b...</msg>
<status status="PASS" endtime="20180901 19:38:41.343" starttime="20180901 19:38:41.342"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180901 19:38:41.344" level="INFO">{u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-09-01T19:38:40Z', u'device_owner': u'network:dhcp', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'07e7194a-75e3-4046-91ee-8e5c4a8e9bc8', u'ip_address': u'172.16.64.20'}], u'id': u'b99fcc7a-7ba6-4675-9a0e-060f67328cce', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:83:f9:6b', u'project_id': u'4d4021a1339f4d9ba7a6d32091768ef1', u'status': u'ACTIVE', u'binding:host_id': u'overcloud-controller-0.opnfvlf.org', u'description': u'', u'tags': [], u'device_id': u'dhcp827da361-9c56-50f7-913f-5a01f7bfed2c-4b08115e-14e6-43a6-a6bd-f6d8de450a75', u'name': u'', u'admin_state_up': True, u'network_id': u'4b08115e-14e6-43a6-a6bd-f6d8de450a75', u'tenant_id': u'4d4021a1339f4d9ba7a6d32091768ef1', u'created_at': u'2018-09-01T19:38:38Z', u'binding:vnic_type': u'normal'}]}</msg>
<status status="PASS" endtime="20180901 19:38:41.344" starttime="20180901 19:38:41.344"></status>
</kw>
<doc>Checking OpenStack Neutron for known ports</doc>
<tags>
<tag>Ports Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180901 19:38:41.345" critical="yes" starttime="20180901 19:38:40.995"></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="20180901 19:38:41.348" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f4c349f38d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:38:41.349" starttime="20180901 19:38:41.347"></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="20180901 19:38:41.957" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c3477c290&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180901 19:38:41.957" starttime="20180901 19:38:41.349"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known ports</doc>
<tags>
<tag>Ports Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180901 19:38:41.957" critical="yes" starttime="20180901 19:38:41.345">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c3477c290&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="20180901 19:38:41.960" level="INFO">{"port":{"network_id":"4b08115e-14e6-43a6-a6bd-f6d8de450a75","admin_state_up": true}}</msg>
<status status="PASS" endtime="20180901 19:38:41.960" starttime="20180901 19:38:41.959"></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="20180901 19:38:42.522" 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="20180901 19:38:42.522" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180901 19:38:42.522" starttime="20180901 19:38:41.960"></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="20180901 19:38:42.523" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180901 19:38:42.524" starttime="20180901 19:38:42.523"></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="20180901 19:38:42.525" level="INFO">To JSON using : content={"port":{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-09-01T19:38:42Z","device_owner":"","revision_number":1,"binding:profile":{},"port_security_enabled":true,"fixed_ips":[{"subnet_id":"07e7194a-75e3-4046-91ee-8e5c4a8e9bc8","ip_address":"172.16.64.24"}],"id":"6aaa349c-6f9c-4047-b115-a535d07f5e32","security_groups":["4c90905a-dd2b-4dc3-94a8-9a12affaa63f"],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:e3:98:2b","project_id":"4d4021a1339f4d9ba7a6d32091768ef1","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"","name":"","admin_state_up":true,"network_id":"4b08115e-14e6-43a6-a6bd-f6d8de450a75","tenant_id":"4d4021a1339f4d9ba7a6d32091768ef1","created_at":"2018-09-01T19:38:42Z","binding:vnic_type":"normal"}} </msg>
<msg timestamp="20180901 19:38:42.525" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180901 19:38:42.525" level="INFO">${result} = {u'port': {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-09-01T19:38:42Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': ...</msg>
<status status="PASS" endtime="20180901 19:38:42.526" starttime="20180901 19:38:42.524"></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="20180901 19:38:42.527" level="INFO">${result} = {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-09-01T19:38:42Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fi...</msg>
<status status="PASS" endtime="20180901 19:38:42.527" starttime="20180901 19:38:42.526"></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="20180901 19:38:42.528" level="INFO">${PORTID} = 6aaa349c-6f9c-4047-b115-a535d07f5e32</msg>
<status status="PASS" endtime="20180901 19:38:42.528" starttime="20180901 19:38:42.527"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180901 19:38:42.529" level="INFO">{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-09-01T19:38:42Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fixed_ips': [{u'subnet_id': u'07e7194a-75e3-4046-91ee-8e5c4a8e9bc8', u'ip_address': u'172.16.64.24'}], u'id': u'6aaa349c-6f9c-4047-b115-a535d07f5e32', u'security_groups': [u'4c90905a-dd2b-4dc3-94a8-9a12affaa63f'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:e3:98:2b', u'project_id': u'4d4021a1339f4d9ba7a6d32091768ef1', 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'4b08115e-14e6-43a6-a6bd-f6d8de450a75', u'tenant_id': u'4d4021a1339f4d9ba7a6d32091768ef1', u'created_at': u'2018-09-01T19:38:42Z', u'binding:vnic_type': u'normal'}</msg>
<status status="PASS" endtime="20180901 19:38:42.529" starttime="20180901 19:38:42.528"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${PORTID}</arg>
</arguments>
<msg timestamp="20180901 19:38:42.530" level="INFO">6aaa349c-6f9c-4047-b115-a535d07f5e32</msg>
<status status="PASS" endtime="20180901 19:38:42.530" starttime="20180901 19:38:42.529"></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="20180901 19:38:42.531" level="INFO">${PORTID} = 6aaa349c-6f9c-4047-b115-a535d07f5e32</msg>
<status status="PASS" endtime="20180901 19:38:42.531" starttime="20180901 19:38:42.530"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180901 19:38:44.532" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180901 19:38:44.532" starttime="20180901 19:38:42.531"></status>
</kw>
<doc>Create new port in OpenStack</doc>
<tags>
<tag>Create port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180901 19:38:44.532" critical="yes" starttime="20180901 19:38:41.958"></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="20180901 19:38:45.141" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/6aaa349c-6f9c-4047-b115-a535d07f5e32 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c3499d6d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180901 19:38:45.142" starttime="20180901 19:38:44.534"></status>
</kw>
<doc>Check new port created in OpenDaylight</doc>
<tags>
<tag>Check port OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180901 19:38:45.142" critical="yes" starttime="20180901 19:38:44.533">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/6aaa349c-6f9c-4047-b115-a535d07f5e32 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c3499d6d0&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="20180901 19:38:45.145" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180901 19:38:45.145" starttime="20180901 19:38:45.144"></status>
</kw>
<doc>Checking Port created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180901 19:38:45.145" starttime="20180901 19:38:40.966"></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="20180901 19:38:45.178" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.48:9696, headers={u'X-Auth-Token': 'gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r20'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:38:45.179" starttime="20180901 19:38:45.177"></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="20180901 19:38:45.180" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f4c346cc750&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:38:45.180" starttime="20180901 19:38:45.179"></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="20180901 19:38:45.787" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/6aaa349c-6f9c-4047-b115-a535d07f5e32 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34822110&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180901 19:38:45.788" starttime="20180901 19:38:45.181"></status>
</kw>
<status status="FAIL" endtime="20180901 19:38:45.788" starttime="20180901 19:38:45.181"></status>
</kw>
<status status="FAIL" endtime="20180901 19:38:45.788" starttime="20180901 19:38:45.177"></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="20180901 19:38:45.790" critical="yes" starttime="20180901 19:38:45.789">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/6aaa349c-6f9c-4047-b115-a535d07f5e32 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34822110&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="20180901 19:38:45.791" critical="yes" starttime="20180901 19:38:45.790">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/6aaa349c-6f9c-4047-b115-a535d07f5e32 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34822110&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="20180901 19:38:45.792" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180901 19:38:45.793" starttime="20180901 19:38:45.792"></status>
</kw>
<doc>Checking Port deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180901 19:38:45.793" starttime="20180901 19:38:45.149">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/ports/6aaa349c-6f9c-4047-b115-a535d07f5e32 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c34822110&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="20180901 19:38:45.820" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.48:9696, headers={u'X-Auth-Token': 'gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r20'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:38:45.821" starttime="20180901 19:38:45.820"></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="20180901 19:38:45.822" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f4c346f50d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:38:45.823" starttime="20180901 19:38:45.821"></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="20180901 19:38:46.430" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/07e7194a-75e3-4046-91ee-8e5c4a8e9bc8 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c346ccc50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180901 19:38:46.430" starttime="20180901 19:38:45.824"></status>
</kw>
<status status="FAIL" endtime="20180901 19:38:46.431" starttime="20180901 19:38:45.823"></status>
</kw>
<status status="FAIL" endtime="20180901 19:38:46.431" starttime="20180901 19:38:45.819"></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="20180901 19:38:46.432" critical="yes" starttime="20180901 19:38:46.431">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/07e7194a-75e3-4046-91ee-8e5c4a8e9bc8 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c346ccc50&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="20180901 19:38:46.434" critical="yes" starttime="20180901 19:38:46.433">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/07e7194a-75e3-4046-91ee-8e5c4a8e9bc8 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c346ccc50&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="20180901 19:38:46.435" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180901 19:38:46.435" starttime="20180901 19:38:46.435"></status>
</kw>
<doc>Checking Subnets deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180901 19:38:46.435" starttime="20180901 19:38:45.795">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/subnets/07e7194a-75e3-4046-91ee-8e5c4a8e9bc8 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c346ccc50&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="20180901 19:38:46.466" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.48:9696, headers={u'X-Auth-Token': 'gAAAAABbiuq2C3l0R-BJmxb26hj6RjWLxkiLe7Z9yHnc_yHHlZj1rPB9PPJGl7lVWmxPWTsHXnxwxVVe7uXEQNOMPE3a82sJJ8KLylc_FMFEt4z_FQCLaXoN4LHQrxl5RolKFsywHVJJwQ92LZRFc5rPPkZnIqo0THZuYn77eBRgfqFlOmA_r20'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:38:46.467" starttime="20180901 19:38:46.466"></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="20180901 19:38:46.468" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.3:8080, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f4c346ccb90&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180901 19:38:46.469" starttime="20180901 19:38:46.467"></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="20180901 19:38:47.076" level="FAIL">ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/4b08115e-14e6-43a6-a6bd-f6d8de450a75 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c346cc9d0&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20180901 19:38:47.077" starttime="20180901 19:38:46.470"></status>
</kw>
<status status="FAIL" endtime="20180901 19:38:47.077" starttime="20180901 19:38:46.469"></status>
</kw>
<status status="FAIL" endtime="20180901 19:38:47.077" starttime="20180901 19:38:46.465"></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="20180901 19:38:47.079" critical="yes" starttime="20180901 19:38:47.078">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/4b08115e-14e6-43a6-a6bd-f6d8de450a75 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c346cc9d0&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="20180901 19:38:47.080" critical="yes" starttime="20180901 19:38:47.079">Parent suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/4b08115e-14e6-43a6-a6bd-f6d8de450a75 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c346cc9d0&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="20180901 19:38:47.081" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180901 19:38:47.082" starttime="20180901 19:38:47.081"></status>
</kw>
<doc>Checking Network deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180901 19:38:47.082" starttime="20180901 19:38:46.437">Suite setup failed:
ConnectionError: HTTPConnectionPool(host='192.30.9.3', port=8080): Max retries exceeded with url: /controller/nb/v2/neutron/networks/4b08115e-14e6-43a6-a6bd-f6d8de450a75 (Caused by NewConnectionError('&lt;urllib3.connection.HTTPConnection object at 0x7f4c346cc9d0&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="20180901 19:38:47.087" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180901 19:38:47.087" starttime="20180901 19:38:47.087"></status>
</kw>
<status status="PASS" endtime="20180901 19:38:47.088" starttime="20180901 19:38:47.086"></status>
</kw>
<doc>Test suite for Neutron Plugin</doc>
<status status="FAIL" endtime="20180901 19:38:47.088" starttime="20180901 19:38:30.394"></status>
</suite>
<status status="FAIL" endtime="20180901 19:38:47.098" starttime="20180901 19:30:00.724"></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="20180901 19:38:30.449" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
</errors>
</robot>
