diff --git a/src/main/resources/de/ugoe/cs/rwm/mocci/occi/hadoopClusterNewExtWithMem.occic b/src/main/resources/de/ugoe/cs/rwm/mocci/occi/hadoopClusterNewExtWithMem.occic index 347251e0d710ad1257ad114c612412d5715e925f..9d854784cf424efc05dca70492c5fc0c113dfc0e 100644 --- a/src/main/resources/de/ugoe/cs/rwm/mocci/occi/hadoopClusterNewExtWithMem.occic +++ b/src/main/resources/de/ugoe/cs/rwm/mocci/occi/hadoopClusterNewExtWithMem.occic @@ -9,14 +9,14 @@ <use href="http://schemas.modmacao.org/modmacao#/"/> <use href="http://schemas.modmacao.org/openstack/swe#/"/> <use href="http://schemas.ugoe.cs.rwm/monitoring#/"/> - <resources xsi:type="infrastructure:Compute" id="urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce" title="hadoop-master" location="/compute/urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce/" rlinks="//@resources.2/@links.0 //@resources.1/@links.0" occiComputeCores="2" occiComputeHostname="vm2" occiComputeMemory="4096.0" occiComputeState="active"> + <resources xsi:type="infrastructure:Compute" id="urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce" title="Hadoop-master" location="/compute/urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce/" rlinks="//@resources.2/@links.0 //@resources.1/@links.0" occiComputeCores="2" occiComputeHostname="vm2" occiComputeMemory="4096.0" occiComputeState="active"> <kind href="http://schemas.ogf.org/occi/infrastructure#//@kinds[term='compute']"/> <attributes name="occi.core.id" value="urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce"/> <attributes name="occi.core.title" value="hadoop-master"/> <attributes name="occi.core.summary" value=""/> <attributes name="occi.compute.architecture" value="x86"/> <attributes name="occi.compute.cores" value="2"/> - <attributes name="occi.compute.hostname" value="hadoop-master"/> + <attributes name="occi.compute.hostname" value="Hadoop-master"/> <attributes name="occi.compute.share" value="0"/> <attributes name="occi.compute.speed" value="0"/> <attributes name="occi.compute.memory" value="4096"/> @@ -43,10 +43,10 @@ </parts> </links> </resources> - <resources xsi:type="platform:Component" id="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255896" title="Wordcount" location="/component/urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255896/" occiComponentStateMessage=""> + <resources xsi:type="platform:Component" id="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255896" title="HJob" location="/component/urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255896/" occiComponentStateMessage=""> <kind href="http://schemas.modmacao.org/occi/platform#//@kinds[term='component']"/> <attributes name="occi.core.id" value="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255896"/> - <attributes name="occi.core.title" value="Wordcount"/> + <attributes name="occi.core.title" value="HJob"/> <attributes name="occi.core.summary" value=""/> <attributes name="occi.component.state" value="undeployed"/> <attributes name="occi.component.state.message" value=""/> @@ -57,7 +57,7 @@ <attributes name="occi.core.title" value="link1"/> </links> </resources> - <resources xsi:type="platform:Component" id="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255897" title="hMaster" location="/component/urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255897/" rlinks="//@resources.3/@links.0" occiComponentStateMessage=""> + <resources xsi:type="platform:Component" id="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255897" title="HMaster" location="/component/urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255897/" rlinks="//@resources.3/@links.0" occiComponentStateMessage=""> <kind href="http://schemas.modmacao.org/occi/platform#//@kinds[term='component']"/> <attributes name="occi.core.id" value="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255897"/> <attributes name="occi.core.title" value="hMaster"/> @@ -73,7 +73,7 @@ <attributes name="occi.core.target" value="/compute/urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce/"/> </links> </resources> - <resources xsi:type="platform:Application" id="urn:uuid:a4888ba9-a0ea-48f2-a29e-901c876ab42d" title="hadoopcluster" location="/application/urn:uuid:a4888ba9-a0ea-48f2-a29e-901c876ab42d" occiAppName="" occiAppState="deployed"> + <resources xsi:type="platform:Application" id="urn:uuid:a4888ba9-a0ea-48f2-a29e-901c876ab42d" title="Hadoopcluster" location="/application/urn:uuid:a4888ba9-a0ea-48f2-a29e-901c876ab42d" occiAppName="" occiAppState="deployed"> <kind href="http://schemas.modmacao.org/occi/platform#//@kinds[term='application']"/> <attributes name="occi.core.id" value="urn:uuid:a4888ba9-a0ea-48f2-a29e-901c876ab42d"/> <attributes name="occi.core.title" value="hadoopcluster"/> @@ -88,10 +88,10 @@ <attributes name="occi.core.title" value="link4"/> </links> </resources> - <resources xsi:type="infrastructure:Compute" id="urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166cf" title="hadoop-worker-1" location="/compute/urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166cf/" rlinks="//@resources.5/@links.0 //@resources.8/@links.0 //@resources.7/@links.3 //@resources.15/@links.3" occiComputeCores="2" occiComputeHostname="vm2" occiComputeMemory="4096.0" occiComputeState="active"> + <resources xsi:type="infrastructure:Compute" id="urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166cf" title="Hadoop-worker-1" location="/compute/urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166cf/" rlinks="//@resources.5/@links.0 //@resources.8/@links.0 //@resources.7/@links.3 //@resources.15/@links.3" occiComputeCores="2" occiComputeHostname="vm2" occiComputeMemory="4096.0" occiComputeState="active"> <kind href="http://schemas.ogf.org/occi/infrastructure#//@kinds[term='compute']"/> <attributes name="occi.core.id" value="urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166cf"/> - <attributes name="occi.core.title" value="hadoop-worker-1"/> + <attributes name="occi.core.title" value="Hadoop-worker-1"/> <attributes name="occi.core.summary" value=""/> <attributes name="occi.compute.architecture" value="x86"/> <attributes name="occi.compute.cores" value="2"/> @@ -131,7 +131,7 @@ </parts> </links> </resources> - <resources xsi:type="platform:Component" id="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255898" title="Worker" location="/component/urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255898/" rlinks="//@resources.3/@links.1" occiComponentStateMessage=""> + <resources xsi:type="platform:Component" id="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255898" title="HWorker" location="/component/urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255898/" rlinks="//@resources.3/@links.1" occiComponentStateMessage=""> <kind href="http://schemas.modmacao.org/occi/platform#//@kinds[term='component']"/> <attributes name="occi.core.id" value="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255898"/> <attributes name="occi.core.title" value="Worker"/> @@ -146,10 +146,10 @@ <attributes name="occi.core.target" value="/compute/urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce/"/> </links> </resources> - <resources xsi:type="infrastructure:Network" id="urn:uuid:29d78078-fb4c-47aa-a9af-b8aaf3339591" title="hNetwork" location="/network/urn:uuid:29d78078-fb4c-47aa-a9af-b8aaf3339591/" rlinks="//@resources.0/@links.0 //@resources.4/@links.0" occiNetworkState="active"> + <resources xsi:type="infrastructure:Network" id="urn:uuid:29d78078-fb4c-47aa-a9af-b8aaf3339591" title="HNetwork" location="/network/urn:uuid:29d78078-fb4c-47aa-a9af-b8aaf3339591/" rlinks="//@resources.0/@links.0 //@resources.4/@links.0" occiNetworkState="active"> <kind href="http://schemas.ogf.org/occi/infrastructure#//@kinds[term='network']"/> <attributes name="occi.core.id" value="urn:uuid:29d78078-fb4c-47aa-a9af-b8aaf3339591"/> - <attributes name="occi.core.title" value="hNetwork"/> + <attributes name="occi.core.title" value="HNetwork"/> <attributes name="occi.core.summary" value=""/> <attributes name="occi.network.vlan" value="0"/> <attributes name="occi.network.label" value=""/> @@ -160,10 +160,10 @@ <attributes name="occi.network.address" value="10.254.1.1/24"/> </parts> </resources> - <resources xsi:type="monitoring:Sensor" id="urn:uuid:efb0f50a-7a7c-4153-b939-4846d6554dbb" title="Sensor"> + <resources xsi:type="monitoring:Sensor" id="urn:uuid:efb0f50a-7a7c-4153-b939-4846d6554dbb" title="CPUSensor"> <kind href="http://schemas.ugoe.cs.rwm/monitoring#//@kinds[term='sensor']"/> <attributes name="occi.core.id" value="urn:uuid:efb0f50a-7a7c-4153-b939-4846d6554dbb"/> - <attributes name="occi.core.title" value="Sensor"/> + <attributes name="occi.core.title" value="CPUSensor"/> <attributes name="occi.core.summary" value=""/> <attributes name="occi.app.state" value="undeployed"/> <attributes name="occi.app.state.message" value=""/> @@ -182,17 +182,17 @@ <attributes name="occi.core.id" value="urn:uuid:93f08e31-f350-42b7-a73b-c139eba4a8e3"/> <attributes name="occi.core.title" value="link3"/> </links> - <links xsi:type="monitoring:Monitorableproperty" id="urn:uuid:ba16f4ee-1601-4192-a259-eae4274aed72" title="CPU Monitoring" location="" target="//@resources.4" monitoringProperty="CPU" monitoringResult=""> + <links xsi:type="monitoring:Monitorableproperty" id="urn:uuid:ba16f4ee-1601-4192-a259-eae4274aed72" title="CPU" location="" target="//@resources.4" monitoringProperty="CPU" monitoringResult=""> <kind href="http://schemas.ugoe.cs.rwm/monitoring#//@kinds[term='monitorableproperty']"/> <attributes name="occi.core.id" value="urn:uuid:ba16f4ee-1601-4192-a259-eae4274aed72"/> - <attributes name="occi.core.title" value="CPU Monitoring"/> + <attributes name="occi.core.title" value="CPU"/> <attributes name="monitoring.property" value="CPU"/> </links> </resources> - <resources xsi:type="monitoring:Datagatherer" id="urn:uuid:051affdc-d686-48f8-884c-83fe81718a48" title="DataGatherer" rlinks="//@resources.7/@links.0 //@resources.9/@links.0 //@resources.13/@links.0 //@resources.15/@links.0"> + <resources xsi:type="monitoring:Datagatherer" id="urn:uuid:051affdc-d686-48f8-884c-83fe81718a48" title="Glances" rlinks="//@resources.7/@links.0 //@resources.9/@links.0 //@resources.13/@links.0 //@resources.15/@links.0"> <kind href="http://schemas.ugoe.cs.rwm/monitoring#//@kinds[term='datagatherer']"/> <attributes name="occi.core.id" value="urn:uuid:051affdc-d686-48f8-884c-83fe81718a48"/> - <attributes name="occi.core.title" value="DataGatherer"/> + <attributes name="occi.core.title" value="Glances"/> <parts mixin="//@mixins.3"/> <links xsi:type="placement:Placementlink" id="urn:uuid:60cc05ca-4fd7-465b-8fd0-945dcbf8867f" title="link1" target="//@resources.4"> <kind href="http://schemas.modmacao.org/placement#//@kinds[term='placementlink']"/> @@ -200,10 +200,10 @@ <attributes name="occi.core.title" value="link1"/> </links> </resources> - <resources xsi:type="monitoring:Dataprocessor" id="urn:uuid:1bda25ab-723b-47e7-9704-5134db26ebdc" title="Processor" rlinks="//@resources.10/@links.0 //@resources.7/@links.1"> + <resources xsi:type="monitoring:Dataprocessor" id="urn:uuid:1bda25ab-723b-47e7-9704-5134db26ebdc" title="CPUAggregator" rlinks="//@resources.10/@links.0 //@resources.7/@links.1"> <kind href="http://schemas.ugoe.cs.rwm/monitoring#//@kinds[term='dataprocessor']"/> <attributes name="occi.core.id" value="urn:uuid:1bda25ab-723b-47e7-9704-5134db26ebdc"/> - <attributes name="occi.core.title" value="Processor"/> + <attributes name="occi.core.title" value="CPUAggregator"/> <parts mixin="//@mixins.4"/> <links xsi:type="platform:Componentlink" id="urn:uuid:1a821776-7886-4cb4-8b80-46a8403acf40" title="link1" target="//@resources.8"> <kind href="http://schemas.modmacao.org/occi/platform#//@kinds[term='componentlink']"/> @@ -216,10 +216,10 @@ <attributes name="occi.core.title" value="link2"/> </links> </resources> - <resources xsi:type="monitoring:Resultprovider" id="urn:uuid:588f705e-5279-4847-9337-846af2c86972" title="Resultprovider" rlinks="//@resources.7/@links.2"> + <resources xsi:type="monitoring:Resultprovider" id="urn:uuid:588f705e-5279-4847-9337-846af2c86972" title="CPUProvider" rlinks="//@resources.7/@links.2"> <kind href="http://schemas.ugoe.cs.rwm/monitoring#//@kinds[term='resultprovider']"/> <attributes name="occi.core.id" value="urn:uuid:588f705e-5279-4847-9337-846af2c86972"/> - <attributes name="occi.core.title" value="Resultprovider"/> + <attributes name="occi.core.title" value="CPUProvider"/> <parts mixin="//@mixins.5"/> <parts xsi:type="monitoring:Occiresultprovider"> <mixin href="http://schemas.ugoe.cs.rwm/monitoring#//@mixins[term='occiresultprovider']"/> @@ -346,4 +346,5 @@ <mixins name="CPUPublisher" scheme="http://schemas.modmacao.org/usermixins#" title="CPUPublisher"/> <mixins name="MemProcessor" scheme="http://schemas.modmacao.org/usermixins#" title="MemProcessor"/> <mixins name="MemPublisher" scheme="http://schemas.modmacao.org/usermixins#" title="MemPublisher"/> + <mixins name="CPUProcessorLocal" scheme="http://schemas.modmacao.org/usermixins#" title="CPUProcessorLocal"/> </occi:Configuration> diff --git a/src/test/resources/occi/hadoopClusterNewExtWithMem.occic b/src/test/resources/occi/hadoopClusterNewExtWithMem.occic index 347251e0d710ad1257ad114c612412d5715e925f..9d854784cf424efc05dca70492c5fc0c113dfc0e 100644 --- a/src/test/resources/occi/hadoopClusterNewExtWithMem.occic +++ b/src/test/resources/occi/hadoopClusterNewExtWithMem.occic @@ -9,14 +9,14 @@ <use href="http://schemas.modmacao.org/modmacao#/"/> <use href="http://schemas.modmacao.org/openstack/swe#/"/> <use href="http://schemas.ugoe.cs.rwm/monitoring#/"/> - <resources xsi:type="infrastructure:Compute" id="urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce" title="hadoop-master" location="/compute/urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce/" rlinks="//@resources.2/@links.0 //@resources.1/@links.0" occiComputeCores="2" occiComputeHostname="vm2" occiComputeMemory="4096.0" occiComputeState="active"> + <resources xsi:type="infrastructure:Compute" id="urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce" title="Hadoop-master" location="/compute/urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce/" rlinks="//@resources.2/@links.0 //@resources.1/@links.0" occiComputeCores="2" occiComputeHostname="vm2" occiComputeMemory="4096.0" occiComputeState="active"> <kind href="http://schemas.ogf.org/occi/infrastructure#//@kinds[term='compute']"/> <attributes name="occi.core.id" value="urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce"/> <attributes name="occi.core.title" value="hadoop-master"/> <attributes name="occi.core.summary" value=""/> <attributes name="occi.compute.architecture" value="x86"/> <attributes name="occi.compute.cores" value="2"/> - <attributes name="occi.compute.hostname" value="hadoop-master"/> + <attributes name="occi.compute.hostname" value="Hadoop-master"/> <attributes name="occi.compute.share" value="0"/> <attributes name="occi.compute.speed" value="0"/> <attributes name="occi.compute.memory" value="4096"/> @@ -43,10 +43,10 @@ </parts> </links> </resources> - <resources xsi:type="platform:Component" id="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255896" title="Wordcount" location="/component/urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255896/" occiComponentStateMessage=""> + <resources xsi:type="platform:Component" id="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255896" title="HJob" location="/component/urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255896/" occiComponentStateMessage=""> <kind href="http://schemas.modmacao.org/occi/platform#//@kinds[term='component']"/> <attributes name="occi.core.id" value="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255896"/> - <attributes name="occi.core.title" value="Wordcount"/> + <attributes name="occi.core.title" value="HJob"/> <attributes name="occi.core.summary" value=""/> <attributes name="occi.component.state" value="undeployed"/> <attributes name="occi.component.state.message" value=""/> @@ -57,7 +57,7 @@ <attributes name="occi.core.title" value="link1"/> </links> </resources> - <resources xsi:type="platform:Component" id="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255897" title="hMaster" location="/component/urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255897/" rlinks="//@resources.3/@links.0" occiComponentStateMessage=""> + <resources xsi:type="platform:Component" id="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255897" title="HMaster" location="/component/urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255897/" rlinks="//@resources.3/@links.0" occiComponentStateMessage=""> <kind href="http://schemas.modmacao.org/occi/platform#//@kinds[term='component']"/> <attributes name="occi.core.id" value="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255897"/> <attributes name="occi.core.title" value="hMaster"/> @@ -73,7 +73,7 @@ <attributes name="occi.core.target" value="/compute/urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce/"/> </links> </resources> - <resources xsi:type="platform:Application" id="urn:uuid:a4888ba9-a0ea-48f2-a29e-901c876ab42d" title="hadoopcluster" location="/application/urn:uuid:a4888ba9-a0ea-48f2-a29e-901c876ab42d" occiAppName="" occiAppState="deployed"> + <resources xsi:type="platform:Application" id="urn:uuid:a4888ba9-a0ea-48f2-a29e-901c876ab42d" title="Hadoopcluster" location="/application/urn:uuid:a4888ba9-a0ea-48f2-a29e-901c876ab42d" occiAppName="" occiAppState="deployed"> <kind href="http://schemas.modmacao.org/occi/platform#//@kinds[term='application']"/> <attributes name="occi.core.id" value="urn:uuid:a4888ba9-a0ea-48f2-a29e-901c876ab42d"/> <attributes name="occi.core.title" value="hadoopcluster"/> @@ -88,10 +88,10 @@ <attributes name="occi.core.title" value="link4"/> </links> </resources> - <resources xsi:type="infrastructure:Compute" id="urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166cf" title="hadoop-worker-1" location="/compute/urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166cf/" rlinks="//@resources.5/@links.0 //@resources.8/@links.0 //@resources.7/@links.3 //@resources.15/@links.3" occiComputeCores="2" occiComputeHostname="vm2" occiComputeMemory="4096.0" occiComputeState="active"> + <resources xsi:type="infrastructure:Compute" id="urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166cf" title="Hadoop-worker-1" location="/compute/urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166cf/" rlinks="//@resources.5/@links.0 //@resources.8/@links.0 //@resources.7/@links.3 //@resources.15/@links.3" occiComputeCores="2" occiComputeHostname="vm2" occiComputeMemory="4096.0" occiComputeState="active"> <kind href="http://schemas.ogf.org/occi/infrastructure#//@kinds[term='compute']"/> <attributes name="occi.core.id" value="urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166cf"/> - <attributes name="occi.core.title" value="hadoop-worker-1"/> + <attributes name="occi.core.title" value="Hadoop-worker-1"/> <attributes name="occi.core.summary" value=""/> <attributes name="occi.compute.architecture" value="x86"/> <attributes name="occi.compute.cores" value="2"/> @@ -131,7 +131,7 @@ </parts> </links> </resources> - <resources xsi:type="platform:Component" id="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255898" title="Worker" location="/component/urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255898/" rlinks="//@resources.3/@links.1" occiComponentStateMessage=""> + <resources xsi:type="platform:Component" id="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255898" title="HWorker" location="/component/urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255898/" rlinks="//@resources.3/@links.1" occiComponentStateMessage=""> <kind href="http://schemas.modmacao.org/occi/platform#//@kinds[term='component']"/> <attributes name="occi.core.id" value="urn:uuid:f934d445-d0c8-4f2f-8086-d9f1a8255898"/> <attributes name="occi.core.title" value="Worker"/> @@ -146,10 +146,10 @@ <attributes name="occi.core.target" value="/compute/urn:uuid:2e6a73d0-faaa-476a-bd25-ca461dd166ce/"/> </links> </resources> - <resources xsi:type="infrastructure:Network" id="urn:uuid:29d78078-fb4c-47aa-a9af-b8aaf3339591" title="hNetwork" location="/network/urn:uuid:29d78078-fb4c-47aa-a9af-b8aaf3339591/" rlinks="//@resources.0/@links.0 //@resources.4/@links.0" occiNetworkState="active"> + <resources xsi:type="infrastructure:Network" id="urn:uuid:29d78078-fb4c-47aa-a9af-b8aaf3339591" title="HNetwork" location="/network/urn:uuid:29d78078-fb4c-47aa-a9af-b8aaf3339591/" rlinks="//@resources.0/@links.0 //@resources.4/@links.0" occiNetworkState="active"> <kind href="http://schemas.ogf.org/occi/infrastructure#//@kinds[term='network']"/> <attributes name="occi.core.id" value="urn:uuid:29d78078-fb4c-47aa-a9af-b8aaf3339591"/> - <attributes name="occi.core.title" value="hNetwork"/> + <attributes name="occi.core.title" value="HNetwork"/> <attributes name="occi.core.summary" value=""/> <attributes name="occi.network.vlan" value="0"/> <attributes name="occi.network.label" value=""/> @@ -160,10 +160,10 @@ <attributes name="occi.network.address" value="10.254.1.1/24"/> </parts> </resources> - <resources xsi:type="monitoring:Sensor" id="urn:uuid:efb0f50a-7a7c-4153-b939-4846d6554dbb" title="Sensor"> + <resources xsi:type="monitoring:Sensor" id="urn:uuid:efb0f50a-7a7c-4153-b939-4846d6554dbb" title="CPUSensor"> <kind href="http://schemas.ugoe.cs.rwm/monitoring#//@kinds[term='sensor']"/> <attributes name="occi.core.id" value="urn:uuid:efb0f50a-7a7c-4153-b939-4846d6554dbb"/> - <attributes name="occi.core.title" value="Sensor"/> + <attributes name="occi.core.title" value="CPUSensor"/> <attributes name="occi.core.summary" value=""/> <attributes name="occi.app.state" value="undeployed"/> <attributes name="occi.app.state.message" value=""/> @@ -182,17 +182,17 @@ <attributes name="occi.core.id" value="urn:uuid:93f08e31-f350-42b7-a73b-c139eba4a8e3"/> <attributes name="occi.core.title" value="link3"/> </links> - <links xsi:type="monitoring:Monitorableproperty" id="urn:uuid:ba16f4ee-1601-4192-a259-eae4274aed72" title="CPU Monitoring" location="" target="//@resources.4" monitoringProperty="CPU" monitoringResult=""> + <links xsi:type="monitoring:Monitorableproperty" id="urn:uuid:ba16f4ee-1601-4192-a259-eae4274aed72" title="CPU" location="" target="//@resources.4" monitoringProperty="CPU" monitoringResult=""> <kind href="http://schemas.ugoe.cs.rwm/monitoring#//@kinds[term='monitorableproperty']"/> <attributes name="occi.core.id" value="urn:uuid:ba16f4ee-1601-4192-a259-eae4274aed72"/> - <attributes name="occi.core.title" value="CPU Monitoring"/> + <attributes name="occi.core.title" value="CPU"/> <attributes name="monitoring.property" value="CPU"/> </links> </resources> - <resources xsi:type="monitoring:Datagatherer" id="urn:uuid:051affdc-d686-48f8-884c-83fe81718a48" title="DataGatherer" rlinks="//@resources.7/@links.0 //@resources.9/@links.0 //@resources.13/@links.0 //@resources.15/@links.0"> + <resources xsi:type="monitoring:Datagatherer" id="urn:uuid:051affdc-d686-48f8-884c-83fe81718a48" title="Glances" rlinks="//@resources.7/@links.0 //@resources.9/@links.0 //@resources.13/@links.0 //@resources.15/@links.0"> <kind href="http://schemas.ugoe.cs.rwm/monitoring#//@kinds[term='datagatherer']"/> <attributes name="occi.core.id" value="urn:uuid:051affdc-d686-48f8-884c-83fe81718a48"/> - <attributes name="occi.core.title" value="DataGatherer"/> + <attributes name="occi.core.title" value="Glances"/> <parts mixin="//@mixins.3"/> <links xsi:type="placement:Placementlink" id="urn:uuid:60cc05ca-4fd7-465b-8fd0-945dcbf8867f" title="link1" target="//@resources.4"> <kind href="http://schemas.modmacao.org/placement#//@kinds[term='placementlink']"/> @@ -200,10 +200,10 @@ <attributes name="occi.core.title" value="link1"/> </links> </resources> - <resources xsi:type="monitoring:Dataprocessor" id="urn:uuid:1bda25ab-723b-47e7-9704-5134db26ebdc" title="Processor" rlinks="//@resources.10/@links.0 //@resources.7/@links.1"> + <resources xsi:type="monitoring:Dataprocessor" id="urn:uuid:1bda25ab-723b-47e7-9704-5134db26ebdc" title="CPUAggregator" rlinks="//@resources.10/@links.0 //@resources.7/@links.1"> <kind href="http://schemas.ugoe.cs.rwm/monitoring#//@kinds[term='dataprocessor']"/> <attributes name="occi.core.id" value="urn:uuid:1bda25ab-723b-47e7-9704-5134db26ebdc"/> - <attributes name="occi.core.title" value="Processor"/> + <attributes name="occi.core.title" value="CPUAggregator"/> <parts mixin="//@mixins.4"/> <links xsi:type="platform:Componentlink" id="urn:uuid:1a821776-7886-4cb4-8b80-46a8403acf40" title="link1" target="//@resources.8"> <kind href="http://schemas.modmacao.org/occi/platform#//@kinds[term='componentlink']"/> @@ -216,10 +216,10 @@ <attributes name="occi.core.title" value="link2"/> </links> </resources> - <resources xsi:type="monitoring:Resultprovider" id="urn:uuid:588f705e-5279-4847-9337-846af2c86972" title="Resultprovider" rlinks="//@resources.7/@links.2"> + <resources xsi:type="monitoring:Resultprovider" id="urn:uuid:588f705e-5279-4847-9337-846af2c86972" title="CPUProvider" rlinks="//@resources.7/@links.2"> <kind href="http://schemas.ugoe.cs.rwm/monitoring#//@kinds[term='resultprovider']"/> <attributes name="occi.core.id" value="urn:uuid:588f705e-5279-4847-9337-846af2c86972"/> - <attributes name="occi.core.title" value="Resultprovider"/> + <attributes name="occi.core.title" value="CPUProvider"/> <parts mixin="//@mixins.5"/> <parts xsi:type="monitoring:Occiresultprovider"> <mixin href="http://schemas.ugoe.cs.rwm/monitoring#//@mixins[term='occiresultprovider']"/> @@ -346,4 +346,5 @@ <mixins name="CPUPublisher" scheme="http://schemas.modmacao.org/usermixins#" title="CPUPublisher"/> <mixins name="MemProcessor" scheme="http://schemas.modmacao.org/usermixins#" title="MemProcessor"/> <mixins name="MemPublisher" scheme="http://schemas.modmacao.org/usermixins#" title="MemPublisher"/> + <mixins name="CPUProcessorLocal" scheme="http://schemas.modmacao.org/usermixins#" title="CPUProcessorLocal"/> </occi:Configuration>