The ooi.occi.core.resource
Module¶
-
class
ooi.occi.core.resource.
Resource
(title, mixins, id=None, summary=None)¶ Bases:
ooi.occi.core.entity.Entity
OCCI Resource.
The heart of the OCCI Core Model is the Resource type. Any resource exposed through OCCI is a Resource or a sub-type thereof. A resource can be e.g. a virtual machine, a job in a job submission system, a user, etc.
The Resource type is complemented by the Link type which associates one Resource instance with another. The Link type contains a number of common attributes that Link sub-types inherit.
-
add_link
(link)¶
-
attributes
= <ooi.occi.core.attribute.AttributeCollection object>¶
-
kind
= <ooi.occi.core.kind.Kind object>¶
-
link
(target, mixins=[])¶
-
links
¶
-
summary
¶
-