This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /boards/26/topics/459 at Thu, 03 Nov 2022 01:51:51 GMT Typed Link - Public Comments - Open Grid Forum

Typed Link

Added by Jean Parpaillon over 7 years ago

I would like to introduce the possibility to add an optional constraints on the type of resource's category pointed out by the src and target attributes of a link.

For instance, in the infrastructure extension, while it is specified (and easily make sense) a NetworkInterface link must be linked to a compute and a network instance, there is no formal way to define this constraint.

This can be achieved with two additional (and optional) attributes on the Link type:
occi.core.src.type : optional, type: category id
occi.core.target.type : optional, type: category id

source_type and target_type attribute name are an alternative, would the former are much complex too implement (JSON rendering).


Replies (1)

(1-1/1)

This is a static archive of the previous Open Grid Forum Redmine content management system saved from host redmine.ogf.org file /boards/26/topics/459 at Thu, 03 Nov 2022 01:51:51 GMT