fixed_ips field has two extra attributes port_id and net_id

Bug #1361520 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Low
Sachin Bansal
R1.1
Fix Committed
Low
Sachin Bansal

Bug Description

Build 1.10 24

the fixed_ips field in stock openstack only has subnet_id and IP address.
But we also show two other attributes port_id and net_id :

Ex:

root@nodec22:~/github/mine4/contrail-test# neutron router-port-list d53d4b6d-1d85-48c8-b0c1-ef98b347f575
+--------------------------------------+--------------------------------------+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id | name | mac_address | fixed_ips |
+--------------------------------------+--------------------------------------+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 0ee3b44c-bfdc-41fe-95a4-55412e5a2837 | 0ee3b44c-bfdc-41fe-95a4-55412e5a2837 | 02:0e:e3:b4:4c:bf | {"subnet_id": "6a64a814-97c2-41c6-b230-eec0ad5b7533", "ip_address": "64.6.66.3", "port_id": "0ee3b44c-bfdc-41fe-95a4-55412e5a2837", "net_id": "805ae971-a469-46f5-8cd4-37b558aacd2a"} |
| f161ba1f-9d63-46a2-96d4-be0165c60b9c | f161ba1f-9d63-46a2-96d4-be0165c60b9c | 02:f1:61:ba:1f:9d | {"subnet_id": "c8ad8337-3af1-41b4-9c5f-598625744e95", "ip_address": "31.148.58.3", "port_id": "f161ba1f-9d63-46a2-96d4-be0165c60b9c", "net_id": "3eae8d26-5d5a-4705-96d4-776993c44797"} |
+--------------------------------------+--------------------------------------+-------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
root@nodec22:~/github/mine4/contrail-test#

Sachin Bansal (sbansal)
Changed in juniperopenstack:
status: New → In Progress
Revision history for this message
Sachin Bansal (sbansal) wrote :
Changed in juniperopenstack:
status: In Progress → Fix Committed
Revision history for this message
Vedamurthy Joshi (vedujoshi) wrote :

Pls port this to R1.10 branch

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

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

commit d7a8d128154b77faf984eca20b02451647758130
Author: Sachin Bansal <email address hidden>
Date: Tue Aug 26 15:52:20 2014 -0700

Remove unnecessary fields from response

Change-Id: I6b0b9cb4324d7c231fdc733e9272fd1b960a183c
Closes-Bug: 1361520
(cherry picked from commit 240b73bb4e3ed355a16963116b2488a03eb93da3)

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.