[occi-wg] OCCI Link question

florian.feldhaus at tu-dortmund.de florian.feldhaus at tu-dortmund.de
Tue Nov 29 02:24:10 CST 2011


Hi,

I have a question regarding inline creation of links. If I create an OCCI
compute object and want to link to a network, I use the OCCI
Networkinterface Link to supply additional attributes like MAC or
interface name. If I want to add an IP address as well, I need to use the
IPNetworkInterface Mixin. But the mixin has to be applied to the Link and
not the OCCI Compute object. Thus I have a problem adding it during inline
creation of the OCCI Compute object. Can anyone help me here? Adding the
Mixin later on is not an option, as the Compute resource instantly gets
deployed by the backend. It may be an option for the OCCI implementation
to check for supplied attributes in the link and apply the corresponding
Mixin automatically...

Here's an example:
http://pastebin.com/Krw5KQEw

Cheers,
Florian



More information about the occi-wg mailing list