Skip to content

Commit

Permalink
Set all schemes to http://occiware.org/simulation# in order to match OCL
Browse files Browse the repository at this point in the history
constraints related to Category.scheme.
  • Loading branch information
philippemerle committed Mar 10, 2016
1 parent 94fec0c commit ce18779
Showing 1 changed file with 273 additions and 88 deletions.
Original file line number Diff line number Diff line change
@@ -1,118 +1,303 @@
<?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="simulation" scheme="http://occiware.org/simulation#">
<occi:Extension
xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:occi="http://schemas.ogf.org/occi"
name="simulation"
scheme="http://occiware.org/simulation#">
<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="contains" scheme="simulation#" title="cloudSim resources link">
<parent href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@kinds[term='link']"/>
<kinds term="contains"
scheme="http://occiware.org/simulation#"
title="cloudSim resources link">
<parent
href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@kinds[term='link']"/>
</kinds>
<kinds term="SimulationResource" scheme="http://occiware.org/simulation#">
<parent href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@kinds[term='resource']"/>
<kinds term="SimulationResource"
scheme="http://occiware.org/simulation#">
<parent
href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@kinds[term='resource']"/>
</kinds>
<mixins term="datacenter" scheme="simulation#" title="datacenter mixin">
<attributes name="os" required="true" default="Linux" description="operating system">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="vmm" required="true" default="Xen" description="virtual machine monitoring">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="time_zone" required="true" default="10.0" description="time zone this resource located" type="//@types.0"/>
<attributes name="cost" required="true" default="3.0" description="the cost of using processing in this resource" type="//@types.0"/>
<attributes name="costPerMem" required="true" default="0.05" description="the cost of using memory in this resource" type="//@types.0"/>
<attributes name="costPerStorage" required="true" default="0.001" description="the cost of using storage in this resource" type="//@types.0"/>
<attributes name="costPerBw" required="true" default="0.0" description="the cost of using bw in this resource" type="//@types.0"/>
<attributes name="name" required="true" default="" description="name of data center">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes name="schedulingInterval" required="true" default="0" description="scheduling Interval" type="//@types.2"/>
<applies href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@kinds[term='compute']"/>
<mixins term="datacenter"
scheme="http://occiware.org/simulation#"
title="datacenter mixin">
<attributes
name="os"
required="true"
default="Linux"
description="operating system">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes
name="vmm"
required="true"
default="Xen"
description="virtual machine monitoring">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes
name="time_zone"
required="true"
default="10.0"
description="time zone this resource located"
type="//@types.0"/>
<attributes
name="cost"
required="true"
default="3.0"
description="the cost of using processing in this resource"
type="//@types.0"/>
<attributes
name="costPerMem"
required="true"
default="0.05"
description="the cost of using memory in this resource"
type="//@types.0"/>
<attributes
name="costPerStorage"
required="true"
default="0.001"
description="the cost of using storage in this resource"
type="//@types.0"/>
<attributes
name="costPerBw"
required="true"
default="0.0"
description="the cost of using bw in this resource"
type="//@types.0"/>
<attributes
name="name"
required="true"
default=""
description="name of data center">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<attributes
name="schedulingInterval"
required="true"
default="0"
description="scheduling Interval"
type="//@types.2"/>
<applies
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@kinds[term='compute']"/>
</mixins>
<mixins term="cloudlet" scheme="simulation#" title="cloudlet mixin">
<attributes name="cloudletId" required="true" description="the unique ID of this Cloudlet">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<mixins term="cloudlet"
scheme="http://occiware.org/simulation#"
title="cloudlet mixin">
<attributes
name="cloudletId"
required="true"
description="the unique ID of this Cloudlet">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="cloudletLength" required="true" description="The length or size (in MI) of this cloudlet to be executed in a PowerDatacenter">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<attributes
name="cloudletLength"
required="true"
description="The length or size (in MI) of this cloudlet to be executed in a PowerDatacenter">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="pesNumber" required="true" description="the PEs number">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<attributes
name="pesNumber"
required="true"
description="the PEs number">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="cloudletFileSize" required="true" description="cloudletFileSize the file size (in byte) of this cloudlet BEFORE submitting to a PowerDatacenter">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<attributes
name="cloudletFileSize"
required="true"
description="cloudletFileSize the file size (in byte) of this cloudlet BEFORE submitting to a PowerDatacenter">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="cloudletOutputSize" required="true" description="cloudletOutputSize the file size (in byte) of this cloudlet AFTER finish executing by a PowerDatacenter">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<attributes
name="cloudletOutputSize"
required="true"
description="cloudletOutputSize the file size (in byte) of this cloudlet AFTER finish executing by a PowerDatacenter">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="utilizationModelCpu" required="true" description="the utilization model cpu" type="//@types.1"/>
<attributes name="utilizationModelRam" required="true" description="the utilization model ram" type="//@types.1"/>
<attributes name="utilizationModelBw" required="true" description="the utilization model bw" type="//@types.1"/>
<applies href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@kinds[term='compute']"/>
<attributes
name="utilizationModelCpu"
required="true"
description="the utilization model cpu"
type="//@types.1"/>
<attributes
name="utilizationModelRam"
required="true"
description="the utilization model ram"
type="//@types.1"/>
<attributes
name="utilizationModelBw"
required="true"
description="the utilization model bw"
type="//@types.1"/>
<applies
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@kinds[term='compute']"/>
</mixins>
<mixins term="host" scheme="simulation#">
<attributes name="id_host" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<mixins term="host"
scheme="http://occiware.org/simulation#">
<attributes
name="id_host"
required="true">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="ramProvisioner" required="true" type="//@types.3"/>
<attributes name="bwProvisioner" required="true" type="//@types.4"/>
<attributes name="storage" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<attributes
name="ramProvisioner"
required="true"
type="//@types.3"/>
<attributes
name="bwProvisioner"
required="true"
type="//@types.4"/>
<attributes
name="storage"
required="true">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="cores" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<attributes
name="cores"
required="true">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="vmScheduler" required="true" type="//@types.6"/>
<attributes name="ram" required="true" type="//@types.7"/>
<attributes name="bw" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<attributes
name="vmScheduler"
required="true"
type="//@types.6"/>
<attributes
name="ram"
required="true"
type="//@types.7"/>
<attributes
name="bw"
required="true">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="mips" required="true">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<attributes
name="mips"
required="true">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="PeProvisioner" required="true" type="//@types.8"/>
<applies href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@kinds[term='compute']"/>
<attributes
name="PeProvisioner"
required="true"
type="//@types.8"/>
<applies
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@kinds[term='compute']"/>
</mixins>
<mixins term="VM" scheme="simulation#">
<attributes name="id_vm" required="true" description="unique ID of the VM">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<mixins term="VM"
scheme="http://occiware.org/simulation#">
<attributes
name="id_vm"
required="true"
description="unique ID of the VM">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="mips" required="true" description="The mips">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.14"/>
<attributes
name="mips"
required="true"
description="The mips">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.14"/>
</attributes>
<attributes name="numberOfPes" required="true" description="numberOfPes amount of CPUs">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.2"/>
<attributes
name="numberOfPes"
required="true"
description="numberOfPes amount of CPUs">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.2"/>
</attributes>
<attributes name="ram" required="true" description="ram amount of ram">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<attributes
name="ram"
required="true"
description="ram amount of ram">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="bw" required="true" description="bw amount of bandwidth">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<attributes
name="bw"
required="true"
description="bw amount of bandwidth">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="size" required="true" description="size amount of storage">
<type href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
<attributes
name="size"
required="true"
description="size amount of storage">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@types.13"/>
</attributes>
<attributes name="CloudletScheduler" required="true" description="cloudletScheduler policy for cloudlets" type="//@types.5"/>
<attributes name="userId" required="true" default="" description="userId ID of the VM's owner">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.2"/>
<attributes
name="CloudletScheduler"
required="true"
description="cloudletScheduler policy for cloudlets"
type="//@types.5"/>
<attributes
name="userId"
required="true"
default=""
description="userId ID of the VM's owner">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.2"/>
</attributes>
<attributes name="vmm" required="true" description="virtual machine monitor">
<type href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
<attributes
name="vmm"
required="true"
description="virtual machine monitor">
<type
href="platform:/plugin/org.occiware.clouddesigner.occi/model/Core.occie#//@types.0"/>
</attributes>
<applies href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@kinds[term='compute']"/>
<applies
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@kinds[term='compute']"/>
</mixins>
<mixins term="HarddriveStorage" scheme="simulation#">
<applies href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@kinds[term='storage']"/>
<mixins term="HarddriveStorage"
scheme="http://occiware.org/simulation#">
<applies
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@kinds[term='storage']"/>
</mixins>
<mixins term="SanStorage" scheme="simulation#">
<attributes name="bandwidth" required="true" description="Network bandwidth" type="//@types.2"/>
<attributes name="networkLatency" required="true" description="Network latency" type="//@types.2"/>
<applies href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@kinds[term='storage']"/>
<mixins term="SanStorage"
scheme="http://occiware.org/simulation#">
<attributes
name="bandwidth"
required="true"
description="Network bandwidth"
type="//@types.2"/>
<attributes
name="networkLatency"
required="true"
description="Network latency"
type="//@types.2"/>
<applies
href="platform:/plugin/org.occiware.clouddesigner.occi.infrastructure/model/Infrastructure.occie#//@kinds[term='storage']"/>
</mixins>
<types name="floatType" instanceClassName="java.lang.Float"/>
<types name="UtilizationModel" instanceClassName="org.occiware.clouddesigner.occi.simulation.cloudsim.UtilizationModel"/>
<types name="doubleType" instanceClassName="java.lang.Double"/>
<types name="RamProvisioner" instanceClassName="org.occiware.clouddesigner.occi.simulation.cloudsim.provisioners.RamProvisioner"/>
<types name="BwProvisioner" instanceClassName="org.occiware.clouddesigner.occi.simulation.cloudsim.provisioners.BwProvisioner"/>
<types name="CloudletScheduler" instanceClassName="org.occiware.clouddesigner.occi.simulation.cloudsim.CloudletScheduler"/>
<types name="VmScheduler" instanceClassName="org.occiware.clouddesigner.occi.simulation.cloudsim.VmScheduler"/>
<types name="MB" instanceClassName="float"/>
<types name="PeProvisioner" instanceClassName="org.occiware.clouddesigner.occi.simulation.cloudsim.provisioners.PeProvisioner"/>
<types name="floatType"
instanceClassName="java.lang.Float"/>
<types name="UtilizationModel"
instanceClassName="org.occiware.clouddesigner.occi.simulation.cloudsim.UtilizationModel"/>
<types name="doubleType"
instanceClassName="java.lang.Double"/>
<types name="RamProvisioner"
instanceClassName="org.occiware.clouddesigner.occi.simulation.cloudsim.provisioners.RamProvisioner"/>
<types name="BwProvisioner"
instanceClassName="org.occiware.clouddesigner.occi.simulation.cloudsim.provisioners.BwProvisioner"/>
<types name="CloudletScheduler"
instanceClassName="org.occiware.clouddesigner.occi.simulation.cloudsim.CloudletScheduler"/>
<types name="VmScheduler"
instanceClassName="org.occiware.clouddesigner.occi.simulation.cloudsim.VmScheduler"/>
<types name="MB"
instanceClassName="float"/>
<types name="PeProvisioner"
instanceClassName="org.occiware.clouddesigner.occi.simulation.cloudsim.provisioners.PeProvisioner"/>
</occi:Extension>

0 comments on commit ce18779

Please sign in to comment.