Signed-off-by: Radek Pazdera <rpazdera(a)redhat.com>
---
recipes/examples/quick_guides/ping_check.xml | 27 +++++----------------------
1 file changed, 5 insertions(+), 22 deletions(-)
diff --git a/recipes/examples/quick_guides/ping_check.xml
b/recipes/examples/quick_guides/ping_check.xml
index 73495f6..586fffe 100644
--- a/recipes/examples/quick_guides/ping_check.xml
+++ b/recipes/examples/quick_guides/ping_check.xml
@@ -1,22 +1,13 @@
<!--
-This is a recipe from a quick guide that
-is available on LNST wiki page:
+This is a recipe from a quick guide that is available on LNST wiki page:
https://fedorahosted.org/lnst/wiki/QuickGuides/QuickGuidePingCheck
-->
<lnstrecipe>
<machines>
<machine id="testmachine1">
- <params>
- <!-- Change hostname bellow -->
- <param name="hostname" value="192.168.1.2"/>
- </params>
<interfaces>
<eth id="testifc1" network="tnet">
- <params>
- <!-- Change hwaddr here -->
- <param name="hwaddr"
value="52:54:01:00:00:05"/>
- </params>
<addresses>
<address value="192.168.200.2/24"/>
</addresses>
@@ -25,16 +16,8 @@ is available on LNST wiki page:
</machine>
<machine id="testmachine2">
- <params>
- <!-- Change hostname bellow -->
- <param name="hostname" value="192.168.1.3"/>
- </params>
<interfaces>
<eth id="testifc2" network="tnet">
- <params>
- <!-- Change hwaddr here -->
- <param name="hwaddr"
value="52:54:01:00:00:06"/>
- </params>
<addresses>
<address value="192.168.200.3/24"/>
</addresses>
@@ -43,12 +26,12 @@ is available on LNST wiki page:
</machine>
</machines>
- <command_sequence>
- <command type="test" machine_id="testmachine1"
value="IcmpPing">
+ <task>
+ <run machine="testmachine1" module="IcmpPing">
<options>
<option name="addr"
value="{ip(testmachine2,testifc2)}"/>
<option name="count" value="3"/>
</options>
- </command>
- </command_sequence>
+ </run>
+ </task>
</lnstrecipe>
--
1.8.3.1