Create Session: create a HTTP session to a server
session
http://${ODL_SYSTEM_IP}:${RESTCONFPORT}
auth=${AUTH}
headers=${HEADERS_XML}
Creating Session using : alias=session, url=http://192.168.10.222:8080, headers={u'Content-Type': u'application/xml'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7fa3b7977e90>, timeout=None, proxies=None, verify=False, debug=0
Send a GET request on the session object found using the
session
${MODULES_API}
${resp}
Get Request using : alias=session, uri=/restconf/modules, headers=None json=None
${resp} = <Response [200]>
Logs the given message with the given level.
${resp.content}
{"modules":{"module":[{"name":"netty-event-executor","revision":"2013-11-12","namespace":"urn:opendaylight:params:xml:ns:yang:controller:netty:eventexecutor"},{"name":"shutdown-impl","revision":"2013-12-18","namespace":"urn:opendaylight:params:xml:ns:yang:controller:shutdown:impl"},{"name":"vpn-rpc","revision":"2016-02-01","namespace":"urn:opendaylight:netvirt:vpn:rpc"},{"name":"sal-experimenter-mp-message","revision":"2015-10-20","namespace":"urn:opendaylight:experimenter-mp-message:service"},{"name":"neighbor-discovery","revision":"2016-06-20","namespace":"urn:opendaylight:netvirt:ipv6service:nd:packet"},{"name":"opendaylight-sal-binding-broker-impl","revision":"2013-10-28","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl"},{"name":"inter-vpn-link","revision":"2016-03-11","namespace":"urn:opendaylight:params:xml:ns:yang:netvirt:inter-vpn-link"},{"name":"ted","revision":"2013-07-12","namespace":"urn:TBD:params:xml:ns:yang:network:ted"},{"name":"itm-config","revision":"2016-04-06","namespace":"urn:opendaylight:genius:itm:config"},{"name":"opendaylight-l2-types","revision":"2013-08-27","namespace":"urn:opendaylight:l2:types"},{"name":"packet-processing","revision":"2013-07-09","namespace":"urn:opendaylight:packet:service"},{"name":"aaa-cert","revision":"2015-11-26","namespace":"urn:opendaylight:yang:aaa:cert"},{"name":"opendaylight-md-sal-binding","revision":"2013-10-28","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding"},{"name":"sal-role","revision":"2015-07-27","namespace":"urn:opendaylight:role:service"},{"name":"opendaylight-topology-view","revision":"2013-10-30","namespace":"urn:opendaylight:model:topology:view"},{"name":"neutronvpn","revision":"2015-06-02","namespace":"urn:opendaylight:netvirt:neutronvpn"},{"name":"odl-concurrent-data-broker-cfg","revision":"2014-11-24","namespace":"urn:opendaylight:params:xml:ns:yang:controller:config:concurrent-data-broker"},{"name":"neutron-fwaas","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-fwaas"},{"name":"statistics-config","revision":"2017-03-26","namespace":"urn:opendaylight:netvirt:statistics:config"},{"name":"l3nexthop","revision":"2015-04-09","namespace":"urn:opendaylight:netvirt:l3nexthop"},{"name":"neutron-extensions","revision":"2016-06-17","namespace":"urn:opendaylight:neutron-extensions"},{"name":"opendaylight-md-sal-dom","revision":"2013-10-28","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom"},{"name":"opendaylight-topology-inventory","revision":"2013-10-30","namespace":"urn:opendaylight:model:topology:inventory"},{"name":"neutronvpn-config","revision":"2016-08-06","namespace":"urn:opendaylight:netvirt:neutronvpn:config"},{"name":"neutron","revision":"2015-07-12","namespace":"urn:opendaylight:neutron"},{"name":"neutron-hostconfig","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-hostconfig"},{"name":"flow-topology-discovery","revision":"2013-08-19","namespace":"urn:opendaylight:flow:topology:discovery"},{"name":"vpnservice-dhcp","revision":"2016-04-28","namespace":"urn:opendaylight:netvirt:dhcp"},{"name":"neutron-L3","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-L3"},{"name":"itm","revision":"2016-04-06","namespace":"urn:opendaylight:genius:itm"},{"name":"ietf-access-control-list","revision":"2016-02-18","namespace":"urn:ietf:params:xml:ns:yang:ietf-access-control-list"},{"name":"sal-group","revision":"2013-09-18","namespace":"urn:opendaylight:group:service"},{"name":"sal-meter","revision":"2013-09-18","namespace":"urn:opendaylight:meter:service"},{"name":"openflowplugin-extension-nicira-match","revision":"2014-07-14","namespace":"urn:opendaylight:openflowplugin:extension:nicira:match"},{"name":"aaa-app-config","revision":"2017-06-19","namespace":"urn:opendaylight:aaa:app:config"},{"name":"hwvtep","revision":"2015-09-01","namespace":"urn:opendaylight:params:xml:ns:yang:ovsdb:hwvtep"},{"name":"neutron-sfc-flow-classifier","revision":"2016-05-11","namespace":"urn:opendaylight:neutron-sfc-flow-classifier"},{"name":"opendaylight-group-types","revision":"2013-10-18","namespace":"urn:opendaylight:group:types"},{"name":"nicira-match","revision":"2014-04-21","namespace":"urn:opendaylight:openflowjava:nx:match"},{"name":"network-topology","revision":"2013-07-12","namespace":"urn:TBD:params:xml:ns:yang:network-topology"},{"name":"cloud-service-chain-state","revision":"2016-07-11","namespace":"urn:opendaylight:netvirt:cloud-servicechain:state"},{"name":"opendaylight-flow-types","revision":"2013-10-26","namespace":"urn:opendaylight:flow:types"},{"name":"cluster-singleton-service-impl","revision":"2016-07-18","namespace":"urn:opendaylight:params:xml:ns:yang:md:sal:config:impl:cluster-singleton-service"},{"name":"nicira-action","revision":"2014-04-21","namespace":"urn:opendaylight:openflowjava:nx:action"},{"name":"neutron-qos","revision":"2016-06-13","namespace":"urn:opendaylight:neutron-qos"},{"name":"opendaylight-queue-types","revision":"2013-09-25","namespace":"urn:opendaylight:flow:types:queue"},{"name":"odl-mdsalutil","revision":"2016-04-06","namespace":"urn:opendaylight:genius:mdsalutil"},{"name":"opendaylight-legacy-entity-ownership-service-provider","revision":"2016-02-26","namespace":"urn:opendaylight:params:xml:ns:yang:controller:config:legacy-entity-ownership-service-provider"},{"name":"ietf-interfaces","revision":"2014-05-08","namespace":"urn:ietf:params:xml:ns:yang:ietf-interfaces","feature":["if-mib","arbitrary-names","pre-provisioning"]},{"name":"lldp-speaker","revision":"2014-10-23","namespace":"urn:opendaylight:params:xml:ns:yang:openflow:applications:lldp-speaker"},{"name":"opendaylight-arbitrary-bitmask-fields","revision":"2016-01-30","namespace":"urn:opendaylight:arbitrary:bitmask:fields"},{"name":"id-manager","revision":"2016-04-06","namespace":"urn:opendaylight:genius:idmanager"},{"name":"ietf-yang-library","revision":"2016-06-21","namespace":"urn:ietf:params:xml:ns:yang:ietf-yang-library"},{"name":"pod","revision":"2017-06-11","namespace":"urn:opendaylight:coe:northbound:pod"},{"name":"openflow-configuration","revision":"2014-06-30","namespace":"urn:opendaylight:openflow:config"},{"name":"opendaylight-statistics-types","revision":"2013-09-25","namespace":"urn:opendaylight:model:statistics:types"},{"name":"general-entity","revision":"2015-08-20","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:general-entity"},{"name":"odl-general-entity","revision":"2015-09-30","namespace":"urn:opendaylight:params:xml:ns:yang:mdsal:core:general-entity"},{"name":"ietf-yang-types","revision":"2013-07-15","namespace":"urn:ietf:params:xml:ns:yang:ietf-yang-types"},{"name":"opendaylight-topology","revision":"2013-10-30","namespace":"urn:opendaylight:model:topology:general"},{"name":"opendaylight-port-statistics","revision":"2013-12-14","namespace":"urn:opendaylight:port:statistics"},{"name":"shutdown","revision":"2013-12-18","namespace":"urn:opendaylight:params:xml:ns:yang:controller:shutdown"},{"name":"openflow-approved-extensions","revision":"2016-08-02","namespace":"urn:opendaylight:openflow:approved:extensions"},{"name":"actor-system-provider-impl","revision":"2015-10-05","namespace":"urn:opendaylight:params:xml:ns:yang:controller:config:actor-system-provider:impl"},{"name":"forwarding-rules-manager-config","revision":"2016-05-11","namespace":"urn:opendaylight:params:xml:ns:yang:openflowplugin:app:forwardingrules-manager:config"},{"name":"service","revision":"2017-06-11","namespace":"urn:opendaylight:coe:northbound:service"},{"name":"neutron-provider","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-provider"},{"name":"ospf-topology","revision":"2013-10-21","namespace":"urn:TBD:params:xml:ns:yang:ospf-topology"},{"name":"flow-node-inventory","revision":"2013-08-19","namespace":"urn:opendaylight:flow:inventory"},{"name":"aliveness-monitor","revision":"2016-04-11","namespace":"urn:opendaylight:genius:alivenessmonitor"},{"name":"opendaylight-meter-types","revision":"2013-09-18","namespace":"urn:opendaylight:meter:types"},{"name":"opendaylight-table-types","revision":"2013-10-26","namespace":"urn:opendaylight:table:types"},{"name":"ietf-restconf","revision":"2017-01-26","namespace":"urn:ietf:params:xml:ns:yang:ietf-restconf"},{"name":"node-config","revision":"2014-10-15","namespace":"urn:opendaylight:module:config"},{"name":"opendaylight-pingpong-broker","revision":"2014-11-07","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:pingpong"},{"name":"opendaylight-direct-statistics","revision":"2016-05-11","namespace":"urn:opendaylight:direct:statistics"},{"name":"sal-groups-batch","revision":"2016-03-15","namespace":"urn:opendaylight:groups:service"},{"name":"l3-unicast-igp-topology","revision":"2013-07-12","namespace":"urn:TBD:params:xml:ns:yang:nt:l3-unicast-igp-topology"},{"name":"opendaylight-inmemory-datastore-provider","revision":"2014-06-17","namespace":"urn:opendaylight:params:xml:ns:yang:controller:inmemory-datastore-provider"},{"name":"batch-common","revision":"2016-03-22","namespace":"urn:opendaylight:service:batch:common"},{"name":"overlay","revision":"2015-01-05","namespace":"urn:opendaylight:params:xml:ns:yang:overlay"},{"name":"odl-nat","revision":"2016-01-11","namespace":"urn:opendaylight:netvirt:natservice"},{"name":"actor-system-provider-service","revision":"2015-10-05","namespace":"urn:opendaylight:params:xml:ns:yang:controller:config:actor-system-provider:service"},{"name":"bgp","revision":"2013-07-15","namespace":"urn:cisco:params:xml:ns:yang:bgp"},{"name":"netconf-node-inventory","revision":"2014-01-08","namespace":"urn:opendaylight:netconf-node-inventory"},{"name":"neutron-ports","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-ports"},{"name":"ietf-lisp-address-types","revision":"2015-11-05","namespace":"urn:ietf:params:xml:ns:yang:ietf-lisp-address-types"},{"name":"neutron-vpnaas","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-vpnaas"},{"name":"lock-manager","revision":"2016-04-13","namespace":"urn:opendaylight:genius:lockmanager"},{"name":"opendaylight-ipv6-arbitrary-bitmask-fields","revision":"2016-02-24","namespace":"urn:opendaylight:opendaylight-ipv6-arbitrary-bitmask-fields"},{"name":"openflowplugin-extension-nicira-action","revision":"2014-07-14","namespace":"urn:opendaylight:openflowplugin:extension:nicira:action"},{"name":"ietf-restconf-monitoring","revision":"2017-01-26","namespace":"urn:ietf:params:xml:ns:yang:ietf-restconf-monitoring"},{"name":"l3vpn","revision":"2014-08-15","namespace":"urn:huawei:params:xml:ns:yang:l3vpn"},{"name":"statistics","revision":"2017-01-20","namespace":"urn:opendaylight:netvirt:statistics"},{"name":"opendaylight-flow-table-statistics","revision":"2013-12-15","namespace":"urn:opendaylight:flow:table:statistics"},{"name":"ietf-packet-fields","revision":"2016-02-18","namespace":"urn:ietf:params:xml:ns:yang:ietf-packet-fields"},{"name":"ietf-inet-types","revision":"2013-07-15","namespace":"urn:ietf:params:xml:ns:yang:ietf-inet-types"},{"name":"neutron-trunks","revision":"2017-01-18","namespace":"urn:opendaylight:neutron-trunks"},{"name":"neutron-portsecurity","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-portsecurity"},{"name":"sal-flow","revision":"2013-08-19","namespace":"urn:opendaylight:flow:service"},{"name":"elan-config","revision":"2015-07-10","namespace":"urn:opendaylight:netvirt:elan:config"},{"name":"odl-nat-rpc","revision":"2017-02-09","namespace":"urn:opendaylight:netvirt:natservice:rpc"},{"name":"cluster-admin","revision":"2015-10-13","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:cluster:admin"},{"name":"ietf-network","revision":"2015-06-08","namespace":"urn:ietf:params:xml:ns:yang:ietf-network"},{"name":"lldp-speaker-config","revision":"2016-05-12","namespace":"urn:opendaylight:params:xml:ns:yang:openflow:applications:lldp-speaker:config"},{"name":"neutron-L3-ext","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-L3-ext"},{"name":"iana-if-type","revision":"2014-05-08","namespace":"urn:ietf:params:xml:ns:yang:iana-if-type"},{"name":"ovsdb","revision":"2015-01-05","namespace":"urn:opendaylight:params:xml:ns:yang:ovsdb"},{"name":"odl-interface-meta","revision":"2016-04-06","namespace":"urn:opendaylight:genius:interfacemanager:meta"},{"name":"yang-ext","revision":"2013-07-09","namespace":"urn:opendaylight:yang:extension:yang-ext"},{"name":"reconciliation-result-state","revision":"2017-07-13","namespace":"urn:opendaylight:params:xml:ns:yang:openflowplugin:rf:state"},{"name":"neutron-qos-ext","revision":"2016-06-13","namespace":"urn:opendaylight:neutron-qos-ext"},{"name":"openflow-action","revision":"2015-02-03","namespace":"urn:opendaylight:openflow:common:action"},{"name":"l3-unicast-igp-topology","revision":"2013-10-21","namespace":"urn:TBD:params:xml:ns:yang:nt:l3-unicast-igp-topology"},{"name":"instance-identifier-patch-module","revision":"2015-11-21","namespace":"instance:identifier:patch:module"},{"name":"natservice-config","revision":"2017-02-06","namespace":"urn:opendaylight:netvirt:natservice:config"},{"name":"flow-errors","revision":"2013-11-16","namespace":"urn:opendaylight:flow:errors"},{"name":"neutron-bgpvpns","revision":"2015-09-03","namespace":"urn:opendaylight:neutron-bgpvpns"},{"name":"aclservice","revision":"2016-06-08","namespace":"urn:opendaylight:netvirt:aclservice"},{"name":"opendaylight-md-sal-common","revision":"2013-10-28","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:common"},{"name":"ietf-yang-types","revision":"2010-09-24","namespace":"urn:ietf:params:xml:ns:yang:ietf-yang-types"},{"name":"aaa-encrypt-service-config","revision":"2016-09-15","namespace":"config:aaa:authn:encrypt:service:config"},{"name":"openflow-provider-config","revision":"2016-05-10","namespace":"urn:opendaylight:params:xml:ns:yang:openflow:provider:config"},{"name":"elan","revision":"2015-06-02","namespace":"urn:opendaylight:netvirt:elan"},{"name":"neutron-sfc","revision":"2016-05-11","namespace":"urn:opendaylight:neutron-sfc"},{"name":"neutron-lbaasv2","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-lbaasv2"},{"name":"etree","revision":"2016-06-14","namespace":"urn:opendaylight:netvirt:elan:etree"},{"name":"aclservice-config","revision":"2016-08-06","namespace":"urn:opendaylight:netvirt:aclservice-config"},{"name":"ospf-topology","revision":"2013-07-12","namespace":"urn:ietf:params:xml:ns:yang:ospf-topology"},{"name":"opendaylight-multipart-types","revision":"2017-01-12","namespace":"urn:opendaylight:multipart:types"},{"name":"isis-topology","revision":"2013-10-21","namespace":"urn:TBD:params:xml:ns:yang:network:isis-topology"},{"name":"opendaylight-entity-ownership-service","revision":"2015-08-10","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:spi:entity-ownership-service"},{"name":"iana-afn-safi","revision":"2013-07-04","namespace":"urn:ietf:params:xml:ns:yang:iana-afn-safi"},{"name":"vpn-config","revision":"2016-11-30","namespace":"urn:opendaylight:netvirt:vpn:config"},{"name":"sal-experimenter-message","revision":"2015-10-20","namespace":"urn:opendaylight:experimenter-message:service"},{"name":"neutron-attrs","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-attrs"},{"name":"node-error","revision":"2014-04-10","namespace":"urn:opendaylight:node:error:service"},{"name":"opendaylight-md-sal-binding-v1-codec","revision":"2016-07-14","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:v1:codec"},{"name":"opendaylight-sal-dom-broker-impl","revision":"2013-10-28","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:dom:impl"},{"name":"openflow-augments","revision":"2015-02-25","namespace":"urn:opendaylight:openflow:augments"},{"name":"openflowplugin-extension-general","revision":"2014-07-14","namespace":"urn:opendaylight:openflowplugin:extension:general"},{"name":"rpc-context","revision":"2013-06-17","namespace":"urn:ietf:params:xml:ns:yang:rpc-context"},{"name":"ipv6-ndutil","revision":"2017-02-10","namespace":"urn:opendaylight:netvirt:ipv6service:ipv6util"},{"name":"odl-arputil","revision":"2016-04-06","namespace":"urn:opendaylight:genius:arputil"},{"name":"sal-echo","revision":"2015-03-05","namespace":"urn:opendaylight:echo:service"},{"name":"odl-l3vpn","revision":"2013-09-11","namespace":"urn:opendaylight:netvirt:l3vpn"},{"name":"openflow-protocol","revision":"2013-07-31","namespace":"urn:opendaylight:openflow:protocol"},{"name":"barrier-common","revision":"2016-03-15","namespace":"urn:opendaylight:service:barrier:common"},{"name":"neutron-constants","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-constants"},{"name":"resource-manager","revision":"2016-06-22","namespace":"urn:opendaylight:genius:resourcemanager"},{"name":"sal-remote","revision":"2014-01-14","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:remote"},{"name":"sal-queue","revision":"2015-03-05","namespace":"urn:opendaylight:queue:service"},{"name":"neutron-secgroups","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-secgroups"},{"name":"openflowplugin-experimenter-types","revision":"2015-10-20","namespace":"urn:opendaylight:openflowplugin:experimenter:types"},{"name":"distributed-datastore-provider","revision":"2014-06-12","namespace":"urn:opendaylight:params:xml:ns:yang:controller:config:distributed-datastore-provider"},{"name":"itm-state","revision":"2016-04-06","namespace":"urn:opendaylight:genius:itm:op"},{"name":"opendaylight-inventory","revision":"2013-08-19","namespace":"urn:opendaylight:inventory"},{"name":"neutron-metering","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-metering"},{"name":"subscribe-to-notification","revision":"2016-10-28","namespace":"subscribe:to:notification"},{"name":"onf-extensions","revision":"2017-01-24","namespace":"urn:opendaylight:openflowplugin:extension:onf"},{"name":"opendaylight-config-dom-datastore","revision":"2014-06-17","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:spi:config-dom-store"},{"name":"opendaylight-match-types","revision":"2013-10-26","namespace":"urn:opendaylight:model:match:types"},{"name":"dhcp_allocation_pool","revision":"2016-12-14","namespace":"urn:opendaylight:netvirt:dhcp_allocation_pool"},{"name":"threadgroup","revision":"2013-11-07","namespace":"urn:opendaylight:params:xml:ns:yang:controller:netty:threadgroup"},{"name":"ietf-network-topology","revision":"2015-06-08","namespace":"urn:ietf:params:xml:ns:yang:ietf-network-topology"},{"name":"config","revision":"2013-04-05","namespace":"urn:opendaylight:params:xml:ns:yang:controller:config"},{"name":"topology-lldp-discovery-config","revision":"2016-05-11","namespace":"urn:opendaylight:params:xml:ns:yang:topology-lldp-discovery:config"},{"name":"sal-remote-augment","revision":"2014-07-08","namespace":"urn:sal:restconf:event:subscription"},{"name":"odl-interface-rpc","revision":"2016-04-06","namespace":"urn:opendaylight:genius:interfacemanager:rpcs"},{"name":"interface-statistics","revision":"2015-08-24","namespace":"urn:opendaylight:genius:interface:statistics"},{"name":"openflow-extensible-match","revision":"2015-02-25","namespace":"urn:opendaylight:openflow:oxm"},{"name":"neutron-types","revision":"2016-05-17","namespace":"urn:opendaylight:neutron-types"},{"name":"aaa-cert-mdsal","revision":"2016-03-21","namespace":"urn:opendaylight:yang:aaa:cert:mdsal"},{"name":"opendaylight-action-types","revision":"2013-11-12","namespace":"urn:opendaylight:action:types"},{"name":"ted","revision":"2013-10-21","namespace":"urn:TBD:params:xml:ns:yang:network:ted"},{"name":"sal-table","revision":"2013-10-26","namespace":"urn:opendaylight:table:service"},{"name":"odl-fib","revision":"2015-03-30","namespace":"urn:opendaylight:netvirt:fibmanager"},{"name":"openflowplugin-extension-registry","revision":"2015-04-25","namespace":"urn:opendaylight:params:xml:ns:yang:openflowplugin:extension:api"},{"name":"fib-rpc","revision":"2016-01-21","namespace":"urn:opendaylight:netvirt:fib:rpc"},{"name":"ietf-restconf","revision":"2013-10-19","namespace":"urn:ietf:params:xml:ns:yang:ietf-restconf"},{"name":"interface-service-bindings","revision":"2016-04-06","namespace":"urn:opendaylight:genius:interfacemanager:servicebinding"},{"name":"opendaylight-flow-statistics","revision":"2013-08-19","namespace":"urn:opendaylight:flow:statistics"},{"name":"aaa-cert-rpc","revision":"2015-12-15","namespace":"urn:opendaylight:yang:aaa:cert:rpc"},{"name":"odl-interface","revision":"2016-04-06","namespace":"urn:opendaylight:genius:interfacemanager"},{"name":"itm-rpc","revision":"2016-04-06","namespace":"urn:opendaylight:genius:itm:rpcs"},{"name":"openflow-types","revision":"2013-07-31","namespace":"urn:opendaylight:openflow:common:types"},{"name":"prefix-shard-configuration","revision":"2017-01-10","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:clustering:prefix-shard-configuration"},{"name":"openflow-switch-connection-config","revision":"2016-05-06","namespace":"urn:opendaylight:params:xml:ns:yang:openflow:switch:connection:config"},{"name":"isis-topology","revision":"2013-07-12","namespace":"urn:TBD:params:xml:ns:yang:network:isis-topology"},{"name":"opendaylight-port-types","revision":"2013-09-25","namespace":"urn:opendaylight:flow:types:port"},{"name":"ebgp","revision":"2015-09-01","namespace":"urn:ericsson:params:xml:ns:yang:ebgp"},{"name":"sal-meters-batch","revision":"2016-03-16","namespace":"urn:opendaylight:meters:service"},{"name":"opendaylight-operational-dom-datastore","revision":"2014-06-17","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:core:spi:operational-dom-store"},{"name":"netty","revision":"2013-11-19","namespace":"urn:opendaylight:params:xml:ns:yang:controller:netty"},{"name":"aaa","revision":"2016-12-14","namespace":"urn:opendaylight:params:xml:ns:yang:aaa"},{"name":"ietf-inet-types","revision":"2010-09-24","namespace":"urn:ietf:params:xml:ns:yang:ietf-inet-types"},{"name":"sal-flat-batch","revision":"2016-03-21","namespace":"urn:opendaylight:flat-batch:service"},{"name":"neutron-subnets","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-subnets"},{"name":"dhcpservice-config","revision":"2015-07-10","namespace":"urn:opendaylight:params:xml:ns:yang:dhcpservice:config"},{"name":"openflow-provider","revision":"2015-03-31","namespace":"urn:opendaylight:params:xml:ns:yang:openflow:api"},{"name":"neutron-binding","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-binding"},{"name":"cluster-singleton-service-spi","revision":"2016-07-18","namespace":"urn:opendaylight:params:xml:ns:yang:md:sal:config:spi:cluster-singleton-service"},{"name":"openflow-instruction","revision":"2013-07-31","namespace":"urn:opendaylight:openflow:common:instruction"},{"name":"policy-service","revision":"2017-02-07","namespace":"urn:opendaylight:netvirt:policy"},{"name":"neutron-networks","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-networks"},{"name":"sal-flows-batch","revision":"2016-03-14","namespace":"urn:opendaylight:flows:service"},{"name":"network-topology","revision":"2013-10-21","namespace":"urn:TBD:params:xml:ns:yang:network-topology"},{"name":"dhcpservice-api","revision":"2015-07-10","namespace":"urn:opendaylight:params:xml:ns:yang:dhcpservice:api"},{"name":"acl-live-statistics","revision":"2016-11-29","namespace":"urn:opendaylight:netvirt:acl:live:statistics"},{"name":"opendaylight-queue-statistics","revision":"2013-12-16","namespace":"urn:opendaylight:queue:statistics"},{"name":"entity-owners","revision":"2015-08-04","namespace":"urn:opendaylight:params:xml:ns:yang:controller:md:sal:clustering:entity-owners"},{"name":"neutron-provider-ext","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-provider-ext"},{"name":"sal-port","revision":"2013-11-07","namespace":"urn:opendaylight:port:service"},{"name":"neutron-l2gateways","revision":"2015-07-12","namespace":"urn:opendaylight:neutron-l2gateways"},{"name":"qosalert-config","revision":"2017-03-01","namespace":"urn:opendaylight:netvirt:qosalert:config"},{"name":"elan-statistics","revision":"2015-08-24","namespace":"urn:opendaylight:netvirt:elan:statistics"},{"name":"opendaylight-meter-statistics","revision":"2013-11-11","namespace":"urn:opendaylight:meter:statistics"},{"name":"flow-capable-transaction","revision":"2015-03-04","namespace":"urn:opendaylight:flow:transaction"},{"name":"statistics-manager-control","revision":"2015-08-12","namespace":"urn:opendaylight:params:xml:ns:yang:openflowplugin:sm:control"},{"name":"sal-bundle","revision":"2017-01-24","namespace":"urn:opendaylight:openflowplugin:extension:onf:bundle:service"},{"name":"system-notifications","revision":"2013-09-27","namespace":"urn:opendaylight:openflow:system"},{"name":"netty-timer","revision":"2013-11-19","namespace":"urn:opendaylight:params:xml:ns:yang:controller:netty:timer"},{"name":"opendaylight-group-statistics","revision":"2013-11-11","namespace":"urn:opendaylight:group:statistics"}]}}
Fails if the given objects are unequal.
${resp.status_code}
${200}
Fails if ``container`` does not contain ``item`` one or more times.
${resp.content}
ietf-restconf
Get the restconf modules, check 200 status and ietf-restconf presence.
Removes all the session objects
Delete All Sessions
Test suite to verify Restconf is OK.
Create Session: create a HTTP session to a server
KeyStoneSession
${KEYSTONEURL}
headers=${HEADERS}
Creating Session using : alias=KeyStoneSession, url=https://192.168.10.222:5000, headers={u'Content-Type': u'application/json'}, cookies=None, auth=None, timeout=None, proxies=None, verify=False, debug=0
**Deprecated- See Post Request now**
KeyStoneSession
/v3/auth/tokens
${UserInfo}
${resp}
Deprecation Warning: Use Post Request in the future
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
${resp} = <Response [201]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
201
Argument types are:
<type 'int'>
<type 'unicode'>
Returns a value from the given ``dictionary`` based on the given ``key``.
${resp.headers}
X-Subject-Token
${TOKEN}
${TOKEN} = gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK4s
Creates and returns a dictionary based on the given ``items``.
X-Auth-Token=${TOKEN}
Content-Type=application/json
${X-AUTH}
${X-AUTH} = {u'X-Auth-Token': 'gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK...
Creates and returns a dictionary based on the given ``items``.
X-Auth-Token=${TOKEN}
${X-AUTH-NOCONTENT}
${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK...
Makes a variable available globally in all tests and suites.
${X-AUTH}
${X-AUTH} = {u'X-Auth-Token': 'gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK...
Makes a variable available globally in all tests and suites.
${X-AUTH-NOCONTENT}
${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK...
Create Session: create a HTTP session to a server
ODL
http://${ODL_SYSTEM_IP}:${PORT}
headers=${HEADERS}
auth=${AUTH}
Creating Session using : alias=ODL, url=http://192.168.10.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7fa3b76f9490>, timeout=None, proxies=None, verify=False, debug=0
Send a GET request on the session object found using the
ODL
${NEUTRON_NETWORKS_API}
${resp}
Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/networks, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Get the complete list of networks
reachability
Send a GET request on the session object found using the
ODL
${NEUTRON_SUBNETS_API}
${resp}
Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/subnets, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Get the complete list of subnets
reachability
Send a GET request on the session object found using the
ODL
${NEUTRON_PORTS_API}
${resp}
Get Request using : alias=ODL, uri=/controller/nb/v2/neutron/ports, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Get the complete list of ports
reachability
Removes all the session objects
Delete All Sessions
Create Session: create a HTTP session to a server
OSSession
${NEUTRONURL}
headers=${X-AUTH}
Creating Session using : alias=OSSession, url=https://192.168.10.222:9696, headers={u'X-Auth-Token': 'gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK4s', u'Content-Type': u'application/json'}, cookies=None, auth=None, timeout=None, proxies=None, verify=False, debug=0
Logs the given message with the given level.
${X-AUTH}
{u'X-Auth-Token': 'gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK4s', u'Content-Type': u'application/json'}
Send a GET request on the session object found using the
OSSession
${OSREST}
${resp}
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
Get Request using : alias=OSSession, uri=/v2.0/networks, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Convert a string to a JSON object
${resp.content}
${OSResult}
To JSON using : content={"networks":[{"provider:physical_network":null,"ipv6_address_scope":null,"revision_number":3,"port_security_enabled":true,"mtu":1450,"id":"0d35ab42-7187-482e-85c4-bc750fdb29df","router:external":false,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"2a5142d926814fb9bf00ba84cea11bd4","status":"ACTIVE","subnets":["81bae171-9f05-42bc-bb4c-3c5fa1be0b3a"],"description":"","tags":[],"updated_at":"2018-03-25T05:08:33Z","provider:segmentation_id":23,"name":"c_rally_fb8cc876_V1ZYPlTw","admin_state_up":true,"tenant_id":"2a5142d926814fb9bf00ba84cea11bd4","created_at":"2018-03-25T05:08:31Z","provider:network_type":"vxlan"},{"provider:physical_network":null,"ipv6_address_scope":null,"revision_number":3,"port_security_enabled":true,"mtu":1450,"id":"4c29a8dd-3158-4a23-9610-6b9d310a63a4","router:external":false,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"beb27739e5254e1fa4c0acbdb32b0b9f","status":"ACTIVE","subnets":["dac94f25-f57c-4255-8f6d-0081e5bc4e93"],"description":"","tags":[],"updated_at":"2018-03-25T04:52:10Z","provider:segmentation_id":1,"name":"tempest-TestServerMultinode-892647384-network","admin_state_up":true,"tenant_id":"beb27739e5254e1fa4c0acbdb32b0b9f","created_at":"2018-03-25T04:52:09Z","provider:network_type":"vxlan"},{"provider:physical_network":null,"ipv6_address_scope":null,"revision_number":3,"port_security_enabled":true,"mtu":1450,"id":"55577586-eca0-44a3-8c7f-48f8e5914063","router:external":false,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"e34bc61e04aa4099a1b6e4ea9d4b13dc","status":"ACTIVE","subnets":["64703576-0381-4c14-8c1f-ecf6360f8fd9"],"description":"","tags":[],"updated_at":"2018-03-25T04:52:05Z","provider:segmentation_id":76,"name":"tempest-TestServerMultinode-260924542-network","admin_state_up":true,"tenant_id":"e34bc61e04aa4099a1b6e4ea9d4b13dc","created_at":"2018-03-25T04:52:05Z","provider:network_type":"vxlan"},{"provider:physical_network":"physnet","ipv6_address_scope":null,"revision_number":4,"port_security_enabled":true,"mtu":1500,"id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","router:external":true,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"project_id":"ac9dc78a8665499eb3975d38396fcd78","status":"ACTIVE","subnets":["8ab3bfa0-ead4-4a13-bd13-75068435e9c3"],"description":"","tags":[],"updated_at":"2018-03-25T04:23:07Z","is_default":false,"provider:segmentation_id":null,"name":"ext-net","admin_state_up":true,"tenant_id":"ac9dc78a8665499eb3975d38396fcd78","created_at":"2018-03-25T04:23:02Z","provider:network_type":"flat"}]}
To JSON using : pretty_print=False
${OSResult} = {u'networks': [{u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 3, u'port_security_enabled': True, u'provider:network_type': u'vxlan', u'id': u'0d35ab42-7187-482e-...
Logs the given message with the given level.
${OSResult}
{u'networks': [{u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 3, u'port_security_enabled': True, u'provider:network_type': u'vxlan', u'id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [u'nova'], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'status': u'ACTIVE', u'subnets': [u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a'], u'description': u'', u'tags': [], u'updated_at': u'2018-03-25T05:08:33Z', u'provider:segmentation_id': 23, u'name': u'c_rally_fb8cc876_V1ZYPlTw', u'admin_state_up': True, u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'created_at': u'2018-03-25T05:08:31Z', u'mtu': 1450}, {u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 3, u'port_security_enabled': True, u'provider:network_type': u'vxlan', u'id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [u'nova'], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'status': u'ACTIVE', u'subnets': [u'dac94f25-f57c-4255-8f6d-0081e5bc4e93'], u'description': u'', u'tags': [], u'updated_at': u'2018-03-25T04:52:10Z', u'provider:segmentation_id': 1, u'name': u'tempest-TestServerMultinode-892647384-network', u'admin_state_up': True, u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'created_at': u'2018-03-25T04:52:09Z', u'mtu': 1450}, {u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 3, u'port_security_enabled': True, u'provider:network_type': u'vxlan', u'id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [u'nova'], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'status': u'ACTIVE', u'subnets': [u'64703576-0381-4c14-8c1f-ecf6360f8fd9'], u'description': u'', u'tags': [], u'updated_at': u'2018-03-25T04:52:05Z', u'provider:segmentation_id': 76, u'name': u'tempest-TestServerMultinode-260924542-network', u'admin_state_up': True, u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'created_at': u'2018-03-25T04:52:05Z', u'mtu': 1450}, {u'provider:physical_network': u'physnet', u'ipv6_address_scope': None, u'revision_number': 4, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', 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'ac9dc78a8665499eb3975d38396fcd78', u'status': u'ACTIVE', u'subnets': [u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3'], u'description': u'', u'tags': [], u'updated_at': u'2018-03-25T04:23:07Z', u'is_default': False, u'provider:segmentation_id': None, u'name': u'ext-net', u'admin_state_up': True, u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'created_at': u'2018-03-25T04:23:02Z', u'mtu': 1500}]}
Checking OpenStack Neutron for known networks
Network Neutron OpenStack
Create Session: create a HTTP session to a server
ODLSession
http://${ODL_SYSTEM_IP}:${PORT}
headers=${HEADERS}
auth=${AUTH}
Creating Session using : alias=ODLSession, url=http://192.168.10.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7fa3b76f9790>, timeout=None, proxies=None, verify=False, debug=0
Send a GET request on the session object found using the
ODLSession
${NEUTRON_NETWORKS_API}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Convert a string to a JSON object
${resp.content}
${ODLResult}
To JSON using : content={
"networks" : [ {
"id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 3,
"name" : "ext-net",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : true,
"provider:network_type" : "flat",
"provider:physical_network" : "physnet",
"segments" : [ ]
}, {
"id" : "0d35ab42-7187-482e-85c4-bc750fdb29df",
"tenant_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"project_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"revision_number" : 2,
"name" : "c_rally_fb8cc876_V1ZYPlTw",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "vxlan",
"provider:segmentation_id" : "23",
"segments" : [ ]
}, {
"id" : "55577586-eca0-44a3-8c7f-48f8e5914063",
"tenant_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"project_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"revision_number" : 2,
"name" : "tempest-TestServerMultinode-260924542-network",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "vxlan",
"provider:segmentation_id" : "76",
"segments" : [ ]
}, {
"id" : "4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"tenant_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"project_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"revision_number" : 2,
"name" : "tempest-TestServerMultinode-892647384-network",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "vxlan",
"provider:segmentation_id" : "1",
"segments" : [ ]
}, {
"id" : "bd8db3a8-2b30-4083-a8b3-b3fd46401142",
"tenant_id" : "bd8db3a82b304083a8b3b3fd46401142",
"project_id" : "bd8db3a8-2b30-4083-a8b3-b3fd46401142",
"name" : "Sync Canary Network",
"admin_state_up" : false,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "flat",
"segments" : [ ]
} ]
}
To JSON using : pretty_print=False
${ODLResult} = {u'networks': [{u'status': u'ACTIVE', u'router:external': True, u'name': u'ext-net', u'provider:physical_network': u'physnet', u'admin_state_up': True, u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78...
Logs the given message with the given level.
${ODLResult}
{u'networks': [{u'status': u'ACTIVE', u'router:external': True, u'name': u'ext-net', u'provider:physical_network': u'physnet', u'admin_state_up': True, u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'segments': [], u'provider:network_type': u'flat', u'revision_number': 3, u'shared': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5'}, {u'status': u'ACTIVE', u'router:external': False, u'name': u'c_rally_fb8cc876_V1ZYPlTw', u'admin_state_up': True, u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'segments': [], u'provider:network_type': u'vxlan', u'revision_number': 2, u'shared': False, u'project_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'provider:segmentation_id': u'23'}, {u'status': u'ACTIVE', u'router:external': False, u'name': u'tempest-TestServerMultinode-260924542-network', u'admin_state_up': True, u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'segments': [], u'provider:network_type': u'vxlan', u'revision_number': 2, u'shared': False, u'project_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'provider:segmentation_id': u'76'}, {u'status': u'ACTIVE', u'router:external': False, u'name': u'tempest-TestServerMultinode-892647384-network', u'admin_state_up': True, u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'segments': [], u'provider:network_type': u'vxlan', u'revision_number': 2, u'shared': False, u'project_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'provider:segmentation_id': u'1'}, {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'}]}
Checking OpenDaylight Neutron API for known networks
Network Neutron OpenDaylight
Logs the given message with the given level.
${postNet}
{"network":{"name":"odl_network","admin_state_up":true}}
Send a POST request on the session object found using the
OSSession
${OSREST}
data=${postNet}
${resp}
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
Post Request using : alias=OSSession, uri=/v2.0/networks, data=<empty>, headers=None, files=None, allow_redirects=True
${resp} = <Response [201]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
201
Argument types are:
<type 'int'>
<type 'unicode'>
Convert a string to a JSON object
${resp.content}
${result}
To JSON using : content={"network":{"provider:physical_network":null,"ipv6_address_scope":null,"revision_number":2,"port_security_enabled":true,"provider:network_type":"vxlan","id":"612784be-9255-40e0-83aa-69e0d6bcd02b","router:external":false,"availability_zone_hints":[],"availability_zones":[],"ipv4_address_scope":null,"shared":false,"project_id":"ac9dc78a8665499eb3975d38396fcd78","status":"ACTIVE","subnets":[],"description":"","tags":[],"updated_at":"2018-03-25T05:23:26Z","is_default":false,"provider:segmentation_id":85,"name":"odl_network","admin_state_up":true,"tenant_id":"ac9dc78a8665499eb3975d38396fcd78","created_at":"2018-03-25T05:23:26Z","mtu":1450}}
To JSON using : pretty_print=False
${result} = {u'network': {u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'mtu': 1450, u'id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'ro...
Returns a value from the given ``dictionary`` based on the given ``key``.
${result}
network
${result}
${result} = {u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'mtu': 1450, u'id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'router:external...
Returns a value from the given ``dictionary`` based on the given ``key``.
${result}
id
${NETID}
${NETID} = 612784be-9255-40e0-83aa-69e0d6bcd02b
Logs the given message with the given level.
${result}
{u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 2, u'port_security_enabled': True, u'mtu': 1450, u'id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'tags': [], u'updated_at': u'2018-03-25T05:23:26Z', u'is_default': False, u'provider:segmentation_id': 85, u'name': u'odl_network', u'admin_state_up': True, u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'created_at': u'2018-03-25T05:23:26Z', u'provider:network_type': u'vxlan'}
Logs the given message with the given level.
${NETID}
612784be-9255-40e0-83aa-69e0d6bcd02b
Makes a variable available globally in all tests and suites.
${NETID}
${NETID} = 612784be-9255-40e0-83aa-69e0d6bcd02b
Pauses the test executed for the given time.
2
Slept 2 seconds
Create new network in OpenStack
Create Network OpenStack Neutron
Send a GET request on the session object found using the
ODLSession
${NEUTRON_NETWORKS_API}/${NetID}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/612784be-9255-40e0-83aa-69e0d6bcd02b, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Check network created in OpenDaylight
Check
Network OpenDaylight
Removes all the session objects
Delete All Sessions
Checking Network created in OpenStack are pushed to OpenDaylight
Create Session: create a HTTP session to a server
OSSession
${NEUTRONURL}
headers=${X-AUTH}
Creating Session using : alias=OSSession, url=https://192.168.10.222:9696, headers={u'X-Auth-Token': 'gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK4s', u'Content-Type': u'application/json'}, cookies=None, auth=None, timeout=None, proxies=None, verify=False, debug=0
Logs the given message with the given level.
${X-AUTH}
{u'X-Auth-Token': 'gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK4s', u'Content-Type': u'application/json'}
Send a GET request on the session object found using the
OSSession
${OSREST}
${resp}
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
Get Request using : alias=OSSession, uri=/v2.0/subnets, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Convert a string to a JSON object
${resp.content}
${OSResult}
To JSON using : content={"subnets":[{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"55577586-eca0-44a3-8c7f-48f8e5914063","tenant_id":"e34bc61e04aa4099a1b6e4ea9d4b13dc","created_at":"2018-03-25T04:52:05Z","dns_nameservers":[],"updated_at":"2018-03-25T04:52:05Z","ipv6_ra_mode":null,"allocation_pools":[{"start":"10.100.0.2","end":"10.100.0.14"}],"gateway_ip":"10.100.0.1","revision_number":0,"ipv6_address_mode":null,"ip_version":4,"host_routes":[],"cidr":"10.100.0.0/28","project_id":"e34bc61e04aa4099a1b6e4ea9d4b13dc","id":"64703576-0381-4c14-8c1f-ecf6360f8fd9","subnetpool_id":null,"name":"tempest-TestServerMultinode-260924542-subnet"},{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"0d35ab42-7187-482e-85c4-bc750fdb29df","tenant_id":"2a5142d926814fb9bf00ba84cea11bd4","created_at":"2018-03-25T05:08:33Z","dns_nameservers":["8.8.8.8","8.8.4.4"],"updated_at":"2018-03-25T05:08:33Z","ipv6_ra_mode":null,"allocation_pools":[{"start":"10.2.0.2","end":"10.2.0.254"}],"gateway_ip":"10.2.0.1","revision_number":0,"ipv6_address_mode":null,"ip_version":4,"host_routes":[],"cidr":"10.2.0.0/24","project_id":"2a5142d926814fb9bf00ba84cea11bd4","id":"81bae171-9f05-42bc-bb4c-3c5fa1be0b3a","subnetpool_id":null,"name":"c_rally_fb8cc876_8DpFGOJe"},{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"ac9dc78a8665499eb3975d38396fcd78","created_at":"2018-03-25T04:23:07Z","dns_nameservers":[],"updated_at":"2018-03-25T04:23:07Z","ipv6_ra_mode":null,"allocation_pools":[{"start":"192.168.10.100","end":"192.168.10.200"}],"gateway_ip":"192.168.10.1","revision_number":0,"ipv6_address_mode":null,"ip_version":4,"host_routes":[],"cidr":"192.168.10.0/24","project_id":"ac9dc78a8665499eb3975d38396fcd78","id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","subnetpool_id":null,"name":"ext-subnet"},{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"4c29a8dd-3158-4a23-9610-6b9d310a63a4","tenant_id":"beb27739e5254e1fa4c0acbdb32b0b9f","created_at":"2018-03-25T04:52:10Z","dns_nameservers":[],"updated_at":"2018-03-25T04:52:10Z","ipv6_ra_mode":null,"allocation_pools":[{"start":"10.100.0.2","end":"10.100.0.14"}],"gateway_ip":"10.100.0.1","revision_number":0,"ipv6_address_mode":null,"ip_version":4,"host_routes":[],"cidr":"10.100.0.0/28","project_id":"beb27739e5254e1fa4c0acbdb32b0b9f","id":"dac94f25-f57c-4255-8f6d-0081e5bc4e93","subnetpool_id":null,"name":"tempest-TestServerMultinode-892647384-subnet"}]}
To JSON using : pretty_print=False
${OSResult} = {u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa409...
Logs the given message with the given level.
${OSResult}
{u'subnets': [{u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'created_at': u'2018-03-25T04:52:05Z', u'dns_nameservers': [], u'updated_at': u'2018-03-25T04:52:05Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'10.100.0.2', u'end': u'10.100.0.14'}], u'gateway_ip': u'10.100.0.1', u'revision_number': 0, u'ip_version': 4, u'ipv6_address_mode': None, u'cidr': u'10.100.0.0/28', u'project_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9', u'subnetpool_id': None, u'name': u'tempest-TestServerMultinode-260924542-subnet'}, {u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'created_at': u'2018-03-25T05:08:33Z', u'dns_nameservers': [u'8.8.8.8', u'8.8.4.4'], u'updated_at': u'2018-03-25T05:08:33Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'10.2.0.2', u'end': u'10.2.0.254'}], u'gateway_ip': u'10.2.0.1', u'revision_number': 0, u'ip_version': 4, u'ipv6_address_mode': None, u'cidr': u'10.2.0.0/24', u'project_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a', u'subnetpool_id': None, u'name': u'c_rally_fb8cc876_8DpFGOJe'}, {u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'created_at': u'2018-03-25T04:23:07Z', u'dns_nameservers': [], u'updated_at': u'2018-03-25T04:23:07Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'192.168.10.100', u'end': u'192.168.10.200'}], u'gateway_ip': u'192.168.10.1', u'revision_number': 0, u'ip_version': 4, u'ipv6_address_mode': None, u'cidr': u'192.168.10.0/24', u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'subnetpool_id': None, u'name': u'ext-subnet'}, {u'host_routes': [], u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'created_at': u'2018-03-25T04:52:10Z', u'dns_nameservers': [], u'updated_at': u'2018-03-25T04:52:10Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'10.100.0.2', u'end': u'10.100.0.14'}], u'gateway_ip': u'10.100.0.1', u'revision_number': 0, u'ip_version': 4, u'ipv6_address_mode': None, u'cidr': u'10.100.0.0/28', u'project_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'id': u'dac94f25-f57c-4255-8f6d-0081e5bc4e93', u'subnetpool_id': None, u'name': u'tempest-TestServerMultinode-892647384-subnet'}]}
Checking OpenStack Neutron for known subnets
Subnets Neutron OpenStack
Create Session: create a HTTP session to a server
ODLSession
http://${ODL_SYSTEM_IP}:${PORT}
headers=${HEADERS}
auth=${AUTH}
Creating Session using : alias=ODLSession, url=http://192.168.10.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7fa3b792e590>, timeout=None, proxies=None, verify=False, debug=0
Send a GET request on the session object found using the
ODLSession
${NEUTRON_SUBNETS_API}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Convert a string to a JSON object
${resp.content}
${ODLResult}
To JSON using : content={
"subnets" : [ {
"id" : "64703576-0381-4c14-8c1f-ecf6360f8fd9",
"tenant_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"project_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"revision_number" : 0,
"name" : "tempest-TestServerMultinode-260924542-subnet",
"network_id" : "55577586-eca0-44a3-8c7f-48f8e5914063",
"ip_version" : 4,
"cidr" : "10.100.0.0/28",
"gateway_ip" : "10.100.0.1",
"dns_nameservers" : [ ],
"allocation_pools" : [ {
"start" : "10.100.0.2",
"end" : "10.100.0.14"
} ],
"host_routes" : [ ],
"enable_dhcp" : true,
"ipv6_address_mode" : null,
"ipv6_ra_mode" : null
}, {
"id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 0,
"name" : "ext-subnet",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"ip_version" : 4,
"cidr" : "192.168.10.0/24",
"gateway_ip" : "192.168.10.1",
"dns_nameservers" : [ ],
"allocation_pools" : [ {
"start" : "192.168.10.100",
"end" : "192.168.10.200"
} ],
"host_routes" : [ ],
"enable_dhcp" : true,
"ipv6_address_mode" : null,
"ipv6_ra_mode" : null
}, {
"id" : "dac94f25-f57c-4255-8f6d-0081e5bc4e93",
"tenant_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"project_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"revision_number" : 0,
"name" : "tempest-TestServerMultinode-892647384-subnet",
"network_id" : "4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"ip_version" : 4,
"cidr" : "10.100.0.0/28",
"gateway_ip" : "10.100.0.1",
"dns_nameservers" : [ ],
"allocation_pools" : [ {
"start" : "10.100.0.2",
"end" : "10.100.0.14"
} ],
"host_routes" : [ ],
"enable_dhcp" : true,
"ipv6_address_mode" : null,
"ipv6_ra_mode" : null
}, {
"id" : "81bae171-9f05-42bc-bb4c-3c5fa1be0b3a",
"tenant_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"project_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"revision_number" : 0,
"name" : "c_rally_fb8cc876_8DpFGOJe",
"network_id" : "0d35ab42-7187-482e-85c4-bc750fdb29df",
"ip_version" : 4,
"cidr" : "10.2.0.0/24",
"gateway_ip" : "10.2.0.1",
"dns_nameservers" : [ "8.8.8.8", "8.8.4.4" ],
"allocation_pools" : [ {
"start" : "10.2.0.2",
"end" : "10.2.0.254"
} ],
"host_routes" : [ ],
"enable_dhcp" : true,
"ipv6_address_mode" : null,
"ipv6_ra_mode" : null
} ]
}
To JSON using : pretty_print=False
${ODLResult} = {u'subnets': [{u'name': u'tempest-TestServerMultinode-260924542-subnet', u'enable_dhcp': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc'...
Logs the given message with the given level.
${ODLResult}
{u'subnets': [{u'name': u'tempest-TestServerMultinode-260924542-subnet', u'enable_dhcp': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'dns_nameservers': [], u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'10.100.0.2', u'end': u'10.100.0.14'}], u'gateway_ip': u'10.100.0.1', u'revision_number': 0, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'10.100.0.0/28', u'project_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9'}, {u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'dns_nameservers': [], u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'192.168.10.100', u'end': u'192.168.10.200'}], u'gateway_ip': u'192.168.10.1', u'revision_number': 0, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'192.168.10.0/24', u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3'}, {u'name': u'tempest-TestServerMultinode-892647384-subnet', u'enable_dhcp': True, u'network_id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'dns_nameservers': [], u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'10.100.0.2', u'end': u'10.100.0.14'}], u'gateway_ip': u'10.100.0.1', u'revision_number': 0, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'10.100.0.0/28', u'project_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'id': u'dac94f25-f57c-4255-8f6d-0081e5bc4e93'}, {u'name': u'c_rally_fb8cc876_8DpFGOJe', u'enable_dhcp': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'dns_nameservers': [u'8.8.8.8', u'8.8.4.4'], u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'10.2.0.2', u'end': u'10.2.0.254'}], u'gateway_ip': u'10.2.0.1', u'revision_number': 0, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'10.2.0.0/24', u'project_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a'}]}
Checking OpenDaylight Neutron API for known subnets
Subnets Neutron OpenDaylight
Logs the given message with the given level.
${data}
{"subnet":{"network_id":"612784be-9255-40e0-83aa-69e0d6bcd02b","ip_version":4,"cidr":"172.16.64.0/24","allocation_pools":[{"start":"172.16.64.20","end":"172.16.64.120"}]}}
Send a POST request on the session object found using the
OSSession
${OSREST}
data=${data}
${resp}
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
Post Request using : alias=OSSession, uri=/v2.0/subnets, data=<empty>, headers=None, files=None, allow_redirects=True
${resp} = <Response [201]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
201
Argument types are:
<type 'int'>
<type 'unicode'>
Convert a string to a JSON object
${resp.content}
${result}
To JSON using : content={"subnet":{"service_types":[],"description":"","enable_dhcp":true,"tags":[],"network_id":"612784be-9255-40e0-83aa-69e0d6bcd02b","tenant_id":"ac9dc78a8665499eb3975d38396fcd78","created_at":"2018-03-25T05:23:29Z","dns_nameservers":[],"updated_at":"2018-03-25T05:23:29Z","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":"ac9dc78a8665499eb3975d38396fcd78","id":"31b1a4d2-fc6d-402d-a766-ab8f6f579419","subnetpool_id":null,"name":""}}
To JSON using : pretty_print=False
${result} = {u'subnet': {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'...
Returns a value from the given ``dictionary`` based on the given ``key``.
${result}
subnet
${result}
${result} = {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'created_at':...
Returns a value from the given ``dictionary`` based on the given ``key``.
${result}
id
${SUBNETID}
${SUBNETID} = 31b1a4d2-fc6d-402d-a766-ab8f6f579419
Logs the given message with the given level.
${result}
{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'created_at': u'2018-03-25T05:23:29Z', u'dns_nameservers': [], u'updated_at': u'2018-03-25T05:23:29Z', 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'ac9dc78a8665499eb3975d38396fcd78', u'id': u'31b1a4d2-fc6d-402d-a766-ab8f6f579419', u'subnetpool_id': None, u'name': u''}
Logs the given message with the given level.
${SUBNETID}
31b1a4d2-fc6d-402d-a766-ab8f6f579419
Makes a variable available globally in all tests and suites.
${SUBNETID}
${SUBNETID} = 31b1a4d2-fc6d-402d-a766-ab8f6f579419
Pauses the test executed for the given time.
2
Slept 2 seconds
Create new subnet in OpenStack
Create Subnet OpenStack Neutron
Send a GET request on the session object found using the
ODLSession
${NEUTRON_SUBNETS_API}/${SUBNETID}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/31b1a4d2-fc6d-402d-a766-ab8f6f579419, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Check new subnet created in OpenDaylight
Check
subnet OpenDaylight
Removes all the session objects
Delete All Sessions
Checking Subnets created in OpenStack are pushed to OpenDaylight
Create Session: create a HTTP session to a server
OSSession
${NEUTRONURL}
headers=${X-AUTH}
Creating Session using : alias=OSSession, url=https://192.168.10.222:9696, headers={u'X-Auth-Token': 'gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK4s', u'Content-Type': u'application/json'}, cookies=None, auth=None, timeout=None, proxies=None, verify=False, debug=0
Logs the given message with the given level.
${X-AUTH}
{u'X-Auth-Token': 'gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK4s', u'Content-Type': u'application/json'}
Send a GET request on the session object found using the
OSSession
${OSREST}
${resp}
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
Get Request using : alias=OSSession, uri=/v2.0/ports, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Convert a string to a JSON object
${resp.content}
${OSResult}
To JSON using : content={"ports":[{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:52:18Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"dac94f25-f57c-4255-8f6d-0081e5bc4e93","ip_address":"10.100.0.3"}],"id":"0b5f09da-3e98-4a6e-b4e4-4131e15281b3","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d","host_addresses":["host3-neutron-agents-container-7a555323"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:f2:d3:34","project_id":"beb27739e5254e1fa4c0acbdb32b0b9f","status":"ACTIVE","binding:host_id":"host3-neutron-agents-container-7a555323","description":"","tags":[],"device_id":"dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-4c29a8dd-3158-4a23-9610-6b9d310a63a4","name":"","admin_state_up":true,"network_id":"4c29a8dd-3158-4a23-9610-6b9d310a63a4","tenant_id":"beb27739e5254e1fa4c0acbdb32b0b9f","created_at":"2018-03-25T04:52:11Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T05:09:41Z","device_owner":"network:router_gateway","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.123"}],"id":"13ce0d11-c97b-4050-af5d-02f4ca52b6b0","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:48:46:2b","project_id":"","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"bd6234ee-470b-4925-86c8-5a6ea8f39eda","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"","created_at":"2018-03-25T05:09:40Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:29:27Z","device_owner":"network:router_gateway","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.103"}],"id":"13f3c207-1dd2-442e-9c78-d633ef8682db","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:22:fd:d7","project_id":"","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"c22f7f75-daac-4f5c-999c-56f36fbf8db3","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"","created_at":"2018-03-25T04:29:27Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T05:08:33Z","device_owner":"network:router_gateway","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.108"}],"id":"18eb07df-ff97-4ee5-ba98-27d287faadf2","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:10:cc:84","project_id":"","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"c6b5a39c-a3ff-4f68-bd1e-31ce50de39e3","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"","created_at":"2018-03-25T05:08:32Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:23:15Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.100"}],"id":"1bdbb1e9-1775-46ce-b50d-ef85f12c40b7","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"8d580538-b9cc-4111-add8-7cfbb4fda9ed","host_addresses":["host1-neutron-agents-container-dd6a0946"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:72:bb:bc","project_id":"ac9dc78a8665499eb3975d38396fcd78","status":"ACTIVE","binding:host_id":"host1-neutron-agents-container-dd6a0946","description":"","tags":[],"device_id":"dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-6a6a15f4-17c2-419f-8401-d21d63b6b8a5","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"ac9dc78a8665499eb3975d38396fcd78","created_at":"2018-03-25T04:23:08Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T05:09:38Z","device_owner":"network:router_gateway","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.115"}],"id":"1f9984ec-5d70-4b2e-9a17-c5cba6f41d10","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:f0:ed:b2","project_id":"","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"ecf1d83e-e7a6-4db4-a113-fdc11dfaf47c","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"","created_at":"2018-03-25T05:09:38Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:52:12Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"64703576-0381-4c14-8c1f-ecf6360f8fd9","ip_address":"10.100.0.2"}],"id":"3bad1359-de65-4c10-b5b7-96b78e74ea1f","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d","host_addresses":["host3-neutron-agents-container-7a555323"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:33:36:9c","project_id":"e34bc61e04aa4099a1b6e4ea9d4b13dc","status":"ACTIVE","binding:host_id":"host3-neutron-agents-container-7a555323","description":"","tags":[],"device_id":"dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-55577586-eca0-44a3-8c7f-48f8e5914063","name":"","admin_state_up":true,"network_id":"55577586-eca0-44a3-8c7f-48f8e5914063","tenant_id":"e34bc61e04aa4099a1b6e4ea9d4b13dc","created_at":"2018-03-25T04:52:06Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:52:17Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"dac94f25-f57c-4255-8f6d-0081e5bc4e93","ip_address":"10.100.0.2"}],"id":"3bea97d4-60f5-4dfe-9d06-2bbff79c2a85","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"aef74230-aa79-435b-8512-43c8679ec762","host_addresses":["host2-neutron-agents-container-ee63ca09"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:07:6b:6c","project_id":"beb27739e5254e1fa4c0acbdb32b0b9f","status":"ACTIVE","binding:host_id":"host2-neutron-agents-container-ee63ca09","description":"","tags":[],"device_id":"dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-4c29a8dd-3158-4a23-9610-6b9d310a63a4","name":"","admin_state_up":true,"network_id":"4c29a8dd-3158-4a23-9610-6b9d310a63a4","tenant_id":"beb27739e5254e1fa4c0acbdb32b0b9f","created_at":"2018-03-25T04:52:11Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T05:11:03Z","device_owner":"network:router_interface","revision_number":4,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"81bae171-9f05-42bc-bb4c-3c5fa1be0b3a","ip_address":"10.2.0.1"}],"id":"3e70470e-9c53-4ee6-b3a7-0bdd1bc19b59","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:85:23:b7","project_id":"2a5142d926814fb9bf00ba84cea11bd4","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"c6b5a39c-a3ff-4f68-bd1e-31ce50de39e3","name":"","admin_state_up":true,"network_id":"0d35ab42-7187-482e-85c4-bc750fdb29df","tenant_id":"2a5142d926814fb9bf00ba84cea11bd4","created_at":"2018-03-25T05:08:34Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:47:00Z","device_owner":"network:router_gateway","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.113"}],"id":"43096507-6352-46d6-a354-28ebe4c4ceb5","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:c3:92:91","project_id":"","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"2769f641-cf95-4d5c-8d72-a8c8a6317ccb","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"","created_at":"2018-03-25T04:47:00Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T05:08:41Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"81bae171-9f05-42bc-bb4c-3c5fa1be0b3a","ip_address":"10.2.0.4"}],"id":"4afd0244-dc41-477f-bf7d-3cb4d967fc36","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d","host_addresses":["host3-neutron-agents-container-7a555323"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:06:37:7d","project_id":"2a5142d926814fb9bf00ba84cea11bd4","status":"ACTIVE","binding:host_id":"host3-neutron-agents-container-7a555323","description":"","tags":[],"device_id":"dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-0d35ab42-7187-482e-85c4-bc750fdb29df","name":"","admin_state_up":true,"network_id":"0d35ab42-7187-482e-85c4-bc750fdb29df","tenant_id":"2a5142d926814fb9bf00ba84cea11bd4","created_at":"2018-03-25T05:08:35Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:36:43Z","device_owner":"network:router_gateway","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.109"}],"id":"53811050-7948-4132-a641-baebf163a589","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:50:8e:8b","project_id":"","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"672150a2-4e35-49fe-b4cb-308f332853e1","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"","created_at":"2018-03-25T04:36:43Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:52:12Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"64703576-0381-4c14-8c1f-ecf6360f8fd9","ip_address":"10.100.0.3"}],"id":"6384ee05-1169-4c59-a3f7-e94da573c618","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"8d580538-b9cc-4111-add8-7cfbb4fda9ed","host_addresses":["host1-neutron-agents-container-dd6a0946"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:30:01:97","project_id":"e34bc61e04aa4099a1b6e4ea9d4b13dc","status":"ACTIVE","binding:host_id":"host1-neutron-agents-container-dd6a0946","description":"","tags":[],"device_id":"dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-55577586-eca0-44a3-8c7f-48f8e5914063","name":"","admin_state_up":true,"network_id":"55577586-eca0-44a3-8c7f-48f8e5914063","tenant_id":"e34bc61e04aa4099a1b6e4ea9d4b13dc","created_at":"2018-03-25T04:52:06Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T05:23:30Z","device_owner":"network:dhcp","revision_number":4,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"31b1a4d2-fc6d-402d-a766-ab8f6f579419","ip_address":"172.16.64.20"}],"id":"75e23d26-1ad1-40d1-b2d0-9ba071fea1a7","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d","host_addresses":["host3-neutron-agents-container-7a555323"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:ef:c9:4b","project_id":"ac9dc78a8665499eb3975d38396fcd78","status":"DOWN","binding:host_id":"host3-neutron-agents-container-7a555323","description":"","tags":[],"device_id":"dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-612784be-9255-40e0-83aa-69e0d6bcd02b","name":"","admin_state_up":true,"network_id":"612784be-9255-40e0-83aa-69e0d6bcd02b","tenant_id":"ac9dc78a8665499eb3975d38396fcd78","created_at":"2018-03-25T05:23:29Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T05:23:31Z","device_owner":"network:dhcp","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"31b1a4d2-fc6d-402d-a766-ab8f6f579419","ip_address":"172.16.64.22"}],"id":"7cf80383-8552-449c-b319-1cd5151ca619","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:ef:3d:85","project_id":"ac9dc78a8665499eb3975d38396fcd78","status":"DOWN","binding:host_id":"host1-neutron-agents-container-dd6a0946","description":"","tags":[],"device_id":"dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-612784be-9255-40e0-83aa-69e0d6bcd02b","name":"","admin_state_up":true,"network_id":"612784be-9255-40e0-83aa-69e0d6bcd02b","tenant_id":"ac9dc78a8665499eb3975d38396fcd78","created_at":"2018-03-25T05:23:31Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:52:13Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"64703576-0381-4c14-8c1f-ecf6360f8fd9","ip_address":"10.100.0.4"}],"id":"9011f698-a77e-420d-aa99-be42ca64013f","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"aef74230-aa79-435b-8512-43c8679ec762","host_addresses":["host2-neutron-agents-container-ee63ca09"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:c4:66:29","project_id":"e34bc61e04aa4099a1b6e4ea9d4b13dc","status":"ACTIVE","binding:host_id":"host2-neutron-agents-container-ee63ca09","description":"","tags":[],"device_id":"dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-55577586-eca0-44a3-8c7f-48f8e5914063","name":"","admin_state_up":true,"network_id":"55577586-eca0-44a3-8c7f-48f8e5914063","tenant_id":"e34bc61e04aa4099a1b6e4ea9d4b13dc","created_at":"2018-03-25T04:52:07Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:52:06Z","device_owner":"network:router_gateway","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.105"}],"id":"96cd3184-5f3d-48a1-b9df-22985e4c44b5","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:67:d9:c5","project_id":"","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"9a34fa66-2778-4f9a-8ee5-c90e345b0e7f","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"","created_at":"2018-03-25T04:52:06Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:52:08Z","device_owner":"network:router_interface","revision_number":4,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"64703576-0381-4c14-8c1f-ecf6360f8fd9","ip_address":"10.100.0.1"}],"id":"af105072-de27-4d54-96de-22dfb3846a42","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:e4:ea:91","project_id":"e34bc61e04aa4099a1b6e4ea9d4b13dc","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"9a34fa66-2778-4f9a-8ee5-c90e345b0e7f","name":"","admin_state_up":true,"network_id":"55577586-eca0-44a3-8c7f-48f8e5914063","tenant_id":"e34bc61e04aa4099a1b6e4ea9d4b13dc","created_at":"2018-03-25T04:52:07Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:29:33Z","device_owner":"network:router_gateway","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.107"}],"id":"ba5e48c6-9a41-4450-a02d-9c3cfed6f027","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:68:ef:4a","project_id":"","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"cde79179-d12c-49b2-b88f-0288de0edcdc","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"","created_at":"2018-03-25T04:29:33Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T05:09:39Z","device_owner":"network:router_gateway","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.104"}],"id":"bce4ea91-9b29-46a9-bfe0-ff4a0f271a46","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:20:44:9d","project_id":"","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"75bf267e-223b-4c91-aee7-2fbccf313fab","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"","created_at":"2018-03-25T05:09:39Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:52:18Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"dac94f25-f57c-4255-8f6d-0081e5bc4e93","ip_address":"10.100.0.4"}],"id":"be63b0cd-95e5-4328-8923-5770fac4689f","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"8d580538-b9cc-4111-add8-7cfbb4fda9ed","host_addresses":["host1-neutron-agents-container-dd6a0946"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:54:ec:b0","project_id":"beb27739e5254e1fa4c0acbdb32b0b9f","status":"ACTIVE","binding:host_id":"host1-neutron-agents-container-dd6a0946","description":"","tags":[],"device_id":"dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-4c29a8dd-3158-4a23-9610-6b9d310a63a4","name":"","admin_state_up":true,"network_id":"4c29a8dd-3158-4a23-9610-6b9d310a63a4","tenant_id":"beb27739e5254e1fa4c0acbdb32b0b9f","created_at":"2018-03-25T04:52:12Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T05:23:30Z","device_owner":"network:dhcp","revision_number":4,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"31b1a4d2-fc6d-402d-a766-ab8f6f579419","ip_address":"172.16.64.21"}],"id":"bf9439ec-5ca2-434f-bc5c-92260dcfd2b1","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"aef74230-aa79-435b-8512-43c8679ec762","host_addresses":["host2-neutron-agents-container-ee63ca09"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:57:e7:54","project_id":"ac9dc78a8665499eb3975d38396fcd78","status":"DOWN","binding:host_id":"host2-neutron-agents-container-ee63ca09","description":"","tags":[],"device_id":"dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-612784be-9255-40e0-83aa-69e0d6bcd02b","name":"","admin_state_up":true,"network_id":"612784be-9255-40e0-83aa-69e0d6bcd02b","tenant_id":"ac9dc78a8665499eb3975d38396fcd78","created_at":"2018-03-25T05:23:30Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:28:25Z","device_owner":"network:router_gateway","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.110"}],"id":"d61d416c-2fdf-459e-b2bb-91462aca89c6","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:e2:71:fb","project_id":"","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"f6f84bfd-6097-4c1b-a71d-77af3f630b4e","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"","created_at":"2018-03-25T04:28:24Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:23:15Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.101"}],"id":"daa6b87e-b3a0-407b-a570-5c1a038692bf","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"aef74230-aa79-435b-8512-43c8679ec762","host_addresses":["host2-neutron-agents-container-ee63ca09"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:d5:76:8c","project_id":"ac9dc78a8665499eb3975d38396fcd78","status":"ACTIVE","binding:host_id":"host2-neutron-agents-container-ee63ca09","description":"","tags":[],"device_id":"dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-6a6a15f4-17c2-419f-8401-d21d63b6b8a5","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"ac9dc78a8665499eb3975d38396fcd78","created_at":"2018-03-25T04:23:09Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T05:08:40Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"81bae171-9f05-42bc-bb4c-3c5fa1be0b3a","ip_address":"10.2.0.2"}],"id":"e17c97b6-7cb7-4ee9-8e8a-9339fc8013f0","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"aef74230-aa79-435b-8512-43c8679ec762","host_addresses":["host2-neutron-agents-container-ee63ca09"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:61:83:f7","project_id":"2a5142d926814fb9bf00ba84cea11bd4","status":"ACTIVE","binding:host_id":"host2-neutron-agents-container-ee63ca09","description":"","tags":[],"device_id":"dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-0d35ab42-7187-482e-85c4-bc750fdb29df","name":"","admin_state_up":true,"network_id":"0d35ab42-7187-482e-85c4-bc750fdb29df","tenant_id":"2a5142d926814fb9bf00ba84cea11bd4","created_at":"2018-03-25T05:08:33Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:23:16Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.102"}],"id":"f3182a95-73dc-434c-8d4a-1fb4b2e769c5","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d","host_addresses":["host3-neutron-agents-container-7a555323"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:eb:f8:1f","project_id":"ac9dc78a8665499eb3975d38396fcd78","status":"ACTIVE","binding:host_id":"host3-neutron-agents-container-7a555323","description":"","tags":[],"device_id":"dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-6a6a15f4-17c2-419f-8401-d21d63b6b8a5","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"ac9dc78a8665499eb3975d38396fcd78","created_at":"2018-03-25T04:23:09Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T05:08:41Z","device_owner":"network:dhcp","revision_number":5,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"81bae171-9f05-42bc-bb4c-3c5fa1be0b3a","ip_address":"10.2.0.3"}],"id":"f35442f7-d094-48c0-ba4a-ab1576189671","security_groups":[],"binding:vif_details":{"support_vhost_user":false,"has_datapath_type_netdev":false,"uuid":"8d580538-b9cc-4111-add8-7cfbb4fda9ed","host_addresses":["host1-neutron-agents-container-dd6a0946"]},"binding:vif_type":"ovs","mac_address":"fa:16:3e:31:55:c6","project_id":"2a5142d926814fb9bf00ba84cea11bd4","status":"ACTIVE","binding:host_id":"host1-neutron-agents-container-dd6a0946","description":"","tags":[],"device_id":"dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-0d35ab42-7187-482e-85c4-bc750fdb29df","name":"","admin_state_up":true,"network_id":"0d35ab42-7187-482e-85c4-bc750fdb29df","tenant_id":"2a5142d926814fb9bf00ba84cea11bd4","created_at":"2018-03-25T05:08:34Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T05:09:37Z","device_owner":"network:router_gateway","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.120"}],"id":"fa60615d-fa0f-4a1a-934d-dde30184e5df","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:78:c2:ca","project_id":"","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"bf872259-93ad-48be-8de9-bcd230ea3223","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"","created_at":"2018-03-25T05:09:36Z","binding:vnic_type":"normal"},{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T04:47:01Z","device_owner":"network:router_gateway","revision_number":3,"port_security_enabled":false,"binding:profile":{},"fixed_ips":[{"subnet_id":"8ab3bfa0-ead4-4a13-bd13-75068435e9c3","ip_address":"192.168.10.117"}],"id":"fc8d6674-04a5-4b0a-ab0d-dda75830c984","security_groups":[],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:95:35:da","project_id":"","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"d4645649-3c46-4aed-bfbf-e25f5a15abb9","name":"","admin_state_up":true,"network_id":"6a6a15f4-17c2-419f-8401-d21d63b6b8a5","tenant_id":"","created_at":"2018-03-25T04:47:01Z","binding:vnic_type":"normal"}]}
To JSON using : pretty_print=False
${OSResult} = {u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:52:18Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'b...
Logs the given message with the given level.
${OSResult}
{u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:52:18Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'dac94f25-f57c-4255-8f6d-0081e5bc4e93', u'ip_address': u'10.100.0.3'}], u'id': u'0b5f09da-3e98-4a6e-b4e4-4131e15281b3', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d', u'host_addresses': [u'host3-neutron-agents-container-7a555323']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:f2:d3:34', u'project_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'status': u'ACTIVE', u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'description': u'', u'tags': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'name': u'', u'admin_state_up': True, u'network_id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'created_at': u'2018-03-25T04:52:11Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:09:41Z', u'device_owner': u'network:router_gateway', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.123'}], u'id': u'13ce0d11-c97b-4050-af5d-02f4ca52b6b0', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:48:46:2b', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'bd6234ee-470b-4925-86c8-5a6ea8f39eda', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'', u'created_at': u'2018-03-25T05:09:40Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:29:27Z', u'device_owner': u'network:router_gateway', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.103'}], u'id': u'13f3c207-1dd2-442e-9c78-d633ef8682db', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:22:fd:d7', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'c22f7f75-daac-4f5c-999c-56f36fbf8db3', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'', u'created_at': u'2018-03-25T04:29:27Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:08:33Z', u'device_owner': u'network:router_gateway', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.108'}], u'id': u'18eb07df-ff97-4ee5-ba98-27d287faadf2', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:10:cc:84', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'c6b5a39c-a3ff-4f68-bd1e-31ce50de39e3', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'', u'created_at': u'2018-03-25T05:08:32Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:23:15Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.100'}], u'id': u'1bdbb1e9-1775-46ce-b50d-ef85f12c40b7', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'8d580538-b9cc-4111-add8-7cfbb4fda9ed', u'host_addresses': [u'host1-neutron-agents-container-dd6a0946']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:72:bb:bc', u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'status': u'ACTIVE', u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'description': u'', u'tags': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'created_at': u'2018-03-25T04:23:08Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:09:38Z', u'device_owner': u'network:router_gateway', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.115'}], u'id': u'1f9984ec-5d70-4b2e-9a17-c5cba6f41d10', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:f0:ed:b2', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'ecf1d83e-e7a6-4db4-a113-fdc11dfaf47c', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'', u'created_at': u'2018-03-25T05:09:38Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:52:12Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9', u'ip_address': u'10.100.0.2'}], u'id': u'3bad1359-de65-4c10-b5b7-96b78e74ea1f', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d', u'host_addresses': [u'host3-neutron-agents-container-7a555323']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:33:36:9c', u'project_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'status': u'ACTIVE', u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'description': u'', u'tags': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-55577586-eca0-44a3-8c7f-48f8e5914063', u'name': u'', u'admin_state_up': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'created_at': u'2018-03-25T04:52:06Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:52:17Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'dac94f25-f57c-4255-8f6d-0081e5bc4e93', u'ip_address': u'10.100.0.2'}], u'id': u'3bea97d4-60f5-4dfe-9d06-2bbff79c2a85', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762', u'host_addresses': [u'host2-neutron-agents-container-ee63ca09']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:07:6b:6c', u'project_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'status': u'ACTIVE', u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'description': u'', u'tags': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'name': u'', u'admin_state_up': True, u'network_id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'created_at': u'2018-03-25T04:52:11Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:11:03Z', u'device_owner': u'network:router_interface', u'revision_number': 4, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a', u'ip_address': u'10.2.0.1'}], u'id': u'3e70470e-9c53-4ee6-b3a7-0bdd1bc19b59', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:85:23:b7', u'project_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'c6b5a39c-a3ff-4f68-bd1e-31ce50de39e3', u'name': u'', u'admin_state_up': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'created_at': u'2018-03-25T05:08:34Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:47:00Z', u'device_owner': u'network:router_gateway', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.113'}], u'id': u'43096507-6352-46d6-a354-28ebe4c4ceb5', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:c3:92:91', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'2769f641-cf95-4d5c-8d72-a8c8a6317ccb', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'', u'created_at': u'2018-03-25T04:47:00Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:08:41Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a', u'ip_address': u'10.2.0.4'}], u'id': u'4afd0244-dc41-477f-bf7d-3cb4d967fc36', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d', u'host_addresses': [u'host3-neutron-agents-container-7a555323']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:06:37:7d', u'project_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'status': u'ACTIVE', u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'description': u'', u'tags': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-0d35ab42-7187-482e-85c4-bc750fdb29df', u'name': u'', u'admin_state_up': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'created_at': u'2018-03-25T05:08:35Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:36:43Z', u'device_owner': u'network:router_gateway', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.109'}], u'id': u'53811050-7948-4132-a641-baebf163a589', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:50:8e:8b', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'672150a2-4e35-49fe-b4cb-308f332853e1', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'', u'created_at': u'2018-03-25T04:36:43Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:52:12Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9', u'ip_address': u'10.100.0.3'}], u'id': u'6384ee05-1169-4c59-a3f7-e94da573c618', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'8d580538-b9cc-4111-add8-7cfbb4fda9ed', u'host_addresses': [u'host1-neutron-agents-container-dd6a0946']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:30:01:97', u'project_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'status': u'ACTIVE', u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'description': u'', u'tags': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-55577586-eca0-44a3-8c7f-48f8e5914063', u'name': u'', u'admin_state_up': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'created_at': u'2018-03-25T04:52:06Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:23:30Z', u'device_owner': u'network:dhcp', u'revision_number': 4, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'31b1a4d2-fc6d-402d-a766-ab8f6f579419', u'ip_address': u'172.16.64.20'}], u'id': u'75e23d26-1ad1-40d1-b2d0-9ba071fea1a7', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d', u'host_addresses': [u'host3-neutron-agents-container-7a555323']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:ef:c9:4b', u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'status': u'DOWN', u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'description': u'', u'tags': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-612784be-9255-40e0-83aa-69e0d6bcd02b', u'name': u'', u'admin_state_up': True, u'network_id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'created_at': u'2018-03-25T05:23:29Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:23:31Z', 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'31b1a4d2-fc6d-402d-a766-ab8f6f579419', u'ip_address': u'172.16.64.22'}], u'id': u'7cf80383-8552-449c-b319-1cd5151ca619', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:ef:3d:85', u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'status': u'DOWN', u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'description': u'', u'tags': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-612784be-9255-40e0-83aa-69e0d6bcd02b', u'name': u'', u'admin_state_up': True, u'network_id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'created_at': u'2018-03-25T05:23:31Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:52:13Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9', u'ip_address': u'10.100.0.4'}], u'id': u'9011f698-a77e-420d-aa99-be42ca64013f', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762', u'host_addresses': [u'host2-neutron-agents-container-ee63ca09']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:c4:66:29', u'project_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'status': u'ACTIVE', u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'description': u'', u'tags': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-55577586-eca0-44a3-8c7f-48f8e5914063', u'name': u'', u'admin_state_up': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'created_at': u'2018-03-25T04:52:07Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:52:06Z', u'device_owner': u'network:router_gateway', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.105'}], u'id': u'96cd3184-5f3d-48a1-b9df-22985e4c44b5', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:67:d9:c5', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'9a34fa66-2778-4f9a-8ee5-c90e345b0e7f', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'', u'created_at': u'2018-03-25T04:52:06Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:52:08Z', u'device_owner': u'network:router_interface', u'revision_number': 4, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9', u'ip_address': u'10.100.0.1'}], u'id': u'af105072-de27-4d54-96de-22dfb3846a42', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:e4:ea:91', u'project_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'9a34fa66-2778-4f9a-8ee5-c90e345b0e7f', u'name': u'', u'admin_state_up': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'created_at': u'2018-03-25T04:52:07Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:29:33Z', u'device_owner': u'network:router_gateway', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.107'}], u'id': u'ba5e48c6-9a41-4450-a02d-9c3cfed6f027', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:68:ef:4a', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'cde79179-d12c-49b2-b88f-0288de0edcdc', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'', u'created_at': u'2018-03-25T04:29:33Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:09:39Z', u'device_owner': u'network:router_gateway', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.104'}], u'id': u'bce4ea91-9b29-46a9-bfe0-ff4a0f271a46', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:20:44:9d', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'75bf267e-223b-4c91-aee7-2fbccf313fab', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'', u'created_at': u'2018-03-25T05:09:39Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:52:18Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'dac94f25-f57c-4255-8f6d-0081e5bc4e93', u'ip_address': u'10.100.0.4'}], u'id': u'be63b0cd-95e5-4328-8923-5770fac4689f', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'8d580538-b9cc-4111-add8-7cfbb4fda9ed', u'host_addresses': [u'host1-neutron-agents-container-dd6a0946']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:54:ec:b0', u'project_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'status': u'ACTIVE', u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'description': u'', u'tags': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'name': u'', u'admin_state_up': True, u'network_id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'created_at': u'2018-03-25T04:52:12Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:23:30Z', u'device_owner': u'network:dhcp', u'revision_number': 4, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'31b1a4d2-fc6d-402d-a766-ab8f6f579419', u'ip_address': u'172.16.64.21'}], u'id': u'bf9439ec-5ca2-434f-bc5c-92260dcfd2b1', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762', u'host_addresses': [u'host2-neutron-agents-container-ee63ca09']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:57:e7:54', u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'status': u'DOWN', u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'description': u'', u'tags': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-612784be-9255-40e0-83aa-69e0d6bcd02b', u'name': u'', u'admin_state_up': True, u'network_id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'created_at': u'2018-03-25T05:23:30Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:28:25Z', u'device_owner': u'network:router_gateway', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.110'}], u'id': u'd61d416c-2fdf-459e-b2bb-91462aca89c6', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:e2:71:fb', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'f6f84bfd-6097-4c1b-a71d-77af3f630b4e', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'', u'created_at': u'2018-03-25T04:28:24Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:23:15Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.101'}], u'id': u'daa6b87e-b3a0-407b-a570-5c1a038692bf', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762', u'host_addresses': [u'host2-neutron-agents-container-ee63ca09']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:d5:76:8c', u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'status': u'ACTIVE', u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'description': u'', u'tags': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'created_at': u'2018-03-25T04:23:09Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:08:40Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a', u'ip_address': u'10.2.0.2'}], u'id': u'e17c97b6-7cb7-4ee9-8e8a-9339fc8013f0', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762', u'host_addresses': [u'host2-neutron-agents-container-ee63ca09']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:61:83:f7', u'project_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'status': u'ACTIVE', u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'description': u'', u'tags': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-0d35ab42-7187-482e-85c4-bc750fdb29df', u'name': u'', u'admin_state_up': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'created_at': u'2018-03-25T05:08:33Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:23:16Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.102'}], u'id': u'f3182a95-73dc-434c-8d4a-1fb4b2e769c5', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d', u'host_addresses': [u'host3-neutron-agents-container-7a555323']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:eb:f8:1f', u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'status': u'ACTIVE', u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'description': u'', u'tags': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'created_at': u'2018-03-25T04:23:09Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:08:41Z', u'device_owner': u'network:dhcp', u'revision_number': 5, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a', u'ip_address': u'10.2.0.3'}], u'id': u'f35442f7-d094-48c0-ba4a-ab1576189671', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'8d580538-b9cc-4111-add8-7cfbb4fda9ed', u'host_addresses': [u'host1-neutron-agents-container-dd6a0946']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:31:55:c6', u'project_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'status': u'ACTIVE', u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'description': u'', u'tags': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-0d35ab42-7187-482e-85c4-bc750fdb29df', u'name': u'', u'admin_state_up': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'created_at': u'2018-03-25T05:08:34Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:09:37Z', u'device_owner': u'network:router_gateway', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.120'}], u'id': u'fa60615d-fa0f-4a1a-934d-dde30184e5df', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:78:c2:ca', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'bf872259-93ad-48be-8de9-bcd230ea3223', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'', u'created_at': u'2018-03-25T05:09:36Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T04:47:01Z', u'device_owner': u'network:router_gateway', u'revision_number': 3, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.117'}], u'id': u'fc8d6674-04a5-4b0a-ab0d-dda75830c984', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:95:35:da', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'd4645649-3c46-4aed-bfbf-e25f5a15abb9', u'name': u'', u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'', u'created_at': u'2018-03-25T04:47:01Z', u'binding:vnic_type': u'normal'}]}
Checking OpenStack Neutron for known ports
Ports Neutron OpenStack
Create Session: create a HTTP session to a server
ODLSession
http://${ODL_SYSTEM_IP}:${PORT}
headers=${HEADERS}
auth=${AUTH}
Creating Session using : alias=ODLSession, url=http://192.168.10.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7fa3b7937d10>, timeout=None, proxies=None, verify=False, debug=0
Send a GET request on the session object found using the
ODLSession
${NEUTRON_PORTS_API}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Convert a string to a JSON object
${resp.content}
${ODLResult}
To JSON using : content={
"ports" : [ {
"id" : "d61d416c-2fdf-459e-b2bb-91462aca89c6",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:e2:71:fb",
"fixed_ips" : [ {
"ip_address" : "192.168.10.110",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "f6f84bfd-6097-4c1b-a71d-77af3f630b4e",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "18eb07df-ff97-4ee5-ba98-27d287faadf2",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:10:cc:84",
"fixed_ips" : [ {
"ip_address" : "192.168.10.108",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "c6b5a39c-a3ff-4f68-bd1e-31ce50de39e3",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "75e23d26-1ad1-40d1-b2d0-9ba071fea1a7",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 3,
"name" : "",
"admin_state_up" : true,
"network_id" : "612784be-9255-40e0-83aa-69e0d6bcd02b",
"mac_address" : "fa:16:3e:ef:c9:4b",
"fixed_ips" : [ {
"ip_address" : "172.16.64.20",
"subnet_id" : "31b1a4d2-fc6d-402d-a766-ab8f6f579419"
} ],
"device_id" : "dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-612784be-9255-40e0-83aa-69e0d6bcd02b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-7a555323",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "bce4ea91-9b29-46a9-bfe0-ff4a0f271a46",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:20:44:9d",
"fixed_ips" : [ {
"ip_address" : "192.168.10.104",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "75bf267e-223b-4c91-aee7-2fbccf313fab",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "7cf80383-8552-449c-b319-1cd5151ca619",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "612784be-9255-40e0-83aa-69e0d6bcd02b",
"mac_address" : "fa:16:3e:ef:3d:85",
"fixed_ips" : [ {
"ip_address" : "172.16.64.22",
"subnet_id" : "31b1a4d2-fc6d-402d-a766-ab8f6f579419"
} ],
"device_id" : "dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-612784be-9255-40e0-83aa-69e0d6bcd02b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-dd6a0946",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "f3182a95-73dc-434c-8d4a-1fb4b2e769c5",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:eb:f8:1f",
"fixed_ips" : [ {
"ip_address" : "192.168.10.102",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-7a555323",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "af105072-de27-4d54-96de-22dfb3846a42",
"tenant_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"revision_number" : 4,
"name" : "",
"admin_state_up" : true,
"network_id" : "55577586-eca0-44a3-8c7f-48f8e5914063",
"mac_address" : "fa:16:3e:e4:ea:91",
"fixed_ips" : [ {
"ip_address" : "10.100.0.1",
"subnet_id" : "64703576-0381-4c14-8c1f-ecf6360f8fd9"
} ],
"device_id" : "9a34fa66-2778-4f9a-8ee5-c90e345b0e7f",
"device_owner" : "network:router_interface",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "0b5f09da-3e98-4a6e-b4e4-4131e15281b3",
"tenant_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"mac_address" : "fa:16:3e:f2:d3:34",
"fixed_ips" : [ {
"ip_address" : "10.100.0.3",
"subnet_id" : "dac94f25-f57c-4255-8f6d-0081e5bc4e93"
} ],
"device_id" : "dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-7a555323",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "3e70470e-9c53-4ee6-b3a7-0bdd1bc19b59",
"tenant_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"revision_number" : 4,
"name" : "",
"admin_state_up" : true,
"network_id" : "0d35ab42-7187-482e-85c4-bc750fdb29df",
"mac_address" : "fa:16:3e:85:23:b7",
"fixed_ips" : [ {
"ip_address" : "10.2.0.1",
"subnet_id" : "81bae171-9f05-42bc-bb4c-3c5fa1be0b3a"
} ],
"device_id" : "c6b5a39c-a3ff-4f68-bd1e-31ce50de39e3",
"device_owner" : "network:router_interface",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "43096507-6352-46d6-a354-28ebe4c4ceb5",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:c3:92:91",
"fixed_ips" : [ {
"ip_address" : "192.168.10.113",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "2769f641-cf95-4d5c-8d72-a8c8a6317ccb",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "ba5e48c6-9a41-4450-a02d-9c3cfed6f027",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:68:ef:4a",
"fixed_ips" : [ {
"ip_address" : "192.168.10.107",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "cde79179-d12c-49b2-b88f-0288de0edcdc",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "f35442f7-d094-48c0-ba4a-ab1576189671",
"tenant_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "0d35ab42-7187-482e-85c4-bc750fdb29df",
"mac_address" : "fa:16:3e:31:55:c6",
"fixed_ips" : [ {
"ip_address" : "10.2.0.3",
"subnet_id" : "81bae171-9f05-42bc-bb4c-3c5fa1be0b3a"
} ],
"device_id" : "dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-0d35ab42-7187-482e-85c4-bc750fdb29df",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-dd6a0946",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "8d580538-b9cc-4111-add8-7cfbb4fda9ed",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "4afd0244-dc41-477f-bf7d-3cb4d967fc36",
"tenant_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "0d35ab42-7187-482e-85c4-bc750fdb29df",
"mac_address" : "fa:16:3e:06:37:7d",
"fixed_ips" : [ {
"ip_address" : "10.2.0.4",
"subnet_id" : "81bae171-9f05-42bc-bb4c-3c5fa1be0b3a"
} ],
"device_id" : "dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-0d35ab42-7187-482e-85c4-bc750fdb29df",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-7a555323",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "13f3c207-1dd2-442e-9c78-d633ef8682db",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:22:fd:d7",
"fixed_ips" : [ {
"ip_address" : "192.168.10.103",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "c22f7f75-daac-4f5c-999c-56f36fbf8db3",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "3bea97d4-60f5-4dfe-9d06-2bbff79c2a85",
"tenant_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"mac_address" : "fa:16:3e:07:6b:6c",
"fixed_ips" : [ {
"ip_address" : "10.100.0.2",
"subnet_id" : "dac94f25-f57c-4255-8f6d-0081e5bc4e93"
} ],
"device_id" : "dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-ee63ca09",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "aef74230-aa79-435b-8512-43c8679ec762",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "53811050-7948-4132-a641-baebf163a589",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:50:8e:8b",
"fixed_ips" : [ {
"ip_address" : "192.168.10.109",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "672150a2-4e35-49fe-b4cb-308f332853e1",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "be63b0cd-95e5-4328-8923-5770fac4689f",
"tenant_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"mac_address" : "fa:16:3e:54:ec:b0",
"fixed_ips" : [ {
"ip_address" : "10.100.0.4",
"subnet_id" : "dac94f25-f57c-4255-8f6d-0081e5bc4e93"
} ],
"device_id" : "dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-dd6a0946",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "8d580538-b9cc-4111-add8-7cfbb4fda9ed",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "9011f698-a77e-420d-aa99-be42ca64013f",
"tenant_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "55577586-eca0-44a3-8c7f-48f8e5914063",
"mac_address" : "fa:16:3e:c4:66:29",
"fixed_ips" : [ {
"ip_address" : "10.100.0.4",
"subnet_id" : "64703576-0381-4c14-8c1f-ecf6360f8fd9"
} ],
"device_id" : "dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-55577586-eca0-44a3-8c7f-48f8e5914063",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-ee63ca09",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "aef74230-aa79-435b-8512-43c8679ec762",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "e17c97b6-7cb7-4ee9-8e8a-9339fc8013f0",
"tenant_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "0d35ab42-7187-482e-85c4-bc750fdb29df",
"mac_address" : "fa:16:3e:61:83:f7",
"fixed_ips" : [ {
"ip_address" : "10.2.0.2",
"subnet_id" : "81bae171-9f05-42bc-bb4c-3c5fa1be0b3a"
} ],
"device_id" : "dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-0d35ab42-7187-482e-85c4-bc750fdb29df",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-ee63ca09",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "aef74230-aa79-435b-8512-43c8679ec762",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "96cd3184-5f3d-48a1-b9df-22985e4c44b5",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:67:d9:c5",
"fixed_ips" : [ {
"ip_address" : "192.168.10.105",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "9a34fa66-2778-4f9a-8ee5-c90e345b0e7f",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "13ce0d11-c97b-4050-af5d-02f4ca52b6b0",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:48:46:2b",
"fixed_ips" : [ {
"ip_address" : "192.168.10.123",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "bd6234ee-470b-4925-86c8-5a6ea8f39eda",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "fc8d6674-04a5-4b0a-ab0d-dda75830c984",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:95:35:da",
"fixed_ips" : [ {
"ip_address" : "192.168.10.117",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "d4645649-3c46-4aed-bfbf-e25f5a15abb9",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "6384ee05-1169-4c59-a3f7-e94da573c618",
"tenant_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "55577586-eca0-44a3-8c7f-48f8e5914063",
"mac_address" : "fa:16:3e:30:01:97",
"fixed_ips" : [ {
"ip_address" : "10.100.0.3",
"subnet_id" : "64703576-0381-4c14-8c1f-ecf6360f8fd9"
} ],
"device_id" : "dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-55577586-eca0-44a3-8c7f-48f8e5914063",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-dd6a0946",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "8d580538-b9cc-4111-add8-7cfbb4fda9ed",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "1f9984ec-5d70-4b2e-9a17-c5cba6f41d10",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:f0:ed:b2",
"fixed_ips" : [ {
"ip_address" : "192.168.10.115",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "ecf1d83e-e7a6-4db4-a113-fdc11dfaf47c",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "bf9439ec-5ca2-434f-bc5c-92260dcfd2b1",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 3,
"name" : "",
"admin_state_up" : true,
"network_id" : "612784be-9255-40e0-83aa-69e0d6bcd02b",
"mac_address" : "fa:16:3e:57:e7:54",
"fixed_ips" : [ {
"ip_address" : "172.16.64.21",
"subnet_id" : "31b1a4d2-fc6d-402d-a766-ab8f6f579419"
} ],
"device_id" : "dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-612784be-9255-40e0-83aa-69e0d6bcd02b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-ee63ca09",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "aef74230-aa79-435b-8512-43c8679ec762",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "daa6b87e-b3a0-407b-a570-5c1a038692bf",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:d5:76:8c",
"fixed_ips" : [ {
"ip_address" : "192.168.10.101",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-ee63ca09",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "aef74230-aa79-435b-8512-43c8679ec762",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "3bad1359-de65-4c10-b5b7-96b78e74ea1f",
"tenant_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "55577586-eca0-44a3-8c7f-48f8e5914063",
"mac_address" : "fa:16:3e:33:36:9c",
"fixed_ips" : [ {
"ip_address" : "10.100.0.2",
"subnet_id" : "64703576-0381-4c14-8c1f-ecf6360f8fd9"
} ],
"device_id" : "dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-55577586-eca0-44a3-8c7f-48f8e5914063",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-7a555323",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "1bdbb1e9-1775-46ce-b50d-ef85f12c40b7",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:72:bb:bc",
"fixed_ips" : [ {
"ip_address" : "192.168.10.100",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-dd6a0946",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "8d580538-b9cc-4111-add8-7cfbb4fda9ed",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "fa60615d-fa0f-4a1a-934d-dde30184e5df",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:78:c2:ca",
"fixed_ips" : [ {
"ip_address" : "192.168.10.120",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "bf872259-93ad-48be-8de9-bcd230ea3223",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
} ]
}
To JSON using : pretty_print=False
${ODLResult} = {u'ports': [{u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u't...
Logs the given message with the given level.
${ODLResult}
{u'ports': [{u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:e2:71:fb', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.110'}], u'id': u'd61d416c-2fdf-459e-b2bb-91462aca89c6', u'security_groups': [], u'device_id': u'f6f84bfd-6097-4c1b-a71d-77af3f630b4e'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:10:cc:84', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.108'}], u'id': u'18eb07df-ff97-4ee5-ba98-27d287faadf2', u'security_groups': [], u'device_id': u'c6b5a39c-a3ff-4f68-bd1e-31ce50de39e3'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d'}, u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', 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:ef:c9:4b', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'31b1a4d2-fc6d-402d-a766-ab8f6f579419', u'ip_address': u'172.16.64.20'}], u'id': u'75e23d26-1ad1-40d1-b2d0-9ba071fea1a7', u'security_groups': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-612784be-9255-40e0-83aa-69e0d6bcd02b'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:20:44:9d', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.104'}], u'id': u'bce4ea91-9b29-46a9-bfe0-ff4a0f271a46', u'security_groups': [], u'device_id': u'75bf267e-223b-4c91-aee7-2fbccf313fab'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:dhcp', u'mac_address': u'fa:16:3e:ef:3d:85', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'31b1a4d2-fc6d-402d-a766-ab8f6f579419', u'ip_address': u'172.16.64.22'}], u'id': u'7cf80383-8552-449c-b319-1cd5151ca619', u'security_groups': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-612784be-9255-40e0-83aa-69e0d6bcd02b'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d'}, u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', 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': 5, u'mac_address': u'fa:16:3e:eb:f8:1f', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.102'}], u'id': u'f3182a95-73dc-434c-8d4a-1fb4b2e769c5', u'security_groups': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-6a6a15f4-17c2-419f-8401-d21d63b6b8a5'}, {u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_interface', u'revision_number': 4, u'mac_address': u'fa:16:3e:e4:ea:91', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9', u'ip_address': u'10.100.0.1'}], u'id': u'af105072-de27-4d54-96de-22dfb3846a42', u'security_groups': [], u'device_id': u'9a34fa66-2778-4f9a-8ee5-c90e345b0e7f'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d'}, u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', 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': 5, u'mac_address': u'fa:16:3e:f2:d3:34', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'dac94f25-f57c-4255-8f6d-0081e5bc4e93', u'ip_address': u'10.100.0.3'}], u'id': u'0b5f09da-3e98-4a6e-b4e4-4131e15281b3', u'security_groups': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-4c29a8dd-3158-4a23-9610-6b9d310a63a4'}, {u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_interface', u'revision_number': 4, u'mac_address': u'fa:16:3e:85:23:b7', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a', u'ip_address': u'10.2.0.1'}], u'id': u'3e70470e-9c53-4ee6-b3a7-0bdd1bc19b59', u'security_groups': [], u'device_id': u'c6b5a39c-a3ff-4f68-bd1e-31ce50de39e3'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:c3:92:91', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.113'}], u'id': u'43096507-6352-46d6-a354-28ebe4c4ceb5', u'security_groups': [], u'device_id': u'2769f641-cf95-4d5c-8d72-a8c8a6317ccb'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:68:ef:4a', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.107'}], u'id': u'ba5e48c6-9a41-4450-a02d-9c3cfed6f027', u'security_groups': [], u'device_id': u'cde79179-d12c-49b2-b88f-0288de0edcdc'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'8d580538-b9cc-4111-add8-7cfbb4fda9ed'}, u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', 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': 5, u'mac_address': u'fa:16:3e:31:55:c6', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a', u'ip_address': u'10.2.0.3'}], u'id': u'f35442f7-d094-48c0-ba4a-ab1576189671', u'security_groups': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-0d35ab42-7187-482e-85c4-bc750fdb29df'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d'}, u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', 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': 5, u'mac_address': u'fa:16:3e:06:37:7d', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a', u'ip_address': u'10.2.0.4'}], u'id': u'4afd0244-dc41-477f-bf7d-3cb4d967fc36', u'security_groups': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-0d35ab42-7187-482e-85c4-bc750fdb29df'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:22:fd:d7', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.103'}], u'id': u'13f3c207-1dd2-442e-9c78-d633ef8682db', u'security_groups': [], u'device_id': u'c22f7f75-daac-4f5c-999c-56f36fbf8db3'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762'}, u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', 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': 5, u'mac_address': u'fa:16:3e:07:6b:6c', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'dac94f25-f57c-4255-8f6d-0081e5bc4e93', u'ip_address': u'10.100.0.2'}], u'id': u'3bea97d4-60f5-4dfe-9d06-2bbff79c2a85', u'security_groups': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-4c29a8dd-3158-4a23-9610-6b9d310a63a4'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:50:8e:8b', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.109'}], u'id': u'53811050-7948-4132-a641-baebf163a589', u'security_groups': [], u'device_id': u'672150a2-4e35-49fe-b4cb-308f332853e1'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'8d580538-b9cc-4111-add8-7cfbb4fda9ed'}, u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', 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': 5, u'mac_address': u'fa:16:3e:54:ec:b0', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'dac94f25-f57c-4255-8f6d-0081e5bc4e93', u'ip_address': u'10.100.0.4'}], u'id': u'be63b0cd-95e5-4328-8923-5770fac4689f', u'security_groups': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-4c29a8dd-3158-4a23-9610-6b9d310a63a4'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762'}, u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', 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': 5, u'mac_address': u'fa:16:3e:c4:66:29', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9', u'ip_address': u'10.100.0.4'}], u'id': u'9011f698-a77e-420d-aa99-be42ca64013f', u'security_groups': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-55577586-eca0-44a3-8c7f-48f8e5914063'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762'}, u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', 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': 5, u'mac_address': u'fa:16:3e:61:83:f7', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a', u'ip_address': u'10.2.0.2'}], u'id': u'e17c97b6-7cb7-4ee9-8e8a-9339fc8013f0', u'security_groups': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-0d35ab42-7187-482e-85c4-bc750fdb29df'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:67:d9:c5', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.105'}], u'id': u'96cd3184-5f3d-48a1-b9df-22985e4c44b5', u'security_groups': [], u'device_id': u'9a34fa66-2778-4f9a-8ee5-c90e345b0e7f'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:48:46:2b', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.123'}], u'id': u'13ce0d11-c97b-4050-af5d-02f4ca52b6b0', u'security_groups': [], u'device_id': u'bd6234ee-470b-4925-86c8-5a6ea8f39eda'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:95:35:da', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.117'}], u'id': u'fc8d6674-04a5-4b0a-ab0d-dda75830c984', u'security_groups': [], u'device_id': u'd4645649-3c46-4aed-bfbf-e25f5a15abb9'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'8d580538-b9cc-4111-add8-7cfbb4fda9ed'}, u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', 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': 5, u'mac_address': u'fa:16:3e:30:01:97', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9', u'ip_address': u'10.100.0.3'}], u'id': u'6384ee05-1169-4c59-a3f7-e94da573c618', u'security_groups': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-55577586-eca0-44a3-8c7f-48f8e5914063'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:f0:ed:b2', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.115'}], u'id': u'1f9984ec-5d70-4b2e-9a17-c5cba6f41d10', u'security_groups': [], u'device_id': u'ecf1d83e-e7a6-4db4-a113-fdc11dfaf47c'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762'}, u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', 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:57:e7:54', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'31b1a4d2-fc6d-402d-a766-ab8f6f579419', u'ip_address': u'172.16.64.21'}], u'id': u'bf9439ec-5ca2-434f-bc5c-92260dcfd2b1', u'security_groups': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-612784be-9255-40e0-83aa-69e0d6bcd02b'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762'}, u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', 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': 5, u'mac_address': u'fa:16:3e:d5:76:8c', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.101'}], u'id': u'daa6b87e-b3a0-407b-a570-5c1a038692bf', u'security_groups': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-6a6a15f4-17c2-419f-8401-d21d63b6b8a5'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d'}, u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', 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': 5, u'mac_address': u'fa:16:3e:33:36:9c', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9', u'ip_address': u'10.100.0.2'}], u'id': u'3bad1359-de65-4c10-b5b7-96b78e74ea1f', u'security_groups': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-55577586-eca0-44a3-8c7f-48f8e5914063'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'8d580538-b9cc-4111-add8-7cfbb4fda9ed'}, u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', 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': 5, u'mac_address': u'fa:16:3e:72:bb:bc', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.100'}], u'id': u'1bdbb1e9-1775-46ce-b50d-ef85f12c40b7', u'security_groups': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-6a6a15f4-17c2-419f-8401-d21d63b6b8a5'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:78:c2:ca', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.120'}], u'id': u'fa60615d-fa0f-4a1a-934d-dde30184e5df', u'security_groups': [], u'device_id': u'bf872259-93ad-48be-8de9-bcd230ea3223'}]}
Checking OpenDaylight Neutron API for known ports
Ports Neutron OpenDaylight
Logs the given message with the given level.
${data}
{"port":{"network_id":"612784be-9255-40e0-83aa-69e0d6bcd02b","admin_state_up": true}}
Send a POST request on the session object found using the
OSSession
${OSREST}
data=${data}
${resp}
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
Post Request using : alias=OSSession, uri=/v2.0/ports, data=<empty>, headers=None, files=None, allow_redirects=True
${resp} = <Response [201]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
201
Argument types are:
<type 'int'>
<type 'unicode'>
Convert a string to a JSON object
${resp.content}
${result}
To JSON using : content={"port":{"allowed_address_pairs":[],"extra_dhcp_opts":[],"updated_at":"2018-03-25T05:23:32Z","device_owner":"","revision_number":3,"binding:profile":{},"port_security_enabled":true,"fixed_ips":[{"subnet_id":"31b1a4d2-fc6d-402d-a766-ab8f6f579419","ip_address":"172.16.64.25"}],"id":"9197e5c1-6d43-4be5-bc3b-0bc48dcdda5a","security_groups":["c358072d-46b0-4a0e-b7ff-179bdb2d8c23"],"binding:vif_details":{},"binding:vif_type":"unbound","mac_address":"fa:16:3e:67:bf:32","project_id":"ac9dc78a8665499eb3975d38396fcd78","status":"DOWN","binding:host_id":"","description":"","tags":[],"device_id":"","name":"","admin_state_up":true,"network_id":"612784be-9255-40e0-83aa-69e0d6bcd02b","tenant_id":"ac9dc78a8665499eb3975d38396fcd78","created_at":"2018-03-25T05:23:31Z","binding:vnic_type":"normal"}}
To JSON using : pretty_print=False
${result} = {u'port': {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:23:32Z', u'device_owner': u'', u'revision_number': 3, u'binding:profile': {}, u'port_security_enabled': ...
Returns a value from the given ``dictionary`` based on the given ``key``.
${result}
port
${result}
${result} = {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:23:32Z', u'device_owner': u'', u'revision_number': 3, u'binding:profile': {}, u'port_security_enabled': True, u'fi...
Returns a value from the given ``dictionary`` based on the given ``key``.
${result}
id
${PORTID}
${PORTID} = 9197e5c1-6d43-4be5-bc3b-0bc48dcdda5a
Logs the given message with the given level.
${result}
{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-03-25T05:23:32Z', u'device_owner': u'', u'revision_number': 3, u'binding:profile': {}, u'port_security_enabled': True, u'fixed_ips': [{u'subnet_id': u'31b1a4d2-fc6d-402d-a766-ab8f6f579419', u'ip_address': u'172.16.64.25'}], u'id': u'9197e5c1-6d43-4be5-bc3b-0bc48dcdda5a', u'security_groups': [u'c358072d-46b0-4a0e-b7ff-179bdb2d8c23'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:67:bf:32', u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', 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'612784be-9255-40e0-83aa-69e0d6bcd02b', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'created_at': u'2018-03-25T05:23:31Z', u'binding:vnic_type': u'normal'}
Logs the given message with the given level.
${PORTID}
9197e5c1-6d43-4be5-bc3b-0bc48dcdda5a
Makes a variable available globally in all tests and suites.
${PORTID}
${PORTID} = 9197e5c1-6d43-4be5-bc3b-0bc48dcdda5a
Pauses the test executed for the given time.
2
Slept 2 seconds
Create new port in OpenStack
Create port OpenStack Neutron
Send a GET request on the session object found using the
ODLSession
${NEUTRON_PORTS_API}/${PORTID}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/9197e5c1-6d43-4be5-bc3b-0bc48dcdda5a, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Check new port created in OpenDaylight
Check port OpenDaylight
Removes all the session objects
Delete All Sessions
Checking Port created in OpenStack are pushed to OpenDaylight
Create Session: create a HTTP session to a server
OSSession
${NEUTRONURL}
headers=${X-AUTH-NOCONTENT}
Creating Session using : alias=OSSession, url=https://192.168.10.222:9696, headers={u'X-Auth-Token': 'gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK4s'}, cookies=None, auth=None, timeout=None, proxies=None, verify=False, debug=0
Create Session: create a HTTP session to a server
ODLSession
http://${ODL_SYSTEM_IP}:${PORT}
headers=${HEADERS}
auth=${AUTH}
Creating Session using : alias=ODLSession, url=http://192.168.10.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7fa3b761c610>, timeout=None, proxies=None, verify=False, debug=0
${PORTID}
Send a GET request on the session object found using the
ODLSession
${NEUTRON_PORTS_API}/${portid}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/9197e5c1-6d43-4be5-bc3b-0bc48dcdda5a, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Logs the given message with the given level.
${data}
{"port":{"network_id":"612784be-9255-40e0-83aa-69e0d6bcd02b","admin_state_up": true}}
Send a DELETE request on the session object found using the
OSSession
${OSREST}
${resp}
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
Delete Request using : alias=OSSession, uri=/v2.0/ports/9197e5c1-6d43-4be5-bc3b-0bc48dcdda5a, data=(), headers=None, allow_redirects=True
${resp} = <Response [204]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
204
Argument types are:
<type 'int'>
<type 'unicode'>
Logs the given message with the given level.
${resp.content}
Pauses the test executed for the given time.
2
Slept 2 seconds
Delete previously created port in OpenStack
Delete port OpenStack Neutron
Send a GET request on the session object found using the
ODLSession
${NEUTRON_PORTS_API}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Convert a string to a JSON object
${resp.content}
${ODLResult}
To JSON using : content={
"ports" : [ {
"id" : "bf9439ec-5ca2-434f-bc5c-92260dcfd2b1",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "612784be-9255-40e0-83aa-69e0d6bcd02b",
"mac_address" : "fa:16:3e:57:e7:54",
"fixed_ips" : [ {
"ip_address" : "172.16.64.21",
"subnet_id" : "31b1a4d2-fc6d-402d-a766-ab8f6f579419"
} ],
"device_id" : "dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-612784be-9255-40e0-83aa-69e0d6bcd02b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-ee63ca09",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "aef74230-aa79-435b-8512-43c8679ec762",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "3e70470e-9c53-4ee6-b3a7-0bdd1bc19b59",
"tenant_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"revision_number" : 4,
"name" : "",
"admin_state_up" : true,
"network_id" : "0d35ab42-7187-482e-85c4-bc750fdb29df",
"mac_address" : "fa:16:3e:85:23:b7",
"fixed_ips" : [ {
"ip_address" : "10.2.0.1",
"subnet_id" : "81bae171-9f05-42bc-bb4c-3c5fa1be0b3a"
} ],
"device_id" : "c6b5a39c-a3ff-4f68-bd1e-31ce50de39e3",
"device_owner" : "network:router_interface",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "9011f698-a77e-420d-aa99-be42ca64013f",
"tenant_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "55577586-eca0-44a3-8c7f-48f8e5914063",
"mac_address" : "fa:16:3e:c4:66:29",
"fixed_ips" : [ {
"ip_address" : "10.100.0.4",
"subnet_id" : "64703576-0381-4c14-8c1f-ecf6360f8fd9"
} ],
"device_id" : "dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-55577586-eca0-44a3-8c7f-48f8e5914063",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-ee63ca09",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "aef74230-aa79-435b-8512-43c8679ec762",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "53811050-7948-4132-a641-baebf163a589",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:50:8e:8b",
"fixed_ips" : [ {
"ip_address" : "192.168.10.109",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "672150a2-4e35-49fe-b4cb-308f332853e1",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "f3182a95-73dc-434c-8d4a-1fb4b2e769c5",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:eb:f8:1f",
"fixed_ips" : [ {
"ip_address" : "192.168.10.102",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-7a555323",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "18eb07df-ff97-4ee5-ba98-27d287faadf2",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:10:cc:84",
"fixed_ips" : [ {
"ip_address" : "192.168.10.108",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "c6b5a39c-a3ff-4f68-bd1e-31ce50de39e3",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "7cf80383-8552-449c-b319-1cd5151ca619",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 3,
"name" : "",
"admin_state_up" : true,
"network_id" : "612784be-9255-40e0-83aa-69e0d6bcd02b",
"mac_address" : "fa:16:3e:ef:3d:85",
"fixed_ips" : [ {
"ip_address" : "172.16.64.22",
"subnet_id" : "31b1a4d2-fc6d-402d-a766-ab8f6f579419"
} ],
"device_id" : "dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-612784be-9255-40e0-83aa-69e0d6bcd02b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-dd6a0946",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "8d580538-b9cc-4111-add8-7cfbb4fda9ed",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "af105072-de27-4d54-96de-22dfb3846a42",
"tenant_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"revision_number" : 4,
"name" : "",
"admin_state_up" : true,
"network_id" : "55577586-eca0-44a3-8c7f-48f8e5914063",
"mac_address" : "fa:16:3e:e4:ea:91",
"fixed_ips" : [ {
"ip_address" : "10.100.0.1",
"subnet_id" : "64703576-0381-4c14-8c1f-ecf6360f8fd9"
} ],
"device_id" : "9a34fa66-2778-4f9a-8ee5-c90e345b0e7f",
"device_owner" : "network:router_interface",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "fc8d6674-04a5-4b0a-ab0d-dda75830c984",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:95:35:da",
"fixed_ips" : [ {
"ip_address" : "192.168.10.117",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "d4645649-3c46-4aed-bfbf-e25f5a15abb9",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "e17c97b6-7cb7-4ee9-8e8a-9339fc8013f0",
"tenant_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "0d35ab42-7187-482e-85c4-bc750fdb29df",
"mac_address" : "fa:16:3e:61:83:f7",
"fixed_ips" : [ {
"ip_address" : "10.2.0.2",
"subnet_id" : "81bae171-9f05-42bc-bb4c-3c5fa1be0b3a"
} ],
"device_id" : "dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-0d35ab42-7187-482e-85c4-bc750fdb29df",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-ee63ca09",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "aef74230-aa79-435b-8512-43c8679ec762",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "bce4ea91-9b29-46a9-bfe0-ff4a0f271a46",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:20:44:9d",
"fixed_ips" : [ {
"ip_address" : "192.168.10.104",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "75bf267e-223b-4c91-aee7-2fbccf313fab",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "ba5e48c6-9a41-4450-a02d-9c3cfed6f027",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:68:ef:4a",
"fixed_ips" : [ {
"ip_address" : "192.168.10.107",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "cde79179-d12c-49b2-b88f-0288de0edcdc",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "75e23d26-1ad1-40d1-b2d0-9ba071fea1a7",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "612784be-9255-40e0-83aa-69e0d6bcd02b",
"mac_address" : "fa:16:3e:ef:c9:4b",
"fixed_ips" : [ {
"ip_address" : "172.16.64.20",
"subnet_id" : "31b1a4d2-fc6d-402d-a766-ab8f6f579419"
} ],
"device_id" : "dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-612784be-9255-40e0-83aa-69e0d6bcd02b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-7a555323",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "fa60615d-fa0f-4a1a-934d-dde30184e5df",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:78:c2:ca",
"fixed_ips" : [ {
"ip_address" : "192.168.10.120",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "bf872259-93ad-48be-8de9-bcd230ea3223",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "96cd3184-5f3d-48a1-b9df-22985e4c44b5",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:67:d9:c5",
"fixed_ips" : [ {
"ip_address" : "192.168.10.105",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "9a34fa66-2778-4f9a-8ee5-c90e345b0e7f",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "1f9984ec-5d70-4b2e-9a17-c5cba6f41d10",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:f0:ed:b2",
"fixed_ips" : [ {
"ip_address" : "192.168.10.115",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "ecf1d83e-e7a6-4db4-a113-fdc11dfaf47c",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "be63b0cd-95e5-4328-8923-5770fac4689f",
"tenant_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"mac_address" : "fa:16:3e:54:ec:b0",
"fixed_ips" : [ {
"ip_address" : "10.100.0.4",
"subnet_id" : "dac94f25-f57c-4255-8f6d-0081e5bc4e93"
} ],
"device_id" : "dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-dd6a0946",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "8d580538-b9cc-4111-add8-7cfbb4fda9ed",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "3bad1359-de65-4c10-b5b7-96b78e74ea1f",
"tenant_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "55577586-eca0-44a3-8c7f-48f8e5914063",
"mac_address" : "fa:16:3e:33:36:9c",
"fixed_ips" : [ {
"ip_address" : "10.100.0.2",
"subnet_id" : "64703576-0381-4c14-8c1f-ecf6360f8fd9"
} ],
"device_id" : "dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-55577586-eca0-44a3-8c7f-48f8e5914063",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-7a555323",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "43096507-6352-46d6-a354-28ebe4c4ceb5",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:c3:92:91",
"fixed_ips" : [ {
"ip_address" : "192.168.10.113",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "2769f641-cf95-4d5c-8d72-a8c8a6317ccb",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "1bdbb1e9-1775-46ce-b50d-ef85f12c40b7",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:72:bb:bc",
"fixed_ips" : [ {
"ip_address" : "192.168.10.100",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-dd6a0946",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "8d580538-b9cc-4111-add8-7cfbb4fda9ed",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "d61d416c-2fdf-459e-b2bb-91462aca89c6",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:e2:71:fb",
"fixed_ips" : [ {
"ip_address" : "192.168.10.110",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "f6f84bfd-6097-4c1b-a71d-77af3f630b4e",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "0b5f09da-3e98-4a6e-b4e4-4131e15281b3",
"tenant_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"mac_address" : "fa:16:3e:f2:d3:34",
"fixed_ips" : [ {
"ip_address" : "10.100.0.3",
"subnet_id" : "dac94f25-f57c-4255-8f6d-0081e5bc4e93"
} ],
"device_id" : "dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-7a555323",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "13ce0d11-c97b-4050-af5d-02f4ca52b6b0",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:48:46:2b",
"fixed_ips" : [ {
"ip_address" : "192.168.10.123",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "bd6234ee-470b-4925-86c8-5a6ea8f39eda",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "daa6b87e-b3a0-407b-a570-5c1a038692bf",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:d5:76:8c",
"fixed_ips" : [ {
"ip_address" : "192.168.10.101",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-ee63ca09",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "aef74230-aa79-435b-8512-43c8679ec762",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "6384ee05-1169-4c59-a3f7-e94da573c618",
"tenant_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "55577586-eca0-44a3-8c7f-48f8e5914063",
"mac_address" : "fa:16:3e:30:01:97",
"fixed_ips" : [ {
"ip_address" : "10.100.0.3",
"subnet_id" : "64703576-0381-4c14-8c1f-ecf6360f8fd9"
} ],
"device_id" : "dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-55577586-eca0-44a3-8c7f-48f8e5914063",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-dd6a0946",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "8d580538-b9cc-4111-add8-7cfbb4fda9ed",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "13f3c207-1dd2-442e-9c78-d633ef8682db",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"mac_address" : "fa:16:3e:22:fd:d7",
"fixed_ips" : [ {
"ip_address" : "192.168.10.103",
"subnet_id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3"
} ],
"device_id" : "c22f7f75-daac-4f5c-999c-56f36fbf8db3",
"device_owner" : "network:router_gateway",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "f35442f7-d094-48c0-ba4a-ab1576189671",
"tenant_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "0d35ab42-7187-482e-85c4-bc750fdb29df",
"mac_address" : "fa:16:3e:31:55:c6",
"fixed_ips" : [ {
"ip_address" : "10.2.0.3",
"subnet_id" : "81bae171-9f05-42bc-bb4c-3c5fa1be0b3a"
} ],
"device_id" : "dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-0d35ab42-7187-482e-85c4-bc750fdb29df",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-dd6a0946",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "8d580538-b9cc-4111-add8-7cfbb4fda9ed",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "3bea97d4-60f5-4dfe-9d06-2bbff79c2a85",
"tenant_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"mac_address" : "fa:16:3e:07:6b:6c",
"fixed_ips" : [ {
"ip_address" : "10.100.0.2",
"subnet_id" : "dac94f25-f57c-4255-8f6d-0081e5bc4e93"
} ],
"device_id" : "dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-ee63ca09",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "aef74230-aa79-435b-8512-43c8679ec762",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "4afd0244-dc41-477f-bf7d-3cb4d967fc36",
"tenant_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "0d35ab42-7187-482e-85c4-bc750fdb29df",
"mac_address" : "fa:16:3e:06:37:7d",
"fixed_ips" : [ {
"ip_address" : "10.2.0.4",
"subnet_id" : "81bae171-9f05-42bc-bb4c-3c5fa1be0b3a"
} ],
"device_id" : "dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-0d35ab42-7187-482e-85c4-bc750fdb29df",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-7a555323",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
} ]
}
To JSON using : pretty_print=False
${ODLResult} = {u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762'}, u'binding:host_id': u'host2-neutron-agents-container-ee...
Logs the given message with the given level.
${ODLResult}
{u'ports': [{u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762'}, u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', 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': 5, u'mac_address': u'fa:16:3e:57:e7:54', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'31b1a4d2-fc6d-402d-a766-ab8f6f579419', u'ip_address': u'172.16.64.21'}], u'id': u'bf9439ec-5ca2-434f-bc5c-92260dcfd2b1', u'security_groups': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-612784be-9255-40e0-83aa-69e0d6bcd02b'}, {u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_interface', u'revision_number': 4, u'mac_address': u'fa:16:3e:85:23:b7', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a', u'ip_address': u'10.2.0.1'}], u'id': u'3e70470e-9c53-4ee6-b3a7-0bdd1bc19b59', u'security_groups': [], u'device_id': u'c6b5a39c-a3ff-4f68-bd1e-31ce50de39e3'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762'}, u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', 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': 5, u'mac_address': u'fa:16:3e:c4:66:29', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9', u'ip_address': u'10.100.0.4'}], u'id': u'9011f698-a77e-420d-aa99-be42ca64013f', u'security_groups': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-55577586-eca0-44a3-8c7f-48f8e5914063'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:50:8e:8b', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.109'}], u'id': u'53811050-7948-4132-a641-baebf163a589', u'security_groups': [], u'device_id': u'672150a2-4e35-49fe-b4cb-308f332853e1'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d'}, u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', 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': 5, u'mac_address': u'fa:16:3e:eb:f8:1f', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.102'}], u'id': u'f3182a95-73dc-434c-8d4a-1fb4b2e769c5', u'security_groups': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-6a6a15f4-17c2-419f-8401-d21d63b6b8a5'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:10:cc:84', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.108'}], u'id': u'18eb07df-ff97-4ee5-ba98-27d287faadf2', u'security_groups': [], u'device_id': u'c6b5a39c-a3ff-4f68-bd1e-31ce50de39e3'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'8d580538-b9cc-4111-add8-7cfbb4fda9ed'}, u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', 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:ef:3d:85', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'31b1a4d2-fc6d-402d-a766-ab8f6f579419', u'ip_address': u'172.16.64.22'}], u'id': u'7cf80383-8552-449c-b319-1cd5151ca619', u'security_groups': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-612784be-9255-40e0-83aa-69e0d6bcd02b'}, {u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_interface', u'revision_number': 4, u'mac_address': u'fa:16:3e:e4:ea:91', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9', u'ip_address': u'10.100.0.1'}], u'id': u'af105072-de27-4d54-96de-22dfb3846a42', u'security_groups': [], u'device_id': u'9a34fa66-2778-4f9a-8ee5-c90e345b0e7f'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:95:35:da', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.117'}], u'id': u'fc8d6674-04a5-4b0a-ab0d-dda75830c984', u'security_groups': [], u'device_id': u'd4645649-3c46-4aed-bfbf-e25f5a15abb9'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762'}, u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', 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': 5, u'mac_address': u'fa:16:3e:61:83:f7', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a', u'ip_address': u'10.2.0.2'}], u'id': u'e17c97b6-7cb7-4ee9-8e8a-9339fc8013f0', u'security_groups': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-0d35ab42-7187-482e-85c4-bc750fdb29df'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:20:44:9d', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.104'}], u'id': u'bce4ea91-9b29-46a9-bfe0-ff4a0f271a46', u'security_groups': [], u'device_id': u'75bf267e-223b-4c91-aee7-2fbccf313fab'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:68:ef:4a', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.107'}], u'id': u'ba5e48c6-9a41-4450-a02d-9c3cfed6f027', u'security_groups': [], u'device_id': u'cde79179-d12c-49b2-b88f-0288de0edcdc'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d'}, u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'612784be-9255-40e0-83aa-69e0d6bcd02b', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', 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': 5, u'mac_address': u'fa:16:3e:ef:c9:4b', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'31b1a4d2-fc6d-402d-a766-ab8f6f579419', u'ip_address': u'172.16.64.20'}], u'id': u'75e23d26-1ad1-40d1-b2d0-9ba071fea1a7', u'security_groups': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-612784be-9255-40e0-83aa-69e0d6bcd02b'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:78:c2:ca', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.120'}], u'id': u'fa60615d-fa0f-4a1a-934d-dde30184e5df', u'security_groups': [], u'device_id': u'bf872259-93ad-48be-8de9-bcd230ea3223'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:67:d9:c5', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.105'}], u'id': u'96cd3184-5f3d-48a1-b9df-22985e4c44b5', u'security_groups': [], u'device_id': u'9a34fa66-2778-4f9a-8ee5-c90e345b0e7f'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:f0:ed:b2', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.115'}], u'id': u'1f9984ec-5d70-4b2e-9a17-c5cba6f41d10', u'security_groups': [], u'device_id': u'ecf1d83e-e7a6-4db4-a113-fdc11dfaf47c'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'8d580538-b9cc-4111-add8-7cfbb4fda9ed'}, u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', 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': 5, u'mac_address': u'fa:16:3e:54:ec:b0', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'dac94f25-f57c-4255-8f6d-0081e5bc4e93', u'ip_address': u'10.100.0.4'}], u'id': u'be63b0cd-95e5-4328-8923-5770fac4689f', u'security_groups': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-4c29a8dd-3158-4a23-9610-6b9d310a63a4'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d'}, u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', 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': 5, u'mac_address': u'fa:16:3e:33:36:9c', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9', u'ip_address': u'10.100.0.2'}], u'id': u'3bad1359-de65-4c10-b5b7-96b78e74ea1f', u'security_groups': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-55577586-eca0-44a3-8c7f-48f8e5914063'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:c3:92:91', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.113'}], u'id': u'43096507-6352-46d6-a354-28ebe4c4ceb5', u'security_groups': [], u'device_id': u'2769f641-cf95-4d5c-8d72-a8c8a6317ccb'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'8d580538-b9cc-4111-add8-7cfbb4fda9ed'}, u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', 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': 5, u'mac_address': u'fa:16:3e:72:bb:bc', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.100'}], u'id': u'1bdbb1e9-1775-46ce-b50d-ef85f12c40b7', u'security_groups': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-6a6a15f4-17c2-419f-8401-d21d63b6b8a5'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:e2:71:fb', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.110'}], u'id': u'd61d416c-2fdf-459e-b2bb-91462aca89c6', u'security_groups': [], u'device_id': u'f6f84bfd-6097-4c1b-a71d-77af3f630b4e'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d'}, u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', 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': 5, u'mac_address': u'fa:16:3e:f2:d3:34', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'dac94f25-f57c-4255-8f6d-0081e5bc4e93', u'ip_address': u'10.100.0.3'}], u'id': u'0b5f09da-3e98-4a6e-b4e4-4131e15281b3', u'security_groups': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-4c29a8dd-3158-4a23-9610-6b9d310a63a4'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:48:46:2b', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.123'}], u'id': u'13ce0d11-c97b-4050-af5d-02f4ca52b6b0', u'security_groups': [], u'device_id': u'bd6234ee-470b-4925-86c8-5a6ea8f39eda'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762'}, u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', 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': 5, u'mac_address': u'fa:16:3e:d5:76:8c', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.101'}], u'id': u'daa6b87e-b3a0-407b-a570-5c1a038692bf', u'security_groups': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-6a6a15f4-17c2-419f-8401-d21d63b6b8a5'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'8d580538-b9cc-4111-add8-7cfbb4fda9ed'}, u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', 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': 5, u'mac_address': u'fa:16:3e:30:01:97', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9', u'ip_address': u'10.100.0.3'}], u'id': u'6384ee05-1169-4c59-a3f7-e94da573c618', u'security_groups': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-55577586-eca0-44a3-8c7f-48f8e5914063'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'network:router_gateway', u'mac_address': u'fa:16:3e:22:fd:d7', u'port_security_enabled': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'fixed_ips': [{u'subnet_id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3', u'ip_address': u'192.168.10.103'}], u'id': u'13f3c207-1dd2-442e-9c78-d633ef8682db', u'security_groups': [], u'device_id': u'c22f7f75-daac-4f5c-999c-56f36fbf8db3'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'8d580538-b9cc-4111-add8-7cfbb4fda9ed'}, u'binding:host_id': u'host1-neutron-agents-container-dd6a0946', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', 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': 5, u'mac_address': u'fa:16:3e:31:55:c6', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a', u'ip_address': u'10.2.0.3'}], u'id': u'f35442f7-d094-48c0-ba4a-ab1576189671', u'security_groups': [], u'device_id': u'dhcpa4971ade-0b23-55a0-8ccb-cb635bdce5c2-0d35ab42-7187-482e-85c4-bc750fdb29df'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'aef74230-aa79-435b-8512-43c8679ec762'}, u'binding:host_id': u'host2-neutron-agents-container-ee63ca09', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', 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': 5, u'mac_address': u'fa:16:3e:07:6b:6c', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'dac94f25-f57c-4255-8f6d-0081e5bc4e93', u'ip_address': u'10.100.0.2'}], u'id': u'3bea97d4-60f5-4dfe-9d06-2bbff79c2a85', u'security_groups': [], u'device_id': u'dhcpb47ad3a5-673d-53a6-a279-95717fa8a05a-4c29a8dd-3158-4a23-9610-6b9d310a63a4'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f8d2bbc9-a7d2-4d02-8c03-7af35abfa69d'}, u'binding:host_id': u'host3-neutron-agents-container-7a555323', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', 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': 5, u'mac_address': u'fa:16:3e:06:37:7d', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a', u'ip_address': u'10.2.0.4'}], u'id': u'4afd0244-dc41-477f-bf7d-3cb4d967fc36', u'security_groups': [], u'device_id': u'dhcp413d7551-38a2-5fc0-9767-ccc1a841bf93-0d35ab42-7187-482e-85c4-bc750fdb29df'}]}
Send a GET request on the session object found using the
ODLSession
${NEUTRON_PORTS_API}/${PORTID}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/ports/9197e5c1-6d43-4be5-bc3b-0bc48dcdda5a, headers=None json=None
${resp} = <Response [404]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
404
Argument types are:
<type 'int'>
<type 'unicode'>
Check port deleted in OpenDaylight
Check port deleted OpenDaylight
Removes all the session objects
Delete All Sessions
Checking Port deleted in OpenStack are deleted also in OpenDaylight
Create Session: create a HTTP session to a server
OSSession
${NEUTRONURL}
headers=${X-AUTH-NOCONTENT}
Creating Session using : alias=OSSession, url=https://192.168.10.222:9696, headers={u'X-Auth-Token': 'gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK4s'}, cookies=None, auth=None, timeout=None, proxies=None, verify=False, debug=0
Create Session: create a HTTP session to a server
ODLSession
http://${ODL_SYSTEM_IP}:${PORT}
headers=${HEADERS}
auth=${AUTH}
Creating Session using : alias=ODLSession, url=http://192.168.10.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7fa3b7685bd0>, timeout=None, proxies=None, verify=False, debug=0
${SUBNETID}
Send a GET request on the session object found using the
ODLSession
${NEUTRON_SUBNETS_API}/${subnetid}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/31b1a4d2-fc6d-402d-a766-ab8f6f579419, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Logs the given message with the given level.
${data}
{"subnet":{"network_id":"612784be-9255-40e0-83aa-69e0d6bcd02b","ip_version":4,"cidr":"172.16.64.0/24","allocation_pools":[{"start":"172.16.64.20","end":"172.16.64.120"}]}}
Send a DELETE request on the session object found using the
OSSession
${OSREST}
${resp}
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
Delete Request using : alias=OSSession, uri=/v2.0/subnets/31b1a4d2-fc6d-402d-a766-ab8f6f579419, data=(), headers=None, allow_redirects=True
${resp} = <Response [204]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
204
Argument types are:
<type 'int'>
<type 'unicode'>
Logs the given message with the given level.
${resp.content}
Pauses the test executed for the given time.
2
Slept 2 seconds
Delete previously created subnet in OpenStack
Delete Subnet OpenStack Neutron
Send a GET request on the session object found using the
ODLSession
${NEUTRON_SUBNETS_API}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Convert a string to a JSON object
${resp.content}
${ODLResult}
To JSON using : content={
"subnets" : [ {
"id" : "dac94f25-f57c-4255-8f6d-0081e5bc4e93",
"tenant_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"project_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"revision_number" : 0,
"name" : "tempest-TestServerMultinode-892647384-subnet",
"network_id" : "4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"ip_version" : 4,
"cidr" : "10.100.0.0/28",
"gateway_ip" : "10.100.0.1",
"dns_nameservers" : [ ],
"allocation_pools" : [ {
"start" : "10.100.0.2",
"end" : "10.100.0.14"
} ],
"host_routes" : [ ],
"enable_dhcp" : true,
"ipv6_address_mode" : null,
"ipv6_ra_mode" : null
}, {
"id" : "81bae171-9f05-42bc-bb4c-3c5fa1be0b3a",
"tenant_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"project_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"revision_number" : 0,
"name" : "c_rally_fb8cc876_8DpFGOJe",
"network_id" : "0d35ab42-7187-482e-85c4-bc750fdb29df",
"ip_version" : 4,
"cidr" : "10.2.0.0/24",
"gateway_ip" : "10.2.0.1",
"dns_nameservers" : [ "8.8.8.8", "8.8.4.4" ],
"allocation_pools" : [ {
"start" : "10.2.0.2",
"end" : "10.2.0.254"
} ],
"host_routes" : [ ],
"enable_dhcp" : true,
"ipv6_address_mode" : null,
"ipv6_ra_mode" : null
}, {
"id" : "8ab3bfa0-ead4-4a13-bd13-75068435e9c3",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 0,
"name" : "ext-subnet",
"network_id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"ip_version" : 4,
"cidr" : "192.168.10.0/24",
"gateway_ip" : "192.168.10.1",
"dns_nameservers" : [ ],
"allocation_pools" : [ {
"start" : "192.168.10.100",
"end" : "192.168.10.200"
} ],
"host_routes" : [ ],
"enable_dhcp" : true,
"ipv6_address_mode" : null,
"ipv6_ra_mode" : null
}, {
"id" : "64703576-0381-4c14-8c1f-ecf6360f8fd9",
"tenant_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"project_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"revision_number" : 0,
"name" : "tempest-TestServerMultinode-260924542-subnet",
"network_id" : "55577586-eca0-44a3-8c7f-48f8e5914063",
"ip_version" : 4,
"cidr" : "10.100.0.0/28",
"gateway_ip" : "10.100.0.1",
"dns_nameservers" : [ ],
"allocation_pools" : [ {
"start" : "10.100.0.2",
"end" : "10.100.0.14"
} ],
"host_routes" : [ ],
"enable_dhcp" : true,
"ipv6_address_mode" : null,
"ipv6_ra_mode" : null
} ]
}
To JSON using : pretty_print=False
${ODLResult} = {u'subnets': [{u'name': u'tempest-TestServerMultinode-892647384-subnet', u'enable_dhcp': True, u'network_id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f'...
Logs the given message with the given level.
${ODLResult}
{u'subnets': [{u'name': u'tempest-TestServerMultinode-892647384-subnet', u'enable_dhcp': True, u'network_id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'dns_nameservers': [], u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'10.100.0.2', u'end': u'10.100.0.14'}], u'gateway_ip': u'10.100.0.1', u'revision_number': 0, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'10.100.0.0/28', u'project_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'id': u'dac94f25-f57c-4255-8f6d-0081e5bc4e93'}, {u'name': u'c_rally_fb8cc876_8DpFGOJe', u'enable_dhcp': True, u'network_id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'dns_nameservers': [u'8.8.8.8', u'8.8.4.4'], u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'10.2.0.2', u'end': u'10.2.0.254'}], u'gateway_ip': u'10.2.0.1', u'revision_number': 0, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'10.2.0.0/24', u'project_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'id': u'81bae171-9f05-42bc-bb4c-3c5fa1be0b3a'}, {u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5', u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'dns_nameservers': [], u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'192.168.10.100', u'end': u'192.168.10.200'}], u'gateway_ip': u'192.168.10.1', u'revision_number': 0, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'192.168.10.0/24', u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'id': u'8ab3bfa0-ead4-4a13-bd13-75068435e9c3'}, {u'name': u'tempest-TestServerMultinode-260924542-subnet', u'enable_dhcp': True, u'network_id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'dns_nameservers': [], u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'10.100.0.2', u'end': u'10.100.0.14'}], u'gateway_ip': u'10.100.0.1', u'revision_number': 0, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'10.100.0.0/28', u'project_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'id': u'64703576-0381-4c14-8c1f-ecf6360f8fd9'}]}
Send a GET request on the session object found using the
ODLSession
${NEUTRON_SUBNETS_API}/${SUBNETID}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/subnets/31b1a4d2-fc6d-402d-a766-ab8f6f579419, headers=None json=None
${resp} = <Response [404]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
404
Argument types are:
<type 'int'>
<type 'unicode'>
Check subnet deleted in OpenDaylight
Check subnet deleted OpenDaylight
Removes all the session objects
Delete All Sessions
Checking Subnets deleted in OpenStack are deleted also in OpenDaylight
Create Session: create a HTTP session to a server
OSSession
${NEUTRONURL}
headers=${X-AUTH-NOCONTENT}
Creating Session using : alias=OSSession, url=https://192.168.10.222:9696, headers={u'X-Auth-Token': 'gAAAAABatzJN3mJ_Nq7j0v9SDv_67_PBBX-5dEZ8TM3oWTJiTZ0Ye8BOir8Gj86GHccTauuBYlHxWTJzRxdONC1gIZi6XT1qZ1RaQCMze3vhAOqeB4-s_Lj4dY7e84uANBL3uKRzqkRDJSwkJa-4uhrHINXSnZFhPWjxpFTy7CNtjo7Z3hhyK4s'}, cookies=None, auth=None, timeout=None, proxies=None, verify=False, debug=0
Create Session: create a HTTP session to a server
ODLSession
http://${ODL_SYSTEM_IP}:${PORT}
headers=${HEADERS}
auth=${AUTH}
Creating Session using : alias=ODLSession, url=http://192.168.10.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7fa3b7624750>, timeout=None, proxies=None, verify=False, debug=0
${NETID}
Send a GET request on the session object found using the
ODLSession
${NEUTRON_NETWORKS_API}/${netid}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/612784be-9255-40e0-83aa-69e0d6bcd02b, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Logs the given message with the given level.
${postNet}
{"network":{"name":"odl_network","admin_state_up":true}}
Send a DELETE request on the session object found using the
OSSession
${OSREST}
${resp}
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
Delete Request using : alias=OSSession, uri=/v2.0/networks/612784be-9255-40e0-83aa-69e0d6bcd02b, data=(), headers=None, allow_redirects=True
${resp} = <Response [204]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
204
Argument types are:
<type 'int'>
<type 'unicode'>
Logs the given message with the given level.
${resp.content}
Pauses the test executed for the given time.
2
Slept 2 seconds
Delete network in OpenStack
Delete Network OpenStack Neutron
Send a GET request on the session object found using the
ODLSession
${NEUTRON_NETWORKS_API}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks, headers=None json=None
${resp} = <Response [200]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
200
Argument types are:
<type 'int'>
<type 'unicode'>
Convert a string to a JSON object
${resp.content}
${ODLResult}
To JSON using : content={
"networks" : [ {
"id" : "6a6a15f4-17c2-419f-8401-d21d63b6b8a5",
"tenant_id" : "ac9dc78a8665499eb3975d38396fcd78",
"project_id" : "ac9dc78a8665499eb3975d38396fcd78",
"revision_number" : 3,
"name" : "ext-net",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : true,
"provider:network_type" : "flat",
"provider:physical_network" : "physnet",
"segments" : [ ]
}, {
"id" : "4c29a8dd-3158-4a23-9610-6b9d310a63a4",
"tenant_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"project_id" : "beb27739e5254e1fa4c0acbdb32b0b9f",
"revision_number" : 2,
"name" : "tempest-TestServerMultinode-892647384-network",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "vxlan",
"provider:segmentation_id" : "1",
"segments" : [ ]
}, {
"id" : "55577586-eca0-44a3-8c7f-48f8e5914063",
"tenant_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"project_id" : "e34bc61e04aa4099a1b6e4ea9d4b13dc",
"revision_number" : 2,
"name" : "tempest-TestServerMultinode-260924542-network",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "vxlan",
"provider:segmentation_id" : "76",
"segments" : [ ]
}, {
"id" : "bd8db3a8-2b30-4083-a8b3-b3fd46401142",
"tenant_id" : "bd8db3a82b304083a8b3b3fd46401142",
"project_id" : "bd8db3a8-2b30-4083-a8b3-b3fd46401142",
"name" : "Sync Canary Network",
"admin_state_up" : false,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "flat",
"segments" : [ ]
}, {
"id" : "0d35ab42-7187-482e-85c4-bc750fdb29df",
"tenant_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"project_id" : "2a5142d926814fb9bf00ba84cea11bd4",
"revision_number" : 2,
"name" : "c_rally_fb8cc876_V1ZYPlTw",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "vxlan",
"provider:segmentation_id" : "23",
"segments" : [ ]
} ]
}
To JSON using : pretty_print=False
${ODLResult} = {u'networks': [{u'status': u'ACTIVE', u'router:external': True, u'name': u'ext-net', u'provider:physical_network': u'physnet', u'admin_state_up': True, u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78...
Logs the given message with the given level.
${ODLResult}
{u'networks': [{u'status': u'ACTIVE', u'router:external': True, u'name': u'ext-net', u'provider:physical_network': u'physnet', u'admin_state_up': True, u'tenant_id': u'ac9dc78a8665499eb3975d38396fcd78', u'segments': [], u'provider:network_type': u'flat', u'revision_number': 3, u'shared': False, u'project_id': u'ac9dc78a8665499eb3975d38396fcd78', u'id': u'6a6a15f4-17c2-419f-8401-d21d63b6b8a5'}, {u'status': u'ACTIVE', u'router:external': False, u'name': u'tempest-TestServerMultinode-892647384-network', u'admin_state_up': True, u'tenant_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'segments': [], u'provider:network_type': u'vxlan', u'revision_number': 2, u'shared': False, u'project_id': u'beb27739e5254e1fa4c0acbdb32b0b9f', u'id': u'4c29a8dd-3158-4a23-9610-6b9d310a63a4', u'provider:segmentation_id': u'1'}, {u'status': u'ACTIVE', u'router:external': False, u'name': u'tempest-TestServerMultinode-260924542-network', u'admin_state_up': True, u'tenant_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'segments': [], u'provider:network_type': u'vxlan', u'revision_number': 2, u'shared': False, u'project_id': u'e34bc61e04aa4099a1b6e4ea9d4b13dc', u'id': u'55577586-eca0-44a3-8c7f-48f8e5914063', u'provider:segmentation_id': u'76'}, {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': False, u'name': u'c_rally_fb8cc876_V1ZYPlTw', u'admin_state_up': True, u'tenant_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'segments': [], u'provider:network_type': u'vxlan', u'revision_number': 2, u'shared': False, u'project_id': u'2a5142d926814fb9bf00ba84cea11bd4', u'id': u'0d35ab42-7187-482e-85c4-bc750fdb29df', u'provider:segmentation_id': u'23'}]}
Send a GET request on the session object found using the
ODLSession
${NEUTRON_NETWORKS_API}/${NETID}
${resp}
Get Request using : alias=ODLSession, uri=/controller/nb/v2/neutron/networks/612784be-9255-40e0-83aa-69e0d6bcd02b, headers=None json=None
${resp} = <Response [404]>
Fails if objects are unequal after converting them to strings.
${resp.status_code}
404
Argument types are:
<type 'int'>
<type 'unicode'>
Check network deleted in OpenDaylight
Check Network OpenDaylight
Removes all the session objects
Delete All Sessions
Checking Network deleted in OpenStack are deleted also in OpenDaylight
Removes all the session objects
Delete All Sessions
Test suite for Neutron Plugin
Critical Tests
All Tests
Check
Check Network OpenDaylight
Check port deleted OpenDaylight
Check port OpenDaylight
Check subnet deleted OpenDaylight
Create Network OpenStack Neutron
Create port OpenStack Neutron
Create Subnet OpenStack Neutron
Delete Network OpenStack Neutron
Delete port OpenStack Neutron
Delete Subnet OpenStack Neutron
Network Neutron OpenDaylight
Network Neutron OpenStack
Network OpenDaylight
Ports Neutron OpenDaylight
Ports Neutron OpenStack
reachability
subnet OpenDaylight
Subnets Neutron OpenDaylight
Subnets Neutron OpenStack
Basic & Neutron
Basic & Neutron.Basic
Basic & Neutron.Basic.Restconf Modules
Basic & Neutron.Neutron
Basic & Neutron.Neutron.Reachability
Basic & Neutron.Neutron.Networks
Basic & Neutron.Neutron.Subnets
Basic & Neutron.Neutron.Ports
Basic & Neutron.Neutron.Delete Ports
Basic & Neutron.Neutron.Delete Subnets
Basic & Neutron.Neutron.Delete Networks
Deprecation Warning: Use Post Request in the future
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)
/usr/lib/python2.7/site-packages/urllib3/connectionpool.py:858: 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)