<?xml version="1.0" encoding="UTF-8"?>
<robot generated="20181016 01:00:51.507" 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="20181016 01:00:51.615" 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 0x7f462b1f3d50&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:00:51.616" starttime="20181016 01:00:51.614"></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="20181016 01:00:52.245" 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 0x7f462b1f3c90&gt;: Failed to establish a new connection: [Errno 111] Connection refused',))</msg>
<status status="FAIL" endtime="20181016 01:00:52.245" starttime="20181016 01:00:51.617"></status>
</kw>
<doc>Get the restconf modules, check 200 status and ietf-restconf presence.</doc>
<status status="FAIL" endtime="20181016 01:00:52.246" critical="yes" starttime="20181016 01:00:51.616">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 0x7f462b1f3c90&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="20181016 01:00:52.247" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181016 01:00:52.247" starttime="20181016 01:00:52.247"></status>
</kw>
<doc>Test suite to verify Restconf is OK.</doc>
<status status="FAIL" endtime="20181016 01:00:52.247" starttime="20181016 01:00:51.548"></status>
</suite>
<status status="FAIL" endtime="20181016 01:00:52.249" starttime="20181016 01:00:51.546"></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="20181016 01:00:52.314" 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="20181016 01:00:52.314" starttime="20181016 01:00:52.314"></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="20181016 01:00:52.315" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20181016 01:00:52.321" 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="20181016 01:00:52.736" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:52.736" starttime="20181016 01:00:52.315"></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="20181016 01:00:52.736" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:52.737" starttime="20181016 01:00:52.736"></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="20181016 01:00:52.737" level="INFO">${TOKEN} = gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr7o</msg>
<status status="PASS" endtime="20181016 01:00:52.737" starttime="20181016 01:00:52.737"></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="20181016 01:00:52.738" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr...</msg>
<status status="PASS" endtime="20181016 01:00:52.738" starttime="20181016 01:00:52.738"></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="20181016 01:00:52.739" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr...</msg>
<status status="PASS" endtime="20181016 01:00:52.739" starttime="20181016 01:00:52.738"></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="20181016 01:00:52.739" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr...</msg>
<status status="PASS" endtime="20181016 01:00:52.740" starttime="20181016 01:00:52.739"></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="20181016 01:00:52.740" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr...</msg>
<status status="PASS" endtime="20181016 01:00:52.740" starttime="20181016 01:00:52.740"></status>
</kw>
<status status="PASS" endtime="20181016 01:00:52.740" starttime="20181016 01:00:52.313"></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="20181016 01:00:52.756" 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 0x7f462b0f3ed0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:00:52.757" starttime="20181016 01:00:52.756"></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="20181016 01:00:52.772" level="INFO">Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/networks, headers=None json=None</msg>
<msg timestamp="20181016 01:00:52.772" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:52.772" starttime="20181016 01:00:52.758"></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="20181016 01:00:52.773" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:52.773" starttime="20181016 01:00:52.772"></status>
</kw>
<doc>Get the complete list of networks</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="PASS" endtime="20181016 01:00:52.773" critical="yes" starttime="20181016 01:00:52.757"></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="20181016 01:00:52.797" level="INFO">Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/subnets, headers=None json=None</msg>
<msg timestamp="20181016 01:00:52.798" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:52.798" starttime="20181016 01:00:52.775"></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="20181016 01:00:52.799" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:52.799" starttime="20181016 01:00:52.798"></status>
</kw>
<doc>Get the complete list of subnets</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="PASS" endtime="20181016 01:00:52.799" critical="yes" starttime="20181016 01:00:52.774"></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="20181016 01:00:52.814" level="INFO">Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/ports, headers=None json=None</msg>
<msg timestamp="20181016 01:00:52.814" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:52.814" starttime="20181016 01:00:52.800"></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="20181016 01:00:52.815" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:52.815" starttime="20181016 01:00:52.815"></status>
</kw>
<doc>Get the complete list of ports</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="PASS" endtime="20181016 01:00:52.815" critical="yes" starttime="20181016 01:00:52.799"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181016 01:00:52.816" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181016 01:00:52.817" starttime="20181016 01:00:52.816"></status>
</kw>
<status status="PASS" endtime="20181016 01:00:52.817" starttime="20181016 01:00:52.741"></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="20181016 01:00:52.835" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr7o', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:00:52.836" starttime="20181016 01:00:52.835"></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="20181016 01:00:52.837" level="INFO">{u'X-Auth-Token': 'gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr7o', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20181016 01:00:52.837" starttime="20181016 01:00:52.837"></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="20181016 01:00:52.842" 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="20181016 01:00:53.024" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/networks, headers=None json=None</msg>
<msg timestamp="20181016 01:00:53.024" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:53.024" starttime="20181016 01:00:52.837"></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="20181016 01:00:53.025" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:53.025" starttime="20181016 01:00:53.025"></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="20181016 01:00:53.026" 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":"b96c71bd-53cf-424f-94d3-129550b80886","router:external":true,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"18031218bc9743b5bffafebfd8bea3c2","status":"ACTIVE","subnets":["1929a537-5002-437f-a51b-b5c5e2daeb50"],"description":"","tags":[],"updated_at":"2018-10-16T00:48:36Z","is_default":false,"provider:segmentation_id":null,"name":"ext-net","admin_state_up":true,"tenant_id":"18031218bc9743b5bffafebfd8bea3c2","created_at":"2018-10-16T00:48:30Z","provider:network_type":"flat"}]} </msg>
<msg timestamp="20181016 01:00:53.026" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181016 01:00:53.026" 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'b96c71bd-53cf-...</msg>
<status status="PASS" endtime="20181016 01:00:53.026" starttime="20181016 01:00:53.025"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20181016 01:00:53.027" 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'b96c71bd-53cf-424f-94d3-129550b80886', 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'18031218bc9743b5bffafebfd8bea3c2', u'status': u'ACTIVE', u'subnets': [u'1929a537-5002-437f-a51b-b5c5e2daeb50'], u'description': u'', u'tags': [], u'updated_at': u'2018-10-16T00:48:36Z', u'is_default': False, u'provider:segmentation_id': None, u'name': u'ext-net', u'admin_state_up': True, u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'created_at': u'2018-10-16T00:48:30Z', u'mtu': 1500}]}</msg>
<status status="PASS" endtime="20181016 01:00:53.027" starttime="20181016 01:00:53.027"></status>
</kw>
<doc>Checking OpenStack Neutron for known networks</doc>
<tags>
<tag>Network Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20181016 01:00:53.027" critical="yes" starttime="20181016 01:00:52.836"></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="20181016 01:00:53.029" 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 0x7f462b0e6e50&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:00:53.030" starttime="20181016 01:00:53.028"></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="20181016 01:00:53.040" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks, headers=None json=None</msg>
<msg timestamp="20181016 01:00:53.040" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:53.041" starttime="20181016 01:00:53.030"></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="20181016 01:00:53.041" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:53.041" starttime="20181016 01:00:53.041"></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="20181016 01:00:53.042" 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" : "b96c71bd-53cf-424f-94d3-129550b80886",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "project_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "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="20181016 01:00:53.042" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181016 01:00:53.042" 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="20181016 01:00:53.042" starttime="20181016 01:00:53.041"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181016 01:00:53.043" 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'18031218bc9743b5bffafebfd8bea3c2', u'segments': [], u'provider:network_type': u'flat', u'revision_number': 1, u'shared': False, u'project_id': u'18031218bc9743b5bffafebfd8bea3c2', u'id': u'b96c71bd-53cf-424f-94d3-129550b80886'}]}</msg>
<status status="PASS" endtime="20181016 01:00:53.043" starttime="20181016 01:00:53.042"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known networks</doc>
<tags>
<tag>Network Neutron OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181016 01:00:53.043" critical="yes" starttime="20181016 01:00:53.028"></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="20181016 01:00:53.044" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20181016 01:00:53.044" starttime="20181016 01:00:53.044"></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="20181016 01:00:53.046" 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="20181016 01:00:53.373" 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="20181016 01:00:53.373" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:53.373" starttime="20181016 01:00:53.044"></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="20181016 01:00:53.374" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:53.374" starttime="20181016 01:00:53.374"></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="20181016 01:00:53.375" 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":"9200252c-dbe0-445e-8ac1-3b4755bc9b4d","router:external":false,"availability_zone_hints":[],"availability_zones":[],"ipv4_address_scope":null,"shared":false,"project_id":"18031218bc9743b5bffafebfd8bea3c2","status":"ACTIVE","subnets":[],"description":"","tags":[],"updated_at":"2018-10-16T01:00:53Z","is_default":false,"provider:segmentation_id":86,"name":"odl_network","admin_state_up":true,"tenant_id":"18031218bc9743b5bffafebfd8bea3c2","created_at":"2018-10-16T01:00:53Z","mtu":1450}} </msg>
<msg timestamp="20181016 01:00:53.375" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181016 01:00:53.375" 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'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'ro...</msg>
<status status="PASS" endtime="20181016 01:00:53.375" starttime="20181016 01:00:53.375"></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="20181016 01:00:53.376" 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'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'router:external...</msg>
<status status="PASS" endtime="20181016 01:00:53.376" starttime="20181016 01:00:53.376"></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="20181016 01:00:53.377" level="INFO">${NETID} = 9200252c-dbe0-445e-8ac1-3b4755bc9b4d</msg>
<status status="PASS" endtime="20181016 01:00:53.377" starttime="20181016 01:00:53.376"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20181016 01:00:53.377" 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'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'18031218bc9743b5bffafebfd8bea3c2', u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'tags': [], u'updated_at': u'2018-10-16T01:00:53Z', u'is_default': False, u'provider:segmentation_id': 86, u'name': u'odl_network', u'admin_state_up': True, u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'created_at': u'2018-10-16T01:00:53Z', u'provider:network_type': u'vxlan'}</msg>
<status status="PASS" endtime="20181016 01:00:53.378" starttime="20181016 01:00:53.377"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${NETID}</arg>
</arguments>
<msg timestamp="20181016 01:00:53.378" level="INFO">9200252c-dbe0-445e-8ac1-3b4755bc9b4d</msg>
<status status="PASS" endtime="20181016 01:00:53.378" starttime="20181016 01:00:53.378"></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="20181016 01:00:53.379" level="INFO">${NETID} = 9200252c-dbe0-445e-8ac1-3b4755bc9b4d</msg>
<status status="PASS" endtime="20181016 01:00:53.379" starttime="20181016 01:00:53.379"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181016 01:00:55.380" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181016 01:00:55.380" starttime="20181016 01:00:53.379"></status>
</kw>
<doc>Create new network in OpenStack</doc>
<tags>
<tag>Create Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181016 01:00:55.381" critical="yes" starttime="20181016 01:00:53.043"></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="20181016 01:00:55.392" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/9200252c-dbe0-445e-8ac1-3b4755bc9b4d, headers=None json=None</msg>
<msg timestamp="20181016 01:00:55.392" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:55.393" starttime="20181016 01:00:55.383"></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="20181016 01:00:55.394" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:55.394" starttime="20181016 01:00:55.393"></status>
</kw>
<doc>Check network created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>Network OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181016 01:00:55.394" critical="yes" starttime="20181016 01:00:55.381"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181016 01:00:55.395" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181016 01:00:55.395" starttime="20181016 01:00:55.395"></status>
</kw>
<doc>Checking Network created in OpenStack are pushed to OpenDaylight</doc>
<status status="PASS" endtime="20181016 01:00:55.395" starttime="20181016 01:00:52.818"></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="20181016 01:00:55.415" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr7o', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:00:55.416" starttime="20181016 01:00:55.415"></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="20181016 01:00:55.417" level="INFO">{u'X-Auth-Token': 'gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr7o', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20181016 01:00:55.417" starttime="20181016 01:00:55.417"></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="20181016 01:00:55.423" 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="20181016 01:00:55.497" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/subnets, headers=None json=None</msg>
<msg timestamp="20181016 01:00:55.498" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:55.498" starttime="20181016 01:00:55.417"></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="20181016 01:00:55.499" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:55.499" starttime="20181016 01:00:55.498"></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="20181016 01:00:55.499" level="INFO">To JSON using : content={"subnets":[{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"b96c71bd-53cf-424f-94d3-129550b80886","tenant_id":"18031218bc9743b5bffafebfd8bea3c2","created_at":"2018-10-16T00:48:36Z","dns_nameservers":[],"updated_at":"2018-10-16T00:48:36Z","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":"18031218bc9743b5bffafebfd8bea3c2","id":"1929a537-5002-437f-a51b-b5c5e2daeb50","subnetpool_id":null,"name":"ext-subnet"}]} </msg>
<msg timestamp="20181016 01:00:55.499" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181016 01:00:55.500" level="INFO">${OSResult} = {u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b...</msg>
<status status="PASS" endtime="20181016 01:00:55.500" starttime="20181016 01:00:55.499"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20181016 01:00:55.500" level="INFO">{u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'created_at': u'2018-10-16T00:48:36Z', u'dns_nameservers': [], u'updated_at': u'2018-10-16T00:48:36Z', 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'18031218bc9743b5bffafebfd8bea3c2', u'id': u'1929a537-5002-437f-a51b-b5c5e2daeb50', u'subnetpool_id': None, u'name': u'ext-subnet'}]}</msg>
<status status="PASS" endtime="20181016 01:00:55.500" starttime="20181016 01:00:55.500"></status>
</kw>
<doc>Checking OpenStack Neutron for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20181016 01:00:55.500" critical="yes" starttime="20181016 01:00:55.416"></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="20181016 01:00:55.502" 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 0x7f462b059d90&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:00:55.503" starttime="20181016 01:00:55.502"></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="20181016 01:00:55.510" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets, headers=None json=None</msg>
<msg timestamp="20181016 01:00:55.510" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:55.510" starttime="20181016 01:00:55.503"></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="20181016 01:00:55.511" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:55.511" starttime="20181016 01:00:55.511"></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="20181016 01:00:55.512" level="INFO">To JSON using : content={
   "subnets" : [ {
      "id" : "1929a537-5002-437f-a51b-b5c5e2daeb50",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "project_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "revision_number" : 0,
      "name" : "ext-subnet",
      "network_id" : "b96c71bd-53cf-424f-94d3-129550b80886",
      "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="20181016 01:00:55.512" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181016 01:00:55.512" level="INFO">${ODLResult} = {u'subnets': [{u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'dns_nameservers': [], u'ipv6_r...</msg>
<status status="PASS" endtime="20181016 01:00:55.512" starttime="20181016 01:00:55.511"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181016 01:00:55.512" level="INFO">{u'subnets': [{u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', 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'18031218bc9743b5bffafebfd8bea3c2', u'id': u'1929a537-5002-437f-a51b-b5c5e2daeb50'}]}</msg>
<status status="PASS" endtime="20181016 01:00:55.513" starttime="20181016 01:00:55.512"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181016 01:00:55.513" critical="yes" starttime="20181016 01:00:55.501"></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="20181016 01:00:55.516" level="INFO">{"subnet":{"network_id":"9200252c-dbe0-445e-8ac1-3b4755bc9b4d","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="20181016 01:00:55.516" starttime="20181016 01:00:55.516"></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="20181016 01:00:55.518" 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="20181016 01:00:56.175" 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="20181016 01:00:56.176" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:56.176" starttime="20181016 01:00:55.517"></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="20181016 01:00:56.177" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:56.177" starttime="20181016 01:00:56.176"></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="20181016 01:00:56.178" level="INFO">To JSON using : content={"subnet":{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"9200252c-dbe0-445e-8ac1-3b4755bc9b4d","tenant_id":"18031218bc9743b5bffafebfd8bea3c2","created_at":"2018-10-16T01:00:55Z","dns_nameservers":[],"updated_at":"2018-10-16T01:00:55Z","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":"18031218bc9743b5bffafebfd8bea3c2","id":"098ccc8e-e0f0-445e-bd1a-eb94de6863ee","subnetpool_id":null,"name":""}} </msg>
<msg timestamp="20181016 01:00:56.178" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181016 01:00:56.178" level="INFO">${result} = {u'subnet': {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'...</msg>
<status status="PASS" endtime="20181016 01:00:56.178" starttime="20181016 01:00:56.177"></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="20181016 01:00:56.179" level="INFO">${result} = {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'created_at':...</msg>
<status status="PASS" endtime="20181016 01:00:56.179" starttime="20181016 01:00:56.178"></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="20181016 01:00:56.179" level="INFO">${SUBNETID} = 098ccc8e-e0f0-445e-bd1a-eb94de6863ee</msg>
<status status="PASS" endtime="20181016 01:00:56.179" starttime="20181016 01:00:56.179"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20181016 01:00:56.180" level="INFO">{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'created_at': u'2018-10-16T01:00:55Z', u'dns_nameservers': [], u'updated_at': u'2018-10-16T01:00:55Z', 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'18031218bc9743b5bffafebfd8bea3c2', u'id': u'098ccc8e-e0f0-445e-bd1a-eb94de6863ee', u'subnetpool_id': None, u'name': u''}</msg>
<status status="PASS" endtime="20181016 01:00:56.180" starttime="20181016 01:00:56.180"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${SUBNETID}</arg>
</arguments>
<msg timestamp="20181016 01:00:56.181" level="INFO">098ccc8e-e0f0-445e-bd1a-eb94de6863ee</msg>
<status status="PASS" endtime="20181016 01:00:56.181" starttime="20181016 01:00:56.180"></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="20181016 01:00:56.182" level="INFO">${SUBNETID} = 098ccc8e-e0f0-445e-bd1a-eb94de6863ee</msg>
<status status="PASS" endtime="20181016 01:00:56.182" starttime="20181016 01:00:56.181"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181016 01:00:58.183" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181016 01:00:58.183" starttime="20181016 01:00:56.182"></status>
</kw>
<doc>Create new subnet in OpenStack</doc>
<tags>
<tag>Create Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181016 01:00:58.183" critical="yes" starttime="20181016 01:00:55.513"></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="20181016 01:00:58.190" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/098ccc8e-e0f0-445e-bd1a-eb94de6863ee, headers=None json=None</msg>
<msg timestamp="20181016 01:00:58.191" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:58.191" starttime="20181016 01:00:58.185"></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="20181016 01:00:58.191" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:58.191" starttime="20181016 01:00:58.191"></status>
</kw>
<doc>Check new subnet created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>subnet OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181016 01:00:58.192" critical="yes" starttime="20181016 01:00:58.184"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181016 01:00:58.193" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181016 01:00:58.193" starttime="20181016 01:00:58.192"></status>
</kw>
<doc>Checking Subnets created in OpenStack are pushed to OpenDaylight</doc>
<status status="PASS" endtime="20181016 01:00:58.193" starttime="20181016 01:00:55.397"></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="20181016 01:00:58.212" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr7o', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:00:58.212" starttime="20181016 01:00:58.212"></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="20181016 01:00:58.214" level="INFO">{u'X-Auth-Token': 'gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr7o', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20181016 01:00:58.214" starttime="20181016 01:00:58.213"></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="20181016 01:00:58.219" 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="20181016 01:00:58.338" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/ports, headers=None json=None</msg>
<msg timestamp="20181016 01:00:58.338" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:58.339" starttime="20181016 01:00:58.214"></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="20181016 01:00:58.339" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:58.340" starttime="20181016 01:00:58.339"></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="20181016 01:00:58.341" level="INFO">To JSON using : content={"ports":[{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-16T01:00:57Z","device_owner":"network:dhcp","revision_number":2,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"098ccc8e-e0f0-445e-bd1a-eb94de6863ee","ip_address":"172.16.64.20"}],"id":"452b5202-10d2-42ac-82bc-e3570b187c55","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"0e7e2832-741d-4a69-9d62-6a7e455d62cd","host_addresses":["host2"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:81:45:00","project_id":"18031218bc9743b5bffafebfd8bea3c2","status":"DOWN","binding:host_id":"host2","description":"","tags":[],"device_id":"dhcp6e683b9c-430b-509e-9237-cf130714d68f-9200252c-dbe0-445e-8ac1-3b4755bc9b4d","name":"","admin_state_up":true,"network_id":"9200252c-dbe0-445e-8ac1-3b4755bc9b4d","tenant_id":"18031218bc9743b5bffafebfd8bea3c2","created_at":"2018-10-16T01:00:56Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-16T01:00:58Z","device_owner":"network:dhcp","revision_number":2,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"098ccc8e-e0f0-445e-bd1a-eb94de6863ee","ip_address":"172.16.64.21"}],"id":"6dfa0794-dd11-4acd-8c49-fc6ca4304f84","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"7e3919dc-0eff-4ba4-8a54-0076bd15cb81","host_addresses":["host3"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:73:4d:44","project_id":"18031218bc9743b5bffafebfd8bea3c2","status":"DOWN","binding:host_id":"host3","description":"","tags":[],"device_id":"dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-9200252c-dbe0-445e-8ac1-3b4755bc9b4d","name":"","admin_state_up":true,"network_id":"9200252c-dbe0-445e-8ac1-3b4755bc9b4d","tenant_id":"18031218bc9743b5bffafebfd8bea3c2","created_at":"2018-10-16T01:00:57Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-16T00:48:44Z","device_owner":"network:dhcp","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"1929a537-5002-437f-a51b-b5c5e2daeb50","ip_address":"192.16.1.103"}],"id":"6fae0365-4a08-4666-9aea-0043958e533b","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"ed3a648a-d82a-4727-868c-c5e4f0f7564e","host_addresses":["host1"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:1e:f7:0f","project_id":"18031218bc9743b5bffafebfd8bea3c2","status":"ACTIVE","binding:host_id":"host1","description":"","tags":[],"device_id":"dhcp540ba512-ba2e-5213-b381-56c767787d41-b96c71bd-53cf-424f-94d3-129550b80886","name":"","admin_state_up":true,"network_id":"b96c71bd-53cf-424f-94d3-129550b80886","tenant_id":"18031218bc9743b5bffafebfd8bea3c2","created_at":"2018-10-16T00:48:39Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-16T00:48:43Z","device_owner":"network:dhcp","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"1929a537-5002-437f-a51b-b5c5e2daeb50","ip_address":"192.16.1.101"}],"id":"c221181f-2183-4918-a758-c5c2ffba0d78","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"0e7e2832-741d-4a69-9d62-6a7e455d62cd","host_addresses":["host2"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:20:03:b9","project_id":"18031218bc9743b5bffafebfd8bea3c2","status":"ACTIVE","binding:host_id":"host2","description":"","tags":[],"device_id":"dhcp6e683b9c-430b-509e-9237-cf130714d68f-b96c71bd-53cf-424f-94d3-129550b80886","name":"","admin_state_up":true,"network_id":"b96c71bd-53cf-424f-94d3-129550b80886","tenant_id":"18031218bc9743b5bffafebfd8bea3c2","created_at":"2018-10-16T00:48:37Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-16T00:48:44Z","device_owner":"network:dhcp","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"1929a537-5002-437f-a51b-b5c5e2daeb50","ip_address":"192.16.1.102"}],"id":"c43a22e7-85c9-4429-be08-d3042fc23401","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"7e3919dc-0eff-4ba4-8a54-0076bd15cb81","host_addresses":["host3"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:d2:29:1a","project_id":"18031218bc9743b5bffafebfd8bea3c2","status":"ACTIVE","binding:host_id":"host3","description":"","tags":[],"device_id":"dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-b96c71bd-53cf-424f-94d3-129550b80886","name":"","admin_state_up":true,"network_id":"b96c71bd-53cf-424f-94d3-129550b80886","tenant_id":"18031218bc9743b5bffafebfd8bea3c2","created_at":"2018-10-16T00:48:38Z","binding:vnic_type":"normal"}]} </msg>
<msg timestamp="20181016 01:00:58.341" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181016 01:00:58.341" level="INFO">${OSResult} = {u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-16T01:00:57Z', u'device_owner': u'network:dhcp', u'revision_number': 2, u'port_security_enabled': False, u'b...</msg>
<status status="PASS" endtime="20181016 01:00:58.341" starttime="20181016 01:00:58.340"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20181016 01:00:58.343" level="INFO">{u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-16T01:00:57Z', 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'098ccc8e-e0f0-445e-bd1a-eb94de6863ee', u'ip_address': u'172.16.64.20'}], u'id': u'452b5202-10d2-42ac-82bc-e3570b187c55', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'0e7e2832-741d-4a69-9d62-6a7e455d62cd', u'host_addresses': [u'host2']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:81:45:00', u'project_id': u'18031218bc9743b5bffafebfd8bea3c2', u'status': u'DOWN', u'binding:host_id': u'host2', u'description': u'', u'tags': [], u'device_id': u'dhcp6e683b9c-430b-509e-9237-cf130714d68f-9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'name': u'', u'admin_state_up': True, u'network_id': u'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'created_at': u'2018-10-16T01:00:56Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-16T01:00:58Z', 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'098ccc8e-e0f0-445e-bd1a-eb94de6863ee', u'ip_address': u'172.16.64.21'}], u'id': u'6dfa0794-dd11-4acd-8c49-fc6ca4304f84', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'7e3919dc-0eff-4ba4-8a54-0076bd15cb81', u'host_addresses': [u'host3']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:73:4d:44', u'project_id': u'18031218bc9743b5bffafebfd8bea3c2', u'status': u'DOWN', u'binding:host_id': u'host3', u'description': u'', u'tags': [], u'device_id': u'dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'name': u'', u'admin_state_up': True, u'network_id': u'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'created_at': u'2018-10-16T01:00:57Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-16T00:48:44Z', 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'1929a537-5002-437f-a51b-b5c5e2daeb50', u'ip_address': u'192.16.1.103'}], u'id': u'6fae0365-4a08-4666-9aea-0043958e533b', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'ed3a648a-d82a-4727-868c-c5e4f0f7564e', u'host_addresses': [u'host1']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:1e:f7:0f', u'project_id': u'18031218bc9743b5bffafebfd8bea3c2', u'status': u'ACTIVE', u'binding:host_id': u'host1', u'description': u'', u'tags': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-b96c71bd-53cf-424f-94d3-129550b80886', u'name': u'', u'admin_state_up': True, u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'created_at': u'2018-10-16T00:48:39Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-16T00:48:43Z', 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'1929a537-5002-437f-a51b-b5c5e2daeb50', u'ip_address': u'192.16.1.101'}], u'id': u'c221181f-2183-4918-a758-c5c2ffba0d78', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'0e7e2832-741d-4a69-9d62-6a7e455d62cd', u'host_addresses': [u'host2']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:20:03:b9', u'project_id': u'18031218bc9743b5bffafebfd8bea3c2', u'status': u'ACTIVE', u'binding:host_id': u'host2', u'description': u'', u'tags': [], u'device_id': u'dhcp6e683b9c-430b-509e-9237-cf130714d68f-b96c71bd-53cf-424f-94d3-129550b80886', u'name': u'', u'admin_state_up': True, u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'created_at': u'2018-10-16T00:48:37Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-16T00:48:44Z', 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'1929a537-5002-437f-a51b-b5c5e2daeb50', u'ip_address': u'192.16.1.102'}], u'id': u'c43a22e7-85c9-4429-be08-d3042fc23401', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'7e3919dc-0eff-4ba4-8a54-0076bd15cb81', u'host_addresses': [u'host3']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:d2:29:1a', u'project_id': u'18031218bc9743b5bffafebfd8bea3c2', u'status': u'ACTIVE', u'binding:host_id': u'host3', u'description': u'', u'tags': [], u'device_id': u'dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-b96c71bd-53cf-424f-94d3-129550b80886', u'name': u'', u'admin_state_up': True, u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'created_at': u'2018-10-16T00:48:38Z', u'binding:vnic_type': u'normal'}]}</msg>
<status status="PASS" endtime="20181016 01:00:58.343" starttime="20181016 01:00:58.342"></status>
</kw>
<doc>Checking OpenStack Neutron for known ports</doc>
<tags>
<tag>Ports Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20181016 01:00:58.343" critical="yes" starttime="20181016 01:00:58.213"></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="20181016 01:00:58.345" 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 0x7f462b0a34d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:00:58.345" starttime="20181016 01:00:58.344"></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="20181016 01:00:58.363" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports, headers=None json=None</msg>
<msg timestamp="20181016 01:00:58.363" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:58.363" starttime="20181016 01:00:58.346"></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="20181016 01:00:58.364" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:58.364" starttime="20181016 01:00:58.363"></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="20181016 01:00:58.365" level="INFO">To JSON using : content={
   "ports" : [ {
      "id" : "452b5202-10d2-42ac-82bc-e3570b187c55",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "revision_number" : 1,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "9200252c-dbe0-445e-8ac1-3b4755bc9b4d",
      "mac_address" : "fa:16:3e:81:45:00",
      "fixed_ips" : [ {
         "ip_address" : "172.16.64.20",
         "subnet_id" : "098ccc8e-e0f0-445e-bd1a-eb94de6863ee"
      } ],
      "device_id" : "dhcp6e683b9c-430b-509e-9237-cf130714d68f-9200252c-dbe0-445e-8ac1-3b4755bc9b4d",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host2",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "0e7e2832-741d-4a69-9d62-6a7e455d62cd",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   }, {
      "id" : "c43a22e7-85c9-4429-be08-d3042fc23401",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "b96c71bd-53cf-424f-94d3-129550b80886",
      "mac_address" : "fa:16:3e:d2:29:1a",
      "fixed_ips" : [ {
         "ip_address" : "192.16.1.102",
         "subnet_id" : "1929a537-5002-437f-a51b-b5c5e2daeb50"
      } ],
      "device_id" : "dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-b96c71bd-53cf-424f-94d3-129550b80886",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host3",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "7e3919dc-0eff-4ba4-8a54-0076bd15cb81",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   }, {
      "id" : "c221181f-2183-4918-a758-c5c2ffba0d78",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "b96c71bd-53cf-424f-94d3-129550b80886",
      "mac_address" : "fa:16:3e:20:03:b9",
      "fixed_ips" : [ {
         "ip_address" : "192.16.1.101",
         "subnet_id" : "1929a537-5002-437f-a51b-b5c5e2daeb50"
      } ],
      "device_id" : "dhcp6e683b9c-430b-509e-9237-cf130714d68f-b96c71bd-53cf-424f-94d3-129550b80886",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host2",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "0e7e2832-741d-4a69-9d62-6a7e455d62cd",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   }, {
      "id" : "6fae0365-4a08-4666-9aea-0043958e533b",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "b96c71bd-53cf-424f-94d3-129550b80886",
      "mac_address" : "fa:16:3e:1e:f7:0f",
      "fixed_ips" : [ {
         "ip_address" : "192.16.1.103",
         "subnet_id" : "1929a537-5002-437f-a51b-b5c5e2daeb50"
      } ],
      "device_id" : "dhcp540ba512-ba2e-5213-b381-56c767787d41-b96c71bd-53cf-424f-94d3-129550b80886",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host1",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "ed3a648a-d82a-4727-868c-c5e4f0f7564e",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   }, {
      "id" : "6dfa0794-dd11-4acd-8c49-fc6ca4304f84",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "revision_number" : 1,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "9200252c-dbe0-445e-8ac1-3b4755bc9b4d",
      "mac_address" : "fa:16:3e:73:4d:44",
      "fixed_ips" : [ {
         "ip_address" : "172.16.64.21",
         "subnet_id" : "098ccc8e-e0f0-445e-bd1a-eb94de6863ee"
      } ],
      "device_id" : "dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-9200252c-dbe0-445e-8ac1-3b4755bc9b4d",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host3",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "7e3919dc-0eff-4ba4-8a54-0076bd15cb81",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   } ]
} </msg>
<msg timestamp="20181016 01:00:58.365" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181016 01:00:58.365" level="INFO">${ODLResult} = {u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'0e7e2832-741d-4a69-9d62-6a7e455d62cd'}, u'binding:host_id': u'host2', u'name': u'', u'allowed_a...</msg>
<status status="PASS" endtime="20181016 01:00:58.365" starttime="20181016 01:00:58.364"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181016 01:00:58.366" level="INFO">{u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'0e7e2832-741d-4a69-9d62-6a7e455d62cd'}, u'binding:host_id': u'host2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', 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:81:45:00', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'098ccc8e-e0f0-445e-bd1a-eb94de6863ee', u'ip_address': u'172.16.64.20'}], u'id': u'452b5202-10d2-42ac-82bc-e3570b187c55', u'security_groups': [], u'device_id': u'dhcp6e683b9c-430b-509e-9237-cf130714d68f-9200252c-dbe0-445e-8ac1-3b4755bc9b4d'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'7e3919dc-0eff-4ba4-8a54-0076bd15cb81'}, u'binding:host_id': u'host3', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', 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:d2:29:1a', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'1929a537-5002-437f-a51b-b5c5e2daeb50', u'ip_address': u'192.16.1.102'}], u'id': u'c43a22e7-85c9-4429-be08-d3042fc23401', u'security_groups': [], u'device_id': u'dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-b96c71bd-53cf-424f-94d3-129550b80886'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'0e7e2832-741d-4a69-9d62-6a7e455d62cd'}, u'binding:host_id': u'host2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', 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:20:03:b9', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'1929a537-5002-437f-a51b-b5c5e2daeb50', u'ip_address': u'192.16.1.101'}], u'id': u'c221181f-2183-4918-a758-c5c2ffba0d78', u'security_groups': [], u'device_id': u'dhcp6e683b9c-430b-509e-9237-cf130714d68f-b96c71bd-53cf-424f-94d3-129550b80886'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'ed3a648a-d82a-4727-868c-c5e4f0f7564e'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', 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:1e:f7:0f', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'1929a537-5002-437f-a51b-b5c5e2daeb50', u'ip_address': u'192.16.1.103'}], u'id': u'6fae0365-4a08-4666-9aea-0043958e533b', u'security_groups': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-b96c71bd-53cf-424f-94d3-129550b80886'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'7e3919dc-0eff-4ba4-8a54-0076bd15cb81'}, u'binding:host_id': u'host3', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', 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:73:4d:44', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'098ccc8e-e0f0-445e-bd1a-eb94de6863ee', u'ip_address': u'172.16.64.21'}], u'id': u'6dfa0794-dd11-4acd-8c49-fc6ca4304f84', u'security_groups': [], u'device_id': u'dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-9200252c-dbe0-445e-8ac1-3b4755bc9b4d'}]}</msg>
<status status="PASS" endtime="20181016 01:00:58.366" starttime="20181016 01:00:58.365"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known ports</doc>
<tags>
<tag>Ports Neutron OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181016 01:00:58.366" critical="yes" starttime="20181016 01:00:58.343"></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="20181016 01:00:58.368" level="INFO">{"port":{"network_id":"9200252c-dbe0-445e-8ac1-3b4755bc9b4d","admin_state_up": true}}</msg>
<status status="PASS" endtime="20181016 01:00:58.368" starttime="20181016 01:00:58.367"></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="20181016 01:00:58.370" 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="20181016 01:00:59.348" 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="20181016 01:00:59.348" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20181016 01:00:59.349" starttime="20181016 01:00:58.368"></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="20181016 01:00:59.350" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:00:59.350" starttime="20181016 01:00:59.349"></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="20181016 01:00:59.350" level="INFO">To JSON using : content={"port":{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-10-16T01:00:58Z","device_owner":"","revision_number":1,"binding:profile":{},"port_security_enabled":true,"fixed_ips":[{"subnet_id":"098ccc8e-e0f0-445e-bd1a-eb94de6863ee","ip_address":"172.16.64.29"}],"id":"f3e17689-477a-4079-94fc-afbe9e131a6e","security_groups":["87595a5b-3d21-438a-94cb-ae90e960b13e"],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:de:06:f3","project_id":"18031218bc9743b5bffafebfd8bea3c2","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"","name":"","admin_state_up":true,"network_id":"9200252c-dbe0-445e-8ac1-3b4755bc9b4d","tenant_id":"18031218bc9743b5bffafebfd8bea3c2","created_at":"2018-10-16T01:00:58Z","binding:vnic_type":"normal"}} </msg>
<msg timestamp="20181016 01:00:59.350" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181016 01:00:59.351" level="INFO">${result} = {u'port': {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-16T01:00:58Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': ...</msg>
<status status="PASS" endtime="20181016 01:00:59.351" starttime="20181016 01:00:59.350"></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="20181016 01:00:59.351" level="INFO">${result} = {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-16T01:00:58Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fi...</msg>
<status status="PASS" endtime="20181016 01:00:59.351" starttime="20181016 01:00:59.351"></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="20181016 01:00:59.352" level="INFO">${PORTID} = f3e17689-477a-4079-94fc-afbe9e131a6e</msg>
<status status="PASS" endtime="20181016 01:00:59.352" starttime="20181016 01:00:59.352"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20181016 01:00:59.353" level="INFO">{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-10-16T01:00:58Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fixed_ips': [{u'subnet_id': u'098ccc8e-e0f0-445e-bd1a-eb94de6863ee', u'ip_address': u'172.16.64.29'}], u'id': u'f3e17689-477a-4079-94fc-afbe9e131a6e', u'security_groups': [u'87595a5b-3d21-438a-94cb-ae90e960b13e'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:de:06:f3', u'project_id': u'18031218bc9743b5bffafebfd8bea3c2', 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'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'created_at': u'2018-10-16T01:00:58Z', u'binding:vnic_type': u'normal'}</msg>
<status status="PASS" endtime="20181016 01:00:59.353" starttime="20181016 01:00:59.352"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${PORTID}</arg>
</arguments>
<msg timestamp="20181016 01:00:59.353" level="INFO">f3e17689-477a-4079-94fc-afbe9e131a6e</msg>
<status status="PASS" endtime="20181016 01:00:59.353" starttime="20181016 01:00:59.353"></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="20181016 01:00:59.354" level="INFO">${PORTID} = f3e17689-477a-4079-94fc-afbe9e131a6e</msg>
<status status="PASS" endtime="20181016 01:00:59.354" starttime="20181016 01:00:59.353"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181016 01:01:01.355" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181016 01:01:01.355" starttime="20181016 01:00:59.354"></status>
</kw>
<doc>Create new port in OpenStack</doc>
<tags>
<tag>Create port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181016 01:01:01.355" critical="yes" starttime="20181016 01:00:58.367"></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="20181016 01:01:01.374" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/f3e17689-477a-4079-94fc-afbe9e131a6e, headers=None json=None</msg>
<msg timestamp="20181016 01:01:01.375" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:01:01.375" starttime="20181016 01:01:01.357"></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="20181016 01:01:01.375" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:01:01.375" starttime="20181016 01:01:01.375"></status>
</kw>
<doc>Check new port created in OpenDaylight</doc>
<tags>
<tag>Check port OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181016 01:01:01.376" critical="yes" starttime="20181016 01:01:01.356"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181016 01:01:01.377" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181016 01:01:01.377" starttime="20181016 01:01:01.376"></status>
</kw>
<doc>Checking Port created in OpenStack are pushed to OpenDaylight</doc>
<status status="PASS" endtime="20181016 01:01:01.377" starttime="20181016 01:00:58.194"></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="20181016 01:01:01.398" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr7o'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:01:01.399" starttime="20181016 01:01:01.397"></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="20181016 01:01:01.399" 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 0x7f462b067050&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:01:01.400" starttime="20181016 01:01:01.399"></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="20181016 01:01:01.412" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/f3e17689-477a-4079-94fc-afbe9e131a6e, headers=None json=None</msg>
<msg timestamp="20181016 01:01:01.413" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:01:01.413" starttime="20181016 01:01:01.400"></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="20181016 01:01:01.413" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:01:01.414" starttime="20181016 01:01:01.413"></status>
</kw>
<status status="PASS" endtime="20181016 01:01:01.414" starttime="20181016 01:01:01.400"></status>
</kw>
<status status="PASS" endtime="20181016 01:01:01.414" starttime="20181016 01:01:01.397"></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="20181016 01:01:01.415" level="INFO">{"port":{"network_id":"9200252c-dbe0-445e-8ac1-3b4755bc9b4d","admin_state_up": true}}</msg>
<status status="PASS" endtime="20181016 01:01:01.415" starttime="20181016 01:01:01.415"></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="20181016 01:01:01.423" 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="20181016 01:01:02.498" level="INFO">Delete Request using : alias=OSSession, uri=/v2.0/ports/f3e17689-477a-4079-94fc-afbe9e131a6e, data=(),                     headers=None, allow_redirects=True </msg>
<msg timestamp="20181016 01:01:02.498" level="INFO">${resp} = &lt;Response [204]&gt;</msg>
<status status="PASS" endtime="20181016 01:01:02.498" starttime="20181016 01:01:01.416"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${resp.status_code}</arg>
<arg>204</arg>
</arguments>
<msg timestamp="20181016 01:01:02.499" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:01:02.500" starttime="20181016 01:01:02.499"></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="20181016 01:01:02.500" level="INFO"></msg>
<status status="PASS" endtime="20181016 01:01:02.500" starttime="20181016 01:01:02.500"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181016 01:01:04.501" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181016 01:01:04.502" starttime="20181016 01:01:02.501"></status>
</kw>
<doc>Delete previously created port in OpenStack</doc>
<tags>
<tag>Delete port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181016 01:01:04.502" critical="yes" starttime="20181016 01:01:01.414"></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="20181016 01:01:04.541" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports, headers=None json=None</msg>
<msg timestamp="20181016 01:01:04.541" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:01:04.541" starttime="20181016 01:01:04.503"></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="20181016 01:01:04.543" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:01:04.543" starttime="20181016 01:01:04.542"></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="20181016 01:01:04.544" level="INFO">To JSON using : content={
   "ports" : [ {
      "id" : "c221181f-2183-4918-a758-c5c2ffba0d78",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "b96c71bd-53cf-424f-94d3-129550b80886",
      "mac_address" : "fa:16:3e:20:03:b9",
      "fixed_ips" : [ {
         "ip_address" : "192.16.1.101",
         "subnet_id" : "1929a537-5002-437f-a51b-b5c5e2daeb50"
      } ],
      "device_id" : "dhcp6e683b9c-430b-509e-9237-cf130714d68f-b96c71bd-53cf-424f-94d3-129550b80886",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host2",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "0e7e2832-741d-4a69-9d62-6a7e455d62cd",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   }, {
      "id" : "6fae0365-4a08-4666-9aea-0043958e533b",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "b96c71bd-53cf-424f-94d3-129550b80886",
      "mac_address" : "fa:16:3e:1e:f7:0f",
      "fixed_ips" : [ {
         "ip_address" : "192.16.1.103",
         "subnet_id" : "1929a537-5002-437f-a51b-b5c5e2daeb50"
      } ],
      "device_id" : "dhcp540ba512-ba2e-5213-b381-56c767787d41-b96c71bd-53cf-424f-94d3-129550b80886",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host1",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "ed3a648a-d82a-4727-868c-c5e4f0f7564e",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   }, {
      "id" : "6dfa0794-dd11-4acd-8c49-fc6ca4304f84",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "9200252c-dbe0-445e-8ac1-3b4755bc9b4d",
      "mac_address" : "fa:16:3e:73:4d:44",
      "fixed_ips" : [ {
         "ip_address" : "172.16.64.21",
         "subnet_id" : "098ccc8e-e0f0-445e-bd1a-eb94de6863ee"
      } ],
      "device_id" : "dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-9200252c-dbe0-445e-8ac1-3b4755bc9b4d",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host3",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "7e3919dc-0eff-4ba4-8a54-0076bd15cb81",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   }, {
      "id" : "d99e0474-7ec9-4ad5-834a-26ee02d418a0",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "9200252c-dbe0-445e-8ac1-3b4755bc9b4d",
      "mac_address" : "fa:16:3e:83:a5:8b",
      "fixed_ips" : [ {
         "ip_address" : "172.16.64.22",
         "subnet_id" : "098ccc8e-e0f0-445e-bd1a-eb94de6863ee"
      } ],
      "device_id" : "dhcp540ba512-ba2e-5213-b381-56c767787d41-9200252c-dbe0-445e-8ac1-3b4755bc9b4d",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host1",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "ed3a648a-d82a-4727-868c-c5e4f0f7564e",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   }, {
      "id" : "452b5202-10d2-42ac-82bc-e3570b187c55",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "9200252c-dbe0-445e-8ac1-3b4755bc9b4d",
      "mac_address" : "fa:16:3e:81:45:00",
      "fixed_ips" : [ {
         "ip_address" : "172.16.64.20",
         "subnet_id" : "098ccc8e-e0f0-445e-bd1a-eb94de6863ee"
      } ],
      "device_id" : "dhcp6e683b9c-430b-509e-9237-cf130714d68f-9200252c-dbe0-445e-8ac1-3b4755bc9b4d",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host2",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "0e7e2832-741d-4a69-9d62-6a7e455d62cd",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   }, {
      "id" : "c43a22e7-85c9-4429-be08-d3042fc23401",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "revision_number" : 3,
      "name" : "",
      "admin_state_up" : true,
      "network_id" : "b96c71bd-53cf-424f-94d3-129550b80886",
      "mac_address" : "fa:16:3e:d2:29:1a",
      "fixed_ips" : [ {
         "ip_address" : "192.16.1.102",
         "subnet_id" : "1929a537-5002-437f-a51b-b5c5e2daeb50"
      } ],
      "device_id" : "dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-b96c71bd-53cf-424f-94d3-129550b80886",
      "device_owner" : "network:dhcp",
      "security_groups" : [ ],
      "allowed_address_pairs" : [ ],
      "binding:host_id" : "host3",
      "binding:vnic_type" : "normal",
      "binding:vif_type" : "ovs",
      "Map" : {
         "uuid" : "7e3919dc-0eff-4ba4-8a54-0076bd15cb81",
         "support_vhost_user" : "false",
         "has_datapath_type_netdev" : "false"
      },
      "extra_dhcp_opts" : [ ],
      "port_security_enabled" : false
   } ]
} </msg>
<msg timestamp="20181016 01:01:04.544" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181016 01:01:04.544" level="INFO">${ODLResult} = {u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'0e7e2832-741d-4a69-9d62-6a7e455d62cd'}, u'binding:host_id': u'host2', u'name': u'', u'allowed_a...</msg>
<status status="PASS" endtime="20181016 01:01:04.544" starttime="20181016 01:01:04.543"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181016 01:01:04.545" level="INFO">{u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'0e7e2832-741d-4a69-9d62-6a7e455d62cd'}, u'binding:host_id': u'host2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', 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:20:03:b9', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'1929a537-5002-437f-a51b-b5c5e2daeb50', u'ip_address': u'192.16.1.101'}], u'id': u'c221181f-2183-4918-a758-c5c2ffba0d78', u'security_groups': [], u'device_id': u'dhcp6e683b9c-430b-509e-9237-cf130714d68f-b96c71bd-53cf-424f-94d3-129550b80886'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'ed3a648a-d82a-4727-868c-c5e4f0f7564e'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', 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:1e:f7:0f', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'1929a537-5002-437f-a51b-b5c5e2daeb50', u'ip_address': u'192.16.1.103'}], u'id': u'6fae0365-4a08-4666-9aea-0043958e533b', u'security_groups': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-b96c71bd-53cf-424f-94d3-129550b80886'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'7e3919dc-0eff-4ba4-8a54-0076bd15cb81'}, u'binding:host_id': u'host3', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', 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:73:4d:44', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'098ccc8e-e0f0-445e-bd1a-eb94de6863ee', u'ip_address': u'172.16.64.21'}], u'id': u'6dfa0794-dd11-4acd-8c49-fc6ca4304f84', u'security_groups': [], u'device_id': u'dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-9200252c-dbe0-445e-8ac1-3b4755bc9b4d'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'ed3a648a-d82a-4727-868c-c5e4f0f7564e'}, u'binding:host_id': u'host1', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', 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:83:a5:8b', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'098ccc8e-e0f0-445e-bd1a-eb94de6863ee', u'ip_address': u'172.16.64.22'}], u'id': u'd99e0474-7ec9-4ad5-834a-26ee02d418a0', u'security_groups': [], u'device_id': u'dhcp540ba512-ba2e-5213-b381-56c767787d41-9200252c-dbe0-445e-8ac1-3b4755bc9b4d'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'0e7e2832-741d-4a69-9d62-6a7e455d62cd'}, u'binding:host_id': u'host2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'9200252c-dbe0-445e-8ac1-3b4755bc9b4d', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', 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:81:45:00', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'098ccc8e-e0f0-445e-bd1a-eb94de6863ee', u'ip_address': u'172.16.64.20'}], u'id': u'452b5202-10d2-42ac-82bc-e3570b187c55', u'security_groups': [], u'device_id': u'dhcp6e683b9c-430b-509e-9237-cf130714d68f-9200252c-dbe0-445e-8ac1-3b4755bc9b4d'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'7e3919dc-0eff-4ba4-8a54-0076bd15cb81'}, u'binding:host_id': u'host3', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', 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:d2:29:1a', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'1929a537-5002-437f-a51b-b5c5e2daeb50', u'ip_address': u'192.16.1.102'}], u'id': u'c43a22e7-85c9-4429-be08-d3042fc23401', u'security_groups': [], u'device_id': u'dhcp2197ba4b-134a-51ec-99fb-2dd0d9b2a42f-b96c71bd-53cf-424f-94d3-129550b80886'}]}</msg>
<status status="PASS" endtime="20181016 01:01:04.545" starttime="20181016 01:01:04.544"></status>
</kw>
<kw name="Get Request" library="RequestsLibrary">
<doc>Send a GET request on the session object found using the</doc>
<arguments>
<arg>ODLSession</arg>
<arg>${NEUTRON_PORTS_API}/${PORTID}</arg>
</arguments>
<assign>
<var>${resp}</var>
</assign>
<msg timestamp="20181016 01:01:04.550" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/f3e17689-477a-4079-94fc-afbe9e131a6e, headers=None json=None</msg>
<msg timestamp="20181016 01:01:04.550" level="INFO">${resp} = &lt;Response [404]&gt;</msg>
<status status="PASS" endtime="20181016 01:01:04.550" starttime="20181016 01:01:04.545"></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="20181016 01:01:04.551" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:01:04.551" starttime="20181016 01:01:04.550"></status>
</kw>
<doc>Check port deleted in OpenDaylight</doc>
<tags>
<tag>Check port deleted OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181016 01:01:04.551" critical="yes" starttime="20181016 01:01:04.502"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181016 01:01:04.552" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181016 01:01:04.552" starttime="20181016 01:01:04.552"></status>
</kw>
<doc>Checking Port deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="PASS" endtime="20181016 01:01:04.553" starttime="20181016 01:01:01.378"></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="20181016 01:01:04.572" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr7o'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:01:04.573" starttime="20181016 01:01:04.572"></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="20181016 01:01:04.574" 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 0x7f462b00de90&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:01:04.574" starttime="20181016 01:01:04.573"></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="20181016 01:01:04.582" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/098ccc8e-e0f0-445e-bd1a-eb94de6863ee, headers=None json=None</msg>
<msg timestamp="20181016 01:01:04.583" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:01:04.583" starttime="20181016 01:01:04.575"></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="20181016 01:01:04.583" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:01:04.583" starttime="20181016 01:01:04.583"></status>
</kw>
<status status="PASS" endtime="20181016 01:01:04.584" starttime="20181016 01:01:04.574"></status>
</kw>
<status status="PASS" endtime="20181016 01:01:04.584" starttime="20181016 01:01:04.571"></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="20181016 01:01:04.585" level="INFO">{"subnet":{"network_id":"9200252c-dbe0-445e-8ac1-3b4755bc9b4d","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="20181016 01:01:04.585" starttime="20181016 01:01:04.585"></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="20181016 01:01:04.590" 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="20181016 01:01:07.911" level="INFO">Delete Request using : alias=OSSession, uri=/v2.0/subnets/098ccc8e-e0f0-445e-bd1a-eb94de6863ee, data=(),                     headers=None, allow_redirects=True </msg>
<msg timestamp="20181016 01:01:07.912" level="INFO">${resp} = &lt;Response [204]&gt;</msg>
<status status="PASS" endtime="20181016 01:01:07.912" starttime="20181016 01:01:04.585"></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="20181016 01:01:07.913" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:01:07.913" starttime="20181016 01:01:07.912"></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="20181016 01:01:07.914" level="INFO"></msg>
<status status="PASS" endtime="20181016 01:01:07.914" starttime="20181016 01:01:07.913"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181016 01:01:09.915" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181016 01:01:09.915" starttime="20181016 01:01:07.914"></status>
</kw>
<doc>Delete previously created subnet in OpenStack</doc>
<tags>
<tag>Delete Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181016 01:01:09.915" critical="yes" starttime="20181016 01:01:04.584"></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="20181016 01:01:09.923" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets, headers=None json=None</msg>
<msg timestamp="20181016 01:01:09.923" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:01:09.923" starttime="20181016 01:01:09.917"></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="20181016 01:01:09.924" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:01:09.924" starttime="20181016 01:01:09.924"></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="20181016 01:01:09.925" level="INFO">To JSON using : content={
   "subnets" : [ {
      "id" : "1929a537-5002-437f-a51b-b5c5e2daeb50",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "project_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "revision_number" : 0,
      "name" : "ext-subnet",
      "network_id" : "b96c71bd-53cf-424f-94d3-129550b80886",
      "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="20181016 01:01:09.925" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181016 01:01:09.925" level="INFO">${ODLResult} = {u'subnets': [{u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', u'dns_nameservers': [], u'ipv6_r...</msg>
<status status="PASS" endtime="20181016 01:01:09.925" starttime="20181016 01:01:09.925"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181016 01:01:09.926" level="INFO">{u'subnets': [{u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'b96c71bd-53cf-424f-94d3-129550b80886', u'tenant_id': u'18031218bc9743b5bffafebfd8bea3c2', 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'18031218bc9743b5bffafebfd8bea3c2', u'id': u'1929a537-5002-437f-a51b-b5c5e2daeb50'}]}</msg>
<status status="PASS" endtime="20181016 01:01:09.926" starttime="20181016 01:01:09.925"></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="20181016 01:01:09.932" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/098ccc8e-e0f0-445e-bd1a-eb94de6863ee, headers=None json=None</msg>
<msg timestamp="20181016 01:01:09.932" level="INFO">${resp} = &lt;Response [404]&gt;</msg>
<status status="PASS" endtime="20181016 01:01:09.932" starttime="20181016 01:01:09.926"></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="20181016 01:01:09.932" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:01:09.933" starttime="20181016 01:01:09.932"></status>
</kw>
<doc>Check subnet deleted in OpenDaylight</doc>
<tags>
<tag>Check subnet deleted OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181016 01:01:09.933" critical="yes" starttime="20181016 01:01:09.916"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181016 01:01:09.934" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181016 01:01:09.934" starttime="20181016 01:01:09.934"></status>
</kw>
<doc>Checking Subnets deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="PASS" endtime="20181016 01:01:09.934" starttime="20181016 01:01:04.555"></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="20181016 01:01:09.952" level="INFO">Creating Session using : alias=OSSession, url=https://192.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABbxThEFqER19rDT0H9o6HeeW4Tqk3H1m8DUFvUERChoXp9uy-kQD5k2PJ2wiJUFMCD9y4f4TfO4XHaL4LHSz8LwoDFiLrh67FGJGRawmkSLfDIHF-VjIoyZiukHCppUGLgXVf1-otHhUhuxp7amoFqk7f9tOZ_IkYD_t_9TjMacS1mr7o'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:01:09.953" starttime="20181016 01:01:09.952"></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="20181016 01:01:09.953" 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 0x7f462b008f90&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20181016 01:01:09.954" starttime="20181016 01:01:09.953"></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="20181016 01:01:09.961" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/9200252c-dbe0-445e-8ac1-3b4755bc9b4d, headers=None json=None</msg>
<msg timestamp="20181016 01:01:09.962" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:01:09.962" starttime="20181016 01:01:09.954"></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="20181016 01:01:09.963" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:01:09.963" starttime="20181016 01:01:09.962"></status>
</kw>
<status status="PASS" endtime="20181016 01:01:09.963" starttime="20181016 01:01:09.954"></status>
</kw>
<status status="PASS" endtime="20181016 01:01:09.964" starttime="20181016 01:01:09.952"></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="20181016 01:01:09.965" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20181016 01:01:09.965" starttime="20181016 01:01:09.965"></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="20181016 01:01:09.971" 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="20181016 01:01:12.436" level="INFO">Delete Request using : alias=OSSession, uri=/v2.0/networks/9200252c-dbe0-445e-8ac1-3b4755bc9b4d, data=(),                     headers=None, allow_redirects=True </msg>
<msg timestamp="20181016 01:01:12.436" level="INFO">${resp} = &lt;Response [204]&gt;</msg>
<status status="PASS" endtime="20181016 01:01:12.437" starttime="20181016 01:01:09.966"></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="20181016 01:01:12.437" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:01:12.438" starttime="20181016 01:01:12.437"></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="20181016 01:01:12.438" level="INFO"></msg>
<status status="PASS" endtime="20181016 01:01:12.438" starttime="20181016 01:01:12.438"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20181016 01:01:14.439" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20181016 01:01:14.439" starttime="20181016 01:01:12.438"></status>
</kw>
<doc>Delete network in OpenStack</doc>
<tags>
<tag>Delete Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20181016 01:01:14.440" critical="yes" starttime="20181016 01:01:09.964"></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="20181016 01:01:14.452" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks, headers=None json=None</msg>
<msg timestamp="20181016 01:01:14.453" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20181016 01:01:14.453" starttime="20181016 01:01:14.441"></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="20181016 01:01:14.453" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:01:14.454" starttime="20181016 01:01:14.453"></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="20181016 01:01:14.454" 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" : "b96c71bd-53cf-424f-94d3-129550b80886",
      "tenant_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "project_id" : "18031218bc9743b5bffafebfd8bea3c2",
      "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="20181016 01:01:14.454" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20181016 01:01:14.454" 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="20181016 01:01:14.455" starttime="20181016 01:01:14.454"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${ODLResult}</arg>
</arguments>
<msg timestamp="20181016 01:01:14.455" 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'18031218bc9743b5bffafebfd8bea3c2', u'segments': [], u'provider:network_type': u'flat', u'revision_number': 1, u'shared': False, u'project_id': u'18031218bc9743b5bffafebfd8bea3c2', u'id': u'b96c71bd-53cf-424f-94d3-129550b80886'}]}</msg>
<status status="PASS" endtime="20181016 01:01:14.455" starttime="20181016 01:01:14.455"></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="20181016 01:01:14.461" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/9200252c-dbe0-445e-8ac1-3b4755bc9b4d, headers=None json=None</msg>
<msg timestamp="20181016 01:01:14.461" level="INFO">${resp} = &lt;Response [404]&gt;</msg>
<status status="PASS" endtime="20181016 01:01:14.461" starttime="20181016 01:01:14.455"></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="20181016 01:01:14.462" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20181016 01:01:14.462" starttime="20181016 01:01:14.462"></status>
</kw>
<doc>Check network deleted in OpenDaylight</doc>
<tags>
<tag>Check Network OpenDaylight</tag>
</tags>
<status status="PASS" endtime="20181016 01:01:14.462" critical="yes" starttime="20181016 01:01:14.440"></status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181016 01:01:14.463" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181016 01:01:14.463" starttime="20181016 01:01:14.463"></status>
</kw>
<doc>Checking Network deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="PASS" endtime="20181016 01:01:14.463" starttime="20181016 01:01:09.935"></status>
</suite>
<kw type="teardown" name="Stop Suite">
<kw name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20181016 01:01:14.467" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20181016 01:01:14.467" starttime="20181016 01:01:14.467"></status>
</kw>
<status status="PASS" endtime="20181016 01:01:14.467" starttime="20181016 01:01:14.466"></status>
</kw>
<doc>Test suite for Neutron Plugin</doc>
<status status="PASS" endtime="20181016 01:01:14.467" starttime="20181016 01:00:52.249"></status>
</suite>
<status status="FAIL" endtime="20181016 01:01:14.473" starttime="20181016 01:00:51.507"></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="20181016 01:00:52.315" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20181016 01:00:52.321" 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="20181016 01:00:52.842" 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="20181016 01:00:53.046" 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="20181016 01:00:55.423" 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="20181016 01:00:55.518" 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="20181016 01:00:58.219" 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="20181016 01:00:58.370" 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="20181016 01:01:01.423" 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="20181016 01:01:04.590" 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="20181016 01:01:09.971" 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>
