<?xml version="1.0" encoding="UTF-8"?>
<robot generated="20181014 02:27:37.587" 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 02:27:37.732" 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 0x7fe1a754d090&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:37.732" starttime="20181014 02:27:37.731"></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 02:27:38.382" 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 0x7fe1a73b9a50&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181014 02:27:38.382" starttime="20181014 02:27:37.734"></status>
</kw>
<doc>Get the restconf modules, check 200 status and ietf-restconf presence.</doc>
<status status="FAIL" endtime="20181014 02:27:38.383" critical="yes" starttime="20181014 02:27:37.733">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 0x7fe1a73b9a50&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 02:27:38.384" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 02:27:38.384" starttime="20181014 02:27:38.383"></status>
</kw>
<doc>Test suite to verify Restconf is OK.</doc>
<status status="FAIL" endtime="20181014 02:27:38.384" starttime="20181014 02:27:37.638"></status>
</suite>
<status status="FAIL" endtime="20181014 02:27:38.385" starttime="20181014 02:27:37.635"></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 02:27:38.447" 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 02:27:38.448" starttime="20181014 02:27:38.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="20181014 02:27:38.448" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20181014 02:27:38.454" 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 02:27:38.908" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:38.908" starttime="20181014 02:27:38.448"></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 02:27:38.909" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:38.909" starttime="20181014 02:27:38.909"></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 02:27:38.910" level="INFO">${TOKEN} = gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2a4</msg>
<status status="PASS" endtime="20181014 02:27:38.910" starttime="20181014 02:27:38.910"></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 02:27:38.911" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2...</msg>
<status status="PASS" endtime="20181014 02:27:38.911" starttime="20181014 02:27:38.910"></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 02:27:38.912" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2...</msg>
<status status="PASS" endtime="20181014 02:27:38.912" starttime="20181014 02:27:38.911"></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 02:27:38.912" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2...</msg>
<status status="PASS" endtime="20181014 02:27:38.912" starttime="20181014 02:27:38.912"></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 02:27:38.913" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2...</msg>
<status status="PASS" endtime="20181014 02:27:38.913" starttime="20181014 02:27:38.913"></status>
</kw>
<status status="PASS" endtime="20181014 02:27:38.913" starttime="20181014 02:27:38.446"></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 02:27:38.931" 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 0x7fe1a72c1c10&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:38.932" starttime="20181014 02:27:38.931"></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 02:27:38.945" level="INFO">Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/networks, headers=None json=None</msg>
<msg timestamp="20181014 02:27:38.945" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:38.945" starttime="20181014 02:27:38.932"></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 02:27:38.946" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:38.946" starttime="20181014 02:27:38.945"></status>
</kw>
<doc>Get the complete list of networks</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:38.946" critical="yes" starttime="20181014 02:27:38.932"></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 02:27:38.961" level="INFO">Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/subnets, headers=None json=None</msg>
<msg timestamp="20181014 02:27:38.961" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:38.961" starttime="20181014 02:27:38.947"></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 02:27:38.961" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:38.961" starttime="20181014 02:27:38.961"></status>
</kw>
<doc>Get the complete list of subnets</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:38.962" critical="yes" starttime="20181014 02:27:38.946"></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 02:27:38.969" level="INFO">Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/ports, headers=None json=None</msg>
<msg timestamp="20181014 02:27:38.969" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:38.969" starttime="20181014 02:27:38.963"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${resp.status_code}</arg>
<arg>200</arg>
</arguments>
<msg timestamp="20181014 02:27:38.970" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:38.970" starttime="20181014 02:27:38.969"></status>
</kw>
<doc>Get the complete list of ports</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:38.970" critical="yes" starttime="20181014 02:27:38.962"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181014 02:27:38.971" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 02:27:38.971" starttime="20181014 02:27:38.971"></status>
</kw>
<status status="PASS" endtime="20181014 02:27:38.972" starttime="20181014 02:27:38.913"></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 02:27:38.988" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2a4', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:38.988" starttime="20181014 02:27:38.988"></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 02:27:38.989" level="INFO">{u'X-Auth-Token': 'gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2a4', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20181014 02:27:38.990" starttime="20181014 02:27:38.989"></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 02:27:38.995" 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 02:27:39.772" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/networks, headers=None json=None</msg>
<msg timestamp="20181014 02:27:39.773" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:39.773" starttime="20181014 02:27:38.990"></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 02:27:39.774" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:39.774" starttime="20181014 02:27:39.773"></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 02:27:39.774" level="INFO">To JSON using : content={"networks":[{"provider:physical_network":"physnet","ipv6_address_scope":null,"revision_number":3,"port_security_enabled":true,"mtu":1500,"id":"b405b19e-f90b-452e-a520-914161f32bc0","router:external":true,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"220a6de3189847c89544ca31a001de27","status":"ACTIVE","subnets":["5abc47d5-713c-42c0-aa76-71db954cd2ac"],"description":"","tags":[],"updated_at":"2018-10-13T20:14:44Z","is_default":true,"provider:segmentation_id":null,"name":"ext-net","admin_state_up":true,"tenant_id":"220a6de3189847c89544ca31a001de27","created_at":"2018-10-13T19:48:39Z","provider:network_type":"flat"}]} </msg>
<msg timestamp="20181014 02:27:39.775" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 02:27:39.775" level="INFO">${OSResult} = {u'networks': [{u'provider:physical_network': u'physnet', u'ipv6_address_scope': None, u'revision_number': 3, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'b405b19e-f90b-...</msg>
<status status="PASS" endtime="20181014 02:27:39.775" starttime="20181014 02:27:39.774"></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 02:27:39.777" level="INFO">{u'networks': [{u'provider:physical_network': u'physnet', u'ipv6_address_scope': None, u'revision_number': 3, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'b405b19e-f90b-452e-a520-914161f32bc0', 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'220a6de3189847c89544ca31a001de27', u'status': u'ACTIVE', u'subnets': [u'5abc47d5-713c-42c0-aa76-71db954cd2ac'], u'description': u'', u'tags': [], u'updated_at': u'2018-10-13T20:14:44Z', u'is_default': True, u'provider:segmentation_id': None, u'name': u'ext-net', u'admin_state_up': True, u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'created_at': u'2018-10-13T19:48:39Z', u'mtu': 1500}]}</msg>
<status status="PASS" endtime="20181014 02:27:39.777" starttime="20181014 02:27:39.775"></status>
</kw>
<doc>Checking OpenStack Neutron for known networks</doc>
<tags>
<tag>Network Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:39.777" critical="yes" starttime="20181014 02:27:38.989"></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 02:27:39.779" 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 0x7fe1a727f1d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:39.779" starttime="20181014 02:27:39.778"></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 02:27:39.789" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks, headers=None json=None</msg>
<msg timestamp="20181014 02:27:39.789" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:39.789" starttime="20181014 02:27:39.779"></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 02:27:39.790" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:39.790" starttime="20181014 02:27:39.789"></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>${ODLResult}</var>
</assign>
<msg timestamp="20181014 02:27:39.790" level="INFO">To JSON using : content={
   "networks" : [ {
      "id" : "bd8db3a8-2b30-4083-a8b3-b3fd46401142",
      "tenant_id" : "bd8db3a82b304083a8b3b3fd46401142",
      "project_id" : "bd8db3a8-2b30-4083-a8b3-b3fd46401142",
      "name" : "Sync Canary Network",
      "admin_state_up" : false,
      "status" : "ACTIVE",
      "shared" : false,
      "router:external" : false,
      "provider:network_type" : "flat",
      "segments" : [ ]
   }, {
      "id" : "b405b19e-f90b-452e-a520-914161f32bc0",
      "tenant_id" : "220a6de3189847c89544ca31a001de27",
      "revision_number" : 2,
      "name" : "ext-net",
      "admin_state_up" : true,
      "status" : "ACTIVE",
      "shared" : false,
      "router:external" : true,
      "provider:network_type" : "flat",
      "provider:physical_network" : "physnet",
      "segments" : [ ]
   } ]
} </msg>
<msg timestamp="20181014 02:27:39.791" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 02:27:39.791" level="INFO">${ODLResult} = {u'networks': [{u'status': u'ACTIVE', u'router:external': False, u'name': u'Sync Canary Network', u'admin_state_up': False, u'tenant_id': u'bd8db3a82b304083a8b3b3fd46401142', u'segments': [], u'provid...</msg>
<status status="PASS" endtime="20181014 02:27:39.791" starttime="20181014 02:27:39.790"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181014 02:27:39.791" level="INFO">{u'networks': [{u'status': u'ACTIVE', u'router:external': False, u'name': u'Sync Canary Network', u'admin_state_up': False, u'tenant_id': u'bd8db3a82b304083a8b3b3fd46401142', u'segments': [], u'provider:network_type': u'flat', u'shared': False, u'project_id': u'bd8db3a8-2b30-4083-a8b3-b3fd46401142', u'id': u'bd8db3a8-2b30-4083-a8b3-b3fd46401142'}, {u'status': u'ACTIVE', u'router:external': True, u'name': u'ext-net', u'provider:physical_network': u'physnet', u'admin_state_up': True, u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'segments': [], u'provider:network_type': u'flat', u'revision_number': 2, u'shared': False, u'id': u'b405b19e-f90b-452e-a520-914161f32bc0'}]}</msg>
<status status="PASS" endtime="20181014 02:27:39.791" starttime="20181014 02:27:39.791"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known networks</doc>
<tags>
<tag>Network Neutron OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:39.791" critical="yes" starttime="20181014 02:27:39.778"></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 02:27:39.793" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20181014 02:27:39.793" starttime="20181014 02:27:39.793"></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 02:27:39.795" 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 02:27:40.168" 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 02:27:40.168" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:40.168" starttime="20181014 02:27:39.793"></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 02:27:40.170" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:40.171" starttime="20181014 02:27:40.168"></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 02:27:40.172" 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":"58faecb6-f55e-4cc1-96da-67daacb1fbd8","router:external":false,"availability_zone_hints":[],"availability_zones":[],"ipv4_address_scope":null,"shared":false,"project_id":"220a6de3189847c89544ca31a001de27","status":"ACTIVE","subnets":[],"description":"","tags":[],"updated_at":"2018-10-14T02:27:39Z","is_default":false,"provider:segmentation_id":7,"name":"odl_network","admin_state_up":true,"tenant_id":"220a6de3189847c89544ca31a001de27","created_at":"2018-10-14T02:27:39Z","mtu":1450}} </msg>
<msg timestamp="20181014 02:27:40.172" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 02:27:40.172" 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'58faecb6-f55e-4cc1-96da-67daacb1fbd8', u'ro...</msg>
<status status="PASS" endtime="20181014 02:27:40.173" starttime="20181014 02:27:40.171"></status>
</kw>
<kw name="Get From Dictionary" library="Collections">
<doc>Returns a value from the given ``dictionary`` based on the given ``key``.</doc>
<arguments>
<arg>${result}</arg>
<arg>network</arg>
</arguments>
<assign>
<var>${result}</var>
</assign>
<msg timestamp="20181014 02:27:40.173" 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'58faecb6-f55e-4cc1-96da-67daacb1fbd8', u'router:external...</msg>
<status status="PASS" endtime="20181014 02:27:40.173" starttime="20181014 02:27:40.173"></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 02:27:40.174" level="INFO">${NETID} = 58faecb6-f55e-4cc1-96da-67daacb1fbd8</msg>
<status status="PASS" endtime="20181014 02:27:40.174" starttime="20181014 02:27:40.173"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20181014 02:27:40.174" 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'58faecb6-f55e-4cc1-96da-67daacb1fbd8', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'220a6de3189847c89544ca31a001de27', u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'tags': [], u'updated_at': u'2018-10-14T02:27:39Z', u'is_default': False, u'provider:segmentation_id': 7, u'name': u'odl_network', u'admin_state_up': True, u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'created_at': u'2018-10-14T02:27:39Z', u'provider:network_type': u'vxlan'}</msg>
<status status="PASS" endtime="20181014 02:27:40.174" starttime="20181014 02:27:40.174"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${NETID}</arg>
</arguments>
<msg timestamp="20181014 02:27:40.175" level="INFO">58faecb6-f55e-4cc1-96da-67daacb1fbd8</msg>
<status status="PASS" endtime="20181014 02:27:40.175" starttime="20181014 02:27:40.175"></status>
</kw>
<kw name="Set Global Variable" library="BuiltIn">
<doc>Makes a variable available globally in all tests and suites.</doc>
<arguments>
<arg>${NETID}</arg>
</arguments>
<msg timestamp="20181014 02:27:40.176" level="INFO">${NETID} = 58faecb6-f55e-4cc1-96da-67daacb1fbd8</msg>
<status status="PASS" endtime="20181014 02:27:40.176" starttime="20181014 02:27:40.175"></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 02:27:42.176" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181014 02:27:42.177" starttime="20181014 02:27:40.176"></status>
</kw>
<doc>Create new network in OpenStack</doc>
<tags>
<tag>Create Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:42.177" critical="yes" starttime="20181014 02:27:39.792"></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 02:27:42.187" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/58faecb6-f55e-4cc1-96da-67daacb1fbd8, headers=None json=None</msg>
<msg timestamp="20181014 02:27:42.187" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:42.187" starttime="20181014 02:27:42.180"></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 02:27:42.188" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:42.188" starttime="20181014 02:27:42.187"></status>
</kw>
<doc>Check network created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>Network OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:42.188" critical="yes" starttime="20181014 02:27:42.179"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181014 02:27:42.190" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 02:27:42.190" starttime="20181014 02:27:42.190"></status>
</kw>
<doc>Checking Network created in OpenStack are pushed to OpenDaylight</doc>
<status status="PASS" endtime="20181014 02:27:42.190" starttime="20181014 02:27:38.972"></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 02:27:42.211" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2a4', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:42.212" starttime="20181014 02:27:42.210"></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 02:27:42.213" level="INFO">{u'X-Auth-Token': 'gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2a4', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20181014 02:27:42.213" starttime="20181014 02:27:42.212"></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 02:27:42.220" 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 02:27:42.331" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/subnets, headers=None json=None</msg>
<msg timestamp="20181014 02:27:42.331" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:42.331" starttime="20181014 02:27:42.213"></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 02:27:42.332" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:42.332" starttime="20181014 02:27:42.332"></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 02:27:42.333" level="INFO">To JSON using : content={"subnets":[{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"b405b19e-f90b-452e-a520-914161f32bc0","tenant_id":"220a6de3189847c89544ca31a001de27","created_at":"2018-10-13T19:48:44Z","dns_nameservers":[],"updated_at":"2018-10-13T19:48:44Z","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":"220a6de3189847c89544ca31a001de27","id":"5abc47d5-713c-42c0-aa76-71db954cd2ac","subnetpool_id":null,"name":"ext-subnet"}]} </msg>
<msg timestamp="20181014 02:27:42.333" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 02:27:42.333" level="INFO">${OSResult} = {u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'b405b19e-f90b-452e-a520-914161f32bc0', u'tenant_id': u'220a6de3189847c...</msg>
<status status="PASS" endtime="20181014 02:27:42.334" starttime="20181014 02:27:42.333"></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 02:27:42.334" level="INFO">{u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'b405b19e-f90b-452e-a520-914161f32bc0', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'created_at': u'2018-10-13T19:48:44Z', u'dns_nameservers': [], u'updated_at': u'2018-10-13T19:48:44Z', 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'220a6de3189847c89544ca31a001de27', u'id': u'5abc47d5-713c-42c0-aa76-71db954cd2ac', u'subnetpool_id': None, u'name': u'ext-subnet'}]}</msg>
<status status="PASS" endtime="20181014 02:27:42.334" starttime="20181014 02:27:42.334"></status>
</kw>
<doc>Checking OpenStack Neutron for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:42.334" critical="yes" starttime="20181014 02:27:42.212"></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 02:27:42.337" 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 0x7fe1a7238950&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:42.337" starttime="20181014 02:27:42.336"></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 02:27:42.346" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets, headers=None json=None</msg>
<msg timestamp="20181014 02:27:42.346" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:42.346" starttime="20181014 02:27:42.338"></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 02:27:42.347" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:42.348" starttime="20181014 02:27:42.347"></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>${ODLResult}</var>
</assign>
<msg timestamp="20181014 02:27:42.348" level="INFO">To JSON using : content={
   "subnets" : [ {
      "id" : "5abc47d5-713c-42c0-aa76-71db954cd2ac",
      "tenant_id" : "220a6de3189847c89544ca31a001de27",
      "project_id" : "220a6de3189847c89544ca31a001de27",
      "revision_number" : 0,
      "name" : "ext-subnet",
      "network_id" : "b405b19e-f90b-452e-a520-914161f32bc0",
      "ip_version" : 4,
      "cidr" : "192.16.1.0/24",
      "gateway_ip" : "192.16.1.1",
      "dns_nameservers" : [ ],
      "allocation_pools" : [ {
         "start" : "192.16.1.101",
         "end" : "192.16.1.199"
      } ],
      "host_routes" : [ ],
      "enable_dhcp" : true,
      "ipv6_address_mode" : null,
      "ipv6_ra_mode" : null
   } ]
} </msg>
<msg timestamp="20181014 02:27:42.348" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 02:27:42.349" level="INFO">${ODLResult} = {u'subnets': [{u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'b405b19e-f90b-452e-a520-914161f32bc0', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'dns_nameservers': [], u'ipv6_r...</msg>
<status status="PASS" endtime="20181014 02:27:42.349" starttime="20181014 02:27:42.348"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181014 02:27:42.349" level="INFO">{u'subnets': [{u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'b405b19e-f90b-452e-a520-914161f32bc0', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'dns_nameservers': [], 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'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'192.16.1.0/24', u'project_id': u'220a6de3189847c89544ca31a001de27', u'id': u'5abc47d5-713c-42c0-aa76-71db954cd2ac'}]}</msg>
<status status="PASS" endtime="20181014 02:27:42.349" starttime="20181014 02:27:42.349"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:42.349" critical="yes" starttime="20181014 02:27:42.335"></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 02:27:42.351" level="INFO">{"subnet":{"network_id":"58faecb6-f55e-4cc1-96da-67daacb1fbd8","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 02:27:42.351" starttime="20181014 02:27:42.350"></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 02:27:42.353" 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 02:27:43.011" 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 02:27:43.011" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:43.012" starttime="20181014 02:27:42.351"></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 02:27:43.012" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:43.012" starttime="20181014 02:27:43.012"></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 02:27:43.013" level="INFO">To JSON using : content={"subnet":{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"58faecb6-f55e-4cc1-96da-67daacb1fbd8","tenant_id":"220a6de3189847c89544ca31a001de27","created_at":"2018-10-14T02:27:42Z","dns_nameservers":[],"updated_at":"2018-10-14T02:27:42Z","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":"220a6de3189847c89544ca31a001de27","id":"34f5533a-f96c-4337-a567-ef1ffa191e30","subnetpool_id":null,"name":""}} </msg>
<msg timestamp="20181014 02:27:43.013" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 02:27:43.013" level="INFO">${result} = {u'subnet': {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'58faecb6-f55e-4cc1-96da-67daacb1fbd8', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'...</msg>
<status status="PASS" endtime="20181014 02:27:43.013" starttime="20181014 02:27:43.013"></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 02:27:43.014" level="INFO">${result} = {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'58faecb6-f55e-4cc1-96da-67daacb1fbd8', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'created_at':...</msg>
<status status="PASS" endtime="20181014 02:27:43.014" starttime="20181014 02:27:43.013"></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 02:27:43.014" level="INFO">${SUBNETID} = 34f5533a-f96c-4337-a567-ef1ffa191e30</msg>
<status status="PASS" endtime="20181014 02:27:43.015" starttime="20181014 02:27:43.014"></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 02:27:43.015" level="INFO">{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'58faecb6-f55e-4cc1-96da-67daacb1fbd8', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'created_at': u'2018-10-14T02:27:42Z', u'dns_nameservers': [], u'updated_at': u'2018-10-14T02:27:42Z', 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'220a6de3189847c89544ca31a001de27', u'id': u'34f5533a-f96c-4337-a567-ef1ffa191e30', u'subnetpool_id': None, u'name': u''}</msg>
<status status="PASS" endtime="20181014 02:27:43.015" starttime="20181014 02:27:43.015"></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 02:27:43.016" level="INFO">34f5533a-f96c-4337-a567-ef1ffa191e30</msg>
<status status="PASS" endtime="20181014 02:27:43.016" starttime="20181014 02:27:43.015"></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 02:27:43.016" level="INFO">${SUBNETID} = 34f5533a-f96c-4337-a567-ef1ffa191e30</msg>
<status status="PASS" endtime="20181014 02:27:43.016" starttime="20181014 02:27:43.016"></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 02:27:45.018" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181014 02:27:45.018" starttime="20181014 02:27:43.017"></status>
</kw>
<doc>Create new subnet in OpenStack</doc>
<tags>
<tag>Create Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:45.019" critical="yes" starttime="20181014 02:27:42.350"></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 02:27:45.026" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/34f5533a-f96c-4337-a567-ef1ffa191e30, headers=None json=None</msg>
<msg timestamp="20181014 02:27:45.026" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:45.026" starttime="20181014 02:27:45.020"></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 02:27:45.027" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:45.027" starttime="20181014 02:27:45.027"></status>
</kw>
<doc>Check new subnet created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>subnet OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:45.028" critical="yes" starttime="20181014 02:27:45.019"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181014 02:27:45.029" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 02:27:45.029" starttime="20181014 02:27:45.029"></status>
</kw>
<doc>Checking Subnets created in OpenStack are pushed to OpenDaylight</doc>
<status status="PASS" endtime="20181014 02:27:45.029" starttime="20181014 02:27:42.192"></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 02:27:45.049" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2a4', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:45.050" starttime="20181014 02:27:45.049"></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 02:27:45.051" level="INFO">{u'X-Auth-Token': 'gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2a4', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20181014 02:27:45.051" starttime="20181014 02:27:45.051"></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 02:27:45.056" 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 02:27:45.182" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/ports, headers=None json=None</msg>
<msg timestamp="20181014 02:27:45.183" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:45.183" starttime="20181014 02:27:45.051"></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 02:27:45.183" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:45.183" starttime="20181014 02:27:45.183"></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 02:27:45.184" level="INFO">To JSON using : content={"ports":[{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-14T02:27:44Z","device_owner":"network:dhcp","revision_number":2,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"34f5533a-f96c-4337-a567-ef1ffa191e30","ip_address":"172.16.64.20"}],"id":"026eebe0-bd69-45be-87b6-c3b38d64146e","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"03262038-dd00-4268-99a3-5705de541230","host_addresses":["host1"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:ce:4a:af","project_id":"220a6de3189847c89544ca31a001de27","status":"DOWN","binding:host_id":"host1","description":"","tags":[],"device_id":"dhcp540ba512-ba2e-5213-b381-56c767787d41-58faecb6-f55e-4cc1-96da-67daacb1fbd8","name":"","admin_state_up":true,"network_id":"58faecb6-f55e-4cc1-96da-67daacb1fbd8","tenant_id":"220a6de3189847c89544ca31a001de27","created_at":"2018-10-14T02:27:43Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-13T19:48:51Z","device_owner":"network:dhcp","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"5abc47d5-713c-42c0-aa76-71db954cd2ac","ip_address":"192.16.1.101"}],"id":"b94d83b4-244c-4a28-82dc-a24dfb4bd31d","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"03262038-dd00-4268-99a3-5705de541230","host_addresses":["host1"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:66:d1:0f","project_id":"220a6de3189847c89544ca31a001de27","status":"ACTIVE","binding:host_id":"host1","description":"","tags":[],"device_id":"dhcp540ba512-ba2e-5213-b381-56c767787d41-b405b19e-f90b-452e-a520-914161f32bc0","name":"","admin_state_up":true,"network_id":"b405b19e-f90b-452e-a520-914161f32bc0","tenant_id":"220a6de3189847c89544ca31a001de27","created_at":"2018-10-13T19:48:45Z","binding:vnic_type":"normal"}]} </msg>
<msg timestamp="20181014 02:27:45.184" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 02:27:45.184" level="INFO">${OSResult} = {u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T02:27:44Z', u'device_owner': u'network:dhcp', u'revision_number': 2, u'port_security_enabled': False, u'b...</msg>
<status status="PASS" endtime="20181014 02:27:45.184" starttime="20181014 02:27:45.184"></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 02:27:45.185" level="INFO">{u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T02:27:44Z', u'device_owner': u'network:dhcp', u'revision_number': 2, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'34f5533a-f96c-4337-a567-ef1ffa191e30', u'ip_address': u'172.16.64.20'}], u'id': u'026eebe0-bd69-45be-87b6-c3b38d64146e', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'03262038-dd00-4268-99a3-5705de541230', u'host_addresses': [u'host1']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:ce:4a:af', u'project_id': u'220a6de3189847c89544ca31a001de27', u'status': u'DOWN', u'binding:host_id': u'host1', u'description': u'', u'tags': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-58faecb6-f55e-4cc1-96da-67daacb1fbd8', u'name': u'', u'admin_state_up': True, u'network_id': u'58faecb6-f55e-4cc1-96da-67daacb1fbd8', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'created_at': u'2018-10-14T02:27:43Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-13T19:48:51Z', 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'5abc47d5-713c-42c0-aa76-71db954cd2ac', u'ip_address': u'192.16.1.101'}], u'id': u'b94d83b4-244c-4a28-82dc-a24dfb4bd31d', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'03262038-dd00-4268-99a3-5705de541230', u'host_addresses': [u'host1']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:66:d1:0f', u'project_id': u'220a6de3189847c89544ca31a001de27', u'status': u'ACTIVE', u'binding:host_id': u'host1', u'description': u'', u'tags': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-b405b19e-f90b-452e-a520-914161f32bc0', u'name': u'', u'admin_state_up': True, u'network_id': u'b405b19e-f90b-452e-a520-914161f32bc0', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'created_at': u'2018-10-13T19:48:45Z', u'binding:vnic_type': u'normal'}]}</msg>
<status status="PASS" endtime="20181014 02:27:45.185" starttime="20181014 02:27:45.185"></status>
</kw>
<doc>Checking OpenStack Neutron for known ports</doc>
<tags>
<tag>Ports Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:45.185" critical="yes" starttime="20181014 02:27:45.050"></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 02:27:45.187" 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 0x7fe1a7317b50&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:45.188" starttime="20181014 02:27:45.186"></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 02:27:45.198" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports, headers=None json=None</msg>
<msg timestamp="20181014 02:27:45.198" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:45.198" starttime="20181014 02:27:45.188"></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 02:27:45.199" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:45.199" starttime="20181014 02:27:45.199"></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>${ODLResult}</var>
</assign>
<msg timestamp="20181014 02:27:45.200" level="INFO">To JSON using : content={
   "ports" : [ {
      "id" : "026eebe0-bd69-45be-87b6-c3b38d64146e",
      "tenant_id" : "220a6de3189847c89544ca31a001de27",
      "revision_number" : 1,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "58faecb6-f55e-4cc1-96da-67daacb1fbd8",
      "mac_address" : "fa:16:3e:ce:4a:af",
      "fixed_ips" : [ {
         "ip_address" : "172.16.64.20",
         "subnet_id" : "34f5533a-f96c-4337-a567-ef1ffa191e30"
      } ],
      "device_id" : "dhcp540ba512-ba2e-5213-b381-56c767787d41-58faecb6-f55e-4cc1-96da-67daacb1fbd8",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host1",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "03262038-dd00-4268-99a3-5705de541230",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   }, {
      "id" : "b94d83b4-244c-4a28-82dc-a24dfb4bd31d",
      "tenant_id" : "220a6de3189847c89544ca31a001de27",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "b405b19e-f90b-452e-a520-914161f32bc0",
      "mac_address" : "fa:16:3e:66:d1:0f",
      "fixed_ips" : [ {
         "ip_address" : "192.16.1.101",
         "subnet_id" : "5abc47d5-713c-42c0-aa76-71db954cd2ac"
      } ],
      "device_id" : "dhcp540ba512-ba2e-5213-b381-56c767787d41-b405b19e-f90b-452e-a520-914161f32bc0",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host1",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "03262038-dd00-4268-99a3-5705de541230",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   } ]
} </msg>
<msg timestamp="20181014 02:27:45.200" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 02:27:45.200" level="INFO">${ODLResult} = {u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'03262038-dd00-4268-99a3-5705de541230'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_a...</msg>
<status status="PASS" endtime="20181014 02:27:45.200" starttime="20181014 02:27:45.199"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181014 02:27:45.201" level="INFO">{u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'03262038-dd00-4268-99a3-5705de541230'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'58faecb6-f55e-4cc1-96da-67daacb1fbd8', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'ovs', u'device_owner': u'network:dhcp', u'revision_number': 1, u'mac_address': u'fa:16:3e:ce:4a:af', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'34f5533a-f96c-4337-a567-ef1ffa191e30', u'ip_address': u'172.16.64.20'}], u'id': u'026eebe0-bd69-45be-87b6-c3b38d64146e', u'security_groups': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-58faecb6-f55e-4cc1-96da-67daacb1fbd8'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'03262038-dd00-4268-99a3-5705de541230'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'b405b19e-f90b-452e-a520-914161f32bc0', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'ovs', u'device_owner': u'network:dhcp', u'revision_number': 3, u'mac_address': u'fa:16:3e:66:d1:0f', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'5abc47d5-713c-42c0-aa76-71db954cd2ac', u'ip_address': u'192.16.1.101'}], u'id': u'b94d83b4-244c-4a28-82dc-a24dfb4bd31d', u'security_groups': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-b405b19e-f90b-452e-a520-914161f32bc0'}]}</msg>
<status status="PASS" endtime="20181014 02:27:45.201" starttime="20181014 02:27:45.200"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known ports</doc>
<tags>
<tag>Ports Neutron OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:45.201" critical="yes" starttime="20181014 02:27:45.186"></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 02:27:45.202" level="INFO">{"port":{"network_id":"58faecb6-f55e-4cc1-96da-67daacb1fbd8","admin_state_up": true}}</msg>
<status status="PASS" endtime="20181014 02:27:45.202" starttime="20181014 02:27:45.202"></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 02:27:45.204" 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 02:27:46.408" 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 02:27:46.408" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:46.409" starttime="20181014 02:27:45.203"></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 02:27:46.410" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:46.410" starttime="20181014 02:27:46.409"></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 02:27:46.410" level="INFO">To JSON using : content={"port":{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-14T02:27:45Z","device_owner":"","revision_number":1,"binding:profile":{},"port_security_enabled":true,"fixed_ips":[{"subnet_id":"34f5533a-f96c-4337-a567-ef1ffa191e30","ip_address":"172.16.64.23"}],"id":"2fe4c19d-26a2-4675-a272-41f2eb4cb733","security_groups":["db33a538-48eb-444f-8139-42ca4ac4bcf0"],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:81:eb:31","project_id":"220a6de3189847c89544ca31a001de27","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"","name":"","admin_state_up":true,"network_id":"58faecb6-f55e-4cc1-96da-67daacb1fbd8","tenant_id":"220a6de3189847c89544ca31a001de27","created_at":"2018-10-14T02:27:45Z","binding:vnic_type":"normal"}} </msg>
<msg timestamp="20181014 02:27:46.411" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 02:27:46.411" level="INFO">${result} = {u'port': {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T02:27:45Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': ...</msg>
<status status="PASS" endtime="20181014 02:27:46.411" starttime="20181014 02:27:46.410"></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 02:27:46.411" level="INFO">${result} = {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T02:27:45Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fi...</msg>
<status status="PASS" endtime="20181014 02:27:46.411" starttime="20181014 02:27:46.411"></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 02:27:46.412" level="INFO">${PORTID} = 2fe4c19d-26a2-4675-a272-41f2eb4cb733</msg>
<status status="PASS" endtime="20181014 02:27:46.412" starttime="20181014 02:27:46.412"></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 02:27:46.413" level="INFO">{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-14T02:27:45Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fixed_ips': [{u'subnet_id': u'34f5533a-f96c-4337-a567-ef1ffa191e30', u'ip_address': u'172.16.64.23'}], u'id': u'2fe4c19d-26a2-4675-a272-41f2eb4cb733', u'security_groups': [u'db33a538-48eb-444f-8139-42ca4ac4bcf0'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:81:eb:31', u'project_id': u'220a6de3189847c89544ca31a001de27', 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'58faecb6-f55e-4cc1-96da-67daacb1fbd8', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'created_at': u'2018-10-14T02:27:45Z', u'binding:vnic_type': u'normal'}</msg>
<status status="PASS" endtime="20181014 02:27:46.413" starttime="20181014 02:27:46.412"></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 02:27:46.413" level="INFO">2fe4c19d-26a2-4675-a272-41f2eb4cb733</msg>
<status status="PASS" endtime="20181014 02:27:46.413" starttime="20181014 02:27:46.413"></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 02:27:46.414" level="INFO">${PORTID} = 2fe4c19d-26a2-4675-a272-41f2eb4cb733</msg>
<status status="PASS" endtime="20181014 02:27:46.414" starttime="20181014 02:27:46.413"></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 02:27:48.414" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181014 02:27:48.415" starttime="20181014 02:27:46.414"></status>
</kw>
<doc>Create new port in OpenStack</doc>
<tags>
<tag>Create port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:48.415" critical="yes" starttime="20181014 02:27:45.201"></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 02:27:48.433" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/2fe4c19d-26a2-4675-a272-41f2eb4cb733, headers=None json=None</msg>
<msg timestamp="20181014 02:27:48.433" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:48.433" starttime="20181014 02:27:48.416"></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 02:27:48.434" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:48.435" starttime="20181014 02:27:48.434"></status>
</kw>
<doc>Check new port created in OpenDaylight</doc>
<tags>
<tag>Check port OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:48.435" critical="yes" starttime="20181014 02:27:48.415"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181014 02:27:48.436" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 02:27:48.436" starttime="20181014 02:27:48.436"></status>
</kw>
<doc>Checking Port created in OpenStack are pushed to OpenDaylight</doc>
<status status="PASS" endtime="20181014 02:27:48.436" starttime="20181014 02:27:45.031"></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 02:27:48.457" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2a4'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:48.458" starttime="20181014 02:27:48.457"></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 02:27:48.459" 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 0x7fe1a7238950&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:48.459" starttime="20181014 02:27:48.458"></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 02:27:48.468" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/2fe4c19d-26a2-4675-a272-41f2eb4cb733, headers=None json=None</msg>
<msg timestamp="20181014 02:27:48.468" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:48.468" starttime="20181014 02:27:48.460"></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 02:27:48.469" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:48.469" starttime="20181014 02:27:48.468"></status>
</kw>
<status status="PASS" endtime="20181014 02:27:48.469" starttime="20181014 02:27:48.459"></status>
</kw>
<status status="PASS" endtime="20181014 02:27:48.469" starttime="20181014 02:27:48.457"></status>
</kw>
<test id="s1-s2-s5-t1" name="Delete 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 02:27:48.470" level="INFO">{"port":{"network_id":"58faecb6-f55e-4cc1-96da-67daacb1fbd8","admin_state_up": true}}</msg>
<status status="PASS" endtime="20181014 02:27:48.470" starttime="20181014 02:27:48.470"></status>
</kw>
<kw name="Delete Request" library="RequestsLibrary">
<doc>Send a DELETE 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 02:27:48.477" 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 02:27:49.910" level="INFO">Delete Request using : alias=OSSession, uri=/v2.0/ports/2fe4c19d-26a2-4675-a272-41f2eb4cb733, data=(),                     headers=None, allow_redirects=True </msg>
<msg timestamp="20181014 02:27:49.910" level="INFO">${resp} = &lt;Response [204]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:49.910" starttime="20181014 02:27:48.471"></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>204</arg>
</arguments>
<msg timestamp="20181014 02:27:49.911" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:49.911" starttime="20181014 02:27:49.911"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${resp.content}</arg>
</arguments>
<msg timestamp="20181014 02:27:49.912" level="INFO"></msg>
<status status="PASS" endtime="20181014 02:27:49.912" starttime="20181014 02:27:49.912"></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 02:27:51.913" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181014 02:27:51.913" starttime="20181014 02:27:49.912"></status>
</kw>
<doc>Delete previously created port in OpenStack</doc>
<tags>
<tag>Delete port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:51.914" critical="yes" starttime="20181014 02:27:48.469"></status>
</test>
<test id="s1-s2-s5-t2" name="Check Port Deleted">
<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 02:27:51.927" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports, headers=None json=None</msg>
<msg timestamp="20181014 02:27:51.928" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:51.928" starttime="20181014 02:27:51.916"></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 02:27:51.929" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:51.929" starttime="20181014 02:27:51.928"></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>${ODLResult}</var>
</assign>
<msg timestamp="20181014 02:27:51.929" level="INFO">To JSON using : content={
   "ports" : [ {
      "id" : "026eebe0-bd69-45be-87b6-c3b38d64146e",
      "tenant_id" : "220a6de3189847c89544ca31a001de27",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "58faecb6-f55e-4cc1-96da-67daacb1fbd8",
      "mac_address" : "fa:16:3e:ce:4a:af",
      "fixed_ips" : [ {
         "ip_address" : "172.16.64.20",
         "subnet_id" : "34f5533a-f96c-4337-a567-ef1ffa191e30"
      } ],
      "device_id" : "dhcp540ba512-ba2e-5213-b381-56c767787d41-58faecb6-f55e-4cc1-96da-67daacb1fbd8",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host1",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "03262038-dd00-4268-99a3-5705de541230",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   }, {
      "id" : "b94d83b4-244c-4a28-82dc-a24dfb4bd31d",
      "tenant_id" : "220a6de3189847c89544ca31a001de27",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "b405b19e-f90b-452e-a520-914161f32bc0",
      "mac_address" : "fa:16:3e:66:d1:0f",
      "fixed_ips" : [ {
         "ip_address" : "192.16.1.101",
         "subnet_id" : "5abc47d5-713c-42c0-aa76-71db954cd2ac"
      } ],
      "device_id" : "dhcp540ba512-ba2e-5213-b381-56c767787d41-b405b19e-f90b-452e-a520-914161f32bc0",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host1",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "03262038-dd00-4268-99a3-5705de541230",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   } ]
} </msg>
<msg timestamp="20181014 02:27:51.929" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 02:27:51.930" level="INFO">${ODLResult} = {u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'03262038-dd00-4268-99a3-5705de541230'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_a...</msg>
<status status="PASS" endtime="20181014 02:27:51.930" starttime="20181014 02:27:51.929"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181014 02:27:51.930" level="INFO">{u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'03262038-dd00-4268-99a3-5705de541230'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'58faecb6-f55e-4cc1-96da-67daacb1fbd8', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'ovs', u'device_owner': u'network:dhcp', u'revision_number': 3, u'mac_address': u'fa:16:3e:ce:4a:af', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'34f5533a-f96c-4337-a567-ef1ffa191e30', u'ip_address': u'172.16.64.20'}], u'id': u'026eebe0-bd69-45be-87b6-c3b38d64146e', u'security_groups': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-58faecb6-f55e-4cc1-96da-67daacb1fbd8'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'03262038-dd00-4268-99a3-5705de541230'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'b405b19e-f90b-452e-a520-914161f32bc0', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'ovs', u'device_owner': u'network:dhcp', u'revision_number': 3, u'mac_address': u'fa:16:3e:66:d1:0f', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'5abc47d5-713c-42c0-aa76-71db954cd2ac', u'ip_address': u'192.16.1.101'}], u'id': u'b94d83b4-244c-4a28-82dc-a24dfb4bd31d', u'security_groups': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-b405b19e-f90b-452e-a520-914161f32bc0'}]}</msg>
<status status="PASS" endtime="20181014 02:27:51.931" starttime="20181014 02:27:51.930"></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}/${PORTID}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20181014 02:27:51.938" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/2fe4c19d-26a2-4675-a272-41f2eb4cb733, headers=None json=None</msg>
<msg timestamp="20181014 02:27:51.938" level="INFO">${resp} = &lt;Response [404]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:51.938" starttime="20181014 02:27:51.931"></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>404</arg>
</arguments>
<msg timestamp="20181014 02:27:51.939" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:51.939" starttime="20181014 02:27:51.938"></status>
</kw>
<doc>Check port deleted in OpenDaylight</doc>
<tags>
<tag>Check port deleted OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:51.939" critical="yes" starttime="20181014 02:27:51.915"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181014 02:27:51.940" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 02:27:51.940" starttime="20181014 02:27:51.940"></status>
</kw>
<doc>Checking Port deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="PASS" endtime="20181014 02:27:51.941" starttime="20181014 02:27:48.438"></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 02:27:51.959" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2a4'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:51.959" starttime="20181014 02:27:51.958"></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 02:27:51.960" 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 0x7fe1a7212050&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:51.960" starttime="20181014 02:27:51.959"></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 02:27:51.972" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/34f5533a-f96c-4337-a567-ef1ffa191e30, headers=None json=None</msg>
<msg timestamp="20181014 02:27:51.972" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:51.972" starttime="20181014 02:27:51.961"></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 02:27:51.973" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:51.973" starttime="20181014 02:27:51.972"></status>
</kw>
<status status="PASS" endtime="20181014 02:27:51.973" starttime="20181014 02:27:51.960"></status>
</kw>
<status status="PASS" endtime="20181014 02:27:51.974" starttime="20181014 02:27:51.958"></status>
</kw>
<test id="s1-s2-s6-t1" name="Delete 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 02:27:51.975" level="INFO">{"subnet":{"network_id":"58faecb6-f55e-4cc1-96da-67daacb1fbd8","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 02:27:51.975" starttime="20181014 02:27:51.974"></status>
</kw>
<kw name="Delete Request" library="RequestsLibrary">
<doc>Send a DELETE 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 02:27:51.980" 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 02:27:53.474" level="INFO">Delete Request using : alias=OSSession, uri=/v2.0/subnets/34f5533a-f96c-4337-a567-ef1ffa191e30, data=(),                     headers=None, allow_redirects=True </msg>
<msg timestamp="20181014 02:27:53.475" level="INFO">${resp} = &lt;Response [204]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:53.475" starttime="20181014 02:27:51.975"></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>204</arg>
</arguments>
<msg timestamp="20181014 02:27:53.476" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:53.476" starttime="20181014 02:27:53.475"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${resp.content}</arg>
</arguments>
<msg timestamp="20181014 02:27:53.477" level="INFO"></msg>
<status status="PASS" endtime="20181014 02:27:53.477" starttime="20181014 02:27:53.476"></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 02:27:55.477" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181014 02:27:55.477" starttime="20181014 02:27:53.477"></status>
</kw>
<doc>Delete previously created subnet in OpenStack</doc>
<tags>
<tag>Delete Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:55.478" critical="yes" starttime="20181014 02:27:51.974"></status>
</test>
<test id="s1-s2-s6-t2" name="Check New subnet deleted">
<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 02:27:55.485" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets, headers=None json=None</msg>
<msg timestamp="20181014 02:27:55.486" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:55.486" starttime="20181014 02:27:55.480"></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 02:27:55.487" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:55.487" starttime="20181014 02:27:55.486"></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>${ODLResult}</var>
</assign>
<msg timestamp="20181014 02:27:55.487" level="INFO">To JSON using : content={
   "subnets" : [ {
      "id" : "5abc47d5-713c-42c0-aa76-71db954cd2ac",
      "tenant_id" : "220a6de3189847c89544ca31a001de27",
      "project_id" : "220a6de3189847c89544ca31a001de27",
      "revision_number" : 0,
      "name" : "ext-subnet",
      "network_id" : "b405b19e-f90b-452e-a520-914161f32bc0",
      "ip_version" : 4,
      "cidr" : "192.16.1.0/24",
      "gateway_ip" : "192.16.1.1",
      "dns_nameservers" : [ ],
      "allocation_pools" : [ {
         "start" : "192.16.1.101",
         "end" : "192.16.1.199"
      } ],
      "host_routes" : [ ],
      "enable_dhcp" : true,
      "ipv6_address_mode" : null,
      "ipv6_ra_mode" : null
   } ]
} </msg>
<msg timestamp="20181014 02:27:55.487" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 02:27:55.488" level="INFO">${ODLResult} = {u'subnets': [{u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'b405b19e-f90b-452e-a520-914161f32bc0', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'dns_nameservers': [], u'ipv6_r...</msg>
<status status="PASS" endtime="20181014 02:27:55.488" starttime="20181014 02:27:55.487"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181014 02:27:55.488" level="INFO">{u'subnets': [{u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'b405b19e-f90b-452e-a520-914161f32bc0', u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'dns_nameservers': [], 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'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'192.16.1.0/24', u'project_id': u'220a6de3189847c89544ca31a001de27', u'id': u'5abc47d5-713c-42c0-aa76-71db954cd2ac'}]}</msg>
<status status="PASS" endtime="20181014 02:27:55.488" starttime="20181014 02:27:55.488"></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}/${SUBNETID}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20181014 02:27:55.495" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/34f5533a-f96c-4337-a567-ef1ffa191e30, headers=None json=None</msg>
<msg timestamp="20181014 02:27:55.495" level="INFO">${resp} = &lt;Response [404]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:55.495" starttime="20181014 02:27:55.488"></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>404</arg>
</arguments>
<msg timestamp="20181014 02:27:55.496" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:55.496" starttime="20181014 02:27:55.495"></status>
</kw>
<doc>Check subnet deleted in OpenDaylight</doc>
<tags>
<tag>Check subnet deleted OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:55.496" critical="yes" starttime="20181014 02:27:55.478"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181014 02:27:55.497" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 02:27:55.498" starttime="20181014 02:27:55.497"></status>
</kw>
<doc>Checking Subnets deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="PASS" endtime="20181014 02:27:55.498" starttime="20181014 02:27:51.942"></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 02:27:55.516" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbwqma7A2tITg4urxp9TSIgmYiSO7dH_dsXTDXjFYvRWVI0_KjOlqrvqnSBwIbQgq0T2O_-ouFWlwb3WRhM1T726w70gyEtQWzd7ByPm1j86AF1diR6krSBD9wNjX7bW3N6UKYvPQLTC7InnIOMogXWu3rjdwCab55NYWAJzQw-AxH2a4'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:55.517" starttime="20181014 02:27:55.516"></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 02:27:55.518" 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 0x7fe1a71f5510&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181014 02:27:55.518" starttime="20181014 02:27:55.517"></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 02:27:55.524" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/58faecb6-f55e-4cc1-96da-67daacb1fbd8, headers=None json=None</msg>
<msg timestamp="20181014 02:27:55.524" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:55.525" starttime="20181014 02:27:55.519"></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 02:27:55.525" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:55.525" starttime="20181014 02:27:55.525"></status>
</kw>
<status status="PASS" endtime="20181014 02:27:55.526" starttime="20181014 02:27:55.518"></status>
</kw>
<status status="PASS" endtime="20181014 02:27:55.526" starttime="20181014 02:27:55.516"></status>
</kw>
<test id="s1-s2-s7-t1" name="Delete Network">
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${postNet}</arg>
</arguments>
<msg timestamp="20181014 02:27:55.527" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20181014 02:27:55.527" starttime="20181014 02:27:55.527"></status>
</kw>
<kw name="Delete Request" library="RequestsLibrary">
<doc>Send a DELETE 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 02:27:55.532" 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 02:27:56.906" level="INFO">Delete Request using : alias=OSSession, uri=/v2.0/networks/58faecb6-f55e-4cc1-96da-67daacb1fbd8, data=(),                     headers=None, allow_redirects=True </msg>
<msg timestamp="20181014 02:27:56.906" level="INFO">${resp} = &lt;Response [204]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:56.906" starttime="20181014 02:27:55.527"></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>204</arg>
</arguments>
<msg timestamp="20181014 02:27:56.907" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:56.907" starttime="20181014 02:27:56.906"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${resp.content}</arg>
</arguments>
<msg timestamp="20181014 02:27:56.908" level="INFO"></msg>
<status status="PASS" endtime="20181014 02:27:56.908" starttime="20181014 02:27:56.907"></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 02:27:58.908" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181014 02:27:58.908" starttime="20181014 02:27:56.908"></status>
</kw>
<doc>Delete network in OpenStack</doc>
<tags>
<tag>Delete Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:58.909" critical="yes" starttime="20181014 02:27:55.526"></status>
</test>
<test id="s1-s2-s7-t2" name="Check Network deleted">
<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 02:27:58.918" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks, headers=None json=None</msg>
<msg timestamp="20181014 02:27:58.918" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:58.918" starttime="20181014 02:27:58.914"></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 02:27:58.919" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:58.919" starttime="20181014 02:27:58.918"></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>${ODLResult}</var>
</assign>
<msg timestamp="20181014 02:27:58.920" level="INFO">To JSON using : content={
   "networks" : [ {
      "id" : "bd8db3a8-2b30-4083-a8b3-b3fd46401142",
      "tenant_id" : "bd8db3a82b304083a8b3b3fd46401142",
      "project_id" : "bd8db3a8-2b30-4083-a8b3-b3fd46401142",
      "name" : "Sync Canary Network",
      "admin_state_up" : false,
      "status" : "ACTIVE",
      "shared" : false,
      "router:external" : false,
      "provider:network_type" : "flat",
      "segments" : [ ]
   }, {
      "id" : "b405b19e-f90b-452e-a520-914161f32bc0",
      "tenant_id" : "220a6de3189847c89544ca31a001de27",
      "revision_number" : 2,
      "name" : "ext-net",
      "admin_state_up" : true,
      "status" : "ACTIVE",
      "shared" : false,
      "router:external" : true,
      "provider:network_type" : "flat",
      "provider:physical_network" : "physnet",
      "segments" : [ ]
   } ]
} </msg>
<msg timestamp="20181014 02:27:58.920" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181014 02:27:58.920" level="INFO">${ODLResult} = {u'networks': [{u'status': u'ACTIVE', u'router:external': False, u'name': u'Sync Canary Network', u'admin_state_up': False, u'tenant_id': u'bd8db3a82b304083a8b3b3fd46401142', u'segments': [], u'provid...</msg>
<status status="PASS" endtime="20181014 02:27:58.920" starttime="20181014 02:27:58.919"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181014 02:27:58.920" level="INFO">{u'networks': [{u'status': u'ACTIVE', u'router:external': False, u'name': u'Sync Canary Network', u'admin_state_up': False, u'tenant_id': u'bd8db3a82b304083a8b3b3fd46401142', u'segments': [], u'provider:network_type': u'flat', u'shared': False, u'project_id': u'bd8db3a8-2b30-4083-a8b3-b3fd46401142', u'id': u'bd8db3a8-2b30-4083-a8b3-b3fd46401142'}, {u'status': u'ACTIVE', u'router:external': True, u'name': u'ext-net', u'provider:physical_network': u'physnet', u'admin_state_up': True, u'tenant_id': u'220a6de3189847c89544ca31a001de27', u'segments': [], u'provider:network_type': u'flat', u'revision_number': 2, u'shared': False, u'id': u'b405b19e-f90b-452e-a520-914161f32bc0'}]}</msg>
<status status="PASS" endtime="20181014 02:27:58.920" starttime="20181014 02:27:58.920"></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}/${NETID}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20181014 02:27:58.926" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/58faecb6-f55e-4cc1-96da-67daacb1fbd8, headers=None json=None</msg>
<msg timestamp="20181014 02:27:58.926" level="INFO">${resp} = &lt;Response [404]&gt;</msg>
<status status="PASS" endtime="20181014 02:27:58.926" starttime="20181014 02:27:58.921"></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>404</arg>
</arguments>
<msg timestamp="20181014 02:27:58.927" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181014 02:27:58.927" starttime="20181014 02:27:58.926"></status>
</kw>
<doc>Check network deleted in OpenDaylight</doc>
<tags>
<tag>Check Network OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181014 02:27:58.927" critical="yes" starttime="20181014 02:27:58.910"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181014 02:27:58.928" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 02:27:58.929" starttime="20181014 02:27:58.928"></status>
</kw>
<doc>Checking Network deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="PASS" endtime="20181014 02:27:58.929" starttime="20181014 02:27:55.499"></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 02:27:58.933" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181014 02:27:58.933" starttime="20181014 02:27:58.933"></status>
</kw>
<status status="PASS" endtime="20181014 02:27:58.933" starttime="20181014 02:27:58.932"></status>
</kw>
<doc>Test suite for Neutron Plugin</doc>
<status status="PASS" endtime="20181014 02:27:58.933" starttime="20181014 02:27:38.386"></status>
</suite>
<status status="FAIL" endtime="20181014 02:27:58.940" starttime="20181014 02:27:37.588"></status>
</suite>
<statistics>
<total>
<stat fail="1" pass="21">Critical Tests</stat>
<stat fail="1" pass="21">All Tests</stat>
</total>
<tag>
<stat fail="0" pass="2">Check</stat>
<stat fail="0" pass="1">Check Network OpenDaylight</stat>
<stat fail="0" pass="1">Check port deleted OpenDaylight</stat>
<stat fail="0" pass="1">Check port OpenDaylight</stat>
<stat fail="0" pass="1">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="0" pass="1">Delete Network OpenStack Neutron</stat>
<stat fail="0" pass="1">Delete port OpenStack Neutron</stat>
<stat fail="0" pass="1">Delete Subnet OpenStack Neutron</stat>
<stat fail="0" pass="1">Network Neutron OpenDaylight</stat>
<stat fail="0" pass="1">Network Neutron OpenStack</stat>
<stat fail="0" pass="1">Network OpenDaylight</stat>
<stat fail="0" pass="1">Ports Neutron OpenDaylight</stat>
<stat fail="0" pass="1">Ports Neutron OpenStack</stat>
<stat fail="0" pass="3">reachability</stat>
<stat fail="0" pass="1">subnet OpenDaylight</stat>
<stat fail="0" pass="1">Subnets Neutron OpenDaylight</stat>
<stat fail="0" pass="1">Subnets Neutron OpenStack</stat>
</tag>
<suite>
<stat fail="1" id="s1" name="Basic &amp; Neutron" pass="21">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="0" id="s1-s2" name="Neutron" pass="21">Basic &amp; Neutron.Neutron</stat>
<stat fail="0" id="s1-s2-s1" name="Reachability" pass="3">Basic &amp; Neutron.Neutron.Reachability</stat>
<stat fail="0" id="s1-s2-s2" name="Networks" pass="4">Basic &amp; Neutron.Neutron.Networks</stat>
<stat fail="0" id="s1-s2-s3" name="Subnets" pass="4">Basic &amp; Neutron.Neutron.Subnets</stat>
<stat fail="0" id="s1-s2-s4" name="Ports" pass="4">Basic &amp; Neutron.Neutron.Ports</stat>
<stat fail="0" id="s1-s2-s5" name="Delete Ports" pass="2">Basic &amp; Neutron.Neutron.Delete Ports</stat>
<stat fail="0" id="s1-s2-s6" name="Delete Subnets" pass="2">Basic &amp; Neutron.Neutron.Delete Subnets</stat>
<stat fail="0" id="s1-s2-s7" name="Delete Networks" pass="2">Basic &amp; Neutron.Neutron.Delete Networks</stat>
</suite>
</statistics>
<errors>
<msg timestamp="20181014 02:27:38.448" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20181014 02:27:38.454" 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 02:27:38.995" 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 02:27:39.795" 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 02:27:42.220" 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 02:27:42.353" 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 02:27:45.056" 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 02:27:45.204" 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 02:27:48.477" 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 02:27:51.980" 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 02:27:55.532" 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>
