config: Add support for update by key for ListProperty

Bug #1530916 reported by Hampapur Ajay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Undecided
Hampapur Ajay

Bug Description

https://bugs.launchpad.net/bugs/1526048 added support for atomic update of property lists.

It would be desirable to have an API to get and update an element of this list without reading all of the list values.
Another way to use the existing API is to treat the ListProperty element as a dictionary. Add tests to document the possiblility.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/16079
Submitter: Hampapur Ajay (<email address hidden>)

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

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

commit ffcd9c44acfcdbb9414a658a416855b728aeae85
Author: Hampapur Ajay <email address hidden>
Date: Mon Jan 4 14:11:29 2016 -0800

Support fetch from specific position for ListProperty type.
Add test to use the ListProperty based property as a dictionary.

Change-Id: Id66aa7411384217f2871692ec4e4452f2660f2ee
Closes-Bug: #1530916

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.