Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
example s4u-platform-properties: test thehost->get_englobing_zone and diplay its...
[simgrid.git] / examples / s4u / platform-properties / s4u-platform-properties.tesh
index 9a93d11..f9a14b8 100644 (file)
@@ -12,7 +12,7 @@ $ ${bindir:=.}/s4u-platform-properties ${platfdir}/prop.xml s4u-platform-propert
 > [  0.000000] (0:maestro@) Host 'node-2.simgrid.org' runs at 1000000000 flops/s
 > [  0.000000] (0:maestro@) Host 'node-3.simgrid.org' runs at 1000000000 flops/s
 > [  0.000000] (0:maestro@) Host 'node-4.simgrid.org' runs at 1000000000 flops/s
-> [  0.000000] (2:bob@host1) == Print the properties of the zone
+> [  0.000000] (2:bob@host1) == Print the properties of the root zone
 > [  0.000000] (2:bob@host1)    Zone property: filename -> prop.xml
 > [  0.000000] (2:bob@host1)    Zone property: date -> 31-08-12
 > [  0.000000] (2:bob@host1)    Zone property: author -> pnavarro
@@ -27,6 +27,8 @@ $ ${bindir:=.}/s4u-platform-properties ${platfdir}/prop.xml s4u-platform-propert
 > [  0.000000] (1:alice@host1)    Property: Hdd old value: 180
 > [  0.000000] (1:alice@host1) == Trying to modify a host property
 > [  0.000000] (1:alice@host1)    Property: Hdd old value: 250
+> [  0.000000] (1:alice@host1) == Print the properties of the zone 'AS4' that contains 'host1'
+> [  0.000000] (1:alice@host1)   Zone property: 'bla' -> 'bli'
 > [  1.000000] (3:carole@host2) == Print the properties of the host 'host1'
 > [  1.000000] (3:carole@host2)   Host property: 'Hdd' -> '180'
 > [  1.000000] (3:carole@host2)   Host property: 'mem' -> '4'
@@ -35,6 +37,8 @@ $ ${bindir:=.}/s4u-platform-properties ${platfdir}/prop.xml s4u-platform-propert
 > [  1.000000] (3:carole@host2)    Property: Hdd old value: 180
 > [  1.000000] (3:carole@host2) == Trying to modify a host property
 > [  1.000000] (3:carole@host2)    Property: Hdd old value: 250
+> [  1.000000] (3:carole@host2) == Print the properties of the zone 'AS4' that contains 'host1'
+> [  1.000000] (3:carole@host2)   Zone property: 'bla' -> 'bli'
 > [  2.000000] (4:david@host2) == Print the properties of the host 'node-0.simgrid.org'
 > [  2.000000] (4:david@host2)   Host property: 'Hdd' -> '180'
 > [  2.000000] (4:david@host2)   Host property: 'bla' -> 'acme cluster'
@@ -44,3 +48,7 @@ $ ${bindir:=.}/s4u-platform-properties ${platfdir}/prop.xml s4u-platform-propert
 > [  2.000000] (4:david@host2)    Property: Hdd old value: 180
 > [  2.000000] (4:david@host2) == Trying to modify a host property
 > [  2.000000] (4:david@host2)    Property: Hdd old value: 250
+> [  2.000000] (4:david@host2) == Print the properties of the zone 'acme' that contains 'node-0.simgrid.org'
+> [  2.000000] (4:david@host2)   Zone property: 'Hdd' -> '180'
+> [  2.000000] (4:david@host2)   Zone property: 'bla' -> 'acme cluster'
+> [  2.000000] (4:david@host2)   Zone property: 'mem' -> '42'