~ubuntu-branches/ubuntu/trusty/ceph/trusty-updates

« back to all changes in this revision

Viewing changes to src/rgw/rgw_json_enc.cc

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-04-09 11:14:03 UTC
  • mfrom: (1.1.33)
  • Revision ID: package-import@ubuntu.com-20140409111403-jlql95pa8kg1nk9a
Tags: 0.79-0ubuntu1
* New upstream release (LP: #1278466):
  - d/p/modules.patch: Refreshed.
  - d/ceph.install: Install all jerasure modules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
487
487
{
488
488
  encode_json("name", name, f);
489
489
  encode_json("pool", data_pool, f);
 
490
  encode_json("data_extra_pool", data_extra_pool, f);
490
491
  encode_json("index_pool", index_pool, f);
491
492
  encode_json("marker", marker, f);
492
493
  encode_json("bucket_id", bucket_id, f);
495
496
void rgw_bucket::decode_json(JSONObj *obj) {
496
497
  JSONDecoder::decode_json("name", name, obj);
497
498
  JSONDecoder::decode_json("pool", data_pool, obj);
 
499
  JSONDecoder::decode_json("data_extra_pool", data_extra_pool, obj);
498
500
  JSONDecoder::decode_json("index_pool", index_pool, obj);
499
501
  JSONDecoder::decode_json("marker", marker, obj);
500
502
  JSONDecoder::decode_json("bucket_id", bucket_id, obj);
614
616
{
615
617
  encode_json("index_pool", index_pool, f);
616
618
  encode_json("data_pool", data_pool, f);
 
619
  encode_json("data_extra_pool", data_extra_pool, f);
617
620
}
618
621
 
619
622
void RGWZonePlacementInfo::decode_json(JSONObj *obj)
620
623
{
621
624
  JSONDecoder::decode_json("index_pool", index_pool, obj);
622
625
  JSONDecoder::decode_json("data_pool", data_pool, obj);
 
626
  JSONDecoder::decode_json("data_extra_pool", data_extra_pool, obj);
623
627
}
624
628
 
625
629
void RGWZoneParams::decode_json(JSONObj *obj)