config-neutron: 'external_gateway_info' in router should be a dictionary

Bug #1386471 reported by Hampapur Ajay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Undecided
Hampapur Ajay
R1.1
Fix Committed
Undecided
Unassigned
R2.0
Fix Committed
Undecided
Unassigned

Bug Description

Tempest test
tempest.api.network.test_routers.RoutersTest.test_create_show_list_update_delete_router
fails because 'external_gateway_info' is directly the VN uuid instead of dictionary

{u'router': {u'status': u'ACTIVE', u'external_gateway_info': u'98ab1ff2-f092-4d74-a73d-21fc2c4a42da', u'name': u'router--800443694', u'admin_state_up': False, u'tenant_id': u'6aa4f438347842c8b79317f2e475dde3', u'id': u'a4bb2771-eebb-497e-b6a6-b2e35e6a38d5', u'contrail:fq_name': [u'default-domain', u'demo', u'router--800443694']}}

as required by http://developer.openstack.org/api-ref-networking-v2.html

{
    "router": {
        "status": "ACTIVE",
        "external_gateway_info": {
            "network_id": "85d76829-6415-48ff-9c63-5c5ca8c61ac6"
        },
        "name": "router1",
        "admin_state_up": true,
        "tenant_id": "d6554fe62e2f41efbb6e026fad5c1542",
        "id": "a07eea83-7710-4860-931b-5fe220fae533"
    }
}

Tags: releasenote
Hampapur Ajay (hajay)
Changed in juniperopenstack:
assignee: nobody → Hampapur Ajay (hajay)
Hampapur Ajay (hajay)
tags: added: releasenote
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/4144
Committed: http://github.org/Juniper/contrail-controller/commit/d1d062a0087270674b6557c1f8ea419d89bafdf1
Submitter: Zuul
Branch: master

commit d1d062a0087270674b6557c1f8ea419d89bafdf1
Author: Hampapur Ajay <email address hidden>
Date: Mon Oct 27 17:59:34 2014 -0700

Return dict for external_gateway_info in router as spec'd by API.

When unset, return None for external_gw_info as expected by
tempest.api.network.test_routers.RoutersTest.test_update_router_unset_gateway

Change-Id: I89834bffec0a64ff62607dceed654b8596623b83
Closes-Bug: #1386471

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/4531
Committed: http://github.org/Juniper/contrail-controller/commit/e122d53001605ee5796418cff65c8640634a2191
Submitter: Zuul
Branch: R1.10

commit e122d53001605ee5796418cff65c8640634a2191
Author: Hampapur Ajay <email address hidden>
Date: Mon Oct 27 17:59:34 2014 -0700

Return dict for external_gateway_info in router as spec'd by API.

When unset, return None for external_gw_info as expected by
tempest.api.network.test_routers.RoutersTest.test_update_router_unset_gateway

Change-Id: I89834bffec0a64ff62607dceed654b8596623b83
Closes-Bug: #1386471
(cherry picked from commit d1d062a0087270674b6557c1f8ea419d89bafdf1)

Hampapur Ajay (hajay)
Changed in juniperopenstack:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.