glance/etc/metadefs
Travis Tripp 33ae05ee86 Change Metadefs OS::Nova::Instance to OS::Nova::Server
The metadata definitions in etc/metadefs allow each namespace to be associated
with a resource type in OpenStack. Now that Horizon is supporting adding
metadata to instances (just got in during the mitaka cycle - so unrealeased),
I realized that we used OS::Nova::Instance instead of OS::Nova::Server in
Glance. This doesn’t align with Heat [0] or Searchlight [1].

There are a couple of metadef files that have OS::Nova::Instance that need to
change to OS::Nova::Server. I see also that OS::Nova:Instance is in one of
the db scripts. That script simply adds some initial "resource types" to the
database. [3]. It should be noted that there is no hard dependency on that
resource type to be in the DB script. You can add new resource types at any
time via API or JSON files and they are automatically added.

I'm not sure if the change to the db script needs to be done in a different
patch or not, but that can easily be accommodated.

See bug for additional links.

Change-Id: I196ce1d9a62a61027ccd444b17a30b2c018d9c84
Closes-Bug: 1537903
2016-02-02 15:05:22 -07:00
..
README Glance Metadata Definitions Catalog - Seed 2014-08-28 10:47:36 -04:00
compute-aggr-disk-filter.json Add missing metadefs for Aggregate Filters 2014-09-10 23:24:36 -06:00
compute-aggr-iops-filter.json Add missing metadefs for Aggregate Filters 2014-09-10 23:24:36 -06:00
compute-aggr-num-instances.json Add missing metadefs for Aggregate Filters 2014-09-10 23:24:36 -06:00
compute-cpu-pinning.json Add CPU Pinning in metadata definitions 2015-08-17 15:52:56 +00:00
compute-guest-memory-backing.json Add Large pages meta definition 2015-09-29 22:33:32 +00:00
compute-guest-shutdown.json Add missing metadefs for shutdown behavior 2014-10-06 18:25:55 -06:00
compute-host-capabilities.json Add missing CPU features to Glance Metadata Catalog 2015-12-10 10:44:03 +09:00
compute-hypervisor.json Update Metadefs associated with ImagePropertiesFilter 2014-09-16 15:45:49 -06:00
compute-instance-data.json Change URL to End User Guide 2015-08-23 10:30:58 +02:00
compute-libvirt-image.json Metadef JSON files need to be updated 2015-04-15 20:08:37 -07:00
compute-libvirt.json Metadef JSON files need to be updated 2015-04-15 20:08:37 -07:00
compute-quota.json Fix URLs to admin-guide-cloud 2015-08-23 10:04:44 +02:00
compute-randomgen.json Glance Metadata Definitions Catalog - Seed 2014-08-28 10:47:36 -04:00
compute-trust.json Make compute-trust.json compatible with TrustFilter 2014-09-22 02:55:26 -04:00
compute-vcputopology.json Glance Metadata Definitions Catalog - Seed 2014-08-28 10:47:36 -04:00
compute-vmware-flavor.json Add storage_policy VMware driver option for flavors 2016-01-26 09:13:26 -08:00
compute-vmware-quota-flavor.json Fix URLs to admin-guide-cloud 2015-08-23 10:04:44 +02:00
compute-vmware.json Merge "VMware: vmware_ostype should be enum" 2015-07-05 23:17:58 +00:00
compute-watchdog.json Fix URLs to admin-guide-cloud 2015-08-23 10:04:44 +02:00
compute-xenapi.json Glance Metadata Definitions Catalog - Seed 2014-08-28 10:47:36 -04:00
glance-common-image-props.json Enhance description of instance-uuid option for image-create 2016-01-18 15:14:15 +03:00
operating-system.json Fix incorrect Glance image metadata description 2015-10-16 11:18:00 -07:00
software-databases.json Change Metadefs OS::Nova::Instance to OS::Nova::Server 2016-02-02 15:05:22 -07:00
software-runtimes.json Change Metadefs OS::Nova::Instance to OS::Nova::Server 2016-02-02 15:05:22 -07:00
software-webservers.json Change Metadefs OS::Nova::Instance to OS::Nova::Server 2016-02-02 15:05:22 -07:00

README

This directory contains predefined namespaces for Glance Metadata Definitions
Catalog. Files from this directory can be loaded into the database using
db_load_metadefs command for glance-manage. Similarly you can unload the
definitions using db_unload_metadefs command.