Comment 8 for bug 1709822

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

Reviewed: https://review.opencontrail.org/34443
Committed: http://github.com/Juniper/contrail-controller/commit/e48307a1df1db2a5c21c0d5c361255219dc82105
Submitter: Zuul (<email address hidden>)
Branch: master

commit e48307a1df1db2a5c21c0d5c361255219dc82105
Author: Sachin Bansal <email address hidden>
Date: Thu Aug 10 07:21:24 2017 -0700

portbinding values must be strings, not dict

We store portbinding value as string (either plain or json encoded).
If this is stored as dict, the client will not be able to parse it correctly.
We made this change earlier, but one of the bindings that is created internally
is still being set as string. With this code, it will be converted to json
string before writing to database.

Change-Id: I0aa0040bb76c8f4eecb7530c0a744a5bc31b5daf
Closes-Bug: 1709822