Comment 11 for bug 1725475

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

Reviewed: https://review.opencontrail.org/36766
Committed: http://github.com/Juniper/contrail-controller/commit/02c6a3bae763c5d10576cd01d2a68084f7989795
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 02c6a3bae763c5d10576cd01d2a68084f7989795
Author: Suresh Venkata <email address hidden>
Date: Fri Oct 20 13:36:41 2017 -0700

dump objs in the api-server

Description: Dump objects in the api-server for debugging.
Command to dump individual objects:
curl -X POST -u admin:c0ntrail123 http://localhost:8095/obj-cache -d '{"uuid":"<uuid of object>"}' | python -m json.tool

Command to dump all objects:
Dumps upto 10 objects
curl -X POST -u admin:c0ntrail123 http://localhost:8095/obj-cache

Command to dump count number of objects:
Dumps upto 100 objects
curl -X POST -u admin:c0ntrail123 http://localhost:8095/obj-cache -d '{"count":100}' | python -m json.tool

logical router list call has vmi as back refs as fields
argument instead of refs. Corrected the same.

Change-Id: I69612f0ed81eb81b0c57a02486e61dd9708405d7
Closes-Bug: #1725475
Closes-Bug: #1725466
(cherry picked from commit 1efacda7ec2b04c5ebcee2570b02f0d634721971)