Jump to: navigation, search

Cinder:API

Revision as of 16:34, 23 July 2014 by Phmarek (talk | contribs) (Created page with "== Wishlist: Cinder Driver API documentation == While it's easy to see the input arguments, the expected output hashes are much harder to derive. Please provide some inform...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Wishlist: Cinder Driver API documentation

While it's easy to see the input arguments, the expected output hashes are much harder to derive.

Please provide some information here.

Please note that this is for *both* a simple "OK"/"Error" case, and for the "rich" return dicts, too.

Basic Cinder API

  • Driver API method return values?
  • Eg: get_volume_stats: returns a dict
   {
      vendor_name: "..",
      driver_version: "0.1.0",
      storage_protocol: "..",    # optional
      free_capacity_gb: 15,  # or ":unknown", ":infinite"
      ....
   }

Replication API

See https://review.openstack.org/#/c/106718/2

  • Driver API method return values?

Consistency Groups

See https://review.openstack.org/#/c/96665/

  • API return values?
  • What additional values have to be returned from the snapshot functions?