<?xml version="1.0" encoding="UTF-8"?>
<robot generated="20180715 21:22:55.887" generator="Robot 3.0.2 (Python 2.7.14 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="20180715 21:22:55.951" level="INFO">Creating Session using : alias=session, url=http://192.30.9.8:8081, headers={u'Content-Type': u'application/xml'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f64d3146350&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:22:55.951" starttime="20180715 21:22:55.950"></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="20180715 21:22:55.975" level="INFO">Get Request using : alias=session, uri=/restconf/modules, headers=None json=None</msg>
<msg timestamp="20180715 21:22:55.975" level="INFO">${resp} = &lt;Response [401]&gt;</msg>
<status status="PASS" endtime="20180715 21:22:55.975" starttime="20180715 21:22:55.952"></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="20180715 21:22:55.976" level="INFO"></msg>
<status status="PASS" endtime="20180715 21:22:55.976" starttime="20180715 21:22:55.975"></status>
</kw>
<kw name="Should Be Equal" library="BuiltIn">
<doc>Fails if the given objects are unequal.</doc>
<arguments>
<arg>${resp.status_code}</arg>
<arg>${200}</arg>
</arguments>
<msg timestamp="20180715 21:22:55.977" level="FAIL">401 != 200</msg>
<status status="FAIL" endtime="20180715 21:22:55.977" starttime="20180715 21:22:55.976"></status>
</kw>
<doc>Get the restconf modules, check 200 status and ietf-restconf presence.</doc>
<status status="FAIL" endtime="20180715 21:22:55.977" critical="yes" starttime="20180715 21:22:55.951">401 != 200</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180715 21:22:55.978" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180715 21:22:55.979" starttime="20180715 21:22:55.978"></status>
</kw>
<doc>Test suite to verify Restconf is OK.</doc>
<status status="FAIL" endtime="20180715 21:22:55.979" starttime="20180715 21:22:55.919"></status>
</suite>
<status status="FAIL" endtime="20180715 21:22:55.980" starttime="20180715 21:22:55.917"></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="20180715 21:22:56.027" level="INFO">Creating Session using : alias=KeyStoneSession, url=http://172.30.9.27: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="20180715 21:22:56.028" starttime="20180715 21:22:56.027"></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="20180715 21:22:56.029" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
<msg timestamp="20180715 21:22:56.504" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180715 21:22:56.504" starttime="20180715 21:22:56.028"></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="20180715 21:22:56.505" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180715 21:22:56.505" starttime="20180715 21:22:56.504"></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="20180715 21:22:56.506" level="INFO">${TOKEN} = gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG6U</msg>
<status status="PASS" endtime="20180715 21:22:56.506" starttime="20180715 21:22:56.506"></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="20180715 21:22:56.508" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG...</msg>
<status status="PASS" endtime="20180715 21:22:56.508" starttime="20180715 21:22:56.507"></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="20180715 21:22:56.509" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG...</msg>
<status status="PASS" endtime="20180715 21:22:56.509" starttime="20180715 21:22:56.508"></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="20180715 21:22:56.510" level="INFO">${X-AUTH} = {u'X-Auth-Token': 'gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG...</msg>
<status status="PASS" endtime="20180715 21:22:56.510" starttime="20180715 21:22:56.509"></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="20180715 21:22:56.511" level="INFO">${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG...</msg>
<status status="PASS" endtime="20180715 21:22:56.511" starttime="20180715 21:22:56.510"></status>
</kw>
<status status="PASS" endtime="20180715 21:22:56.511" starttime="20180715 21:22:56.026"></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="20180715 21:22:56.538" level="INFO">Creating Session using : alias=ODL, url=http://192.30.9.8:8081, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f64d309cad0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:22:56.539" starttime="20180715 21:22:56.537"></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="20180715 21:22:56.559" level="INFO">Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/networks, headers=None json=None</msg>
<msg timestamp="20180715 21:22:56.559" level="INFO">${resp} = &lt;Response [401]&gt;</msg>
<status status="PASS" endtime="20180715 21:22:56.559" starttime="20180715 21:22:56.540"></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="20180715 21:22:56.560" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<msg timestamp="20180715 21:22:56.560" level="FAIL">401 != 200</msg>
<status status="FAIL" endtime="20180715 21:22:56.560" starttime="20180715 21:22:56.559"></status>
</kw>
<doc>Get the complete list of networks</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180715 21:22:56.561" critical="yes" starttime="20180715 21:22:56.539">401 != 200</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="20180715 21:22:56.577" level="INFO">Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/subnets, headers=None json=None</msg>
<msg timestamp="20180715 21:22:56.577" level="INFO">${resp} = &lt;Response [401]&gt;</msg>
<status status="PASS" endtime="20180715 21:22:56.577" starttime="20180715 21:22:56.562"></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="20180715 21:22:56.578" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<msg timestamp="20180715 21:22:56.578" level="FAIL">401 != 200</msg>
<status status="FAIL" endtime="20180715 21:22:56.578" starttime="20180715 21:22:56.577"></status>
</kw>
<doc>Get the complete list of subnets</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180715 21:22:56.579" critical="yes" starttime="20180715 21:22:56.561">401 != 200</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="20180715 21:22:56.593" level="INFO">Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/ports, headers=None json=None</msg>
<msg timestamp="20180715 21:22:56.594" level="INFO">${resp} = &lt;Response [401]&gt;</msg>
<status status="PASS" endtime="20180715 21:22:56.594" starttime="20180715 21:22:56.580"></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="20180715 21:22:56.594" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<msg timestamp="20180715 21:22:56.595" level="FAIL">401 != 200</msg>
<status status="FAIL" endtime="20180715 21:22:56.595" starttime="20180715 21:22:56.594"></status>
</kw>
<doc>Get the complete list of ports</doc>
<tags>
<tag>reachability</tag>
</tags>
<status status="FAIL" endtime="20180715 21:22:56.595" critical="yes" starttime="20180715 21:22:56.579">401 != 200</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180715 21:22:56.596" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180715 21:22:56.596" starttime="20180715 21:22:56.596"></status>
</kw>
<status status="FAIL" endtime="20180715 21:22:56.597" starttime="20180715 21:22:56.511"></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="20180715 21:22:56.614" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.27:9696, headers={u'X-Auth-Token': 'gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG6U', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:22:56.614" starttime="20180715 21:22:56.614"></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="20180715 21:22:56.616" level="INFO">{u'X-Auth-Token': 'gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG6U', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180715 21:22:56.616" starttime="20180715 21:22:56.615"></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="20180715 21:22:56.858" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/networks, headers=None json=None</msg>
<msg timestamp="20180715 21:22:56.859" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180715 21:22:56.859" starttime="20180715 21:22:56.616"></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="20180715 21:22:56.859" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180715 21:22:56.859" starttime="20180715 21:22:56.859"></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="20180715 21:22:56.860" level="INFO">To JSON using : content={"networks":[{"provider:physical_network":"datacentre","ipv6_address_scope":null,"revision_number":2,"port_security_enabled":true,"mtu":1500,"id":"595732ea-191d-4af2-b2a6-99674c968eec","router:external":true,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"91c5c8c8213547dfb1e30af42577026b","status":"ACTIVE","subnets":["f6de302e-e276-4137-86b7-ad08fbabf76d"],"description":"","tags":[],"updated_at":"2018-07-15T21:15:22Z","is_default":false,"provider:segmentation_id":null,"name":"external","admin_state_up":true,"tenant_id":"91c5c8c8213547dfb1e30af42577026b","created_at":"2018-07-15T21:15:17Z","provider:network_type":"flat"}]} </msg>
<msg timestamp="20180715 21:22:56.860" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180715 21:22:56.860" level="INFO">${OSResult} = {u'networks': [{u'provider:physical_network': u'datacentre', u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'595732ea-19...</msg>
<status status="PASS" endtime="20180715 21:22:56.860" starttime="20180715 21:22:56.860"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180715 21:22:56.861" level="INFO">{u'networks': [{u'provider:physical_network': u'datacentre', u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'595732ea-191d-4af2-b2a6-99674c968eec', 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'91c5c8c8213547dfb1e30af42577026b', u'status': u'ACTIVE', u'subnets': [u'f6de302e-e276-4137-86b7-ad08fbabf76d'], u'description': u'', u'tags': [], u'updated_at': u'2018-07-15T21:15:22Z', u'is_default': False, u'provider:segmentation_id': None, u'name': u'external', u'admin_state_up': True, u'tenant_id': u'91c5c8c8213547dfb1e30af42577026b', u'created_at': u'2018-07-15T21:15:17Z', u'mtu': 1500}]}</msg>
<status status="PASS" endtime="20180715 21:22:56.861" starttime="20180715 21:22:56.861"></status>
</kw>
<doc>Checking OpenStack Neutron for known networks</doc>
<tags>
<tag>Network Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180715 21:22:56.861" critical="yes" starttime="20180715 21:22:56.615"></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="20180715 21:22:56.863" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.8:8081, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f64d309c310&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:22:56.863" starttime="20180715 21:22:56.862"></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="20180715 21:22:56.881" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks, headers=None json=None</msg>
<msg timestamp="20180715 21:22:56.881" level="INFO">${resp} = &lt;Response [401]&gt;</msg>
<status status="PASS" endtime="20180715 21:22:56.881" starttime="20180715 21:22:56.864"></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="20180715 21:22:56.882" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<msg timestamp="20180715 21:22:56.883" level="FAIL">401 != 200</msg>
<status status="FAIL" endtime="20180715 21:22:56.883" starttime="20180715 21:22:56.882"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known networks</doc>
<tags>
<tag>Network Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180715 21:22:56.883" critical="yes" starttime="20180715 21:22:56.861">401 != 200</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="20180715 21:22:56.886" level="INFO">{"network":{"name":"odl_network","admin_state_up":true}}</msg>
<status status="PASS" endtime="20180715 21:22:56.886" starttime="20180715 21:22:56.885"></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="20180715 21:22:57.451" 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="20180715 21:22:57.452" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180715 21:22:57.452" starttime="20180715 21:22:56.886"></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="20180715 21:22:57.453" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180715 21:22:57.453" starttime="20180715 21:22:57.452"></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="20180715 21:22:57.454" 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":"4c3bb06f-776c-4196-a8fa-eeec98a07c45","router:external":false,"availability_zone_hints":[],"availability_zones":[],"ipv4_address_scope":null,"shared":false,"project_id":"52690990a52243adb7d5a696f81b986e","status":"ACTIVE","subnets":[],"description":"","tags":[],"updated_at":"2018-07-15T21:22:57Z","is_default":false,"provider:segmentation_id":35,"name":"odl_network","admin_state_up":true,"tenant_id":"52690990a52243adb7d5a696f81b986e","created_at":"2018-07-15T21:22:56Z","mtu":1450}} </msg>
<msg timestamp="20180715 21:22:57.455" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180715 21:22:57.455" 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'4c3bb06f-776c-4196-a8fa-eeec98a07c45', u'ro...</msg>
<status status="PASS" endtime="20180715 21:22:57.455" starttime="20180715 21:22:57.454"></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="20180715 21:22:57.456" 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'4c3bb06f-776c-4196-a8fa-eeec98a07c45', u'router:external...</msg>
<status status="PASS" endtime="20180715 21:22:57.456" starttime="20180715 21:22:57.456"></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="20180715 21:22:57.457" level="INFO">${NETID} = 4c3bb06f-776c-4196-a8fa-eeec98a07c45</msg>
<status status="PASS" endtime="20180715 21:22:57.458" starttime="20180715 21:22:57.457"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180715 21:22:57.458" 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'4c3bb06f-776c-4196-a8fa-eeec98a07c45', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'52690990a52243adb7d5a696f81b986e', u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'tags': [], u'updated_at': u'2018-07-15T21:22:57Z', u'is_default': False, u'provider:segmentation_id': 35, u'name': u'odl_network', u'admin_state_up': True, u'tenant_id': u'52690990a52243adb7d5a696f81b986e', u'created_at': u'2018-07-15T21:22:56Z', u'provider:network_type': u'vxlan'}</msg>
<status status="PASS" endtime="20180715 21:22:57.459" starttime="20180715 21:22:57.458"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${NETID}</arg>
</arguments>
<msg timestamp="20180715 21:22:57.460" level="INFO">4c3bb06f-776c-4196-a8fa-eeec98a07c45</msg>
<status status="PASS" endtime="20180715 21:22:57.460" starttime="20180715 21:22:57.459"></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="20180715 21:22:57.461" level="INFO">${NETID} = 4c3bb06f-776c-4196-a8fa-eeec98a07c45</msg>
<status status="PASS" endtime="20180715 21:22:57.461" starttime="20180715 21:22:57.460"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180715 21:22:59.462" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180715 21:22:59.463" starttime="20180715 21:22:57.461"></status>
</kw>
<doc>Create new network in OpenStack</doc>
<tags>
<tag>Create Network OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180715 21:22:59.463" critical="yes" starttime="20180715 21:22:56.884"></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="20180715 21:22:59.482" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/4c3bb06f-776c-4196-a8fa-eeec98a07c45, headers=None json=None</msg>
<msg timestamp="20180715 21:22:59.482" level="INFO">${resp} = &lt;Response [401]&gt;</msg>
<status status="PASS" endtime="20180715 21:22:59.483" starttime="20180715 21:22:59.465"></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="20180715 21:22:59.484" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<msg timestamp="20180715 21:22:59.484" level="FAIL">401 != 200</msg>
<status status="FAIL" endtime="20180715 21:22:59.484" starttime="20180715 21:22:59.483"></status>
</kw>
<doc>Check network created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>Network OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180715 21:22:59.485" critical="yes" starttime="20180715 21:22:59.464">401 != 200</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180715 21:22:59.487" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180715 21:22:59.487" starttime="20180715 21:22:59.486"></status>
</kw>
<doc>Checking Network created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180715 21:22:59.487" starttime="20180715 21:22:56.598"></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="20180715 21:22:59.521" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.27:9696, headers={u'X-Auth-Token': 'gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG6U', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:22:59.521" starttime="20180715 21:22:59.520"></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="20180715 21:22:59.523" level="INFO">{u'X-Auth-Token': 'gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG6U', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180715 21:22:59.523" starttime="20180715 21:22:59.523"></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="20180715 21:22:59.566" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/subnets, headers=None json=None</msg>
<msg timestamp="20180715 21:22:59.567" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180715 21:22:59.567" starttime="20180715 21:22:59.523"></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="20180715 21:22:59.568" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180715 21:22:59.568" starttime="20180715 21:22:59.567"></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="20180715 21:22:59.569" level="INFO">To JSON using : content={"subnets":[{"service_types":[],"description":"","enable_dhcp":false,"tags":[],"network_id":"595732ea-191d-4af2-b2a6-99674c968eec","tenant_id":"91c5c8c8213547dfb1e30af42577026b","created_at":"2018-07-15T21:15:22Z","dns_nameservers":[],"updated_at":"2018-07-15T21:15:22Z","ipv6_ra_mode":null,"allocation_pools":[{"start":"172.30.9.200","end":"172.30.9.220"}],"gateway_ip":"172.30.9.1","revision_number":0,"ipv6_address_mode":null,"ip_version":4,"host_routes":[],"cidr":"172.30.9.0/24","project_id":"91c5c8c8213547dfb1e30af42577026b","id":"f6de302e-e276-4137-86b7-ad08fbabf76d","subnetpool_id":null,"name":"external-subnet"}]} </msg>
<msg timestamp="20180715 21:22:59.569" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180715 21:22:59.570" level="INFO">${OSResult} = {u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': False, u'tags': [], u'network_id': u'595732ea-191d-4af2-b2a6-99674c968eec', u'tenant_id': u'91c5c8c8213547...</msg>
<status status="PASS" endtime="20180715 21:22:59.570" starttime="20180715 21:22:59.568"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180715 21:22:59.570" level="INFO">{u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': False, u'tags': [], u'network_id': u'595732ea-191d-4af2-b2a6-99674c968eec', u'tenant_id': u'91c5c8c8213547dfb1e30af42577026b', u'created_at': u'2018-07-15T21:15:22Z', u'dns_nameservers': [], u'updated_at': u'2018-07-15T21:15:22Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'172.30.9.200', u'end': u'172.30.9.220'}], u'gateway_ip': u'172.30.9.1', u'revision_number': 0, u'ip_version': 4, u'ipv6_address_mode': None, u'cidr': u'172.30.9.0/24', u'project_id': u'91c5c8c8213547dfb1e30af42577026b', u'id': u'f6de302e-e276-4137-86b7-ad08fbabf76d', u'subnetpool_id': None, u'name': u'external-subnet'}]}</msg>
<status status="PASS" endtime="20180715 21:22:59.571" starttime="20180715 21:22:59.570"></status>
</kw>
<doc>Checking OpenStack Neutron for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180715 21:22:59.571" critical="yes" starttime="20180715 21:22:59.522"></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="20180715 21:22:59.574" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.8:8081, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f64d2fe5e90&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:22:59.575" starttime="20180715 21:22:59.573"></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="20180715 21:22:59.589" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets, headers=None json=None</msg>
<msg timestamp="20180715 21:22:59.589" level="INFO">${resp} = &lt;Response [401]&gt;</msg>
<status status="PASS" endtime="20180715 21:22:59.589" starttime="20180715 21:22:59.576"></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="20180715 21:22:59.591" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<msg timestamp="20180715 21:22:59.591" level="FAIL">401 != 200</msg>
<status status="FAIL" endtime="20180715 21:22:59.591" starttime="20180715 21:22:59.590"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known subnets</doc>
<tags>
<tag>Subnets Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180715 21:22:59.592" critical="yes" starttime="20180715 21:22:59.572">401 != 200</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="20180715 21:22:59.594" level="INFO">{"subnet":{"network_id":"4c3bb06f-776c-4196-a8fa-eeec98a07c45","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="20180715 21:22:59.594" starttime="20180715 21:22:59.593"></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="20180715 21:23:00.035" 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="20180715 21:23:00.035" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180715 21:23:00.036" starttime="20180715 21:22:59.595"></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="20180715 21:23:00.037" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180715 21:23:00.037" starttime="20180715 21:23:00.036"></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="20180715 21:23:00.038" level="INFO">To JSON using : content={"subnet":{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"4c3bb06f-776c-4196-a8fa-eeec98a07c45","tenant_id":"52690990a52243adb7d5a696f81b986e","created_at":"2018-07-15T21:22:59Z","dns_nameservers":[],"updated_at":"2018-07-15T21:22:59Z","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":"52690990a52243adb7d5a696f81b986e","id":"95f0c5a5-3bf1-4995-b645-c1d953bcebb9","subnetpool_id":null,"name":""}} </msg>
<msg timestamp="20180715 21:23:00.038" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180715 21:23:00.039" level="INFO">${result} = {u'subnet': {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'4c3bb06f-776c-4196-a8fa-eeec98a07c45', u'tenant_id': u'52690990a52243adb7d5a696f81b986e', u'...</msg>
<status status="PASS" endtime="20180715 21:23:00.039" starttime="20180715 21:23:00.037"></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="20180715 21:23:00.040" level="INFO">${result} = {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'4c3bb06f-776c-4196-a8fa-eeec98a07c45', u'tenant_id': u'52690990a52243adb7d5a696f81b986e', u'created_at':...</msg>
<status status="PASS" endtime="20180715 21:23:00.040" starttime="20180715 21:23:00.039"></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="20180715 21:23:00.041" level="INFO">${SUBNETID} = 95f0c5a5-3bf1-4995-b645-c1d953bcebb9</msg>
<status status="PASS" endtime="20180715 21:23:00.041" starttime="20180715 21:23:00.040"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180715 21:23:00.042" level="INFO">{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'4c3bb06f-776c-4196-a8fa-eeec98a07c45', u'tenant_id': u'52690990a52243adb7d5a696f81b986e', u'created_at': u'2018-07-15T21:22:59Z', u'dns_nameservers': [], u'updated_at': u'2018-07-15T21:22:59Z', 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'52690990a52243adb7d5a696f81b986e', u'id': u'95f0c5a5-3bf1-4995-b645-c1d953bcebb9', u'subnetpool_id': None, u'name': u''}</msg>
<status status="PASS" endtime="20180715 21:23:00.042" starttime="20180715 21:23:00.041"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${SUBNETID}</arg>
</arguments>
<msg timestamp="20180715 21:23:00.043" level="INFO">95f0c5a5-3bf1-4995-b645-c1d953bcebb9</msg>
<status status="PASS" endtime="20180715 21:23:00.043" starttime="20180715 21:23:00.042"></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="20180715 21:23:00.045" level="INFO">${SUBNETID} = 95f0c5a5-3bf1-4995-b645-c1d953bcebb9</msg>
<status status="PASS" endtime="20180715 21:23:00.045" starttime="20180715 21:23:00.044"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180715 21:23:02.046" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180715 21:23:02.046" starttime="20180715 21:23:00.045"></status>
</kw>
<doc>Create new subnet in OpenStack</doc>
<tags>
<tag>Create Subnet OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180715 21:23:02.047" critical="yes" starttime="20180715 21:22:59.592"></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="20180715 21:23:02.062" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/95f0c5a5-3bf1-4995-b645-c1d953bcebb9, headers=None json=None</msg>
<msg timestamp="20180715 21:23:02.062" level="INFO">${resp} = &lt;Response [401]&gt;</msg>
<status status="PASS" endtime="20180715 21:23:02.062" starttime="20180715 21:23:02.049"></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="20180715 21:23:02.063" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<msg timestamp="20180715 21:23:02.064" level="FAIL">401 != 200</msg>
<status status="FAIL" endtime="20180715 21:23:02.064" starttime="20180715 21:23:02.063"></status>
</kw>
<doc>Check new subnet created in OpenDaylight</doc>
<tags>
<tag>Check</tag>
<tag>subnet OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180715 21:23:02.065" critical="yes" starttime="20180715 21:23:02.048">401 != 200</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180715 21:23:02.066" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180715 21:23:02.066" starttime="20180715 21:23:02.066"></status>
</kw>
<doc>Checking Subnets created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180715 21:23:02.066" starttime="20180715 21:22:59.490"></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="20180715 21:23:02.096" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.27:9696, headers={u'X-Auth-Token': 'gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG6U', u'Content-Type': u'application/json'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:23:02.097" starttime="20180715 21:23:02.095"></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="20180715 21:23:02.098" level="INFO">{u'X-Auth-Token': 'gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG6U', u'Content-Type': u'application/json'}</msg>
<status status="PASS" endtime="20180715 21:23:02.098" starttime="20180715 21:23:02.098"></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="20180715 21:23:02.360" level="INFO">Get Request using : alias=OSSession, uri=/v2.0/ports, headers=None json=None</msg>
<msg timestamp="20180715 21:23:02.360" level="INFO">${resp} = &lt;Response [200]&gt;</msg>
<status status="PASS" endtime="20180715 21:23:02.360" starttime="20180715 21:23:02.099"></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="20180715 21:23:02.361" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180715 21:23:02.362" starttime="20180715 21:23:02.361"></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="20180715 21:23:02.363" level="INFO">To JSON using : content={"ports":[{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-07-15T21:23:00Z","device_owner":"network:dhcp","revision_number":2,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"95f0c5a5-3bf1-4995-b645-c1d953bcebb9","ip_address":"172.16.64.20"}],"id":"b1d1ae66-1250-4d71-9995-f10bb2cad4bb","security_groups":[],"binding:vif_details":{},"binding:vif_type":"ovs","mac_address":"fa:16:3e:b0:36:07","project_id":"52690990a52243adb7d5a696f81b986e","status":"DOWN","binding:host_id":"overcloud-controller-0.opnfvlf.org","description":"","tags":[],"device_id":"dhcp827da361-9c56-50f7-913f-5a01f7bfed2c-4c3bb06f-776c-4196-a8fa-eeec98a07c45","name":"","admin_state_up":true,"network_id":"4c3bb06f-776c-4196-a8fa-eeec98a07c45","tenant_id":"52690990a52243adb7d5a696f81b986e","created_at":"2018-07-15T21:23:00Z","binding:vnic_type":"normal"}]} </msg>
<msg timestamp="20180715 21:23:02.364" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180715 21:23:02.364" level="INFO">${OSResult} = {u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-07-15T21:23:00Z', u'device_owner': u'network:dhcp', u'revision_number': 2, u'port_security_enabled': False, u'b...</msg>
<status status="PASS" endtime="20180715 21:23:02.364" starttime="20180715 21:23:02.362"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${OSResult}</arg>
</arguments>
<msg timestamp="20180715 21:23:02.365" level="INFO">{u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-07-15T21:23:00Z', 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'95f0c5a5-3bf1-4995-b645-c1d953bcebb9', u'ip_address': u'172.16.64.20'}], u'id': u'b1d1ae66-1250-4d71-9995-f10bb2cad4bb', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:b0:36:07', u'project_id': u'52690990a52243adb7d5a696f81b986e', u'status': u'DOWN', u'binding:host_id': u'overcloud-controller-0.opnfvlf.org', u'description': u'', u'tags': [], u'device_id': u'dhcp827da361-9c56-50f7-913f-5a01f7bfed2c-4c3bb06f-776c-4196-a8fa-eeec98a07c45', u'name': u'', u'admin_state_up': True, u'network_id': u'4c3bb06f-776c-4196-a8fa-eeec98a07c45', u'tenant_id': u'52690990a52243adb7d5a696f81b986e', u'created_at': u'2018-07-15T21:23:00Z', u'binding:vnic_type': u'normal'}]}</msg>
<status status="PASS" endtime="20180715 21:23:02.365" starttime="20180715 21:23:02.364"></status>
</kw>
<doc>Checking OpenStack Neutron for known ports</doc>
<tags>
<tag>Ports Neutron OpenStack</tag>
</tags>
<status status="PASS" endtime="20180715 21:23:02.366" critical="yes" starttime="20180715 21:23:02.097"></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="20180715 21:23:02.369" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.8:8081, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f64d3091e90&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:23:02.370" starttime="20180715 21:23:02.368"></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="20180715 21:23:02.383" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports, headers=None json=None</msg>
<msg timestamp="20180715 21:23:02.384" level="INFO">${resp} = &lt;Response [401]&gt;</msg>
<status status="PASS" endtime="20180715 21:23:02.384" starttime="20180715 21:23:02.370"></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="20180715 21:23:02.384" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<msg timestamp="20180715 21:23:02.385" level="FAIL">401 != 200</msg>
<status status="FAIL" endtime="20180715 21:23:02.385" starttime="20180715 21:23:02.384"></status>
</kw>
<doc>Checking OpenDaylight Neutron API for known ports</doc>
<tags>
<tag>Ports Neutron OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180715 21:23:02.385" critical="yes" starttime="20180715 21:23:02.366">401 != 200</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="20180715 21:23:02.386" level="INFO">{"port":{"network_id":"4c3bb06f-776c-4196-a8fa-eeec98a07c45","admin_state_up": true}}</msg>
<status status="PASS" endtime="20180715 21:23:02.386" starttime="20180715 21:23:02.386"></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="20180715 21:23:03.189" 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="20180715 21:23:03.189" level="INFO">${resp} = &lt;Response [201]&gt;</msg>
<status status="PASS" endtime="20180715 21:23:03.189" starttime="20180715 21:23:02.386"></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="20180715 21:23:03.190" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<status status="PASS" endtime="20180715 21:23:03.191" starttime="20180715 21:23:03.190"></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="20180715 21:23:03.192" level="INFO">To JSON using : content={"port":{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-07-15T21:23:02Z","device_owner":"","revision_number":1,"binding:profile":{},"port_security_enabled":true,"fixed_ips":[{"subnet_id":"95f0c5a5-3bf1-4995-b645-c1d953bcebb9","ip_address":"172.16.64.27"}],"id":"d81de21d-84d9-42a9-b149-16a54ffd9289","security_groups":["1ae669b9-ac05-4439-bd0a-f31287f2c0b0"],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:86:2c:95","project_id":"52690990a52243adb7d5a696f81b986e","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"","name":"","admin_state_up":true,"network_id":"4c3bb06f-776c-4196-a8fa-eeec98a07c45","tenant_id":"52690990a52243adb7d5a696f81b986e","created_at":"2018-07-15T21:23:02Z","binding:vnic_type":"normal"}} </msg>
<msg timestamp="20180715 21:23:03.192" level="INFO">To JSON using : pretty_print=False </msg>
<msg timestamp="20180715 21:23:03.192" level="INFO">${result} = {u'port': {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-07-15T21:23:02Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': ...</msg>
<status status="PASS" endtime="20180715 21:23:03.192" starttime="20180715 21:23:03.191"></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="20180715 21:23:03.193" level="INFO">${result} = {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-07-15T21:23:02Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fi...</msg>
<status status="PASS" endtime="20180715 21:23:03.193" starttime="20180715 21:23:03.193"></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="20180715 21:23:03.194" level="INFO">${PORTID} = d81de21d-84d9-42a9-b149-16a54ffd9289</msg>
<status status="PASS" endtime="20180715 21:23:03.195" starttime="20180715 21:23:03.194"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${result}</arg>
</arguments>
<msg timestamp="20180715 21:23:03.195" level="INFO">{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-07-15T21:23:02Z', u'device_owner': u'', u'revision_number': 1, u'binding:profile': {}, u'port_security_enabled': True, u'fixed_ips': [{u'subnet_id': u'95f0c5a5-3bf1-4995-b645-c1d953bcebb9', u'ip_address': u'172.16.64.27'}], u'id': u'd81de21d-84d9-42a9-b149-16a54ffd9289', u'security_groups': [u'1ae669b9-ac05-4439-bd0a-f31287f2c0b0'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:86:2c:95', u'project_id': u'52690990a52243adb7d5a696f81b986e', 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'4c3bb06f-776c-4196-a8fa-eeec98a07c45', u'tenant_id': u'52690990a52243adb7d5a696f81b986e', u'created_at': u'2018-07-15T21:23:02Z', u'binding:vnic_type': u'normal'}</msg>
<status status="PASS" endtime="20180715 21:23:03.196" starttime="20180715 21:23:03.195"></status>
</kw>
<kw name="Log" library="BuiltIn">
<doc>Logs the given message with the given level.</doc>
<arguments>
<arg>${PORTID}</arg>
</arguments>
<msg timestamp="20180715 21:23:03.196" level="INFO">d81de21d-84d9-42a9-b149-16a54ffd9289</msg>
<status status="PASS" endtime="20180715 21:23:03.197" starttime="20180715 21:23:03.196"></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="20180715 21:23:03.198" level="INFO">${PORTID} = d81de21d-84d9-42a9-b149-16a54ffd9289</msg>
<status status="PASS" endtime="20180715 21:23:03.198" starttime="20180715 21:23:03.197"></status>
</kw>
<kw name="Sleep" library="BuiltIn">
<doc>Pauses the test executed for the given time.</doc>
<arguments>
<arg>2</arg>
</arguments>
<msg timestamp="20180715 21:23:05.199" level="INFO">Slept 2 seconds</msg>
<status status="PASS" endtime="20180715 21:23:05.199" starttime="20180715 21:23:03.198"></status>
</kw>
<doc>Create new port in OpenStack</doc>
<tags>
<tag>Create port OpenStack Neutron</tag>
</tags>
<status status="PASS" endtime="20180715 21:23:05.199" critical="yes" starttime="20180715 21:23:02.385"></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="20180715 21:23:05.215" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/d81de21d-84d9-42a9-b149-16a54ffd9289, headers=None json=None</msg>
<msg timestamp="20180715 21:23:05.215" level="INFO">${resp} = &lt;Response [401]&gt;</msg>
<status status="PASS" endtime="20180715 21:23:05.215" starttime="20180715 21:23:05.202"></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="20180715 21:23:05.216" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<msg timestamp="20180715 21:23:05.217" level="FAIL">401 != 200</msg>
<status status="FAIL" endtime="20180715 21:23:05.217" starttime="20180715 21:23:05.216"></status>
</kw>
<doc>Check new port created in OpenDaylight</doc>
<tags>
<tag>Check port OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180715 21:23:05.217" critical="yes" starttime="20180715 21:23:05.200">401 != 200</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180715 21:23:05.219" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180715 21:23:05.219" starttime="20180715 21:23:05.219"></status>
</kw>
<doc>Checking Port created in OpenStack are pushed to OpenDaylight</doc>
<status status="FAIL" endtime="20180715 21:23:05.219" starttime="20180715 21:23:02.069"></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="20180715 21:23:05.248" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.27:9696, headers={u'X-Auth-Token': 'gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG6U'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:23:05.249" starttime="20180715 21:23:05.247"></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="20180715 21:23:05.250" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.8:8081, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f64d3058590&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:23:05.250" starttime="20180715 21:23:05.249"></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="20180715 21:23:05.267" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/d81de21d-84d9-42a9-b149-16a54ffd9289, headers=None json=None</msg>
<msg timestamp="20180715 21:23:05.267" level="INFO">${resp} = &lt;Response [401]&gt;</msg>
<status status="PASS" endtime="20180715 21:23:05.267" starttime="20180715 21:23:05.251"></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="20180715 21:23:05.268" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<msg timestamp="20180715 21:23:05.268" level="FAIL">401 != 200</msg>
<status status="FAIL" endtime="20180715 21:23:05.269" starttime="20180715 21:23:05.268"></status>
</kw>
<status status="FAIL" endtime="20180715 21:23:05.269" starttime="20180715 21:23:05.250"></status>
</kw>
<status status="FAIL" endtime="20180715 21:23:05.269" starttime="20180715 21:23:05.247"></status>
</kw>
<test id="s1-s2-s5-t1" name="Delete New Port">
<doc>Delete previously created port in OpenStack</doc>
<tags>
<tag>Delete port OpenStack Neutron</tag>
</tags>
<status status="FAIL" endtime="20180715 21:23:05.270" critical="yes" starttime="20180715 21:23:05.269">Parent suite setup failed:
401 != 200</status>
</test>
<test id="s1-s2-s5-t2" name="Check Port Deleted">
<doc>Check port deleted in OpenDaylight</doc>
<tags>
<tag>Check port deleted OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180715 21:23:05.271" critical="yes" starttime="20180715 21:23:05.270">Parent suite setup failed:
401 != 200</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180715 21:23:05.272" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180715 21:23:05.272" starttime="20180715 21:23:05.272"></status>
</kw>
<doc>Checking Port deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180715 21:23:05.272" starttime="20180715 21:23:05.222">Suite setup failed:
401 != 200</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="20180715 21:23:05.294" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.27:9696, headers={u'X-Auth-Token': 'gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG6U'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:23:05.294" starttime="20180715 21:23:05.293"></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="20180715 21:23:05.295" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.8:8081, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f64d30023d0&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:23:05.296" starttime="20180715 21:23:05.295"></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="20180715 21:23:05.307" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/95f0c5a5-3bf1-4995-b645-c1d953bcebb9, headers=None json=None</msg>
<msg timestamp="20180715 21:23:05.307" level="INFO">${resp} = &lt;Response [401]&gt;</msg>
<status status="PASS" endtime="20180715 21:23:05.307" starttime="20180715 21:23:05.296"></status>
</kw>
<kw name="Should Be Equal As Strings" library="BuiltIn">
<doc>Fails if objects are unequal after converting them to strings.</doc>
<arguments>
<arg>${resp.status_code}</arg>
<arg>200</arg>
</arguments>
<msg timestamp="20180715 21:23:05.308" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<msg timestamp="20180715 21:23:05.309" level="FAIL">401 != 200</msg>
<status status="FAIL" endtime="20180715 21:23:05.309" starttime="20180715 21:23:05.308"></status>
</kw>
<status status="FAIL" endtime="20180715 21:23:05.309" starttime="20180715 21:23:05.296"></status>
</kw>
<status status="FAIL" endtime="20180715 21:23:05.309" starttime="20180715 21:23:05.293"></status>
</kw>
<test id="s1-s2-s6-t1" name="Delete New subnet">
<doc>Delete previously created subnet in OpenStack</doc>
<tags>
<tag>Delete Subnet OpenStack Neutron</tag>
</tags>
<status status="FAIL" endtime="20180715 21:23:05.310" critical="yes" starttime="20180715 21:23:05.309">Parent suite setup failed:
401 != 200</status>
</test>
<test id="s1-s2-s6-t2" name="Check New subnet deleted">
<doc>Check subnet deleted in OpenDaylight</doc>
<tags>
<tag>Check subnet deleted OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180715 21:23:05.311" critical="yes" starttime="20180715 21:23:05.311">Parent suite setup failed:
401 != 200</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180715 21:23:05.312" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180715 21:23:05.313" starttime="20180715 21:23:05.312"></status>
</kw>
<doc>Checking Subnets deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180715 21:23:05.313" starttime="20180715 21:23:05.274">Suite setup failed:
401 != 200</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="20180715 21:23:05.331" level="INFO">Creating Session using : alias=OSSession, url=http://172.30.9.27:9696, headers={u'X-Auth-Token': 'gAAAAABbS7sw0wdGpYZRmwEmpE_MrQs55mgXFr4am6D6RkXRGqOiIEt0z1-X_fMSpuige3xNpI1O4eNNwQ363rXtlEi5vBL4aXWUHUjZfS_ygbbGhnYpl9_fmAtTnIhBNQBr7bPl7LjFO-NXBZXmt4cCxdLGieVfkXmJ8dQlfJHC3uKvJx-bG6U'},                     cookies=None, auth=None, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:23:05.331" starttime="20180715 21:23:05.331"></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="20180715 21:23:05.332" level="INFO">Creating Session using : alias=ODLSession, url=http://192.30.9.8:8081, headers={u'Content-Type': u'application/json'},                     cookies=None, auth=&lt;requests.auth.HTTPBasicAuth object at 0x7f64d2fb1490&gt;, timeout=None, proxies=None, verify=False,                     debug=0 </msg>
<status status="PASS" endtime="20180715 21:23:05.333" starttime="20180715 21:23:05.332"></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="20180715 21:23:05.346" level="INFO">Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/4c3bb06f-776c-4196-a8fa-eeec98a07c45, headers=None json=None</msg>
<msg timestamp="20180715 21:23:05.346" level="INFO">${resp} = &lt;Response [401]&gt;</msg>
<status status="PASS" endtime="20180715 21:23:05.346" starttime="20180715 21:23:05.333"></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="20180715 21:23:05.347" level="INFO">Argument types are:
&lt;type 'int'&gt;
&lt;type 'unicode'&gt;</msg>
<msg timestamp="20180715 21:23:05.347" level="FAIL">401 != 200</msg>
<status status="FAIL" endtime="20180715 21:23:05.347" starttime="20180715 21:23:05.346"></status>
</kw>
<status status="FAIL" endtime="20180715 21:23:05.347" starttime="20180715 21:23:05.333"></status>
</kw>
<status status="FAIL" endtime="20180715 21:23:05.347" starttime="20180715 21:23:05.330"></status>
</kw>
<test id="s1-s2-s7-t1" name="Delete Network">
<doc>Delete network in OpenStack</doc>
<tags>
<tag>Delete Network OpenStack Neutron</tag>
</tags>
<status status="FAIL" endtime="20180715 21:23:05.348" critical="yes" starttime="20180715 21:23:05.347">Parent suite setup failed:
401 != 200</status>
</test>
<test id="s1-s2-s7-t2" name="Check Network deleted">
<doc>Check network deleted in OpenDaylight</doc>
<tags>
<tag>Check Network OpenDaylight</tag>
</tags>
<status status="FAIL" endtime="20180715 21:23:05.349" critical="yes" starttime="20180715 21:23:05.348">Parent suite setup failed:
401 != 200</status>
</test>
<kw type="teardown" name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180715 21:23:05.349" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180715 21:23:05.350" starttime="20180715 21:23:05.349"></status>
</kw>
<doc>Checking Network deleted in OpenStack are deleted also in OpenDaylight</doc>
<status status="FAIL" endtime="20180715 21:23:05.350" starttime="20180715 21:23:05.314">Suite setup failed:
401 != 200</status>
</suite>
<kw type="teardown" name="Stop Suite">
<kw name="Delete All Sessions" library="RequestsLibrary">
<doc>Removes all the session objects</doc>
<msg timestamp="20180715 21:23:05.352" level="INFO">Delete All Sessions</msg>
<status status="PASS" endtime="20180715 21:23:05.352" starttime="20180715 21:23:05.352"></status>
</kw>
<status status="PASS" endtime="20180715 21:23:05.352" starttime="20180715 21:23:05.352"></status>
</kw>
<doc>Test suite for Neutron Plugin</doc>
<status status="FAIL" endtime="20180715 21:23:05.352" starttime="20180715 21:22:55.981"></status>
</suite>
<status status="FAIL" endtime="20180715 21:23:05.356" starttime="20180715 21:22:55.888"></status>
</suite>
<statistics>
<total>
<stat fail="16" pass="6">Critical Tests</stat>
<stat fail="16" pass="6">All Tests</stat>
</total>
<tag>
<stat fail="2" pass="0">Check</stat>
<stat fail="1" pass="0">Check Network OpenDaylight</stat>
<stat fail="1" pass="0">Check port deleted OpenDaylight</stat>
<stat fail="1" pass="0">Check port OpenDaylight</stat>
<stat fail="1" pass="0">Check subnet deleted OpenDaylight</stat>
<stat fail="0" pass="1">Create Network OpenStack Neutron</stat>
<stat fail="0" pass="1">Create port OpenStack Neutron</stat>
<stat fail="0" pass="1">Create Subnet OpenStack Neutron</stat>
<stat fail="1" pass="0">Delete Network OpenStack Neutron</stat>
<stat fail="1" pass="0">Delete port OpenStack Neutron</stat>
<stat fail="1" pass="0">Delete Subnet OpenStack Neutron</stat>
<stat fail="1" pass="0">Network Neutron OpenDaylight</stat>
<stat fail="0" pass="1">Network Neutron OpenStack</stat>
<stat fail="1" pass="0">Network OpenDaylight</stat>
<stat fail="1" pass="0">Ports Neutron OpenDaylight</stat>
<stat fail="0" pass="1">Ports Neutron OpenStack</stat>
<stat fail="3" pass="0">reachability</stat>
<stat fail="1" pass="0">subnet OpenDaylight</stat>
<stat fail="1" pass="0">Subnets Neutron OpenDaylight</stat>
<stat fail="0" pass="1">Subnets Neutron OpenStack</stat>
</tag>
<suite>
<stat fail="16" id="s1" name="Basic &amp; Neutron" pass="6">Basic &amp; Neutron</stat>
<stat fail="1" id="s1-s1" name="Basic" pass="0">Basic &amp; Neutron.Basic</stat>
<stat fail="1" id="s1-s1-s1" name="Restconf Modules" pass="0">Basic &amp; Neutron.Basic.Restconf Modules</stat>
<stat fail="15" id="s1-s2" name="Neutron" pass="6">Basic &amp; Neutron.Neutron</stat>
<stat fail="3" id="s1-s2-s1" name="Reachability" pass="0">Basic &amp; Neutron.Neutron.Reachability</stat>
<stat fail="2" id="s1-s2-s2" name="Networks" pass="2">Basic &amp; Neutron.Neutron.Networks</stat>
<stat fail="2" id="s1-s2-s3" name="Subnets" pass="2">Basic &amp; Neutron.Neutron.Subnets</stat>
<stat fail="2" id="s1-s2-s4" name="Ports" pass="2">Basic &amp; Neutron.Neutron.Ports</stat>
<stat fail="2" id="s1-s2-s5" name="Delete Ports" pass="0">Basic &amp; Neutron.Neutron.Delete Ports</stat>
<stat fail="2" id="s1-s2-s6" name="Delete Subnets" pass="0">Basic &amp; Neutron.Neutron.Delete Subnets</stat>
<stat fail="2" id="s1-s2-s7" name="Delete Networks" pass="0">Basic &amp; Neutron.Neutron.Delete Networks</stat>
</suite>
</statistics>
<errors>
<msg timestamp="20180715 21:22:56.029" level="WARN">Deprecation Warning: Use Post Request in the future</msg>
</errors>
</robot>
