<?xml version="1.0" encoding="UTF-8"?>
<robot generated="20181013 23:48:22.439" 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="20181013 23:48:22.570" 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 0x7f851f6d83d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:22.570" starttime="20181013 23:48:22.569"></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="20181013 23:48:23.204" 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 0x7f851f61a510&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181013 23:48:23.205" starttime="20181013 23:48:22.571"></status>
</kw>
<doc>Get the restconf modules, check 200 status and ietf-restconf presence.</doc>
<status status="FAIL" endtime="20181013 23:48:23.205" critical="yes" starttime="20181013 23:48:22.571">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 0x7f851f61a510&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="20181013 23:48:23.206" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181013 23:48:23.206" starttime="20181013 23:48:23.206"></status>
</kw>
<doc>Test suite to verify Restconf is OK.</doc>
<status status="FAIL" endtime="20181013 23:48:23.206" starttime="20181013 23:48:22.474"></status>
</suite>
<status status="FAIL" endtime="20181013 23:48:23.208" starttime="20181013 23:48:22.472"></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="20181013 23:48:23.295" 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="20181013 23:48:23.295" starttime="20181013 23:48:23.294"></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="20181013 23:48:23.296" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20181013 23:48:23.304" 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="20181013 23:48:23.784" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:23.784" starttime="20181013 23:48:23.296"></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="20181013 23:48:23.785" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:23.785" starttime="20181013 23:48:23.784"></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="20181013 23:48:23.786" level="INFO">${TOKEN} = gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfSUE</msg>
<status status="PASS" endtime="20181013 23:48:23.786" starttime="20181013 23:48:23.785"></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="20181013 23:48:23.786" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfS...</msg>
<status status="PASS" endtime="20181013 23:48:23.786" starttime="20181013 23:48:23.786"></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="20181013 23:48:23.787" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfS...</msg>
<status status="PASS" endtime="20181013 23:48:23.787" starttime="20181013 23:48:23.787"></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="20181013 23:48:23.788" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfS...</msg>
<status status="PASS" endtime="20181013 23:48:23.788" starttime="20181013 23:48:23.787"></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="20181013 23:48:23.788" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfS...</msg>
<status status="PASS" endtime="20181013 23:48:23.788" starttime="20181013 23:48:23.788"></status>
</kw>
<status status="PASS" endtime="20181013 23:48:23.789" starttime="20181013 23:48:23.294"></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="20181013 23:48:23.805" 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 0x7f851f503e10&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:23.805" starttime="20181013 23:48:23.804"></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="20181013 23:48:23.831" level="INFO">Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/networks, headers=None json=None</msg>
<msg timestamp="20181013 23:48:23.831" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:23.831" starttime="20181013 23:48:23.806"></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="20181013 23:48:23.832" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:23.832" starttime="20181013 23:48:23.831"></status>
</kw>
<doc>Get the complete list of networks</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:23.832" critical="yes" starttime="20181013 23:48:23.806"></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="20181013 23:48:23.850" level="INFO">Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/subnets, headers=None json=None</msg>
<msg timestamp="20181013 23:48:23.850" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:23.850" starttime="20181013 23:48:23.833"></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="20181013 23:48:23.851" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:23.851" starttime="20181013 23:48:23.850"></status>
</kw>
<doc>Get the complete list of subnets</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:23.851" critical="yes" starttime="20181013 23:48:23.833"></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="20181013 23:48:23.860" level="INFO">Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/ports, headers=None json=None</msg>
<msg timestamp="20181013 23:48:23.860" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:23.860" starttime="20181013 23:48:23.852"></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="20181013 23:48:23.861" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:23.861" starttime="20181013 23:48:23.861"></status>
</kw>
<doc>Get the complete list of ports</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:23.861" critical="yes" starttime="20181013 23:48:23.851"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181013 23:48:23.862" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181013 23:48:23.862" starttime="20181013 23:48:23.862"></status>
</kw>
<status status="PASS" endtime="20181013 23:48:23.862" starttime="20181013 23:48:23.789"></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="20181013 23:48:23.881" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfSUE', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:23.882" starttime="20181013 23:48:23.881"></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="20181013 23:48:23.883" level="INFO">{u'X-Auth-Token': 'gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfSUE', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20181013 23:48:23.884" starttime="20181013 23:48:23.883"></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="20181013 23:48:23.889" 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="20181013 23:48:24.187" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/networks, headers=None json=None</msg>
<msg timestamp="20181013 23:48:24.187" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:24.188" starttime="20181013 23:48:23.884"></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="20181013 23:48:24.188" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:24.188" starttime="20181013 23:48:24.188"></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="20181013 23:48:24.189" level="INFO">To JSON using : content={"networks":[{"provider:physical_network":"physnet","ipv6_address_scope":null,"revision_number":2,"port_security_enabled":true,"mtu":1500,"id":"0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9","router:external":true,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"e905201434e94e108534e839c17610d2","status":"ACTIVE","subnets":["e2a91afd-9dc5-444d-bca1-39facf922810"],"description":"","tags":[],"updated_at":"2018-10-13T23:35:24Z","is_default":false,"provider:segmentation_id":null,"name":"ext-net","admin_state_up":true,"tenant_id":"e905201434e94e108534e839c17610d2","created_at":"2018-10-13T23:35:18Z","provider:network_type":"flat"}]} </msg>
<msg timestamp="20181013 23:48:24.189" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181013 23:48:24.189" level="INFO">${OSResult} = {u'networks': [{u'provider:physical_network': u'physnet', u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'0cd9e5d1-7b52-...</msg>
<status status="PASS" endtime="20181013 23:48:24.189" starttime="20181013 23:48:24.189"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20181013 23:48:24.190" level="INFO">{u'networks': [{u'provider:physical_network': u'physnet', u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9', 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'e905201434e94e108534e839c17610d2', u'status': u'ACTIVE', u'subnets': [u'e2a91afd-9dc5-444d-bca1-39facf922810'], u'description': u'', u'tags': [], u'updated_at': u'2018-10-13T23:35:24Z', u'is_default': False, u'provider:segmentation_id': None, u'name': u'ext-net', u'admin_state_up': True, u'tenant_id': u'e905201434e94e108534e839c17610d2', u'created_at': u'2018-10-13T23:35:18Z', u'mtu': 1500}]}</msg>
<status status="PASS" endtime="20181013 23:48:24.190" starttime="20181013 23:48:24.190"></status>
</kw>
<doc>Checking OpenStack Neutron for known networks</doc>
<tags>
<tag>Network Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:24.190" critical="yes" starttime="20181013 23:48:23.882"></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="20181013 23:48:24.192" 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 0x7f851f4f9990&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:24.193" starttime="20181013 23:48:24.191"></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="20181013 23:48:24.201" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks, headers=None json=None</msg>
<msg timestamp="20181013 23:48:24.201" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:24.201" starttime="20181013 23:48:24.193"></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="20181013 23:48:24.202" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:24.202" starttime="20181013 23:48:24.201"></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="20181013 23:48:24.202" 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" : "0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9",
      "tenant_id" : "e905201434e94e108534e839c17610d2",
      "project_id" : "e905201434e94e108534e839c17610d2",
      "revision_number" : 1,
      "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="20181013 23:48:24.203" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181013 23:48:24.203" 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="20181013 23:48:24.203" starttime="20181013 23:48:24.202"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181013 23:48:24.203" 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'e905201434e94e108534e839c17610d2', u'segments': [], u'provider:network_type': u'flat', u'revision_number': 1, u'shared': False, u'project_id': u'e905201434e94e108534e839c17610d2', u'id': u'0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9'}]}</msg>
