30 | | |
| 30 | <tr> |
| 31 | <td> <img border="0" width=336 src="http://groups.geni.net/geni/attachment/wiki/GeniDesktop/Manual/gdfeatures/val/validation4.png?format=raw"/></td> |
| 32 | <td valign="middle"> |
| 33 | <ol type="1" start=4> |
| 34 | <li>TNow let us manually bring down an interface. Log into one of the nodes in your slice . We will use the [wiki:ssh SSH Module] to do this. To bring the interface down we do "sudo ifconfig eth1 down" where eth1 is one of the experimental interface.</li> |
| 35 | </ol> |
| 36 | </td> |
| 37 | </tr> |
| 38 | <tr> |
| 39 | <td> <img border="0" width=304 src="http://groups.geni.net/geni/attachment/wiki/GeniDesktop/Manual/gdfeatures/val/validation5.png?format=raw"/></td> |
| 40 | <td valign="middle"> |
| 41 | <ol type="1" start=5> |
| 42 | <li>Redo Step 3. You notice one if the interface showing up as failed with a yellow background. This because the link is not actually down. Its one end of it which we consider a partial failure of the link/node.</li> |
| 43 | </ol> |
| 44 | </td> |
| 45 | </tr> |
| 46 | <tr> |
| 47 | <td> <img border="0" width=396 src="http://groups.geni.net/geni/attachment/wiki/GeniDesktop/Manual/gdfeatures/val/val5.png?format=raw"/></td> |
| 48 | <td valign="middle"> |
| 49 | <ol type="1" start=5> |
| 50 | <li>If you have a custom script that you would like to use to validate a particular condition in your slice, you can also upload that to the Validation module. All that is required of the script is to </br/> |
| 51 | <ul> |
| 52 | <li>Return with exit status of 0 on success</li> |
| 53 | <li>Return with exit status of 1 on failure</li> |
| 54 | <li>Return with exit status of 2 on a partial failure.</li> |
| 55 | </ul><br/> |
| 56 | Any output to console will be display in the table.</li> |
| 57 | </ol> |
| 58 | </td> |
| 59 | </tr> |
33 | | 4. Now let us manually bring down an interface. Log into one of the nodes in your slice . We will use the [wiki:ssh SSH Module] to do this. To bring the interface down we do "sudo ifconfig eth1 down" where eth1 is one of the experimental interface. |
34 | | |
35 | | [[Image(validation4.png, 336)]] |
36 | | |
37 | | |
38 | | |
39 | | 5. Redo step3. |
40 | | |
41 | | |
42 | | |
43 | | |
44 | | [[Image(validation5.png, 304)]] |
45 | | |
46 | | You notice one if the interface showing up as failed with a yellow background. This because the link is not actually down. Its one end of it which we consider a partial failure of the link/node. |
47 | | |
48 | | 6. If you have a custom script that you would like to use to validate a particular condition in your slice, you can also upload that to the Validation module. All that is required of the script is to |
49 | | |
50 | | * Return with exit status of 0 on success |
51 | | * Return with exit status of 1 on failure |
52 | | * Return with exit status of 2 on a partial failure. |
53 | | |
54 | | Any output to console will be display in the table. |
55 | | |
56 | | [[Image(val5.png, 396)]] |