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.16.1.222:8080, headers={'Content-Type': 'application/xml'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7f24077a5090>, 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":"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":"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":"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":"cloud-service-chain-state","revision":"2017-05-11","namespace":"urn:opendaylight:netvirt:cloud-servicechain:state"},{"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.16.1.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/requests/packages/urllib3/connectionpool.py:852: 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} = gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bVVc
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': 'gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bV...
Creates and returns a dictionary based on the given ``items``.
X-Auth-Token=${TOKEN}
${X-AUTH-NOCONTENT}
${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bV...
Makes a variable available globally in all tests and suites.
${X-AUTH}
${X-AUTH} = {u'X-Auth-Token': 'gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bV...
Makes a variable available globally in all tests and suites.
${X-AUTH-NOCONTENT}
${X-AUTH-NOCONTENT} = {u'X-Auth-Token': 'gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bV...
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.16.1.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7f240758d410>, 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.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bVVc', 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': 'gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bVVc', 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/requests/packages/urllib3/connectionpool.py:852: 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": 5, "port_security_enabled": true, "mtu": 1450, "id": "7d966cbf-8382-4a61-9a9b-5b94a0db531b", "router:external": false, "availability_zone_hints": [], "availability_zones": ["nova"], "ipv4_address_scope": null, "shared": false, "project_id": "192ab6a0a8124b9ab5d6089c9687db6c", "status": "ACTIVE", "subnets": ["c483a0bd-74fa-46a6-9de2-651842a282c8"], "description": "", "tags": [], "updated_at": "2018-01-31T09:35:48Z", "provider:segmentation_id": 60, "name": "tempest-TestVolumeBootPattern-172616078-network", "admin_state_up": true, "tenant_id": "192ab6a0a8124b9ab5d6089c9687db6c", "created_at": "2018-01-31T09:35:47Z", "provider:network_type": "vxlan"}, {"provider:physical_network": null, "ipv6_address_scope": null, "revision_number": 5, "port_security_enabled": true, "mtu": 1450, "id": "82351365-d1b5-40b7-82f8-4c525a28192b", "router:external": false, "availability_zone_hints": [], "availability_zones": ["nova"], "ipv4_address_scope": null, "shared": false, "project_id": "5cd3160e8d9243748d346cc1b6bb00ca", "status": "ACTIVE", "subnets": ["7e4f8483-6904-4a7e-9358-fb361e892ccc"], "description": "", "tags": [], "updated_at": "2018-01-31T09:36:16Z", "provider:segmentation_id": 50, "name": "tempest-TestVolumeBootPatternV2-2073375004-network", "admin_state_up": true, "tenant_id": "5cd3160e8d9243748d346cc1b6bb00ca", "created_at": "2018-01-31T09:36:16Z", "provider:network_type": "vxlan"}, {"provider:physical_network": "physnet", "ipv6_address_scope": null, "revision_number": 6, "port_security_enabled": true, "mtu": 1500, "id": "8bfb76e2-5eaf-494b-9809-941d4bb746e2", "router:external": true, "availability_zone_hints": [], "availability_zones": ["nova"], "ipv4_address_scope": null, "shared": false, "project_id": "d6a0b32d9a17497598fa497562891e5f", "status": "ACTIVE", "subnets": ["ba587fd4-6dd1-4d4f-9ce3-069a734d7e16"], "description": "", "tags": [], "updated_at": "2018-01-31T09:12:24Z", "is_default": false, "provider:segmentation_id": null, "name": "ext-net", "admin_state_up": true, "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:12:21Z", "provider:network_type": "flat"}, {"provider:physical_network": null, "ipv6_address_scope": null, "revision_number": 5, "port_security_enabled": true, "mtu": 1450, "id": "98742723-f539-4239-8e81-e83352002c52", "router:external": false, "availability_zone_hints": [], "availability_zones": ["nova"], "ipv4_address_scope": null, "shared": false, "project_id": "d6a0b32d9a17497598fa497562891e5f", "status": "ACTIVE", "subnets": ["51face8f-26b2-4e14-b460-81ff1f0546be"], "description": "", "tags": [], "updated_at": "2018-01-31T09:20:37Z", "provider:segmentation_id": 88, "name": "tempest-net-181e7a74-a6c2-4aad-a364-937698242fb6", "admin_state_up": true, "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:20:36Z", "provider:network_type": "vxlan"}]}
To JSON using : pretty_print=False
${OSResult} = {u'networks': [{u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 5, u'port_security_enabled': True, u'provider:network_type': u'vxlan', u'id': u'7d966cbf-8382-4a61-...
Logs the given message with the given level.
${OSResult}
{u'networks': [{u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 5, u'port_security_enabled': True, u'provider:network_type': u'vxlan', u'id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', 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'192ab6a0a8124b9ab5d6089c9687db6c', u'status': u'ACTIVE', u'subnets': [u'c483a0bd-74fa-46a6-9de2-651842a282c8'], u'description': u'', u'tags': [], u'updated_at': u'2018-01-31T09:35:48Z', u'provider:segmentation_id': 60, u'name': u'tempest-TestVolumeBootPattern-172616078-network', u'admin_state_up': True, u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'created_at': u'2018-01-31T09:35:47Z', u'mtu': 1450}, {u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 5, u'port_security_enabled': True, u'provider:network_type': u'vxlan', u'id': u'82351365-d1b5-40b7-82f8-4c525a28192b', 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'5cd3160e8d9243748d346cc1b6bb00ca', u'status': u'ACTIVE', u'subnets': [u'7e4f8483-6904-4a7e-9358-fb361e892ccc'], u'description': u'', u'tags': [], u'updated_at': u'2018-01-31T09:36:16Z', u'provider:segmentation_id': 50, u'name': u'tempest-TestVolumeBootPatternV2-2073375004-network', u'admin_state_up': True, u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'created_at': u'2018-01-31T09:36:16Z', u'mtu': 1450}, {u'provider:physical_network': u'physnet', u'ipv6_address_scope': None, u'revision_number': 6, u'port_security_enabled': True, u'provider:network_type': u'flat', u'id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', 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'd6a0b32d9a17497598fa497562891e5f', u'status': u'ACTIVE', u'subnets': [u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16'], u'description': u'', u'tags': [], u'updated_at': u'2018-01-31T09:12:24Z', u'is_default': False, u'provider:segmentation_id': None, u'name': u'ext-net', u'admin_state_up': True, u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:12:21Z', u'mtu': 1500}, {u'provider:physical_network': None, u'ipv6_address_scope': None, u'revision_number': 5, u'port_security_enabled': True, u'provider:network_type': u'vxlan', u'id': u'98742723-f539-4239-8e81-e83352002c52', 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'd6a0b32d9a17497598fa497562891e5f', u'status': u'ACTIVE', u'subnets': [u'51face8f-26b2-4e14-b460-81ff1f0546be'], u'description': u'', u'tags': [], u'updated_at': u'2018-01-31T09:20:37Z', u'provider:segmentation_id': 88, u'name': u'tempest-net-181e7a74-a6c2-4aad-a364-937698242fb6', u'admin_state_up': True, u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:20:36Z', u'mtu': 1450}]}
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.16.1.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7f240757ba50>, 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" : "82351365-d1b5-40b7-82f8-4c525a28192b",
"tenant_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"project_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"name" : "tempest-TestVolumeBootPatternV2-2073375004-network",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "vxlan",
"provider:segmentation_id" : "50",
"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" : "98742723-f539-4239-8e81-e83352002c52",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"name" : "tempest-net-181e7a74-a6c2-4aad-a364-937698242fb6",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "vxlan",
"provider:segmentation_id" : "88",
"segments" : [ ]
}, {
"id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"project_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"name" : "tempest-TestVolumeBootPattern-172616078-network",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "vxlan",
"provider:segmentation_id" : "60",
"segments" : [ ]
}, {
"id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 6,
"name" : "ext-net",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : true,
"provider:network_type" : "flat",
"provider:physical_network" : "physnet",
"segments" : [ ]
} ]
}
To JSON using : pretty_print=False
${ODLResult} = {u'networks': [{u'status': u'ACTIVE', u'router:external': False, u'name': u'tempest-TestVolumeBootPatternV2-2073375004-network', u'admin_state_up': True, u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00...
Logs the given message with the given level.
${ODLResult}
{u'networks': [{u'status': u'ACTIVE', u'router:external': False, u'name': u'tempest-TestVolumeBootPatternV2-2073375004-network', u'admin_state_up': True, u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'segments': [], u'provider:network_type': u'vxlan', u'shared': False, u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'provider:segmentation_id': u'50'}, {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'tempest-net-181e7a74-a6c2-4aad-a364-937698242fb6', u'admin_state_up': True, u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'segments': [], u'provider:network_type': u'vxlan', u'shared': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'id': u'98742723-f539-4239-8e81-e83352002c52', u'provider:segmentation_id': u'88'}, {u'status': u'ACTIVE', u'router:external': False, u'name': u'tempest-TestVolumeBootPattern-172616078-network', u'admin_state_up': True, u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'segments': [], u'provider:network_type': u'vxlan', u'shared': False, u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'provider:segmentation_id': u'60'}, {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'd6a0b32d9a17497598fa497562891e5f', u'segments': [], u'provider:network_type': u'flat', u'revision_number': 6, u'shared': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2'}]}
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/requests/packages/urllib3/connectionpool.py:852: 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, "updated_at": "2018-01-31T09:54:34Z", "revision_number": 3, "port_security_enabled": true, "mtu": 1450, "id": "b4ede622-349d-42d1-816f-803da81512bd", "router:external": false, "availability_zone_hints": [], "availability_zones": [], "ipv4_address_scope": null, "shared": false, "project_id": "d6a0b32d9a17497598fa497562891e5f", "status": "ACTIVE", "subnets": [], "description": "", "tags": [], "ipv6_address_scope": null, "provider:segmentation_id": 34, "name": "odl_network", "admin_state_up": true, "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:54:34Z", "provider:network_type": "vxlan"}}
To JSON using : pretty_print=False
${result} = {u'network': {u'provider:physical_network': None, u'updated_at': u'2018-01-31T09:54:34Z', u'revision_number': 3, u'port_security_enabled': True, u'provider:network_type': u'vxlan', u'id': u'b4ede622-3...
Returns a value from the given ``dictionary`` based on the given ``key``.
${result}
network
${result}
${result} = {u'provider:physical_network': None, u'updated_at': u'2018-01-31T09:54:34Z', u'revision_number': 3, u'port_security_enabled': True, u'provider:network_type': u'vxlan', u'id': u'b4ede622-349d-42d1-816f...
Returns a value from the given ``dictionary`` based on the given ``key``.
${result}
id
${NETID}
${NETID} = b4ede622-349d-42d1-816f-803da81512bd
Logs the given message with the given level.
${result}
{u'provider:physical_network': None, u'updated_at': u'2018-01-31T09:54:34Z', u'revision_number': 3, u'port_security_enabled': True, u'provider:network_type': u'vxlan', u'id': u'b4ede622-349d-42d1-816f-803da81512bd', u'router:external': False, u'availability_zone_hints': [], u'availability_zones': [], u'ipv4_address_scope': None, u'shared': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'status': u'ACTIVE', u'subnets': [], u'description': u'', u'tags': [], u'ipv6_address_scope': None, u'provider:segmentation_id': 34, u'name': u'odl_network', u'admin_state_up': True, u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:54:34Z', u'mtu': 1450}
Logs the given message with the given level.
${NETID}
b4ede622-349d-42d1-816f-803da81512bd
Makes a variable available globally in all tests and suites.
${NETID}
${NETID} = b4ede622-349d-42d1-816f-803da81512bd
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/b4ede622-349d-42d1-816f-803da81512bd, 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.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bVVc', 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': 'gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bVVc', 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/requests/packages/urllib3/connectionpool.py:852: 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": "98742723-f539-4239-8e81-e83352002c52", "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:20:37Z", "dns_nameservers": ["8.8.8.8"], "updated_at": "2018-01-31T09:20:37Z", "gateway_ip": "192.168.150.1", "ipv6_ra_mode": null, "allocation_pools": [{"start": "192.168.150.2", "end": "192.168.150.254"}], "host_routes": [], "revision_number": 2, "ip_version": 4, "ipv6_address_mode": null, "cidr": "192.168.150.0/24", "project_id": "d6a0b32d9a17497598fa497562891e5f", "id": "51face8f-26b2-4e14-b460-81ff1f0546be", "subnetpool_id": null, "name": "tempest-subnet-181e7a74-a6c2-4aad-a364-937698242fb6"}, {"service_types": [], "description": "", "enable_dhcp": true, "tags": [], "network_id": "82351365-d1b5-40b7-82f8-4c525a28192b", "tenant_id": "5cd3160e8d9243748d346cc1b6bb00ca", "created_at": "2018-01-31T09:36:16Z", "dns_nameservers": [], "updated_at": "2018-01-31T09:36:16Z", "gateway_ip": "10.100.0.1", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.100.0.2", "end": "10.100.0.14"}], "host_routes": [], "revision_number": 2, "ip_version": 4, "ipv6_address_mode": null, "cidr": "10.100.0.0/28", "project_id": "5cd3160e8d9243748d346cc1b6bb00ca", "id": "7e4f8483-6904-4a7e-9358-fb361e892ccc", "subnetpool_id": null, "name": "tempest-TestVolumeBootPatternV2-2073375004-subnet"}, {"service_types": [], "description": "", "enable_dhcp": true, "tags": [], "network_id": "8bfb76e2-5eaf-494b-9809-941d4bb746e2", "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:12:24Z", "dns_nameservers": [], "updated_at": "2018-01-31T09:12:24Z", "gateway_ip": "192.16.1.1", "ipv6_ra_mode": null, "allocation_pools": [{"start": "192.16.1.101", "end": "192.16.1.199"}], "host_routes": [], "revision_number": 2, "ip_version": 4, "ipv6_address_mode": null, "cidr": "192.16.1.0/24", "project_id": "d6a0b32d9a17497598fa497562891e5f", "id": "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16", "subnetpool_id": null, "name": "ext-subnet"}, {"service_types": [], "description": "", "enable_dhcp": true, "tags": [], "network_id": "7d966cbf-8382-4a61-9a9b-5b94a0db531b", "tenant_id": "192ab6a0a8124b9ab5d6089c9687db6c", "created_at": "2018-01-31T09:35:48Z", "dns_nameservers": [], "updated_at": "2018-01-31T09:35:48Z", "gateway_ip": "10.100.0.1", "ipv6_ra_mode": null, "allocation_pools": [{"start": "10.100.0.2", "end": "10.100.0.14"}], "host_routes": [], "revision_number": 2, "ip_version": 4, "ipv6_address_mode": null, "cidr": "10.100.0.0/28", "project_id": "192ab6a0a8124b9ab5d6089c9687db6c", "id": "c483a0bd-74fa-46a6-9de2-651842a282c8", "subnetpool_id": null, "name": "tempest-TestVolumeBootPattern-172616078-subnet"}]}
To JSON using : pretty_print=False
${OSResult} = {u'subnets': [{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', ...
Logs the given message with the given level.
${OSResult}
{u'subnets': [{u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:20:37Z', u'dns_nameservers': [u'8.8.8.8'], u'updated_at': u'2018-01-31T09:20:37Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'192.168.150.2', u'end': u'192.168.150.254'}], u'gateway_ip': u'192.168.150.1', u'revision_number': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'192.168.150.0/24', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'id': u'51face8f-26b2-4e14-b460-81ff1f0546be', u'subnetpool_id': None, u'name': u'tempest-subnet-181e7a74-a6c2-4aad-a364-937698242fb6'}, {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'created_at': u'2018-01-31T09:36:16Z', u'dns_nameservers': [], u'updated_at': u'2018-01-31T09:36:16Z', 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': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'10.100.0.0/28', u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'id': u'7e4f8483-6904-4a7e-9358-fb361e892ccc', u'subnetpool_id': None, u'name': u'tempest-TestVolumeBootPatternV2-2073375004-subnet'}, {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:12:24Z', u'dns_nameservers': [], u'updated_at': u'2018-01-31T09:12:24Z', u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'192.16.1.101', u'end': u'192.16.1.199'}], u'gateway_ip': u'192.16.1.1', u'revision_number': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'192.16.1.0/24', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'subnetpool_id': None, u'name': u'ext-subnet'}, {u'service_types': [], u'description': u'', u'enable_dhcp': True, u'tags': [], u'network_id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'created_at': u'2018-01-31T09:35:48Z', u'dns_nameservers': [], u'updated_at': u'2018-01-31T09:35:48Z', 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': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'10.100.0.0/28', u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'subnetpool_id': None, u'name': u'tempest-TestVolumeBootPattern-172616078-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.16.1.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7f240755de90>, 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" : "51face8f-26b2-4e14-b460-81ff1f0546be",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 2,
"name" : "tempest-subnet-181e7a74-a6c2-4aad-a364-937698242fb6",
"network_id" : "98742723-f539-4239-8e81-e83352002c52",
"ip_version" : 4,
"cidr" : "192.168.150.0/24",
"gateway_ip" : "192.168.150.1",
"dns_nameservers" : [ "8.8.8.8" ],
"allocation_pools" : [ {
"start" : "192.168.150.2",
"end" : "192.168.150.254"
} ],
"host_routes" : [ ],
"enable_dhcp" : true,
"ipv6_address_mode" : null,
"ipv6_ra_mode" : null
}, {
"id" : "c483a0bd-74fa-46a6-9de2-651842a282c8",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"project_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"revision_number" : 2,
"name" : "tempest-TestVolumeBootPattern-172616078-subnet",
"network_id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"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" : "7e4f8483-6904-4a7e-9358-fb361e892ccc",
"tenant_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"project_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"revision_number" : 2,
"name" : "tempest-TestVolumeBootPatternV2-2073375004-subnet",
"network_id" : "82351365-d1b5-40b7-82f8-4c525a28192b",
"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" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 2,
"name" : "ext-subnet",
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"ip_version" : 4,
"cidr" : "192.16.1.0/24",
"gateway_ip" : "192.16.1.1",
"dns_nameservers" : [ ],
"allocation_pools" : [ {
"start" : "192.16.1.101",
"end" : "192.16.1.199"
} ],
"host_routes" : [ ],
"enable_dhcp" : true,
"ipv6_address_mode" : null,
"ipv6_ra_mode" : null
} ]
}
To JSON using : pretty_print=False
${ODLResult} = {u'subnets': [{u'name': u'tempest-subnet-181e7a74-a6c2-4aad-a364-937698242fb6', u'enable_dhcp': True, u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562...
Logs the given message with the given level.
${ODLResult}
{u'subnets': [{u'name': u'tempest-subnet-181e7a74-a6c2-4aad-a364-937698242fb6', u'enable_dhcp': True, u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'dns_nameservers': [u'8.8.8.8'], u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'192.168.150.2', u'end': u'192.168.150.254'}], u'gateway_ip': u'192.168.150.1', u'revision_number': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'192.168.150.0/24', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'id': u'51face8f-26b2-4e14-b460-81ff1f0546be'}, {u'name': u'tempest-TestVolumeBootPattern-172616078-subnet', u'enable_dhcp': True, u'network_id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', 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': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'10.100.0.0/28', u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'id': u'c483a0bd-74fa-46a6-9de2-651842a282c8'}, {u'name': u'tempest-TestVolumeBootPatternV2-2073375004-subnet', u'enable_dhcp': True, u'network_id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', 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': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'10.100.0.0/28', u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'id': u'7e4f8483-6904-4a7e-9358-fb361e892ccc'}, {u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'dns_nameservers': [], u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'192.16.1.101', u'end': u'192.16.1.199'}], u'gateway_ip': u'192.16.1.1', u'revision_number': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'192.16.1.0/24', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16'}]}
Checking OpenDaylight Neutron API for known subnets
Subnets Neutron OpenDaylight
Logs the given message with the given level.
${data}
{"subnet":{"network_id":"b4ede622-349d-42d1-816f-803da81512bd","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/requests/packages/urllib3/connectionpool.py:852: 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": "b4ede622-349d-42d1-816f-803da81512bd", "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:54:36Z", "dns_nameservers": [], "updated_at": "2018-01-31T09:54:36Z", "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": 2, "ip_version": 4, "ipv6_address_mode": null, "cidr": "172.16.64.0/24", "project_id": "d6a0b32d9a17497598fa497562891e5f", "id": "6c663196-0ad8-419e-b73f-603f1cc646ea", "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'b4ede622-349d-42d1-816f-803da81512bd', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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'b4ede622-349d-42d1-816f-803da81512bd', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at':...
Returns a value from the given ``dictionary`` based on the given ``key``.
${result}
id
${SUBNETID}
${SUBNETID} = 6c663196-0ad8-419e-b73f-603f1cc646ea
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'b4ede622-349d-42d1-816f-803da81512bd', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:54:36Z', u'dns_nameservers': [], u'updated_at': u'2018-01-31T09:54:36Z', 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': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'172.16.64.0/24', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'id': u'6c663196-0ad8-419e-b73f-603f1cc646ea', u'subnetpool_id': None, u'name': u''}
Logs the given message with the given level.
${SUBNETID}
6c663196-0ad8-419e-b73f-603f1cc646ea
Makes a variable available globally in all tests and suites.
${SUBNETID}
${SUBNETID} = 6c663196-0ad8-419e-b73f-603f1cc646ea
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/6c663196-0ad8-419e-b73f-603f1cc646ea, 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.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bVVc', 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': 'gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bVVc', 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/requests/packages/urllib3/connectionpool.py:852: 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": [{"status": "ACTIVE", "binding:host_id": "host3-neutron-agents-container-9aee63ea", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:54:39Z", "device_owner": "network:dhcp", "revision_number": 6, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "6c663196-0ad8-419e-b73f-603f1cc646ea", "ip_address": "172.16.64.21"}], "id": "135c297e-a813-444c-a525-00108c3be683", "security_groups": [], "device_id": "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-b4ede622-349d-42d1-816f-803da81512bd", "name": "", "admin_state_up": true, "network_id": "b4ede622-349d-42d1-816f-803da81512bd", "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "binding:vif_details": {"support_vhost_user": false, "has_datapath_type_netdev": false, "uuid": "72ef0d6f-8f8f-4505-bcbd-660a0663d00c", "host_addresses": ["host3-neutron-agents-container-9aee63ea"]}, "binding:vnic_type": "normal", "binding:vif_type": "ovs", "mac_address": "fa:16:3e:0c:a5:5d", "project_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:54:38Z"}, {"status": "DOWN", "binding:host_id": "", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:36:07Z", "device_owner": "", "revision_number": 5, "port_security_enabled": true, "binding:profile": {}, "fixed_ips": [{"subnet_id": "c483a0bd-74fa-46a6-9de2-651842a282c8", "ip_address": "10.100.0.7"}], "id": "2dab69ba-64b5-416d-aeeb-d91b45848094", "security_groups": ["b778b4ba-c617-45ed-ae70-6d671989dad2"], "device_id": "", "name": "", "admin_state_up": true, "network_id": "7d966cbf-8382-4a61-9a9b-5b94a0db531b", "tenant_id": "192ab6a0a8124b9ab5d6089c9687db6c", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "unbound", "mac_address": "fa:16:3e:fe:2b:6f", "project_id": "192ab6a0a8124b9ab5d6089c9687db6c", "created_at": "2018-01-31T09:36:06Z"}, {"status": "ACTIVE", "binding:host_id": "host1-neutron-agents-container-50becef2", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:35:51Z", "device_owner": "network:dhcp", "revision_number": 6, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "c483a0bd-74fa-46a6-9de2-651842a282c8", "ip_address": "10.100.0.4"}], "id": "3b64d7a6-e22a-4e2d-9982-6707229bb8be", "security_groups": [], "device_id": "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-7d966cbf-8382-4a61-9a9b-5b94a0db531b", "name": "", "admin_state_up": true, "network_id": "7d966cbf-8382-4a61-9a9b-5b94a0db531b", "tenant_id": "192ab6a0a8124b9ab5d6089c9687db6c", "binding:vif_details": {"support_vhost_user": false, "has_datapath_type_netdev": false, "uuid": "f9829bc7-0a7c-408a-a2e2-a8dacf317bda", "host_addresses": ["host1-neutron-agents-container-50becef2"]}, "binding:vnic_type": "normal", "binding:vif_type": "ovs", "mac_address": "fa:16:3e:0c:56:fe", "project_id": "192ab6a0a8124b9ab5d6089c9687db6c", "created_at": "2018-01-31T09:35:50Z"}, {"status": "DOWN", "binding:host_id": "host3-neutron-agents-container-9aee63ea", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:12:25Z", "device_owner": "network:dhcp", "revision_number": 5, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16", "ip_address": "192.16.1.101"}], "id": "4a88d3c2-c9a2-480c-9cec-54056850bfc5", "security_groups": [], "device_id": "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-8bfb76e2-5eaf-494b-9809-941d4bb746e2", "name": "", "admin_state_up": true, "network_id": "8bfb76e2-5eaf-494b-9809-941d4bb746e2", "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "binding_failed", "mac_address": "fa:16:3e:ba:f3:0b", "project_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:12:25Z"}, {"status": "ACTIVE", "binding:host_id": "host2-neutron-agents-container-d31854a4", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:35:50Z", "device_owner": "network:dhcp", "revision_number": 6, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "c483a0bd-74fa-46a6-9de2-651842a282c8", "ip_address": "10.100.0.3"}], "id": "53dd9e1b-5c92-4563-b605-a4624b6395ad", "security_groups": [], "device_id": "dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-7d966cbf-8382-4a61-9a9b-5b94a0db531b", "name": "", "admin_state_up": true, "network_id": "7d966cbf-8382-4a61-9a9b-5b94a0db531b", "tenant_id": "192ab6a0a8124b9ab5d6089c9687db6c", "binding:vif_details": {"support_vhost_user": false, "has_datapath_type_netdev": false, "uuid": "edc8ab58-36cd-41b0-8be0-f1acd79d8f0b", "host_addresses": ["host2-neutron-agents-container-d31854a4"]}, "binding:vnic_type": "normal", "binding:vif_type": "ovs", "mac_address": "fa:16:3e:b6:75:00", "project_id": "192ab6a0a8124b9ab5d6089c9687db6c", "created_at": "2018-01-31T09:35:49Z"}, {"status": "DOWN", "binding:host_id": "host1-neutron-agents-container-50becef2", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:12:26Z", "device_owner": "network:dhcp", "revision_number": 5, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16", "ip_address": "192.16.1.102"}], "id": "5b37a0fe-bb11-4348-9555-4c199eab0142", "security_groups": [], "device_id": "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-8bfb76e2-5eaf-494b-9809-941d4bb746e2", "name": "", "admin_state_up": true, "network_id": "8bfb76e2-5eaf-494b-9809-941d4bb746e2", "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "binding_failed", "mac_address": "fa:16:3e:0a:19:01", "project_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:12:26Z"}, {"status": "ACTIVE", "binding:host_id": "host3-neutron-agents-container-9aee63ea", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:35:50Z", "device_owner": "network:dhcp", "revision_number": 6, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "c483a0bd-74fa-46a6-9de2-651842a282c8", "ip_address": "10.100.0.2"}], "id": "6efa713f-37ec-48a9-a375-237284eb8a66", "security_groups": [], "device_id": "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-7d966cbf-8382-4a61-9a9b-5b94a0db531b", "name": "", "admin_state_up": true, "network_id": "7d966cbf-8382-4a61-9a9b-5b94a0db531b", "tenant_id": "192ab6a0a8124b9ab5d6089c9687db6c", "binding:vif_details": {"support_vhost_user": false, "has_datapath_type_netdev": false, "uuid": "72ef0d6f-8f8f-4505-bcbd-660a0663d00c", "host_addresses": ["host3-neutron-agents-container-9aee63ea"]}, "binding:vnic_type": "normal", "binding:vif_type": "ovs", "mac_address": "fa:16:3e:0f:ae:08", "project_id": "192ab6a0a8124b9ab5d6089c9687db6c", "created_at": "2018-01-31T09:35:49Z"}, {"status": "ACTIVE", "binding:host_id": "host1-neutron-agents-container-50becef2", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:54:38Z", "device_owner": "network:dhcp", "revision_number": 6, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "6c663196-0ad8-419e-b73f-603f1cc646ea", "ip_address": "172.16.64.20"}], "id": "796ca553-0cc5-4092-b9e9-59d34a95c1dc", "security_groups": [], "device_id": "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-b4ede622-349d-42d1-816f-803da81512bd", "name": "", "admin_state_up": true, "network_id": "b4ede622-349d-42d1-816f-803da81512bd", "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "binding:vif_details": {"support_vhost_user": false, "has_datapath_type_netdev": false, "uuid": "f9829bc7-0a7c-408a-a2e2-a8dacf317bda", "host_addresses": ["host1-neutron-agents-container-50becef2"]}, "binding:vnic_type": "normal", "binding:vif_type": "ovs", "mac_address": "fa:16:3e:be:3f:0e", "project_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:54:37Z"}, {"status": "DOWN", "binding:host_id": "host2-neutron-agents-container-d31854a4", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:12:27Z", "device_owner": "network:dhcp", "revision_number": 5, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16", "ip_address": "192.16.1.103"}], "id": "7b2188d8-c446-49de-af77-8a98070f6825", "security_groups": [], "device_id": "dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-8bfb76e2-5eaf-494b-9809-941d4bb746e2", "name": "", "admin_state_up": true, "network_id": "8bfb76e2-5eaf-494b-9809-941d4bb746e2", "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "binding_failed", "mac_address": "fa:16:3e:ac:15:cd", "project_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:12:26Z"}, {"status": "DOWN", "binding:host_id": "", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:36:41Z", "device_owner": "network:router_gateway", "revision_number": 4, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16", "ip_address": "192.16.1.105"}], "id": "85655c30-65d8-499e-89f1-af41ef2a7c24", "security_groups": [], "device_id": "2fe0ff00-1116-4131-9857-9e1739b0f5b1", "name": "", "admin_state_up": true, "network_id": "8bfb76e2-5eaf-494b-9809-941d4bb746e2", "tenant_id": "", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "unbound", "mac_address": "fa:16:3e:14:57:aa", "project_id": "", "created_at": "2018-01-31T09:36:40Z"}, {"status": "ACTIVE", "binding:host_id": "host1-neutron-agents-container-50becef2", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:20:39Z", "device_owner": "network:dhcp", "revision_number": 6, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "51face8f-26b2-4e14-b460-81ff1f0546be", "ip_address": "192.168.150.4"}], "id": "857c25ad-e17d-489f-a3e9-53663d75baae", "security_groups": [], "device_id": "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-98742723-f539-4239-8e81-e83352002c52", "name": "", "admin_state_up": true, "network_id": "98742723-f539-4239-8e81-e83352002c52", "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "binding:vif_details": {"support_vhost_user": false, "has_datapath_type_netdev": false, "uuid": "f9829bc7-0a7c-408a-a2e2-a8dacf317bda", "host_addresses": ["host1-neutron-agents-container-50becef2"]}, "binding:vnic_type": "normal", "binding:vif_type": "ovs", "mac_address": "fa:16:3e:6c:22:e1", "project_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:20:39Z"}, {"status": "ACTIVE", "binding:host_id": "host3-neutron-agents-container-9aee63ea", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:20:38Z", "device_owner": "network:dhcp", "revision_number": 6, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "51face8f-26b2-4e14-b460-81ff1f0546be", "ip_address": "192.168.150.3"}], "id": "9cdf0d42-9530-4edc-8e2f-5fd468c001fd", "security_groups": [], "device_id": "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-98742723-f539-4239-8e81-e83352002c52", "name": "", "admin_state_up": true, "network_id": "98742723-f539-4239-8e81-e83352002c52", "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "binding:vif_details": {"support_vhost_user": false, "has_datapath_type_netdev": false, "uuid": "72ef0d6f-8f8f-4505-bcbd-660a0663d00c", "host_addresses": ["host3-neutron-agents-container-9aee63ea"]}, "binding:vnic_type": "normal", "binding:vif_type": "ovs", "mac_address": "fa:16:3e:3f:d8:90", "project_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:20:38Z"}, {"status": "DOWN", "binding:host_id": "", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:36:02Z", "device_owner": "", "revision_number": 5, "port_security_enabled": true, "binding:profile": {}, "fixed_ips": [{"subnet_id": "c483a0bd-74fa-46a6-9de2-651842a282c8", "ip_address": "10.100.0.5"}], "id": "a727f754-69e8-479a-93c1-713c4abaee7d", "security_groups": ["b778b4ba-c617-45ed-ae70-6d671989dad2"], "device_id": "", "name": "", "admin_state_up": true, "network_id": "7d966cbf-8382-4a61-9a9b-5b94a0db531b", "tenant_id": "192ab6a0a8124b9ab5d6089c9687db6c", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "unbound", "mac_address": "fa:16:3e:79:bc:83", "project_id": "192ab6a0a8124b9ab5d6089c9687db6c", "created_at": "2018-01-31T09:36:02Z"}, {"status": "DOWN", "binding:host_id": "host3-neutron-agents-container-9aee63ea", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:36:19Z", "device_owner": "network:dhcp", "revision_number": 5, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "7e4f8483-6904-4a7e-9358-fb361e892ccc", "ip_address": "10.100.0.3"}], "id": "a885636b-167e-47d3-9bba-1561f2e8f565", "security_groups": [], "device_id": "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-82351365-d1b5-40b7-82f8-4c525a28192b", "name": "", "admin_state_up": true, "network_id": "82351365-d1b5-40b7-82f8-4c525a28192b", "tenant_id": "5cd3160e8d9243748d346cc1b6bb00ca", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "unbound", "mac_address": "fa:16:3e:39:7f:97", "project_id": "5cd3160e8d9243748d346cc1b6bb00ca", "created_at": "2018-01-31T09:36:18Z"}, {"status": "ACTIVE", "binding:host_id": "host2-neutron-agents-container-d31854a4", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:36:32Z", "device_owner": "network:dhcp", "revision_number": 9, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "51face8f-26b2-4e14-b460-81ff1f0546be", "ip_address": "192.168.150.2"}], "id": "ce7ce29f-fb6d-48d8-bb70-3345aba65f93", "security_groups": [], "device_id": "dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-98742723-f539-4239-8e81-e83352002c52", "name": "", "admin_state_up": true, "network_id": "98742723-f539-4239-8e81-e83352002c52", "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "binding:vif_details": {"support_vhost_user": false, "has_datapath_type_netdev": false, "uuid": "edc8ab58-36cd-41b0-8be0-f1acd79d8f0b", "host_addresses": ["host2-neutron-agents-container-d31854a4"]}, "binding:vnic_type": "normal", "binding:vif_type": "ovs", "mac_address": "fa:16:3e:f1:f2:62", "project_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:20:37Z"}, {"status": "DOWN", "binding:host_id": "", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:36:18Z", "device_owner": "network:router_gateway", "revision_number": 4, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16", "ip_address": "192.16.1.111"}], "id": "e474aecc-8845-4325-89a3-a0a23fc038b9", "security_groups": [], "device_id": "d5b616a3-d3c6-4e49-a72a-46a78155a2cf", "name": "", "admin_state_up": true, "network_id": "8bfb76e2-5eaf-494b-9809-941d4bb746e2", "tenant_id": "", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "unbound", "mac_address": "fa:16:3e:c4:be:00", "project_id": "", "created_at": "2018-01-31T09:36:17Z"}, {"status": "DOWN", "binding:host_id": "", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:35:49Z", "device_owner": "network:router_gateway", "revision_number": 4, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16", "ip_address": "192.16.1.106"}], "id": "e6cc4db1-d5d4-41d9-b3d3-dbd60d96104e", "security_groups": [], "device_id": "a10d2640-9cb6-4a4a-a288-2017902982e0", "name": "", "admin_state_up": true, "network_id": "8bfb76e2-5eaf-494b-9809-941d4bb746e2", "tenant_id": "", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "unbound", "mac_address": "fa:16:3e:7e:30:98", "project_id": "", "created_at": "2018-01-31T09:35:49Z"}, {"status": "DOWN", "binding:host_id": "host2-neutron-agents-container-d31854a4", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:36:18Z", "device_owner": "network:dhcp", "revision_number": 5, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "7e4f8483-6904-4a7e-9358-fb361e892ccc", "ip_address": "10.100.0.2"}], "id": "f59a4ad9-f325-47d7-b292-5232cfbbd4c8", "security_groups": [], "device_id": "dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-82351365-d1b5-40b7-82f8-4c525a28192b", "name": "", "admin_state_up": true, "network_id": "82351365-d1b5-40b7-82f8-4c525a28192b", "tenant_id": "5cd3160e8d9243748d346cc1b6bb00ca", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "unbound", "mac_address": "fa:16:3e:68:c6:a9", "project_id": "5cd3160e8d9243748d346cc1b6bb00ca", "created_at": "2018-01-31T09:36:17Z"}, {"status": "DOWN", "binding:host_id": "host1-neutron-agents-container-50becef2", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:36:19Z", "device_owner": "network:dhcp", "revision_number": 5, "port_security_enabled": false, "binding:profile": {}, "fixed_ips": [{"subnet_id": "7e4f8483-6904-4a7e-9358-fb361e892ccc", "ip_address": "10.100.0.4"}], "id": "fd031cbc-caa3-4ac6-a9c5-0659759ffaf5", "security_groups": [], "device_id": "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-82351365-d1b5-40b7-82f8-4c525a28192b", "name": "", "admin_state_up": true, "network_id": "82351365-d1b5-40b7-82f8-4c525a28192b", "tenant_id": "5cd3160e8d9243748d346cc1b6bb00ca", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "unbound", "mac_address": "fa:16:3e:f1:58:e6", "project_id": "5cd3160e8d9243748d346cc1b6bb00ca", "created_at": "2018-01-31T09:36:19Z"}]}
To JSON using : pretty_print=False
${OSResult} = {u'ports': [{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:54:39Z', u'device_owner': u'network:dhcp', u'revision_number': 6, 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-01-31T09:54:39Z', u'device_owner': u'network:dhcp', u'revision_number': 6, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'6c663196-0ad8-419e-b73f-603f1cc646ea', u'ip_address': u'172.16.64.21'}], u'id': u'135c297e-a813-444c-a525-00108c3be683', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'72ef0d6f-8f8f-4505-bcbd-660a0663d00c', u'host_addresses': [u'host3-neutron-agents-container-9aee63ea']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:0c:a5:5d', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'status': u'ACTIVE', u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'description': u'', u'tags': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-b4ede622-349d-42d1-816f-803da81512bd', u'name': u'', u'admin_state_up': True, u'network_id': u'b4ede622-349d-42d1-816f-803da81512bd', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:54:38Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:36:07Z', u'device_owner': u'', u'revision_number': 5, u'port_security_enabled': True, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.7'}], u'id': u'2dab69ba-64b5-416d-aeeb-d91b45848094', u'security_groups': [u'b778b4ba-c617-45ed-ae70-6d671989dad2'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:fe:2b:6f', u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', 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'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'created_at': u'2018-01-31T09:36:06Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:35:51Z', u'device_owner': u'network:dhcp', u'revision_number': 6, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.4'}], u'id': u'3b64d7a6-e22a-4e2d-9982-6707229bb8be', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'f9829bc7-0a7c-408a-a2e2-a8dacf317bda', u'host_addresses': [u'host1-neutron-agents-container-50becef2']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:0c:56:fe', u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'status': u'ACTIVE', u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'description': u'', u'tags': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'name': u'', u'admin_state_up': True, u'network_id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'created_at': u'2018-01-31T09:35:50Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:12:25Z', 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'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.101'}], u'id': u'4a88d3c2-c9a2-480c-9cec-54056850bfc5', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'binding_failed', u'mac_address': u'fa:16:3e:ba:f3:0b', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'status': u'DOWN', u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'description': u'', u'tags': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'name': u'', u'admin_state_up': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:12:25Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:35:50Z', u'device_owner': u'network:dhcp', u'revision_number': 6, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.3'}], u'id': u'53dd9e1b-5c92-4563-b605-a4624b6395ad', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'edc8ab58-36cd-41b0-8be0-f1acd79d8f0b', u'host_addresses': [u'host2-neutron-agents-container-d31854a4']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:b6:75:00', u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'status': u'ACTIVE', u'binding:host_id': u'host2-neutron-agents-container-d31854a4', u'description': u'', u'tags': [], u'device_id': u'dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'name': u'', u'admin_state_up': True, u'network_id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'created_at': u'2018-01-31T09:35:49Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:12:26Z', 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'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.102'}], u'id': u'5b37a0fe-bb11-4348-9555-4c199eab0142', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'binding_failed', u'mac_address': u'fa:16:3e:0a:19:01', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'status': u'DOWN', u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'description': u'', u'tags': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'name': u'', u'admin_state_up': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:12:26Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:35:50Z', u'device_owner': u'network:dhcp', u'revision_number': 6, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.2'}], u'id': u'6efa713f-37ec-48a9-a375-237284eb8a66', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'72ef0d6f-8f8f-4505-bcbd-660a0663d00c', u'host_addresses': [u'host3-neutron-agents-container-9aee63ea']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:0f:ae:08', u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'status': u'ACTIVE', u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'description': u'', u'tags': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'name': u'', u'admin_state_up': True, u'network_id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'created_at': u'2018-01-31T09:35:49Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:54:38Z', u'device_owner': u'network:dhcp', u'revision_number': 6, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'6c663196-0ad8-419e-b73f-603f1cc646ea', u'ip_address': u'172.16.64.20'}], u'id': u'796ca553-0cc5-4092-b9e9-59d34a95c1dc', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'f9829bc7-0a7c-408a-a2e2-a8dacf317bda', u'host_addresses': [u'host1-neutron-agents-container-50becef2']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:be:3f:0e', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'status': u'ACTIVE', u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'description': u'', u'tags': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-b4ede622-349d-42d1-816f-803da81512bd', u'name': u'', u'admin_state_up': True, u'network_id': u'b4ede622-349d-42d1-816f-803da81512bd', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:54:37Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:12:27Z', 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'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.103'}], u'id': u'7b2188d8-c446-49de-af77-8a98070f6825', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'binding_failed', u'mac_address': u'fa:16:3e:ac:15:cd', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'status': u'DOWN', u'binding:host_id': u'host2-neutron-agents-container-d31854a4', u'description': u'', u'tags': [], u'device_id': u'dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'name': u'', u'admin_state_up': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:12:26Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:36:41Z', u'device_owner': u'network:router_gateway', u'revision_number': 4, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.105'}], u'id': u'85655c30-65d8-499e-89f1-af41ef2a7c24', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:14:57:aa', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'2fe0ff00-1116-4131-9857-9e1739b0f5b1', u'name': u'', u'admin_state_up': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'', u'created_at': u'2018-01-31T09:36:40Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:20:39Z', u'device_owner': u'network:dhcp', u'revision_number': 6, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'51face8f-26b2-4e14-b460-81ff1f0546be', u'ip_address': u'192.168.150.4'}], u'id': u'857c25ad-e17d-489f-a3e9-53663d75baae', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'f9829bc7-0a7c-408a-a2e2-a8dacf317bda', u'host_addresses': [u'host1-neutron-agents-container-50becef2']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:6c:22:e1', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'status': u'ACTIVE', u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'description': u'', u'tags': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-98742723-f539-4239-8e81-e83352002c52', u'name': u'', u'admin_state_up': True, u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:20:39Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:20:38Z', u'device_owner': u'network:dhcp', u'revision_number': 6, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'51face8f-26b2-4e14-b460-81ff1f0546be', u'ip_address': u'192.168.150.3'}], u'id': u'9cdf0d42-9530-4edc-8e2f-5fd468c001fd', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'72ef0d6f-8f8f-4505-bcbd-660a0663d00c', u'host_addresses': [u'host3-neutron-agents-container-9aee63ea']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:3f:d8:90', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'status': u'ACTIVE', u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'description': u'', u'tags': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-98742723-f539-4239-8e81-e83352002c52', u'name': u'', u'admin_state_up': True, u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:20:38Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:36:02Z', u'device_owner': u'', u'revision_number': 5, u'port_security_enabled': True, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.5'}], u'id': u'a727f754-69e8-479a-93c1-713c4abaee7d', u'security_groups': [u'b778b4ba-c617-45ed-ae70-6d671989dad2'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:79:bc:83', u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', 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'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'created_at': u'2018-01-31T09:36:02Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:36:19Z', 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'7e4f8483-6904-4a7e-9358-fb361e892ccc', u'ip_address': u'10.100.0.3'}], u'id': u'a885636b-167e-47d3-9bba-1561f2e8f565', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:39:7f:97', u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'status': u'DOWN', u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'description': u'', u'tags': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-82351365-d1b5-40b7-82f8-4c525a28192b', u'name': u'', u'admin_state_up': True, u'network_id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'created_at': u'2018-01-31T09:36:18Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:36:32Z', u'device_owner': u'network:dhcp', u'revision_number': 9, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'51face8f-26b2-4e14-b460-81ff1f0546be', u'ip_address': u'192.168.150.2'}], u'id': u'ce7ce29f-fb6d-48d8-bb70-3345aba65f93', u'security_groups': [], u'binding:vif_details': {u'support_vhost_user': False, u'has_datapath_type_netdev': False, u'uuid': u'edc8ab58-36cd-41b0-8be0-f1acd79d8f0b', u'host_addresses': [u'host2-neutron-agents-container-d31854a4']}, u'binding:vif_type': u'ovs', u'mac_address': u'fa:16:3e:f1:f2:62', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'status': u'ACTIVE', u'binding:host_id': u'host2-neutron-agents-container-d31854a4', u'description': u'', u'tags': [], u'device_id': u'dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-98742723-f539-4239-8e81-e83352002c52', u'name': u'', u'admin_state_up': True, u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:20:37Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:36:18Z', u'device_owner': u'network:router_gateway', u'revision_number': 4, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.111'}], u'id': u'e474aecc-8845-4325-89a3-a0a23fc038b9', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:c4:be:00', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'd5b616a3-d3c6-4e49-a72a-46a78155a2cf', u'name': u'', u'admin_state_up': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'', u'created_at': u'2018-01-31T09:36:17Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:35:49Z', u'device_owner': u'network:router_gateway', u'revision_number': 4, u'port_security_enabled': False, u'binding:profile': {}, u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.106'}], u'id': u'e6cc4db1-d5d4-41d9-b3d3-dbd60d96104e', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:7e:30:98', u'project_id': u'', u'status': u'DOWN', u'binding:host_id': u'', u'description': u'', u'tags': [], u'device_id': u'a10d2640-9cb6-4a4a-a288-2017902982e0', u'name': u'', u'admin_state_up': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'', u'created_at': u'2018-01-31T09:35:49Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:36: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'7e4f8483-6904-4a7e-9358-fb361e892ccc', u'ip_address': u'10.100.0.2'}], u'id': u'f59a4ad9-f325-47d7-b292-5232cfbbd4c8', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:68:c6:a9', u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'status': u'DOWN', u'binding:host_id': u'host2-neutron-agents-container-d31854a4', u'description': u'', u'tags': [], u'device_id': u'dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-82351365-d1b5-40b7-82f8-4c525a28192b', u'name': u'', u'admin_state_up': True, u'network_id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'created_at': u'2018-01-31T09:36:17Z', u'binding:vnic_type': u'normal'}, {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:36:19Z', 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'7e4f8483-6904-4a7e-9358-fb361e892ccc', u'ip_address': u'10.100.0.4'}], u'id': u'fd031cbc-caa3-4ac6-a9c5-0659759ffaf5', u'security_groups': [], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:f1:58:e6', u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'status': u'DOWN', u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'description': u'', u'tags': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-82351365-d1b5-40b7-82f8-4c525a28192b', u'name': u'', u'admin_state_up': True, u'network_id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'created_at': u'2018-01-31T09:36:19Z', 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.16.1.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7f2407478c10>, 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" : "6efa713f-37ec-48a9-a375-237284eb8a66",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"mac_address" : "fa:16:3e:0f:ae:08",
"fixed_ips" : [ {
"ip_address" : "10.100.0.2",
"subnet_id" : "c483a0bd-74fa-46a6-9de2-651842a282c8"
} ],
"device_id" : "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-9aee63ea",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "72ef0d6f-8f8f-4505-bcbd-660a0663d00c",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "fd031cbc-caa3-4ac6-a9c5-0659759ffaf5",
"tenant_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"project_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "82351365-d1b5-40b7-82f8-4c525a28192b",
"mac_address" : "fa:16:3e:f1:58:e6",
"fixed_ips" : [ {
"ip_address" : "10.100.0.4",
"subnet_id" : "7e4f8483-6904-4a7e-9358-fb361e892ccc"
} ],
"device_id" : "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-82351365-d1b5-40b7-82f8-4c525a28192b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-50becef2",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "e474aecc-8845-4325-89a3-a0a23fc038b9",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"mac_address" : "fa:16:3e:c4:be:00",
"fixed_ips" : [ {
"ip_address" : "192.16.1.111",
"subnet_id" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16"
} ],
"device_id" : "d5b616a3-d3c6-4e49-a72a-46a78155a2cf",
"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" : "135c297e-a813-444c-a525-00108c3be683",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "b4ede622-349d-42d1-816f-803da81512bd",
"mac_address" : "fa:16:3e:0c:a5:5d",
"fixed_ips" : [ {
"ip_address" : "172.16.64.21",
"subnet_id" : "6c663196-0ad8-419e-b73f-603f1cc646ea"
} ],
"device_id" : "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-b4ede622-349d-42d1-816f-803da81512bd",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-9aee63ea",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "72ef0d6f-8f8f-4505-bcbd-660a0663d00c",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "3b64d7a6-e22a-4e2d-9982-6707229bb8be",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"mac_address" : "fa:16:3e:0c:56:fe",
"fixed_ips" : [ {
"ip_address" : "10.100.0.4",
"subnet_id" : "c483a0bd-74fa-46a6-9de2-651842a282c8"
} ],
"device_id" : "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-50becef2",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f9829bc7-0a7c-408a-a2e2-a8dacf317bda",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "5b37a0fe-bb11-4348-9555-4c199eab0142",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"mac_address" : "fa:16:3e:0a:19:01",
"fixed_ips" : [ {
"ip_address" : "192.16.1.102",
"subnet_id" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16"
} ],
"device_id" : "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-50becef2",
"binding:vnic_type" : "normal",
"binding:vif_type" : "binding_failed",
"Map" : {
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "9cdf0d42-9530-4edc-8e2f-5fd468c001fd",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "98742723-f539-4239-8e81-e83352002c52",
"mac_address" : "fa:16:3e:3f:d8:90",
"fixed_ips" : [ {
"ip_address" : "192.168.150.3",
"subnet_id" : "51face8f-26b2-4e14-b460-81ff1f0546be"
} ],
"device_id" : "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-98742723-f539-4239-8e81-e83352002c52",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-9aee63ea",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "72ef0d6f-8f8f-4505-bcbd-660a0663d00c",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "f59a4ad9-f325-47d7-b292-5232cfbbd4c8",
"tenant_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"project_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "82351365-d1b5-40b7-82f8-4c525a28192b",
"mac_address" : "fa:16:3e:68:c6:a9",
"fixed_ips" : [ {
"ip_address" : "10.100.0.2",
"subnet_id" : "7e4f8483-6904-4a7e-9358-fb361e892ccc"
} ],
"device_id" : "dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-82351365-d1b5-40b7-82f8-4c525a28192b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-d31854a4",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "a885636b-167e-47d3-9bba-1561f2e8f565",
"tenant_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"project_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "82351365-d1b5-40b7-82f8-4c525a28192b",
"mac_address" : "fa:16:3e:39:7f:97",
"fixed_ips" : [ {
"ip_address" : "10.100.0.3",
"subnet_id" : "7e4f8483-6904-4a7e-9358-fb361e892ccc"
} ],
"device_id" : "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-82351365-d1b5-40b7-82f8-4c525a28192b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-9aee63ea",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "7b2188d8-c446-49de-af77-8a98070f6825",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"mac_address" : "fa:16:3e:ac:15:cd",
"fixed_ips" : [ {
"ip_address" : "192.16.1.103",
"subnet_id" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16"
} ],
"device_id" : "dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-d31854a4",
"binding:vnic_type" : "normal",
"binding:vif_type" : "binding_failed",
"Map" : {
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "53dd9e1b-5c92-4563-b605-a4624b6395ad",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"mac_address" : "fa:16:3e:b6:75:00",
"fixed_ips" : [ {
"ip_address" : "10.100.0.3",
"subnet_id" : "c483a0bd-74fa-46a6-9de2-651842a282c8"
} ],
"device_id" : "dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-d31854a4",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "edc8ab58-36cd-41b0-8be0-f1acd79d8f0b",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "857c25ad-e17d-489f-a3e9-53663d75baae",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "98742723-f539-4239-8e81-e83352002c52",
"mac_address" : "fa:16:3e:6c:22:e1",
"fixed_ips" : [ {
"ip_address" : "192.168.150.4",
"subnet_id" : "51face8f-26b2-4e14-b460-81ff1f0546be"
} ],
"device_id" : "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-98742723-f539-4239-8e81-e83352002c52",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-50becef2",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f9829bc7-0a7c-408a-a2e2-a8dacf317bda",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "4a88d3c2-c9a2-480c-9cec-54056850bfc5",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"mac_address" : "fa:16:3e:ba:f3:0b",
"fixed_ips" : [ {
"ip_address" : "192.16.1.101",
"subnet_id" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16"
} ],
"device_id" : "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-9aee63ea",
"binding:vnic_type" : "normal",
"binding:vif_type" : "binding_failed",
"Map" : {
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "e6cc4db1-d5d4-41d9-b3d3-dbd60d96104e",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"mac_address" : "fa:16:3e:7e:30:98",
"fixed_ips" : [ {
"ip_address" : "192.16.1.106",
"subnet_id" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16"
} ],
"device_id" : "a10d2640-9cb6-4a4a-a288-2017902982e0",
"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" : "ce7ce29f-fb6d-48d8-bb70-3345aba65f93",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 9,
"name" : "",
"admin_state_up" : true,
"network_id" : "98742723-f539-4239-8e81-e83352002c52",
"mac_address" : "fa:16:3e:f1:f2:62",
"fixed_ips" : [ {
"ip_address" : "192.168.150.2",
"subnet_id" : "51face8f-26b2-4e14-b460-81ff1f0546be"
} ],
"device_id" : "dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-98742723-f539-4239-8e81-e83352002c52",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-d31854a4",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "edc8ab58-36cd-41b0-8be0-f1acd79d8f0b",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "85655c30-65d8-499e-89f1-af41ef2a7c24",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"mac_address" : "fa:16:3e:14:57:aa",
"fixed_ips" : [ {
"ip_address" : "192.16.1.105",
"subnet_id" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16"
} ],
"device_id" : "2fe0ff00-1116-4131-9857-9e1739b0f5b1",
"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" : "a727f754-69e8-479a-93c1-713c4abaee7d",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"project_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"mac_address" : "fa:16:3e:79:bc:83",
"fixed_ips" : [ {
"ip_address" : "10.100.0.5",
"subnet_id" : "c483a0bd-74fa-46a6-9de2-651842a282c8"
} ],
"device_id" : "",
"device_owner" : "",
"security_groups" : [ {
"id" : "b778b4ba-c617-45ed-ae70-6d671989dad2"
} ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : true
}, {
"id" : "2dab69ba-64b5-416d-aeeb-d91b45848094",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"project_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"mac_address" : "fa:16:3e:fe:2b:6f",
"fixed_ips" : [ {
"ip_address" : "10.100.0.7",
"subnet_id" : "c483a0bd-74fa-46a6-9de2-651842a282c8"
} ],
"device_id" : "",
"device_owner" : "",
"security_groups" : [ {
"id" : "b778b4ba-c617-45ed-ae70-6d671989dad2"
} ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : true
}, {
"id" : "796ca553-0cc5-4092-b9e9-59d34a95c1dc",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "b4ede622-349d-42d1-816f-803da81512bd",
"mac_address" : "fa:16:3e:be:3f:0e",
"fixed_ips" : [ {
"ip_address" : "172.16.64.20",
"subnet_id" : "6c663196-0ad8-419e-b73f-603f1cc646ea"
} ],
"device_id" : "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-b4ede622-349d-42d1-816f-803da81512bd",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-50becef2",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f9829bc7-0a7c-408a-a2e2-a8dacf317bda",
"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'72ef0d6f-8f8f-4505-bcbd-660a0663d00c'}, u'binding:host_id': u'host3-neutron-agents-container-9a...
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'72ef0d6f-8f8f-4505-bcbd-660a0663d00c'}, u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', 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:0f:ae:08', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.2'}], u'id': u'6efa713f-37ec-48a9-a375-237284eb8a66', u'security_groups': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-7d966cbf-8382-4a61-9a9b-5b94a0db531b'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', 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:f1:58:e6', u'port_security_enabled': False, u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'fixed_ips': [{u'subnet_id': u'7e4f8483-6904-4a7e-9358-fb361e892ccc', u'ip_address': u'10.100.0.4'}], u'id': u'fd031cbc-caa3-4ac6-a9c5-0659759ffaf5', u'security_groups': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-82351365-d1b5-40b7-82f8-4c525a28192b'}, {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'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:c4:be:00', u'port_security_enabled': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.111'}], u'id': u'e474aecc-8845-4325-89a3-a0a23fc038b9', u'security_groups': [], u'device_id': u'd5b616a3-d3c6-4e49-a72a-46a78155a2cf'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'72ef0d6f-8f8f-4505-bcbd-660a0663d00c'}, u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'b4ede622-349d-42d1-816f-803da81512bd', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:0c:a5:5d', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'6c663196-0ad8-419e-b73f-603f1cc646ea', u'ip_address': u'172.16.64.21'}], u'id': u'135c297e-a813-444c-a525-00108c3be683', u'security_groups': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-b4ede622-349d-42d1-816f-803da81512bd'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f9829bc7-0a7c-408a-a2e2-a8dacf317bda'}, u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', 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:0c:56:fe', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.4'}], u'id': u'3b64d7a6-e22a-4e2d-9982-6707229bb8be', u'security_groups': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-7d966cbf-8382-4a61-9a9b-5b94a0db531b'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'binding_failed', u'device_owner': u'network:dhcp', u'revision_number': 5, u'mac_address': u'fa:16:3e:0a:19:01', u'port_security_enabled': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.102'}], u'id': u'5b37a0fe-bb11-4348-9555-4c199eab0142', u'security_groups': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-8bfb76e2-5eaf-494b-9809-941d4bb746e2'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'72ef0d6f-8f8f-4505-bcbd-660a0663d00c'}, u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:3f:d8:90', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'51face8f-26b2-4e14-b460-81ff1f0546be', u'ip_address': u'192.168.150.3'}], u'id': u'9cdf0d42-9530-4edc-8e2f-5fd468c001fd', u'security_groups': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-98742723-f539-4239-8e81-e83352002c52'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'host2-neutron-agents-container-d31854a4', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', 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:68:c6:a9', u'port_security_enabled': False, u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'fixed_ips': [{u'subnet_id': u'7e4f8483-6904-4a7e-9358-fb361e892ccc', u'ip_address': u'10.100.0.2'}], u'id': u'f59a4ad9-f325-47d7-b292-5232cfbbd4c8', u'security_groups': [], u'device_id': u'dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-82351365-d1b5-40b7-82f8-4c525a28192b'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', 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:39:7f:97', u'port_security_enabled': False, u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'fixed_ips': [{u'subnet_id': u'7e4f8483-6904-4a7e-9358-fb361e892ccc', u'ip_address': u'10.100.0.3'}], u'id': u'a885636b-167e-47d3-9bba-1561f2e8f565', u'security_groups': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-82351365-d1b5-40b7-82f8-4c525a28192b'}, {u'Map': {}, u'binding:host_id': u'host2-neutron-agents-container-d31854a4', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'binding_failed', u'device_owner': u'network:dhcp', u'revision_number': 5, u'mac_address': u'fa:16:3e:ac:15:cd', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.103'}], u'id': u'7b2188d8-c446-49de-af77-8a98070f6825', u'security_groups': [], u'device_id': u'dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-8bfb76e2-5eaf-494b-9809-941d4bb746e2'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'edc8ab58-36cd-41b0-8be0-f1acd79d8f0b'}, u'binding:host_id': u'host2-neutron-agents-container-d31854a4', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', 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:b6:75:00', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.3'}], u'id': u'53dd9e1b-5c92-4563-b605-a4624b6395ad', u'security_groups': [], u'device_id': u'dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-7d966cbf-8382-4a61-9a9b-5b94a0db531b'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f9829bc7-0a7c-408a-a2e2-a8dacf317bda'}, u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:6c:22:e1', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'51face8f-26b2-4e14-b460-81ff1f0546be', u'ip_address': u'192.168.150.4'}], u'id': u'857c25ad-e17d-489f-a3e9-53663d75baae', u'security_groups': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-98742723-f539-4239-8e81-e83352002c52'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'binding_failed', u'device_owner': u'network:dhcp', u'revision_number': 5, u'mac_address': u'fa:16:3e:ba:f3:0b', u'port_security_enabled': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.101'}], u'id': u'4a88d3c2-c9a2-480c-9cec-54056850bfc5', u'security_groups': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-8bfb76e2-5eaf-494b-9809-941d4bb746e2'}, {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'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:7e:30:98', u'port_security_enabled': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.106'}], u'id': u'e6cc4db1-d5d4-41d9-b3d3-dbd60d96104e', u'security_groups': [], u'device_id': u'a10d2640-9cb6-4a4a-a288-2017902982e0'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'edc8ab58-36cd-41b0-8be0-f1acd79d8f0b'}, u'binding:host_id': u'host2-neutron-agents-container-d31854a4', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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': 9, u'mac_address': u'fa:16:3e:f1:f2:62', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'51face8f-26b2-4e14-b460-81ff1f0546be', u'ip_address': u'192.168.150.2'}], u'id': u'ce7ce29f-fb6d-48d8-bb70-3345aba65f93', u'security_groups': [], u'device_id': u'dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-98742723-f539-4239-8e81-e83352002c52'}, {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'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:14:57:aa', u'port_security_enabled': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.105'}], u'id': u'85655c30-65d8-499e-89f1-af41ef2a7c24', u'security_groups': [], u'device_id': u'2fe0ff00-1116-4131-9857-9e1739b0f5b1'}, {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'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'', u'mac_address': u'fa:16:3e:79:bc:83', u'port_security_enabled': True, u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.5'}], u'id': u'a727f754-69e8-479a-93c1-713c4abaee7d', u'security_groups': [{u'id': u'b778b4ba-c617-45ed-ae70-6d671989dad2'}], u'device_id': u''}, {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'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'', u'mac_address': u'fa:16:3e:fe:2b:6f', u'port_security_enabled': True, u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.7'}], u'id': u'2dab69ba-64b5-416d-aeeb-d91b45848094', u'security_groups': [{u'id': u'b778b4ba-c617-45ed-ae70-6d671989dad2'}], u'device_id': u''}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f9829bc7-0a7c-408a-a2e2-a8dacf317bda'}, u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'b4ede622-349d-42d1-816f-803da81512bd', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:be:3f:0e', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'6c663196-0ad8-419e-b73f-603f1cc646ea', u'ip_address': u'172.16.64.20'}], u'id': u'796ca553-0cc5-4092-b9e9-59d34a95c1dc', u'security_groups': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-b4ede622-349d-42d1-816f-803da81512bd'}]}
Checking OpenDaylight Neutron API for known ports
Ports Neutron OpenDaylight
Logs the given message with the given level.
${data}
{"port":{"network_id":"b4ede622-349d-42d1-816f-803da81512bd","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/requests/packages/urllib3/connectionpool.py:852: 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": {"status": "DOWN", "binding:host_id": "", "description": "", "allowed_address_pairs": [], "tags": [], "extra_dhcp_opts": [], "updated_at": "2018-01-31T09:54:40Z", "device_owner": "", "revision_number": 5, "binding:profile": {}, "port_security_enabled": true, "fixed_ips": [{"subnet_id": "6c663196-0ad8-419e-b73f-603f1cc646ea", "ip_address": "172.16.64.24"}], "id": "a2569c58-f754-4925-8eab-11f9c93ad322", "security_groups": ["82db499f-a783-4489-a0f4-b3a7b520e3d7"], "device_id": "", "name": "", "admin_state_up": true, "network_id": "b4ede622-349d-42d1-816f-803da81512bd", "tenant_id": "d6a0b32d9a17497598fa497562891e5f", "binding:vif_details": {}, "binding:vnic_type": "normal", "binding:vif_type": "unbound", "mac_address": "fa:16:3e:a5:53:3a", "project_id": "d6a0b32d9a17497598fa497562891e5f", "created_at": "2018-01-31T09:54:39Z"}}
To JSON using : pretty_print=False
${result} = {u'port': {u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:54:40Z', u'device_owner': u'', u'revision_number': 5, 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-01-31T09:54:40Z', u'device_owner': u'', u'revision_number': 5, 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} = a2569c58-f754-4925-8eab-11f9c93ad322
Logs the given message with the given level.
${result}
{u'allowed_address_pairs': [], u'extra_dhcp_opts': [], u'updated_at': u'2018-01-31T09:54:40Z', u'device_owner': u'', u'revision_number': 5, u'binding:profile': {}, u'port_security_enabled': True, u'fixed_ips': [{u'subnet_id': u'6c663196-0ad8-419e-b73f-603f1cc646ea', u'ip_address': u'172.16.64.24'}], u'id': u'a2569c58-f754-4925-8eab-11f9c93ad322', u'security_groups': [u'82db499f-a783-4489-a0f4-b3a7b520e3d7'], u'binding:vif_details': {}, u'binding:vif_type': u'unbound', u'mac_address': u'fa:16:3e:a5:53:3a', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', 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'b4ede622-349d-42d1-816f-803da81512bd', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'created_at': u'2018-01-31T09:54:39Z', u'binding:vnic_type': u'normal'}
Logs the given message with the given level.
${PORTID}
a2569c58-f754-4925-8eab-11f9c93ad322
Makes a variable available globally in all tests and suites.
${PORTID}
${PORTID} = a2569c58-f754-4925-8eab-11f9c93ad322
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/a2569c58-f754-4925-8eab-11f9c93ad322, 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.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bVVc'}, 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.16.1.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7f240749fe90>, 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/a2569c58-f754-4925-8eab-11f9c93ad322, 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":"b4ede622-349d-42d1-816f-803da81512bd","admin_state_up": true}}
Send a DELETE request on the session object found using the
OSSession
${OSREST}
${resp}
/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:852: 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/a2569c58-f754-4925-8eab-11f9c93ad322, 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" : "796ca553-0cc5-4092-b9e9-59d34a95c1dc",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "b4ede622-349d-42d1-816f-803da81512bd",
"mac_address" : "fa:16:3e:be:3f:0e",
"fixed_ips" : [ {
"ip_address" : "172.16.64.20",
"subnet_id" : "6c663196-0ad8-419e-b73f-603f1cc646ea"
} ],
"device_id" : "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-b4ede622-349d-42d1-816f-803da81512bd",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-50becef2",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f9829bc7-0a7c-408a-a2e2-a8dacf317bda",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "2dab69ba-64b5-416d-aeeb-d91b45848094",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"project_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"mac_address" : "fa:16:3e:fe:2b:6f",
"fixed_ips" : [ {
"ip_address" : "10.100.0.7",
"subnet_id" : "c483a0bd-74fa-46a6-9de2-651842a282c8"
} ],
"device_id" : "",
"device_owner" : "",
"security_groups" : [ {
"id" : "b778b4ba-c617-45ed-ae70-6d671989dad2"
} ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : true
}, {
"id" : "f59a4ad9-f325-47d7-b292-5232cfbbd4c8",
"tenant_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"project_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "82351365-d1b5-40b7-82f8-4c525a28192b",
"mac_address" : "fa:16:3e:68:c6:a9",
"fixed_ips" : [ {
"ip_address" : "10.100.0.2",
"subnet_id" : "7e4f8483-6904-4a7e-9358-fb361e892ccc"
} ],
"device_id" : "dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-82351365-d1b5-40b7-82f8-4c525a28192b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-d31854a4",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "3b64d7a6-e22a-4e2d-9982-6707229bb8be",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"mac_address" : "fa:16:3e:0c:56:fe",
"fixed_ips" : [ {
"ip_address" : "10.100.0.4",
"subnet_id" : "c483a0bd-74fa-46a6-9de2-651842a282c8"
} ],
"device_id" : "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-50becef2",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f9829bc7-0a7c-408a-a2e2-a8dacf317bda",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "9cdf0d42-9530-4edc-8e2f-5fd468c001fd",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "98742723-f539-4239-8e81-e83352002c52",
"mac_address" : "fa:16:3e:3f:d8:90",
"fixed_ips" : [ {
"ip_address" : "192.168.150.3",
"subnet_id" : "51face8f-26b2-4e14-b460-81ff1f0546be"
} ],
"device_id" : "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-98742723-f539-4239-8e81-e83352002c52",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-9aee63ea",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "72ef0d6f-8f8f-4505-bcbd-660a0663d00c",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "a885636b-167e-47d3-9bba-1561f2e8f565",
"tenant_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"project_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "82351365-d1b5-40b7-82f8-4c525a28192b",
"mac_address" : "fa:16:3e:39:7f:97",
"fixed_ips" : [ {
"ip_address" : "10.100.0.3",
"subnet_id" : "7e4f8483-6904-4a7e-9358-fb361e892ccc"
} ],
"device_id" : "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-82351365-d1b5-40b7-82f8-4c525a28192b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-9aee63ea",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "e6cc4db1-d5d4-41d9-b3d3-dbd60d96104e",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"mac_address" : "fa:16:3e:7e:30:98",
"fixed_ips" : [ {
"ip_address" : "192.16.1.106",
"subnet_id" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16"
} ],
"device_id" : "a10d2640-9cb6-4a4a-a288-2017902982e0",
"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" : "4a88d3c2-c9a2-480c-9cec-54056850bfc5",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"mac_address" : "fa:16:3e:ba:f3:0b",
"fixed_ips" : [ {
"ip_address" : "192.16.1.101",
"subnet_id" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16"
} ],
"device_id" : "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-9aee63ea",
"binding:vnic_type" : "normal",
"binding:vif_type" : "binding_failed",
"Map" : {
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "fd031cbc-caa3-4ac6-a9c5-0659759ffaf5",
"tenant_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"project_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "82351365-d1b5-40b7-82f8-4c525a28192b",
"mac_address" : "fa:16:3e:f1:58:e6",
"fixed_ips" : [ {
"ip_address" : "10.100.0.4",
"subnet_id" : "7e4f8483-6904-4a7e-9358-fb361e892ccc"
} ],
"device_id" : "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-82351365-d1b5-40b7-82f8-4c525a28192b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-50becef2",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : false
}, {
"id" : "5b37a0fe-bb11-4348-9555-4c199eab0142",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"mac_address" : "fa:16:3e:0a:19:01",
"fixed_ips" : [ {
"ip_address" : "192.16.1.102",
"subnet_id" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16"
} ],
"device_id" : "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-50becef2",
"binding:vnic_type" : "normal",
"binding:vif_type" : "binding_failed",
"Map" : {
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "53dd9e1b-5c92-4563-b605-a4624b6395ad",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"mac_address" : "fa:16:3e:b6:75:00",
"fixed_ips" : [ {
"ip_address" : "10.100.0.3",
"subnet_id" : "c483a0bd-74fa-46a6-9de2-651842a282c8"
} ],
"device_id" : "dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-d31854a4",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "edc8ab58-36cd-41b0-8be0-f1acd79d8f0b",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "ce7ce29f-fb6d-48d8-bb70-3345aba65f93",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 9,
"name" : "",
"admin_state_up" : true,
"network_id" : "98742723-f539-4239-8e81-e83352002c52",
"mac_address" : "fa:16:3e:f1:f2:62",
"fixed_ips" : [ {
"ip_address" : "192.168.150.2",
"subnet_id" : "51face8f-26b2-4e14-b460-81ff1f0546be"
} ],
"device_id" : "dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-98742723-f539-4239-8e81-e83352002c52",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-d31854a4",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "edc8ab58-36cd-41b0-8be0-f1acd79d8f0b",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "7b2188d8-c446-49de-af77-8a98070f6825",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"mac_address" : "fa:16:3e:ac:15:cd",
"fixed_ips" : [ {
"ip_address" : "192.16.1.103",
"subnet_id" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16"
} ],
"device_id" : "dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-d31854a4",
"binding:vnic_type" : "normal",
"binding:vif_type" : "binding_failed",
"Map" : {
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "135c297e-a813-444c-a525-00108c3be683",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "b4ede622-349d-42d1-816f-803da81512bd",
"mac_address" : "fa:16:3e:0c:a5:5d",
"fixed_ips" : [ {
"ip_address" : "172.16.64.21",
"subnet_id" : "6c663196-0ad8-419e-b73f-603f1cc646ea"
} ],
"device_id" : "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-b4ede622-349d-42d1-816f-803da81512bd",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-9aee63ea",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "72ef0d6f-8f8f-4505-bcbd-660a0663d00c",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "e474aecc-8845-4325-89a3-a0a23fc038b9",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"mac_address" : "fa:16:3e:c4:be:00",
"fixed_ips" : [ {
"ip_address" : "192.16.1.111",
"subnet_id" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16"
} ],
"device_id" : "d5b616a3-d3c6-4e49-a72a-46a78155a2cf",
"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" : "6efa713f-37ec-48a9-a375-237284eb8a66",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"mac_address" : "fa:16:3e:0f:ae:08",
"fixed_ips" : [ {
"ip_address" : "10.100.0.2",
"subnet_id" : "c483a0bd-74fa-46a6-9de2-651842a282c8"
} ],
"device_id" : "dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host3-neutron-agents-container-9aee63ea",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "72ef0d6f-8f8f-4505-bcbd-660a0663d00c",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "5562506f-7f8d-4617-8a80-45192898e221",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "b4ede622-349d-42d1-816f-803da81512bd",
"mac_address" : "fa:16:3e:cf:bd:e8",
"fixed_ips" : [ {
"ip_address" : "172.16.64.22",
"subnet_id" : "6c663196-0ad8-419e-b73f-603f1cc646ea"
} ],
"device_id" : "dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-b4ede622-349d-42d1-816f-803da81512bd",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host2-neutron-agents-container-d31854a4",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "edc8ab58-36cd-41b0-8be0-f1acd79d8f0b",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "857c25ad-e17d-489f-a3e9-53663d75baae",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 5,
"name" : "",
"admin_state_up" : true,
"network_id" : "98742723-f539-4239-8e81-e83352002c52",
"mac_address" : "fa:16:3e:6c:22:e1",
"fixed_ips" : [ {
"ip_address" : "192.168.150.4",
"subnet_id" : "51face8f-26b2-4e14-b460-81ff1f0546be"
} ],
"device_id" : "dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-98742723-f539-4239-8e81-e83352002c52",
"device_owner" : "network:dhcp",
"security_groups" : [ ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "host1-neutron-agents-container-50becef2",
"binding:vnic_type" : "normal",
"binding:vif_type" : "ovs",
"Map" : {
"uuid" : "f9829bc7-0a7c-408a-a2e2-a8dacf317bda",
"support_vhost_user" : "false",
"has_datapath_type_netdev" : "false"
},
"extra_dhcp_opts" : [ ],
"port_security_enabled" : false
}, {
"id" : "85655c30-65d8-499e-89f1-af41ef2a7c24",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"mac_address" : "fa:16:3e:14:57:aa",
"fixed_ips" : [ {
"ip_address" : "192.16.1.105",
"subnet_id" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16"
} ],
"device_id" : "2fe0ff00-1116-4131-9857-9e1739b0f5b1",
"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" : "a727f754-69e8-479a-93c1-713c4abaee7d",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"project_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"name" : "",
"admin_state_up" : true,
"status" : "ACTIVE",
"network_id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"mac_address" : "fa:16:3e:79:bc:83",
"fixed_ips" : [ {
"ip_address" : "10.100.0.5",
"subnet_id" : "c483a0bd-74fa-46a6-9de2-651842a282c8"
} ],
"device_id" : "",
"device_owner" : "",
"security_groups" : [ {
"id" : "b778b4ba-c617-45ed-ae70-6d671989dad2"
} ],
"allowed_address_pairs" : [ ],
"binding:host_id" : "",
"binding:vnic_type" : "normal",
"binding:vif_type" : "unbound",
"Map" : {
},
"port_security_enabled" : true
} ]
}
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'f9829bc7-0a7c-408a-a2e2-a8dacf317bda'}, u'binding:host_id': u'host1-neutron-agents-container-50...
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'f9829bc7-0a7c-408a-a2e2-a8dacf317bda'}, u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'b4ede622-349d-42d1-816f-803da81512bd', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:be:3f:0e', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'6c663196-0ad8-419e-b73f-603f1cc646ea', u'ip_address': u'172.16.64.20'}], u'id': u'796ca553-0cc5-4092-b9e9-59d34a95c1dc', u'security_groups': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-b4ede622-349d-42d1-816f-803da81512bd'}, {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'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'', u'mac_address': u'fa:16:3e:fe:2b:6f', u'port_security_enabled': True, u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.7'}], u'id': u'2dab69ba-64b5-416d-aeeb-d91b45848094', u'security_groups': [{u'id': u'b778b4ba-c617-45ed-ae70-6d671989dad2'}], u'device_id': u''}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'host2-neutron-agents-container-d31854a4', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', 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:68:c6:a9', u'port_security_enabled': False, u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'fixed_ips': [{u'subnet_id': u'7e4f8483-6904-4a7e-9358-fb361e892ccc', u'ip_address': u'10.100.0.2'}], u'id': u'f59a4ad9-f325-47d7-b292-5232cfbbd4c8', u'security_groups': [], u'device_id': u'dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-82351365-d1b5-40b7-82f8-4c525a28192b'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f9829bc7-0a7c-408a-a2e2-a8dacf317bda'}, u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', 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:0c:56:fe', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.4'}], u'id': u'3b64d7a6-e22a-4e2d-9982-6707229bb8be', u'security_groups': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-7d966cbf-8382-4a61-9a9b-5b94a0db531b'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'72ef0d6f-8f8f-4505-bcbd-660a0663d00c'}, u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:3f:d8:90', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'51face8f-26b2-4e14-b460-81ff1f0546be', u'ip_address': u'192.168.150.3'}], u'id': u'9cdf0d42-9530-4edc-8e2f-5fd468c001fd', u'security_groups': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-98742723-f539-4239-8e81-e83352002c52'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', 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:39:7f:97', u'port_security_enabled': False, u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'fixed_ips': [{u'subnet_id': u'7e4f8483-6904-4a7e-9358-fb361e892ccc', u'ip_address': u'10.100.0.3'}], u'id': u'a885636b-167e-47d3-9bba-1561f2e8f565', u'security_groups': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-82351365-d1b5-40b7-82f8-4c525a28192b'}, {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'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:7e:30:98', u'port_security_enabled': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.106'}], u'id': u'e6cc4db1-d5d4-41d9-b3d3-dbd60d96104e', u'security_groups': [], u'device_id': u'a10d2640-9cb6-4a4a-a288-2017902982e0'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'binding_failed', u'device_owner': u'network:dhcp', u'revision_number': 5, u'mac_address': u'fa:16:3e:ba:f3:0b', u'port_security_enabled': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.101'}], u'id': u'4a88d3c2-c9a2-480c-9cec-54056850bfc5', u'security_groups': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-8bfb76e2-5eaf-494b-9809-941d4bb746e2'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', 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:f1:58:e6', u'port_security_enabled': False, u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'fixed_ips': [{u'subnet_id': u'7e4f8483-6904-4a7e-9358-fb361e892ccc', u'ip_address': u'10.100.0.4'}], u'id': u'fd031cbc-caa3-4ac6-a9c5-0659759ffaf5', u'security_groups': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-82351365-d1b5-40b7-82f8-4c525a28192b'}, {u'status': u'ACTIVE', u'Map': {}, u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'binding_failed', u'device_owner': u'network:dhcp', u'revision_number': 5, u'mac_address': u'fa:16:3e:0a:19:01', u'port_security_enabled': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.102'}], u'id': u'5b37a0fe-bb11-4348-9555-4c199eab0142', u'security_groups': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-8bfb76e2-5eaf-494b-9809-941d4bb746e2'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'edc8ab58-36cd-41b0-8be0-f1acd79d8f0b'}, u'binding:host_id': u'host2-neutron-agents-container-d31854a4', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', 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:b6:75:00', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.3'}], u'id': u'53dd9e1b-5c92-4563-b605-a4624b6395ad', u'security_groups': [], u'device_id': u'dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-7d966cbf-8382-4a61-9a9b-5b94a0db531b'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'edc8ab58-36cd-41b0-8be0-f1acd79d8f0b'}, u'binding:host_id': u'host2-neutron-agents-container-d31854a4', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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': 9, u'mac_address': u'fa:16:3e:f1:f2:62', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'51face8f-26b2-4e14-b460-81ff1f0546be', u'ip_address': u'192.168.150.2'}], u'id': u'ce7ce29f-fb6d-48d8-bb70-3345aba65f93', u'security_groups': [], u'device_id': u'dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-98742723-f539-4239-8e81-e83352002c52'}, {u'Map': {}, u'binding:host_id': u'host2-neutron-agents-container-d31854a4', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'extra_dhcp_opts': [], u'binding:vnic_type': u'normal', u'binding:vif_type': u'binding_failed', u'device_owner': u'network:dhcp', u'revision_number': 5, u'mac_address': u'fa:16:3e:ac:15:cd', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.103'}], u'id': u'7b2188d8-c446-49de-af77-8a98070f6825', u'security_groups': [], u'device_id': u'dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-8bfb76e2-5eaf-494b-9809-941d4bb746e2'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'72ef0d6f-8f8f-4505-bcbd-660a0663d00c'}, u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'b4ede622-349d-42d1-816f-803da81512bd', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:0c:a5:5d', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'6c663196-0ad8-419e-b73f-603f1cc646ea', u'ip_address': u'172.16.64.21'}], u'id': u'135c297e-a813-444c-a525-00108c3be683', u'security_groups': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-b4ede622-349d-42d1-816f-803da81512bd'}, {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'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:c4:be:00', u'port_security_enabled': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.111'}], u'id': u'e474aecc-8845-4325-89a3-a0a23fc038b9', u'security_groups': [], u'device_id': u'd5b616a3-d3c6-4e49-a72a-46a78155a2cf'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'72ef0d6f-8f8f-4505-bcbd-660a0663d00c'}, u'binding:host_id': u'host3-neutron-agents-container-9aee63ea', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', 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:0f:ae:08', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.2'}], u'id': u'6efa713f-37ec-48a9-a375-237284eb8a66', u'security_groups': [], u'device_id': u'dhcp108652aa-48f9-5d6a-b893-4cb4e575f73d-7d966cbf-8382-4a61-9a9b-5b94a0db531b'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'edc8ab58-36cd-41b0-8be0-f1acd79d8f0b'}, u'binding:host_id': u'host2-neutron-agents-container-d31854a4', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'b4ede622-349d-42d1-816f-803da81512bd', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:cf:bd:e8', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'6c663196-0ad8-419e-b73f-603f1cc646ea', u'ip_address': u'172.16.64.22'}], u'id': u'5562506f-7f8d-4617-8a80-45192898e221', u'security_groups': [], u'device_id': u'dhcpabff3d1e-8c03-5540-9a1a-24c27a1af3f4-b4ede622-349d-42d1-816f-803da81512bd'}, {u'Map': {u'support_vhost_user': u'false', u'has_datapath_type_netdev': u'false', u'uuid': u'f9829bc7-0a7c-408a-a2e2-a8dacf317bda'}, u'binding:host_id': u'host1-neutron-agents-container-50becef2', u'name': u'', u'allowed_address_pairs': [], u'admin_state_up': True, u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:6c:22:e1', u'port_security_enabled': False, u'fixed_ips': [{u'subnet_id': u'51face8f-26b2-4e14-b460-81ff1f0546be', u'ip_address': u'192.168.150.4'}], u'id': u'857c25ad-e17d-489f-a3e9-53663d75baae', u'security_groups': [], u'device_id': u'dhcpabc59810-c522-54a2-a1fa-c5fb3a037f1a-98742723-f539-4239-8e81-e83352002c52'}, {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'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', 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:14:57:aa', u'port_security_enabled': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'fixed_ips': [{u'subnet_id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16', u'ip_address': u'192.16.1.105'}], u'id': u'85655c30-65d8-499e-89f1-af41ef2a7c24', u'security_groups': [], u'device_id': u'2fe0ff00-1116-4131-9857-9e1739b0f5b1'}, {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'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'binding:vnic_type': u'normal', u'binding:vif_type': u'unbound', u'device_owner': u'', u'mac_address': u'fa:16:3e:79:bc:83', u'port_security_enabled': True, u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'fixed_ips': [{u'subnet_id': u'c483a0bd-74fa-46a6-9de2-651842a282c8', u'ip_address': u'10.100.0.5'}], u'id': u'a727f754-69e8-479a-93c1-713c4abaee7d', u'security_groups': [{u'id': u'b778b4ba-c617-45ed-ae70-6d671989dad2'}], u'device_id': u''}]}
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/a2569c58-f754-4925-8eab-11f9c93ad322, 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.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bVVc'}, 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.16.1.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7f240744fe90>, 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/6c663196-0ad8-419e-b73f-603f1cc646ea, 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":"b4ede622-349d-42d1-816f-803da81512bd","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/requests/packages/urllib3/connectionpool.py:852: 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/6c663196-0ad8-419e-b73f-603f1cc646ea, 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" : "7e4f8483-6904-4a7e-9358-fb361e892ccc",
"tenant_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"project_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"revision_number" : 2,
"name" : "tempest-TestVolumeBootPatternV2-2073375004-subnet",
"network_id" : "82351365-d1b5-40b7-82f8-4c525a28192b",
"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" : "51face8f-26b2-4e14-b460-81ff1f0546be",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 2,
"name" : "tempest-subnet-181e7a74-a6c2-4aad-a364-937698242fb6",
"network_id" : "98742723-f539-4239-8e81-e83352002c52",
"ip_version" : 4,
"cidr" : "192.168.150.0/24",
"gateway_ip" : "192.168.150.1",
"dns_nameservers" : [ "8.8.8.8" ],
"allocation_pools" : [ {
"start" : "192.168.150.2",
"end" : "192.168.150.254"
} ],
"host_routes" : [ ],
"enable_dhcp" : true,
"ipv6_address_mode" : null,
"ipv6_ra_mode" : null
}, {
"id" : "ba587fd4-6dd1-4d4f-9ce3-069a734d7e16",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 2,
"name" : "ext-subnet",
"network_id" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"ip_version" : 4,
"cidr" : "192.16.1.0/24",
"gateway_ip" : "192.16.1.1",
"dns_nameservers" : [ ],
"allocation_pools" : [ {
"start" : "192.16.1.101",
"end" : "192.16.1.199"
} ],
"host_routes" : [ ],
"enable_dhcp" : true,
"ipv6_address_mode" : null,
"ipv6_ra_mode" : null
}, {
"id" : "c483a0bd-74fa-46a6-9de2-651842a282c8",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"project_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"revision_number" : 2,
"name" : "tempest-TestVolumeBootPattern-172616078-subnet",
"network_id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"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-TestVolumeBootPatternV2-2073375004-subnet', u'enable_dhcp': True, u'network_id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb...
Logs the given message with the given level.
${ODLResult}
{u'subnets': [{u'name': u'tempest-TestVolumeBootPatternV2-2073375004-subnet', u'enable_dhcp': True, u'network_id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', 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': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'10.100.0.0/28', u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'id': u'7e4f8483-6904-4a7e-9358-fb361e892ccc'}, {u'name': u'tempest-subnet-181e7a74-a6c2-4aad-a364-937698242fb6', u'enable_dhcp': True, u'network_id': u'98742723-f539-4239-8e81-e83352002c52', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'dns_nameservers': [u'8.8.8.8'], u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'192.168.150.2', u'end': u'192.168.150.254'}], u'gateway_ip': u'192.168.150.1', u'revision_number': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'192.168.150.0/24', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'id': u'51face8f-26b2-4e14-b460-81ff1f0546be'}, {u'name': u'ext-subnet', u'enable_dhcp': True, u'network_id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2', u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'dns_nameservers': [], u'ipv6_ra_mode': None, u'allocation_pools': [{u'start': u'192.16.1.101', u'end': u'192.16.1.199'}], u'gateway_ip': u'192.16.1.1', u'revision_number': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'192.16.1.0/24', u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'id': u'ba587fd4-6dd1-4d4f-9ce3-069a734d7e16'}, {u'name': u'tempest-TestVolumeBootPattern-172616078-subnet', u'enable_dhcp': True, u'network_id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', 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': 2, u'ipv6_address_mode': None, u'ip_version': 4, u'host_routes': [], u'cidr': u'10.100.0.0/28', u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'id': u'c483a0bd-74fa-46a6-9de2-651842a282c8'}]}
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/6c663196-0ad8-419e-b73f-603f1cc646ea, 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.16.1.222:9696, headers={u'X-Auth-Token': 'gAAAAABacZJZNYK1dMTsvjBQ9-vwtJhRRIDMM2cj5pkzdnvCe9Xslc3hMEGjhaftFkBOUqwZzRZ7qWhtsiPQB_XrKFkoUdpBMoUEd8Z7XX_6C-O8-zCbiDrbNchkRZ6dVMfvYtRu6cNLybdAP2s41-KEuFJdOeOQiKD6vxgAaStj2-th3q2bVVc'}, 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.16.1.222:8080, headers={u'Content-Type': u'application/json'}, cookies=None, auth=<requests.auth.HTTPBasicAuth object at 0x7f240747e150>, 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/b4ede622-349d-42d1-816f-803da81512bd, 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/requests/packages/urllib3/connectionpool.py:852: 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/b4ede622-349d-42d1-816f-803da81512bd, 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" : "8bfb76e2-5eaf-494b-9809-941d4bb746e2",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"revision_number" : 6,
"name" : "ext-net",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : true,
"provider:network_type" : "flat",
"provider:physical_network" : "physnet",
"segments" : [ ]
}, {
"id" : "7d966cbf-8382-4a61-9a9b-5b94a0db531b",
"tenant_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"project_id" : "192ab6a0a8124b9ab5d6089c9687db6c",
"name" : "tempest-TestVolumeBootPattern-172616078-network",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "vxlan",
"provider:segmentation_id" : "60",
"segments" : [ ]
}, {
"id" : "98742723-f539-4239-8e81-e83352002c52",
"tenant_id" : "d6a0b32d9a17497598fa497562891e5f",
"project_id" : "d6a0b32d9a17497598fa497562891e5f",
"name" : "tempest-net-181e7a74-a6c2-4aad-a364-937698242fb6",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "vxlan",
"provider:segmentation_id" : "88",
"segments" : [ ]
}, {
"id" : "82351365-d1b5-40b7-82f8-4c525a28192b",
"tenant_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"project_id" : "5cd3160e8d9243748d346cc1b6bb00ca",
"name" : "tempest-TestVolumeBootPatternV2-2073375004-network",
"admin_state_up" : true,
"status" : "ACTIVE",
"shared" : false,
"router:external" : false,
"provider:network_type" : "vxlan",
"provider:segmentation_id" : "50",
"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'd6a0b32d9a17497598fa497562891e5f...
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'd6a0b32d9a17497598fa497562891e5f', u'segments': [], u'provider:network_type': u'flat', u'revision_number': 6, u'shared': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'id': u'8bfb76e2-5eaf-494b-9809-941d4bb746e2'}, {u'status': u'ACTIVE', u'router:external': False, u'name': u'tempest-TestVolumeBootPattern-172616078-network', u'admin_state_up': True, u'tenant_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'segments': [], u'provider:network_type': u'vxlan', u'shared': False, u'project_id': u'192ab6a0a8124b9ab5d6089c9687db6c', u'id': u'7d966cbf-8382-4a61-9a9b-5b94a0db531b', u'provider:segmentation_id': u'60'}, {u'status': u'ACTIVE', u'router:external': False, u'name': u'tempest-net-181e7a74-a6c2-4aad-a364-937698242fb6', u'admin_state_up': True, u'tenant_id': u'd6a0b32d9a17497598fa497562891e5f', u'segments': [], u'provider:network_type': u'vxlan', u'shared': False, u'project_id': u'd6a0b32d9a17497598fa497562891e5f', u'id': u'98742723-f539-4239-8e81-e83352002c52', u'provider:segmentation_id': u'88'}, {u'status': u'ACTIVE', u'router:external': False, u'name': u'tempest-TestVolumeBootPatternV2-2073375004-network', u'admin_state_up': True, u'tenant_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'segments': [], u'provider:network_type': u'vxlan', u'shared': False, u'project_id': u'5cd3160e8d9243748d346cc1b6bb00ca', u'id': u'82351365-d1b5-40b7-82f8-4c525a28192b', u'provider:segmentation_id': u'50'}, {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'}]}
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/b4ede622-349d-42d1-816f-803da81512bd, 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/requests/packages/urllib3/connectionpool.py:852: 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/requests/packages/urllib3/connectionpool.py:852: 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/requests/packages/urllib3/connectionpool.py:852: 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/requests/packages/urllib3/connectionpool.py:852: 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/requests/packages/urllib3/connectionpool.py:852: 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/requests/packages/urllib3/connectionpool.py:852: 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/requests/packages/urllib3/connectionpool.py:852: 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/requests/packages/urllib3/connectionpool.py:852: 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/requests/packages/urllib3/connectionpool.py:852: 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/requests/packages/urllib3/connectionpool.py:852: 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)