Skip to content

Instantly share code, notes, and snippets.

@fifiant
Created November 5, 2015 10:00
Show Gist options
  • Save fifiant/35c9d48a4a7e9fe3a34f to your computer and use it in GitHub Desktop.
Save fifiant/35c9d48a4a7e9fe3a34f to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="ASCII"?>
<occi:Extension xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:occi="http://schemas.ogf.org/occi" name="cloud" scheme="http://occiware.org/cloud#">
<import href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#/"/>
<import href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#/"/>
<kinds term="machine" scheme="http://occiware.org/cloud#" title="Machine Resource">
<attributes name="name" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<parent href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@kinds[term='compute']"/>
</kinds>
<kinds term="machine_OpenStack" scheme="http://occiware.org/cloud#" title="Machine On OpenStack" parent="//@kinds[term='machine']">
<attributes name="api_url" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="image_name">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="image_id">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="tenant_name">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="tenant_id" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="flavor_name">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="flavor_id">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="security_group" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="key_pair">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="user" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="password" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
</kinds>
<kinds term="machine_Amazon_EC2" scheme="http://occiware.org/cloud#" title="Machine On Amazon EC2" parent="//@kinds[term='machine']">
<attributes name="aws_context" description="This AWS Context that could be &quot;aws-s3&quot; or &quot;aws-ec2&quot;.">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="accesskeyid" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="secretkey" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="keyPair">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="security_group">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
</kinds>
<kinds term="machine_ClouSigma" scheme="http://occiware.org/cloud#" title="Machine On CloudSigma" parent="//@kinds[term='machine']">
<attributes name="cloudsigma_context">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="email" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="password" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
</kinds>
<kinds term="machine_Gogrid" scheme="http://occiware.org/cloud#" title="Machine On Gogrid" parent="//@kinds[term='machine']">
<attributes name="gogrid_context">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="key" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="sharedSecret" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="image_name">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="ram_id">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
</kinds>
<kinds term="machine_RackSpace" scheme="http://occiware.org/cloud#" title="Machine On RackSpace" parent="//@kinds[term='machine']">
<attributes name="rackspace_context" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="username" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="apikey" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
</kinds>
<kinds term="machine_Google_Compute_Engine" scheme="http://occiware.org/cloud#" title="Machine On Google Compute Engine" parent="//@kinds[term='machine']">
<attributes name="location">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="machine_type">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="machine_url">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="json_file">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
</kinds>
<kinds term="machine_HP_Helion" scheme="http://occiware.org/cloud#" title="Machine On HP Helion" parent="//@kinds[term='machine']">
<attributes name="hpcloud_context" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="tenant_name" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="access_key" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="secret_key" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="security_group">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="keyPair">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
</kinds>
<kinds term="machine_ProfitBricks" scheme="http://occiware.org/cloud#" title="Machine On ProfitBricks" parent="//@kinds[term='machine']">
<attributes name="profitbricks_context" description="">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="email" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="password" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="image_id">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="machine_user">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="machine_password">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="location">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="datacenter" default="JClouds">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
</kinds>
</occi:Extension>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment