Update documentation for glance-manage
Currently the documentation of glance-manage is missing the commands to handle the glance metadata defnition. This patch provides details on following commands: db_load_metadefs db_unload_metadefs db_export_metadefs Closes-Bug: #1414725 Change-Id: I90865831d38478f76e7379ca447ed99c17387710
This commit is contained in:
parent
232a8786dd
commit
d0de5af957
@ -55,12 +55,26 @@ COMMANDS
|
|||||||
specified VERSION.
|
specified VERSION.
|
||||||
|
|
||||||
**db_version_control**
|
**db_version_control**
|
||||||
Place the database untder migration control.
|
Place the database under migration control.
|
||||||
|
|
||||||
**db_sync <VERSION> <CURRENT_VERSION>**
|
**db_sync <VERSION> <CURRENT_VERSION>**
|
||||||
Place a database under migration control and upgrade, creating
|
Place a database under migration control and upgrade, creating
|
||||||
it first if necessary.
|
it first if necessary.
|
||||||
|
|
||||||
|
**db_export_metadefs**
|
||||||
|
Export the metadata definitions into json format. By default the
|
||||||
|
definitions are exported to /etc/glance/metadefs directory.
|
||||||
|
|
||||||
|
**db_load_metadefs**
|
||||||
|
Load the metadata definitions into glance database. By default the
|
||||||
|
definitions are imported from /etc/glance/metadefs directory.
|
||||||
|
|
||||||
|
**db_unload_metadefs**
|
||||||
|
Unload the metadata definitions. Clears the contents of all the glance
|
||||||
|
db tables including metadef_namespace_resource_types, metadef_tags,
|
||||||
|
metadef_objects, metadef_resource_types, metadef_namespaces and
|
||||||
|
metadef_properties.
|
||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
=======
|
=======
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user