<status status="PASS" endtime="20181013 23:48:24.203" starttime="20181013 23:48:24.203"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known networks</doc>
<tags>
<tag>Network Neutron OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:24.204" critical="yes" starttime="20181013 23:48:24.190"></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="20181013 23:48:24.205" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20181013 23:48:24.205" starttime="20181013 23:48:24.205"></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="20181013 23:48:24.207" 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="20181013 23:48:24.603" 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="20181013 23:48:24.603" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:24.603" starttime="20181013 23:48:24.205"></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="20181013 23:48:24.604" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:24.604" starttime="20181013 23:48:24.603"></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="20181013 23:48:24.605" 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":"dc6c198a-05b4-484e-bcb2-323f00c10fcf","router:external":false,"availability_zone_hints":[],"availability_zones":[],"ipv4_address_scope":null,"shared":false,"project_id":"e905201434e94e108534e839c17610d2","status":"ACTIVE","subnets":[],"description":"","tags":[],"updated_at":"2018-10-13T23:48:24Z","is_default":false,"provider:segmentation_id":78,"name":"odl_network","admin_state_up":true,"tenant_id":"e905201434e94e108534e839c17610d2","created_at":"2018-10-13T23:48:24Z","mtu":1450}} </msg>
<msg timestamp="20181013 23:48:24.605" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181013 23:48:24.605" 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'dc6c198a-05b4-484e-bcb2-323f00c10fcf', u'ro...</msg>
<status status="PASS" endtime="20181013 23:48:24.605" starttime="20181013 23:48:24.604"></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="20181013 23:48:24.606" 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'dc6c198a-05b4-484e-bcb2-323f00c10fcf', u'router:external...</msg>
<status status="PASS" endtime="20181013 23:48:24.606" starttime="20181013 23:48:24.605"></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="20181013 23:48:24.606" level="INFO">${NETID} = dc6c198a-05b4-484e-bcb2-323f00c10fcf</msg>
<status status="PASS" endtime="20181013 23:48:24.606" starttime="20181013 23:48:24.606"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20181013 23:48:24.607" 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'dc6c198a-05b4-484e-bcb2-323f00c10fcf', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'e905201434e94e108534e839c17610d2', u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'tags': [], u'updated_at': u'2018-10-13T23:48:24Z', u'is_default': False, u'provider:segmentation_id': 78, u'name': u'odl_network', u'admin_state_up': True, u'tenant_id': u'e905201434e94e108534e839c17610d2', u'created_at': u'2018-10-13T23:48:24Z', u'provider:network_type': u'vxlan'}</msg>
<status status="PASS" endtime="20181013 23:48:24.607" starttime="20181013 23:48:24.606"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${NETID}</arg>
</arguments>
<msg timestamp="20181013 23:48:24.607" level="INFO">dc6c198a-05b4-484e-bcb2-323f00c10fcf</msg>
<status status="PASS" endtime="20181013 23:48:24.607" starttime="20181013 23:48:24.607"></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="20181013 23:48:24.608" level="INFO">${NETID} = dc6c198a-05b4-484e-bcb2-323f00c10fcf</msg>
<status status="PASS" endtime="20181013 23:48:24.608" starttime="20181013 23:48:24.608"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181013 23:48:26.609" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181013 23:48:26.609" starttime="20181013 23:48:24.608"></status>
</kw>
<doc>Create new network in OpenStack</doc>
<tags>
<tag>Create Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:26.609" critical="yes" starttime="20181013 23:48:24.204"></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="20181013 23:48:26.618" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/dc6c198a-05b4-484e-bcb2-323f00c10fcf, headers=None json=None</msg>
<msg timestamp="20181013 23:48:26.618" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:26.618" starttime="20181013 23:48:26.611"></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="20181013 23:48:26.620" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:26.620" starttime="20181013 23:48:26.619"></status>
</kw>
<doc>Check network created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>Network OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:26.620" critical="yes" starttime="20181013 23:48:26.610"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181013 23:48:26.621" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181013 23:48:26.621" starttime="20181013 23:48:26.621"></status>
</kw>
<doc>Checking Network created in OpenStack are pushed to OpenDaylight</doc>
<status status="PASS" endtime="20181013 23:48:26.621" starttime="20181013 23:48:23.863"></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="20181013 23:48:26.643" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfSUE', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:26.644" starttime="20181013 23:48:26.643"></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="20181013 23:48:26.645" level="INFO">{u'X-Auth-Token': 'gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfSUE', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20181013 23:48:26.645" starttime="20181013 23:48:26.645"></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="20181013 23:48:26.650" 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="20181013 23:48:26.729" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/subnets, headers=None json=None</msg>
<msg timestamp="20181013 23:48:26.729" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:26.729" starttime="20181013 23:48:26.645"></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="20181013 23:48:26.730" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:26.730" starttime="20181013 23:48:26.730"></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="20181013 23:48:26.731" level="INFO">To JSON using : content={"subnets":[{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9","tenant_id":"e905201434e94e108534e839c17610d2","created_at":"2018-10-13T23:35:24Z","dns_nameservers":[],"updated_at":"2018-10-13T23:35:24Z","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":"e905201434e94e108534e839c17610d2","id":"e2a91afd-9dc5-444d-bca1-39facf922810","subnetpool_id":null,"name":"ext-subnet"}]} </msg>
<msg timestamp="20181013 23:48:26.731" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181013 23:48:26.731" level="INFO">${OSResult} = {u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9', u'tenant_id': u'e905201434e94e1...</msg>
<status status="PASS" endtime="20181013 23:48:26.731" starttime="20181013 23:48:26.731"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20181013 23:48:26.732" level="INFO">{u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9', u'tenant_id': u'e905201434e94e108534e839c17610d2', u'created_at': u'2018-10-13T23:35:24Z', u'dns_nameservers': [], u'updated_at': u'2018-10-13T23:35:24Z', 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'e905201434e94e108534e839c17610d2', u'id': u'e2a91afd-9dc5-444d-bca1-39facf922810', u'subnetpool_id': None, u'name': u'ext-subnet'}]}</msg>
<status status="PASS" endtime="20181013 23:48:26.732" starttime="20181013 23:48:26.731"></status>
</kw>
<doc>Checking OpenStack Neutron for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:26.732" critical="yes" starttime="20181013 23:48:26.644"></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="20181013 23:48:26.734" 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 0x7f851f4b7290&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:26.734" starttime="20181013 23:48:26.733"></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="20181013 23:48:26.751" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets, headers=None json=None</msg>
<msg timestamp="20181013 23:48:26.752" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:26.752" starttime="20181013 23:48:26.735"></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="20181013 23:48:26.752" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:26.753" starttime="20181013 23:48:26.752"></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="20181013 23:48:26.753" level="INFO">To JSON using : content={
   "subnets" : [ {
      "id" : "e2a91afd-9dc5-444d-bca1-39facf922810",
      "tenant_id" : "e905201434e94e108534e839c17610d2",
      "project_id" : "e905201434e94e108534e839c17610d2",
      "revision_number" : 0,
      "name" : "ext-subnet",
      "network_id" : "0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9",
      "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="20181013 23:48:26.753" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181013 23:48:26.753" level="INFO">${ODLResult} = {u'subnets': [{u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9', u'tenant_id': u'e905201434e94e108534e839c17610d2', u'dns_nameservers': [], u'ipv6_r...</msg>
<status status="PASS" endtime="20181013 23:48:26.753" starttime="20181013 23:48:26.753"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181013 23:48:26.754" level="INFO">{u'subnets': [{u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9', u'tenant_id': u'e905201434e94e108534e839c17610d2', 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'e905201434e94e108534e839c17610d2', u'id': u'e2a91afd-9dc5-444d-bca1-39facf922810'}]}</msg>
<status status="PASS" endtime="20181013 23:48:26.754" starttime="20181013 23:48:26.754"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:26.754" critical="yes" starttime="20181013 23:48:26.732"></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="20181013 23:48:26.756" level="INFO">{"subnet":{"network_id":"dc6c198a-05b4-484e-bcb2-323f00c10fcf","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="20181013 23:48:26.756" starttime="20181013 23:48:26.755"></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="20181013 23:48:26.759" 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="20181013 23:48:27.278" 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="20181013 23:48:27.278" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:27.278" starttime="20181013 23:48:26.756"></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="20181013 23:48:27.279" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:27.280" starttime="20181013 23:48:27.279"></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="20181013 23:48:27.281" level="INFO">To JSON using : content={"subnet":{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"dc6c198a-05b4-484e-bcb2-323f00c10fcf","tenant_id":"e905201434e94e108534e839c17610d2","created_at":"2018-10-13T23:48:26Z","dns_nameservers":[],"updated_at":"2018-10-13T23:48:26Z","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":"e905201434e94e108534e839c17610d2","id":"26ed6872-7fcb-4ce1-97e8-af58580dcb35","subnetpool_id":null,"name":""}} </msg>
<msg timestamp="20181013 23:48:27.281" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181013 23:48:27.281" level="INFO">${result} = {u'subnet': {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'dc6c198a-05b4-484e-bcb2-323f00c10fcf', u'tenant_id': u'e905201434e94e108534e839c17610d2', u'...</msg>
<status status="PASS" endtime="20181013 23:48:27.281" starttime="20181013 23:48:27.280"></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="20181013 23:48:27.282" level="INFO">${result} = {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'dc6c198a-05b4-484e-bcb2-323f00c10fcf', u'tenant_id': u'e905201434e94e108534e839c17610d2', u'created_at':...</msg>
<status status="PASS" endtime="20181013 23:48:27.282" starttime="20181013 23:48:27.281"></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="20181013 23:48:27.283" level="INFO">${SUBNETID} = 26ed6872-7fcb-4ce1-97e8-af58580dcb35</msg>
<status status="PASS" endtime="20181013 23:48:27.283" starttime="20181013 23:48:27.283"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20181013 23:48:27.284" level="INFO">{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'dc6c198a-05b4-484e-bcb2-323f00c10fcf', u'tenant_id': u'e905201434e94e108534e839c17610d2', u'created_at': u'2018-10-13T23:48:26Z', u'dns_nameservers': [], u'updated_at': u'2018-10-13T23:48:26Z', 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'e905201434e94e108534e839c17610d2', u'id': u'26ed6872-7fcb-4ce1-97e8-af58580dcb35', u'subnetpool_id': None, u'name': u''}</msg>
<status status="PASS" endtime="20181013 23:48:27.284" starttime="20181013 23:48:27.284"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${SUBNETID}</arg>
</arguments>
<msg timestamp="20181013 23:48:27.285" level="INFO">26ed6872-7fcb-4ce1-97e8-af58580dcb35</msg>
<status status="PASS" endtime="20181013 23:48:27.285" starttime="20181013 23:48:27.285"></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="20181013 23:48:27.286" level="INFO">${SUBNETID} = 26ed6872-7fcb-4ce1-97e8-af58580dcb35</msg>
<status status="PASS" endtime="20181013 23:48:27.286" starttime="20181013 23:48:27.285"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181013 23:48:29.287" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181013 23:48:29.287" starttime="20181013 23:48:27.286"></status>
</kw>
<doc>Create new subnet in OpenStack</doc>
<tags>
<tag>Create Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:29.287" critical="yes" starttime="20181013 23:48:26.755"></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="20181013 23:48:29.294" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/26ed6872-7fcb-4ce1-97e8-af58580dcb35, headers=None json=None</msg>
<msg timestamp="20181013 23:48:29.295" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:29.295" starttime="20181013 23:48:29.288"></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="20181013 23:48:29.295" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:29.296" starttime="20181013 23:48:29.295"></status>
</kw>
<doc>Check new subnet created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>subnet OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:29.296" critical="yes" starttime="20181013 23:48:29.288"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181013 23:48:29.297" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181013 23:48:29.297" starttime="20181013 23:48:29.296"></status>
</kw>
<doc>Checking Subnets created in OpenStack are pushed to OpenDaylight</doc>
<status status="PASS" endtime="20181013 23:48:29.297" starttime="20181013 23:48:26.623"></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="20181013 23:48:29.315" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfSUE', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:29.316" starttime="20181013 23:48:29.315"></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="20181013 23:48:29.317" level="INFO">{u'X-Auth-Token': 'gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfSUE', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20181013 23:48:29.317" starttime="20181013 23:48:29.317"></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="20181013 23:48:29.322" 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="20181013 23:48:29.414" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/ports, headers=None json=None</msg>
<msg timestamp="20181013 23:48:29.414" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:29.414" starttime="20181013 23:48:29.317"></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="20181013 23:48:29.415" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:29.415" starttime="20181013 23:48:29.414"></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="20181013 23:48:29.415" level="INFO">To JSON using : content={"ports":[{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-13T23:48:28Z","device_owner":"network:dhcp","revision_number":2,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"26ed6872-7fcb-4ce1-97e8-af58580dcb35","ip_address":"172.16.64.20"}],"id":"709d8924-30d4-4595-881a-701676df8894","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"dc56362b-8c9c-445f-bc3e-26004a2b75a1","host_addresses":["host1"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:8f:ca:71","project_id":"e905201434e94e108534e839c17610d2","status":"DOWN","binding:host_id":"host1","description":"","tags":[],"device_id":"dhcp540ba512-ba2e-5213-b381-56c767787d41-dc6c198a-05b4-484e-bcb2-323f00c10fcf","name":"","admin_state_up":true,"network_id":"dc6c198a-05b4-484e-bcb2-323f00c10fcf","tenant_id":"e905201434e94e108534e839c17610d2","created_at":"2018-10-13T23:48:27Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-13T23:35:33Z","device_owner":"network:dhcp","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"e2a91afd-9dc5-444d-bca1-39facf922810","ip_address":"192.16.1.101"}],"id":"c5801747-7392-49d3-a916-90d0e51b136b","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"dc56362b-8c9c-445f-bc3e-26004a2b75a1","host_addresses":["host1"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:3c:5d:34","project_id":"e905201434e94e108534e839c17610d2","status":"ACTIVE","binding:host_id":"host1","description":"","tags":[],"device_id":"dhcp540ba512-ba2e-5213-b381-56c767787d41-0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9","name":"","admin_state_up":true,"network_id":"0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9","tenant_id":"e905201434e94e108534e839c17610d2","created_at":"2018-10-13T23:35:25Z","binding:vnic_type":"normal"}]} </msg>
<msg timestamp="20181013 23:48:29.415" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181013 23:48:29.416" level="INFO">${OSResult} = {u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-13T23:48:28Z', u'device_owner': u'network:dhcp', u'revision_number': 2, u'port_security_enabled': False, u'b...</msg>
<status status="PASS" endtime="20181013 23:48:29.416" starttime="20181013 23:48:29.415"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20181013 23:48:29.416" level="INFO">{u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-13T23:48:28Z', 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'26ed6872-7fcb-4ce1-97e8-af58580dcb35', u'ip_address': u'172.16.64.20'}], u'id': u'709d8924-30d4-4595-881a-701676df8894', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'dc56362b-8c9c-445f-bc3e-26004a2b75a1', u'host_addresses': [u'host1']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:8f:ca:71', u'project_id': u'e905201434e94e108534e839c17610d2', u'status': u'DOWN', u'binding:host_id': u'host1', u'description': u'', u'tags': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-dc6c198a-05b4-484e-bcb2-323f00c10fcf', u'name': u'', u'admin_state_up': True, u'network_id': u'dc6c198a-05b4-484e-bcb2-323f00c10fcf', u'tenant_id': u'e905201434e94e108534e839c17610d2', u'created_at': u'2018-10-13T23:48:27Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-13T23:35:33Z', 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'e2a91afd-9dc5-444d-bca1-39facf922810', u'ip_address': u'192.16.1.101'}], u'id': u'c5801747-7392-49d3-a916-90d0e51b136b', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'dc56362b-8c9c-445f-bc3e-26004a2b75a1', u'host_addresses': [u'host1']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:3c:5d:34', u'project_id': u'e905201434e94e108534e839c17610d2', u'status': u'ACTIVE', u'binding:host_id': u'host1', u'description': u'', u'tags': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9', u'name': u'', u'admin_state_up': True, u'network_id': u'0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9', u'tenant_id': u'e905201434e94e108534e839c17610d2', u'created_at': u'2018-10-13T23:35:25Z', u'binding:vnic_type': u'normal'}]}</msg>
<status status="PASS" endtime="20181013 23:48:29.416" starttime="20181013 23:48:29.416"></status>
</kw>
<doc>Checking OpenStack Neutron for known ports</doc>
<tags>
<tag>Ports Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:29.416" critical="yes" starttime="20181013 23:48:29.316"></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="20181013 23:48:29.418" 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 0x7f851f5036d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:29.418" starttime="20181013 23:48:29.417"></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="20181013 23:48:29.431" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports, headers=None json=None</msg>
<msg timestamp="20181013 23:48:29.431" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:29.431" starttime="20181013 23:48:29.419"></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="20181013 23:48:29.432" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:29.432" starttime="20181013 23:48:29.431"></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="20181013 23:48:29.432" level="INFO">To JSON using : content={
   "ports" : [ {
      "id" : "709d8924-30d4-4595-881a-701676df8894",
      "tenant_id" : "e905201434e94e108534e839c17610d2",
      "revision_number" : 1,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "dc6c198a-05b4-484e-bcb2-323f00c10fcf",
      "mac_address" : "fa:16:3e:8f:ca:71",
      "fixed_ips" : [ {
         "ip_address" : "172.16.64.20",
         "subnet_id" : "26ed6872-7fcb-4ce1-97e8-af58580dcb35"
      } ],
      "device_id" : "dhcp540ba512-ba2e-5213-b381-56c767787d41-dc6c198a-05b4-484e-bcb2-323f00c10fcf",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host1",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "dc56362b-8c9c-445f-bc3e-26004a2b75a1",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   }, {
      "id" : "c5801747-7392-49d3-a916-90d0e51b136b",
      "tenant_id" : "e905201434e94e108534e839c17610d2",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9",
      "mac_address" : "fa:16:3e:3c:5d:34",
      "fixed_ips" : [ {
         "ip_address" : "192.16.1.101",
         "subnet_id" : "e2a91afd-9dc5-444d-bca1-39facf922810"
      } ],
      "device_id" : "dhcp540ba512-ba2e-5213-b381-56c767787d41-0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host1",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "dc56362b-8c9c-445f-bc3e-26004a2b75a1",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   } ]
} </msg>
<msg timestamp="20181013 23:48:29.432" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181013 23:48:29.433" level="INFO">${ODLResult} = {u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'dc56362b-8c9c-445f-bc3e-26004a2b75a1'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_a...</msg>
<status status="PASS" endtime="20181013 23:48:29.433" starttime="20181013 23:48:29.432"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181013 23:48:29.433" level="INFO">{u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'dc56362b-8c9c-445f-bc3e-26004a2b75a1'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'dc6c198a-05b4-484e-bcb2-323f00c10fcf', u'tenant_id': u'e905201434e94e108534e839c17610d2', 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:8f:ca:71', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'26ed6872-7fcb-4ce1-97e8-af58580dcb35', u'ip_address': u'172.16.64.20'}], u'id': u'709d8924-30d4-4595-881a-701676df8894', u'security_groups': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-dc6c198a-05b4-484e-bcb2-323f00c10fcf'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'dc56362b-8c9c-445f-bc3e-26004a2b75a1'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9', u'tenant_id': u'e905201434e94e108534e839c17610d2', 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:3c:5d:34', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'e2a91afd-9dc5-444d-bca1-39facf922810', u'ip_address': u'192.16.1.101'}], u'id': u'c5801747-7392-49d3-a916-90d0e51b136b', u'security_groups': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9'}]}</msg>
<status status="PASS" endtime="20181013 23:48:29.433" starttime="20181013 23:48:29.433"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known ports</doc>
<tags>
<tag>Ports Neutron OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:29.433" critical="yes" starttime="20181013 23:48:29.417"></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="20181013 23:48:29.435" level="INFO">{"port":{"network_id":"dc6c198a-05b4-484e-bcb2-323f00c10fcf","admin_state_up": true}}</msg>
<status status="PASS" endtime="20181013 23:48:29.435" starttime="20181013 23:48:29.434"></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="20181013 23:48:29.436" 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="20181013 23:48:30.695" 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="20181013 23:48:30.695" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:30.695" starttime="20181013 23:48:29.435"></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="20181013 23:48:30.696" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:30.696" starttime="20181013 23:48:30.695"></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="20181013 23:48:30.697" level="INFO">To JSON using : content={"port":{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-13T23:48:29Z","device_owner":"","revision_number":1,"binding:profile":{},"port_security_enabled":true,"fixed_ips":[{"subnet_id":"26ed6872-7fcb-4ce1-97e8-af58580dcb35","ip_address":"172.16.64.39"}],"id":"3c9d3896-5f70-4b0b-9e86-2fc0d0ce5c29","security_groups":["f32d2d54-4ad4-43c6-a5b8-1c6de4f996ba"],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:68:db:6e","project_id":"e905201434e94e108534e839c17610d2","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"","name":"","admin_state_up":true,"network_id":"dc6c198a-05b4-484e-bcb2-323f00c10fcf","tenant_id":"e905201434e94e108534e839c17610d2","created_at":"2018-10-13T23:48:29Z","binding:vnic_type":"normal"}} </msg>
<msg timestamp="20181013 23:48:30.697" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181013 23:48:30.697" level="INFO">${result} = {u'port': {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-13T23:48:29Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': ...</msg>
<status status="PASS" endtime="20181013 23:48:30.697" starttime="20181013 23:48:30.696"></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="20181013 23:48:30.698" level="INFO">${result} = {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-13T23:48:29Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fi...</msg>
<status status="PASS" endtime="20181013 23:48:30.698" starttime="20181013 23:48:30.697"></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="20181013 23:48:30.699" level="INFO">${PORTID} = 3c9d3896-5f70-4b0b-9e86-2fc0d0ce5c29</msg>
<status status="PASS" endtime="20181013 23:48:30.699" starttime="20181013 23:48:30.698"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20181013 23:48:30.699" level="INFO">{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-13T23:48:29Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fixed_ips': [{u'subnet_id': u'26ed6872-7fcb-4ce1-97e8-af58580dcb35', u'ip_address': u'172.16.64.39'}], u'id': u'3c9d3896-5f70-4b0b-9e86-2fc0d0ce5c29', u'security_groups': [u'f32d2d54-4ad4-43c6-a5b8-1c6de4f996ba'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:68:db:6e', u'project_id': u'e905201434e94e108534e839c17610d2', 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'dc6c198a-05b4-484e-bcb2-323f00c10fcf', u'tenant_id': u'e905201434e94e108534e839c17610d2', u'created_at': u'2018-10-13T23:48:29Z', u'binding:vnic_type': u'normal'}</msg>
<status status="PASS" endtime="20181013 23:48:30.699" starttime="20181013 23:48:30.699"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${PORTID}</arg>
</arguments>
<msg timestamp="20181013 23:48:30.700" level="INFO">3c9d3896-5f70-4b0b-9e86-2fc0d0ce5c29</msg>
<status status="PASS" endtime="20181013 23:48:30.700" starttime="20181013 23:48:30.700"></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="20181013 23:48:30.700" level="INFO">${PORTID} = 3c9d3896-5f70-4b0b-9e86-2fc0d0ce5c29</msg>
<status status="PASS" endtime="20181013 23:48:30.701" starttime="20181013 23:48:30.700"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181013 23:48:32.701" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181013 23:48:32.702" starttime="20181013 23:48:30.701"></status>
</kw>
<doc>Create new port in OpenStack</doc>
<tags>
<tag>Create port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:32.702" critical="yes" starttime="20181013 23:48:29.434"></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="20181013 23:48:32.727" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/3c9d3896-5f70-4b0b-9e86-2fc0d0ce5c29, headers=None json=None</msg>
<msg timestamp="20181013 23:48:32.727" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:32.727" starttime="20181013 23:48:32.703"></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="20181013 23:48:32.728" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:32.728" starttime="20181013 23:48:32.727"></status>
</kw>
<doc>Check new port created in OpenDaylight</doc>
<tags>
<tag>Check port OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:32.728" critical="yes" starttime="20181013 23:48:32.702"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181013 23:48:32.729" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181013 23:48:32.729" starttime="20181013 23:48:32.729"></status>
</kw>
<doc>Checking Port created in OpenStack are pushed to OpenDaylight</doc>
<status status="PASS" endtime="20181013 23:48:32.729" starttime="20181013 23:48:29.299"></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="20181013 23:48:32.749" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfSUE'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:32.749" starttime="20181013 23:48:32.748"></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="20181013 23:48:32.750" 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 0x7f851f479d50&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:32.750" starttime="20181013 23:48:32.749"></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="20181013 23:48:32.763" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/3c9d3896-5f70-4b0b-9e86-2fc0d0ce5c29, headers=None json=None</msg>
<msg timestamp="20181013 23:48:32.763" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:32.763" starttime="20181013 23:48:32.751"></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="20181013 23:48:32.764" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:32.764" starttime="20181013 23:48:32.763"></status>
</kw>
<status status="PASS" endtime="20181013 23:48:32.764" starttime="20181013 23:48:32.750"></status>
</kw>
<status status="PASS" endtime="20181013 23:48:32.765" starttime="20181013 23:48:32.748"></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="20181013 23:48:32.766" level="INFO">{"port":{"network_id":"dc6c198a-05b4-484e-bcb2-323f00c10fcf","admin_state_up": true}}</msg>
<status status="PASS" endtime="20181013 23:48:32.766" starttime="20181013 23:48:32.765"></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="20181013 23:48:32.770" 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="20181013 23:48:33.597" level="INFO">Delete Request using : alias=OSSession, uri=/v2.0/ports/3c9d3896-5f70-4b0b-9e86-2fc0d0ce5c29, data=(),                     headers=None, allow_redirects=True </msg>
<msg timestamp="20181013 23:48:33.598" level="INFO">${resp} = &lt;Response [204]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:33.598" starttime="20181013 23:48:32.766"></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="20181013 23:48:33.598" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:33.599" starttime="20181013 23:48:33.598"></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="20181013 23:48:33.599" level="INFO"></msg>
<status status="PASS" endtime="20181013 23:48:33.599" starttime="20181013 23:48:33.599"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181013 23:48:35.600" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181013 23:48:35.600" starttime="20181013 23:48:33.599"></status>
</kw>
<doc>Delete previously created port in OpenStack</doc>
<tags>
<tag>Delete port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:35.600" critical="yes" starttime="20181013 23:48:32.765"></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="20181013 23:48:35.616" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports, headers=None json=None</msg>
<msg timestamp="20181013 23:48:35.616" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:35.616" starttime="20181013 23:48:35.601"></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="20181013 23:48:35.617" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:35.617" starttime="20181013 23:48:35.616"></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="20181013 23:48:35.618" level="INFO">To JSON using : content={
   "ports" : [ {
      "id" : "709d8924-30d4-4595-881a-701676df8894",
      "tenant_id" : "e905201434e94e108534e839c17610d2",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "dc6c198a-05b4-484e-bcb2-323f00c10fcf",
      "mac_address" : "fa:16:3e:8f:ca:71",
      "fixed_ips" : [ {
         "ip_address" : "172.16.64.20",
         "subnet_id" : "26ed6872-7fcb-4ce1-97e8-af58580dcb35"
      } ],
      "device_id" : "dhcp540ba512-ba2e-5213-b381-56c767787d41-dc6c198a-05b4-484e-bcb2-323f00c10fcf",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host1",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "dc56362b-8c9c-445f-bc3e-26004a2b75a1",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   }, {
      "id" : "c5801747-7392-49d3-a916-90d0e51b136b",
      "tenant_id" : "e905201434e94e108534e839c17610d2",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9",
      "mac_address" : "fa:16:3e:3c:5d:34",
      "fixed_ips" : [ {
         "ip_address" : "192.16.1.101",
         "subnet_id" : "e2a91afd-9dc5-444d-bca1-39facf922810"
      } ],
      "device_id" : "dhcp540ba512-ba2e-5213-b381-56c767787d41-0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host1",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "dc56362b-8c9c-445f-bc3e-26004a2b75a1",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   } ]
} </msg>
<msg timestamp="20181013 23:48:35.618" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181013 23:48:35.618" level="INFO">${ODLResult} = {u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'dc56362b-8c9c-445f-bc3e-26004a2b75a1'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_a...</msg>
<status status="PASS" endtime="20181013 23:48:35.618" starttime="20181013 23:48:35.617"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181013 23:48:35.619" level="INFO">{u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'dc56362b-8c9c-445f-bc3e-26004a2b75a1'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'dc6c198a-05b4-484e-bcb2-323f00c10fcf', u'tenant_id': u'e905201434e94e108534e839c17610d2', 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:8f:ca:71', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'26ed6872-7fcb-4ce1-97e8-af58580dcb35', u'ip_address': u'172.16.64.20'}], u'id': u'709d8924-30d4-4595-881a-701676df8894', u'security_groups': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-dc6c198a-05b4-484e-bcb2-323f00c10fcf'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'dc56362b-8c9c-445f-bc3e-26004a2b75a1'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9', u'tenant_id': u'e905201434e94e108534e839c17610d2', 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:3c:5d:34', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'e2a91afd-9dc5-444d-bca1-39facf922810', u'ip_address': u'192.16.1.101'}], u'id': u'c5801747-7392-49d3-a916-90d0e51b136b', u'security_groups': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9'}]}</msg>
<status status="PASS" endtime="20181013 23:48:35.619" starttime="20181013 23:48:35.618"></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="20181013 23:48:35.624" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/3c9d3896-5f70-4b0b-9e86-2fc0d0ce5c29, headers=None json=None</msg>
<msg timestamp="20181013 23:48:35.625" level="INFO">${resp} = &lt;Response [404]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:35.625" starttime="20181013 23:48:35.619"></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="20181013 23:48:35.625" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:35.626" starttime="20181013 23:48:35.625"></status>
</kw>
<doc>Check port deleted in OpenDaylight</doc>
<tags>
<tag>Check port deleted OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:35.626" critical="yes" starttime="20181013 23:48:35.601"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181013 23:48:35.627" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181013 23:48:35.627" starttime="20181013 23:48:35.627"></status>
</kw>
<doc>Checking Port deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="PASS" endtime="20181013 23:48:35.627" starttime="20181013 23:48:32.731"></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="20181013 23:48:35.647" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfSUE'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:35.648" starttime="20181013 23:48:35.647"></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="20181013 23:48:35.649" 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 0x7f851f4b7f50&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:35.649" starttime="20181013 23:48:35.648"></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="20181013 23:48:35.659" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/26ed6872-7fcb-4ce1-97e8-af58580dcb35, headers=None json=None</msg>
<msg timestamp="20181013 23:48:35.659" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:35.659" starttime="20181013 23:48:35.650"></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="20181013 23:48:35.660" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:35.660" starttime="20181013 23:48:35.660"></status>
</kw>
<status status="PASS" endtime="20181013 23:48:35.660" starttime="20181013 23:48:35.649"></status>
</kw>
<status status="PASS" endtime="20181013 23:48:35.661" starttime="20181013 23:48:35.647"></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="20181013 23:48:35.662" level="INFO">{"subnet":{"network_id":"dc6c198a-05b4-484e-bcb2-323f00c10fcf","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="20181013 23:48:35.662" starttime="20181013 23:48:35.661"></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="20181013 23:48:35.667" 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="20181013 23:48:37.032" level="INFO">Delete Request using : alias=OSSession, uri=/v2.0/subnets/26ed6872-7fcb-4ce1-97e8-af58580dcb35, data=(),                     headers=None, allow_redirects=True </msg>
<msg timestamp="20181013 23:48:37.032" level="INFO">${resp} = &lt;Response [204]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:37.032" starttime="20181013 23:48:35.662"></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="20181013 23:48:37.033" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:37.033" starttime="20181013 23:48:37.032"></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="20181013 23:48:37.033" level="INFO"></msg>
<status status="PASS" endtime="20181013 23:48:37.034" starttime="20181013 23:48:37.033"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181013 23:48:39.034" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181013 23:48:39.034" starttime="20181013 23:48:37.034"></status>
</kw>
<doc>Delete previously created subnet in OpenStack</doc>
<tags>
<tag>Delete Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:39.035" critical="yes" starttime="20181013 23:48:35.661"></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="20181013 23:48:39.052" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets, headers=None json=None</msg>
<msg timestamp="20181013 23:48:39.052" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:39.052" starttime="20181013 23:48:39.036"></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="20181013 23:48:39.053" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:39.053" starttime="20181013 23:48:39.052"></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="20181013 23:48:39.053" level="INFO">To JSON using : content={
   "subnets" : [ {
      "id" : "e2a91afd-9dc5-444d-bca1-39facf922810",
      "tenant_id" : "e905201434e94e108534e839c17610d2",
      "project_id" : "e905201434e94e108534e839c17610d2",
      "revision_number" : 0,
      "name" : "ext-subnet",
      "network_id" : "0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9",
      "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="20181013 23:48:39.054" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181013 23:48:39.054" level="INFO">${ODLResult} = {u'subnets': [{u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9', u'tenant_id': u'e905201434e94e108534e839c17610d2', u'dns_nameservers': [], u'ipv6_r...</msg>
<status status="PASS" endtime="20181013 23:48:39.054" starttime="20181013 23:48:39.053"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181013 23:48:39.054" level="INFO">{u'subnets': [{u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9', u'tenant_id': u'e905201434e94e108534e839c17610d2', 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'e905201434e94e108534e839c17610d2', u'id': u'e2a91afd-9dc5-444d-bca1-39facf922810'}]}</msg>
<status status="PASS" endtime="20181013 23:48:39.054" starttime="20181013 23:48:39.054"></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="20181013 23:48:39.062" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/26ed6872-7fcb-4ce1-97e8-af58580dcb35, headers=None json=None</msg>
<msg timestamp="20181013 23:48:39.063" level="INFO">${resp} = &lt;Response [404]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:39.063" starttime="20181013 23:48:39.055"></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="20181013 23:48:39.063" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:39.064" starttime="20181013 23:48:39.063"></status>
</kw>
<doc>Check subnet deleted in OpenDaylight</doc>
<tags>
<tag>Check subnet deleted OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:39.064" critical="yes" starttime="20181013 23:48:39.035"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181013 23:48:39.065" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181013 23:48:39.065" starttime="20181013 23:48:39.064"></status>
</kw>
<doc>Checking Subnets deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="PASS" endtime="20181013 23:48:39.065" starttime="20181013 23:48:35.629"></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="20181013 23:48:39.083" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbwoRHtNreDmeMYfcSTc1xkCZBqOTaL8npWoL13BkwNXsC_Z-KArZGGUobCPO3zW6yXhp0GaNbq-YMwBZaZbZjYzZD0UE9SaUSp8d_gH8Qw7dvpKH3bezKfc7jn5qWmMGeAu9B444SoCjL7nwSuYgPpeE6iY43K7Q1CuebwtVAiwBfSUE'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:39.084" starttime="20181013 23:48:39.083"></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="20181013 23:48:39.084" 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 0x7f851f4f9250&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181013 23:48:39.085" starttime="20181013 23:48:39.084"></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="20181013 23:48:39.094" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/dc6c198a-05b4-484e-bcb2-323f00c10fcf, headers=None json=None</msg>
<msg timestamp="20181013 23:48:39.094" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:39.094" starttime="20181013 23:48:39.086"></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="20181013 23:48:39.095" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:39.095" starttime="20181013 23:48:39.094"></status>
</kw>
<status status="PASS" endtime="20181013 23:48:39.095" starttime="20181013 23:48:39.085"></status>
</kw>
<status status="PASS" endtime="20181013 23:48:39.096" starttime="20181013 23:48:39.082"></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="20181013 23:48:39.097" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20181013 23:48:39.097" starttime="20181013 23:48:39.096"></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="20181013 23:48:39.102" 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="20181013 23:48:40.471" level="INFO">Delete Request using : alias=OSSession, uri=/v2.0/networks/dc6c198a-05b4-484e-bcb2-323f00c10fcf, data=(),                     headers=None, allow_redirects=True </msg>
<msg timestamp="20181013 23:48:40.472" level="INFO">${resp} = &lt;Response [204]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:40.472" starttime="20181013 23:48:39.097"></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="20181013 23:48:40.473" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:40.473" starttime="20181013 23:48:40.472"></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="20181013 23:48:40.474" level="INFO"></msg>
<status status="PASS" endtime="20181013 23:48:40.474" starttime="20181013 23:48:40.474"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181013 23:48:42.475" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181013 23:48:42.475" starttime="20181013 23:48:40.474"></status>
</kw>
<doc>Delete network in OpenStack</doc>
<tags>
<tag>Delete Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:42.476" critical="yes" starttime="20181013 23:48:39.096"></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="20181013 23:48:42.482" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks, headers=None json=None</msg>
<msg timestamp="20181013 23:48:42.483" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:42.483" starttime="20181013 23:48:42.477"></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="20181013 23:48:42.484" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:42.484" starttime="20181013 23:48:42.483"></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="20181013 23:48:42.484" level="INFO">To JSON using : content={
   "networks" : [ {
      "id" : "0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9",
      "tenant_id" : "e905201434e94e108534e839c17610d2",
      "project_id" : "e905201434e94e108534e839c17610d2",
      "revision_number" : 1,
      "name" : "ext-net",
      "admin_state_up" : true,
      "status" : "ACTIVE",
      "shared" : false,
      "router:external" : true,
      "provider:network_type" : "flat",
      "provider:physical_network" : "physnet",
      "segments" : [ ]
   }, {
      "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" : [ ]
   } ]
} </msg>
<msg timestamp="20181013 23:48:42.484" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181013 23:48:42.485" level="INFO">${ODLResult} = {u'networks': [{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'e905201434e94e108534e839c17610d2...</msg>
<status status="PASS" endtime="20181013 23:48:42.485" starttime="20181013 23:48:42.484"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181013 23:48:42.485" level="INFO">{u'networks': [{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'e905201434e94e108534e839c17610d2', u'segments': [], u'provider:network_type': u'flat', u'revision_number': 1, u'shared': False, u'project_id': u'e905201434e94e108534e839c17610d2', u'id': u'0cd9e5d1-7b52-4ef5-a122-7fd5f028f4a9'}, {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'}]}</msg>
<status status="PASS" endtime="20181013 23:48:42.485" starttime="20181013 23:48:42.485"></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="20181013 23:48:42.494" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/dc6c198a-05b4-484e-bcb2-323f00c10fcf, headers=None json=None</msg>
<msg timestamp="20181013 23:48:42.495" level="INFO">${resp} = &lt;Response [404]&gt;</msg>
<status status="PASS" endtime="20181013 23:48:42.495" starttime="20181013 23:48:42.485"></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="20181013 23:48:42.496" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181013 23:48:42.496" starttime="20181013 23:48:42.495"></status>
</kw>
<doc>Check network deleted in OpenDaylight</doc>
<tags>
<tag>Check Network OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181013 23:48:42.496" critical="yes" starttime="20181013 23:48:42.476"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181013 23:48:42.497" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181013 23:48:42.497" starttime="20181013 23:48:42.497"></status>
</kw>
<doc>Checking Network deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="PASS" endtime="20181013 23:48:42.497" starttime="20181013 23:48:39.066"></status>
</suite>
<kw type="teardown" name="Stop Suite">
<kw name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181013 23:48:42.500" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181013 23:48:42.501" starttime="20181013 23:48:42.500"></status>
</kw>
<status status="PASS" endtime="20181013 23:48:42.501" starttime="20181013 23:48:42.500"></status>
</kw>
<doc>Test suite for Neutron Plugin</doc>
<status status="PASS" endtime="20181013 23:48:42.501" starttime="20181013 23:48:23.209"></status>
</suite>
<status status="FAIL" endtime="20181013 23:48:42.506" starttime="20181013 23:48:22.440"></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="20181013 23:48:23.296" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20181013 23:48:23.304" 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="20181013 23:48:23.889" 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="20181013 23:48:24.207" 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="20181013 23:48:26.650" 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="20181013 23:48:26.759" 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="20181013 23:48:29.322" 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="20181013 23:48:29.436" 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="20181013 23:48:32.770" 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="20181013 23:48:35.667" 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="20181013 23:48:39.102" 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>
