Commit 82cc4b8f authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Rename /image meta list to /image info

parent 4a25486d
......@@ -255,11 +255,11 @@ Let's rename the image:
[kamaki]: image meta set 7h1rd-1m4g3-1d --name='Changed Name'
[kamaki]:
If we, now, list the image metadata, we will see that the name is changed:
If we, now, get the image metadata, we will see that the name is changed:
.. code-block:: console
[kamaki]: image meta list 7h1rd-1m4g3-1d
[kamaki]: image info 7h1rd-1m4g3-1d
checksum: 3cb03556ec971f...e8dd6190443b560cb7
container-format: bare
created-at: 2013-06-19 08:00:22
......@@ -306,7 +306,7 @@ These operations can be used for properties with the same semantics:
.. code-block:: console
[kamaki]: image meta set 7h1rd-1m4g3-1d -p user=user
[kamaki]: image meta list 7h1rd-1m4g3-1d
[kamaki]: image info 7h1rd-1m4g3-1d
...
properties:
OS: Linux
......@@ -320,7 +320,7 @@ Just to test the feature, let's create a property "greet" with value
.. code-block:: console
[kamaki]: image meta set 7h1rd-1m4g3-1d -p greet='Hi there' -p user=root
[kamaki]: image meta list 7h1rd-1m4g3-1d
[kamaki]: image info 7h1rd-1m4g3-1d
...
properties:
OS: Linux
......@@ -328,7 +328,7 @@ Just to test the feature, let's create a property "greet" with value
GREET: Hi there
...
[kamaki]: image meta delete 7h1rd-1m4g3-1d -p greet
[kamaki]: image meta list 7h1rd-1m4g3-1d
[kamaki]: image info 7h1rd-1m4g3-1d
...
properties:
OS: Linux
......
......@@ -69,8 +69,8 @@ image (Plankton commands + Compute Image subcommands)
.. code-block:: text
list : List images accessible by user
info : Get image metadata
meta : Manage image metadata
list : Get image metadata
set : Add / update metadata and properties for an image
delete : Remove/empty image metadata and/or custom properties
register : (Re)Register an image
......
......@@ -153,8 +153,8 @@ image commands
**************
* list List images accessible by user
* info Get image metadata
* meta Manage image metadata
* list Get image metadata
* set Add / update metadata and properties for an image
* delete Remove/empty image metadata and/or custom properties
* register (Re)Register an image
......
......@@ -492,7 +492,7 @@ Here is a list of settings needed:
.. code-block:: console
$ kamaki image meta list <img id> -j > img.details
$ kamaki image info <img id> -j > img.details
* livetest.image_id = <A valid image id used for testing>
* livetest.image_local_path = <The local path of the testing image>
......
......@@ -283,7 +283,7 @@ class image_meta(_init_image):
@command(image_cmds)
class image_meta_list(_init_image, _optional_json):
class image_info(_init_image, _optional_json):
"""Get image metadata
Image metadata include:
- image file information (location, size, etc.)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment