Hi,

I have been trying to understand the implementation of zookeeper in
contrail and got following points.

Create resource (eg:create IPAM) API call creates znode in zookeeper and
put ID of the resource in it.

It uses following method to do it.
VncZkClient().create_fq_name_to_uuid_mapping(self, obj_type, fq_name, id)

https://github.com/Juniper/contrail-controller/blob/fc1a8161ff6177f3faf4d83e678eddaf14d337c7/src/config/api-server/vnc_cfg_ifmap.py#L1129

== Data from zookeeper ==
#get
/fq-name-to-uuid/network_ipam:default-domain:admin:ipam666

c7648488-c1a7-440d-a28e-bbf0126b418c



*Who uses the data stored in the zookeeper?. Could you please point me to
the code ?*


Regards
Saju Madhavan
+91 09535134654
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to