3 p Testing a S4U application with properties in the XML for Hosts, Links and Actors
6 $ ${bindir:=.}/s4u-platform-properties ${platfdir}/prop.xml s4u-platform-properties_d.xml "--log=root.fmt:[%10.6r]%e(%i:%a@%h)%e%m%n"
7 > [ 0.000000] (0:maestro@) There are 7 hosts in the environment
8 > [ 0.000000] (0:maestro@) Host 'host1' runs at 1000000000 flops/s
9 > [ 0.000000] (0:maestro@) Host 'host2' runs at 1000000000 flops/s
10 > [ 0.000000] (0:maestro@) Host 'node-0.simgrid.org' runs at 1000000000 flops/s
11 > [ 0.000000] (0:maestro@) Host 'node-1.simgrid.org' runs at 1000000000 flops/s
12 > [ 0.000000] (0:maestro@) Host 'node-2.simgrid.org' runs at 1000000000 flops/s
13 > [ 0.000000] (0:maestro@) Host 'node-3.simgrid.org' runs at 1000000000 flops/s
14 > [ 0.000000] (0:maestro@) Host 'node-4.simgrid.org' runs at 1000000000 flops/s
15 > [ 0.000000] (2:bob@host1) == Print the properties of the root zone
16 > [ 0.000000] (2:bob@host1) Zone property: filename -> prop.xml
17 > [ 0.000000] (2:bob@host1) Zone property: date -> 31-08-12
18 > [ 0.000000] (2:bob@host1) Zone property: author -> pnavarro
19 > [ 0.000000] (2:bob@host1) == Print the properties of the actor
20 > [ 0.000000] (2:bob@host1) Actor property: SomeProp -> SomeValue
21 > [ 0.000000] (2:bob@host1) == Try to get an actor property that does not exist
22 > [ 0.000000] (1:alice@host1) == Print the properties of the host 'host1'
23 > [ 0.000000] (1:alice@host1) Host property: 'Hdd' -> '180'
24 > [ 0.000000] (1:alice@host1) Host property: 'mem' -> '4'
25 > [ 0.000000] (1:alice@host1) == Try to get a host property that does not exist
26 > [ 0.000000] (1:alice@host1) == Try to get a host property that does exist
27 > [ 0.000000] (1:alice@host1) Property: Hdd old value: 180
28 > [ 0.000000] (1:alice@host1) == Trying to modify a host property
29 > [ 0.000000] (1:alice@host1) Property: Hdd old value: 250
30 > [ 0.000000] (1:alice@host1) == Print the properties of the zone 'AS4' that contains 'host1'
31 > [ 0.000000] (1:alice@host1) Zone property: 'bla' -> 'bli'
32 > [ 1.000000] (3:carole@host2) == Print the properties of the host 'host1'
33 > [ 1.000000] (3:carole@host2) Host property: 'Hdd' -> '180'
34 > [ 1.000000] (3:carole@host2) Host property: 'mem' -> '4'
35 > [ 1.000000] (3:carole@host2) == Try to get a host property that does not exist
36 > [ 1.000000] (3:carole@host2) == Try to get a host property that does exist
37 > [ 1.000000] (3:carole@host2) Property: Hdd old value: 180
38 > [ 1.000000] (3:carole@host2) == Trying to modify a host property
39 > [ 1.000000] (3:carole@host2) Property: Hdd old value: 250
40 > [ 1.000000] (3:carole@host2) == Print the properties of the zone 'AS4' that contains 'host1'
41 > [ 1.000000] (3:carole@host2) Zone property: 'bla' -> 'bli'
42 > [ 2.000000] (4:david@host2) == Print the properties of the host 'node-0.simgrid.org'
43 > [ 2.000000] (4:david@host2) Host property: 'Hdd' -> '180'
44 > [ 2.000000] (4:david@host2) Host property: 'bla' -> 'acme cluster'
45 > [ 2.000000] (4:david@host2) Host property: 'mem' -> '42'
46 > [ 2.000000] (4:david@host2) == Try to get a host property that does not exist
47 > [ 2.000000] (4:david@host2) == Try to get a host property that does exist
48 > [ 2.000000] (4:david@host2) Property: Hdd old value: 180
49 > [ 2.000000] (4:david@host2) == Trying to modify a host property
50 > [ 2.000000] (4:david@host2) Property: Hdd old value: 250
51 > [ 2.000000] (4:david@host2) == Print the properties of the zone 'acme' that contains 'node-0.simgrid.org'
52 > [ 2.000000] (4:david@host2) Zone property: 'Hdd' -> '180'
53 > [ 2.000000] (4:david@host2) Zone property: 'bla' -> 'acme cluster'
54 > [ 2.000000] (4:david@host2) Zone property: 'mem' -> '42'