Difference between revisions of "Graffiti/Dictionary"
< Graffiti
Travis Tripp (talk | contribs) m (→Capability Types) |
Travis Tripp (talk | contribs) (→Capability Types) |
||
Line 6: | Line 6: | ||
A Capability Type is the following: | A Capability Type is the following: | ||
− | * A metadata | + | * A metadata schema that describes a type of capability a cloud resource may provide |
− | ** e.g. | + | ** e.g. “Centos” may be a type of capability |
− | * Defines the structure of observable properties in JSON Schema draft 04 format | + | * Defines the structure of observable properties in a subset of the JSON Schema draft 04 format |
** The names, data types and allowed values of properties. | ** The names, data types and allowed values of properties. | ||
− | *** e.g. | + | *** e.g. Centos has a version and architecture |
* Hierarchical | * Hierarchical | ||
** Can inherit properties from parent Capability Types | ** Can inherit properties from parent Capability Types | ||
− | ** e.g. | + | ** e.g. Centos is software and all software has a version |
* Referenced by requirements | * Referenced by requirements | ||
− | ** e.g. My | + | ** e.g. My application requires Centos |
* Scoped by a namespace | * Scoped by a namespace | ||
** Uniquely named within a namespace | ** Uniquely named within a namespace | ||
− | *** | + | *** Your definition of "Classified" is not the same as mine, so we'll agree to disagree |
** RBAC is done on the namespace, not on individual types | ** RBAC is done on the namespace, not on individual types | ||
** Capability Types may derive from Types in other namespaces | ** Capability Types may derive from Types in other namespaces | ||
+ | |||
https://wiki.openstack.org/w/index.php?title=Graffiti/Architecture&action=edit | https://wiki.openstack.org/w/index.php?title=Graffiti/Architecture&action=edit |
Revision as of 23:27, 21 April 2014
Capability Types
Graffiti embraces the idea that cloud resources may be described using capabilities and requirements, a concept influenced by some parts of OpenStack today as well as by industry specifications like OASIS TOSCA (Please note, Graffiti is NOT an orchestration engine, it only assists in describing and locating existing resources in the cloud.).
A Capability Type is the following:
- A metadata schema that describes a type of capability a cloud resource may provide
- e.g. “Centos” may be a type of capability
- Defines the structure of observable properties in a subset of the JSON Schema draft 04 format
- The names, data types and allowed values of properties.
- e.g. Centos has a version and architecture
- The names, data types and allowed values of properties.
- Hierarchical
- Can inherit properties from parent Capability Types
- e.g. Centos is software and all software has a version
- Referenced by requirements
- e.g. My application requires Centos
- Scoped by a namespace
- Uniquely named within a namespace
- Your definition of "Classified" is not the same as mine, so we'll agree to disagree
- RBAC is done on the namespace, not on individual types
- Capability Types may derive from Types in other namespaces
- Uniquely named within a namespace
https://wiki.openstack.org/w/index.php?title=Graffiti/Architecture&action=edit