Hey everyone,
Recently, we came across a ticket which mentions about xml format not working properly for some of ceph commands.
After looking into the code, I found that we are not following any standard to use the formats for the ceph commands across manager modules, and especially xml format is highly ignored. Though xml and xml-pretty is being accepted by 'src/ceph.in' , the ceph's command management tool.
Apart from this, each and every module have their own way of using the formats, some have hardcoded for json, plain etc. and rest in other way.
I too encountered a file named `object_format.py` which resides in `src/pybind/mgr/` but this also had been used by a few modules (mgr/nfs).
Thoughts?
_______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx