gstepanov | 8417c6e | 2015-02-06 15:05:27 +0200 | [diff] [blame] | 1 | <div> |
gstepanov | bb85492 | 2015-02-09 18:18:17 +0200 | [diff] [blame] | 2 | <div> |
| 3 | Lab Name : {{ lab.name }} |
| 4 | </div> |
| 5 | |
| 6 | {% for node in lab.nodes %} |
| 7 | {% for p in node.processors %} |
gstepanov | 3ce37b8 | 2015-02-12 16:20:56 +0200 | [diff] [blame] | 8 | <ul> |
| 9 | <li> |
| 10 | Processor model : {{ p.model }} |
| 11 | Processor frequency : {{ p.frequency }} |
| 12 | </li> |
| 13 | </ul> |
gstepanov | bb85492 | 2015-02-09 18:18:17 +0200 | [diff] [blame] | 14 | {% endfor %} |
| 15 | |
| 16 | {% for i in node.interfaces %} |
gstepanov | 3ce37b8 | 2015-02-12 16:20:56 +0200 | [diff] [blame] | 17 | <ul> |
| 18 | <li> |
| 19 | <div> |
| 20 | |
| 21 | name : {{ i.name }} |
| 22 | MAC frequency : {{ i.mac }} |
| 23 | max speed : {{ i.max_speed }} |
| 24 | current speed : {{ i.current_speed }} |
| 25 | state : {{ i.state }} |
| 26 | </div> |
| 27 | </li> |
| 28 | </ul> |
gstepanov | bb85492 | 2015-02-09 18:18:17 +0200 | [diff] [blame] | 29 | {% endfor %} |
| 30 | |
| 31 | {% for disk in node.disks %} |
gstepanov | 3ce37b8 | 2015-02-12 16:20:56 +0200 | [diff] [blame] | 32 | <ul> |
| 33 | <li> |
| 34 | <div> |
| 35 | Disk name : {{ disk.name }} |
| 36 | Size: {{ disk.size }} |
| 37 | </div> |
| 38 | </li> |
| 39 | </ul> |
gstepanov | bb85492 | 2015-02-09 18:18:17 +0200 | [diff] [blame] | 40 | {% endfor %} |
| 41 | |
gstepanov | 3ce37b8 | 2015-02-12 16:20:56 +0200 | [diff] [blame] | 42 | <ul> |
| 43 | <li> |
| 44 | <div> |
| 45 | Memory total : node.memory.total |
| 46 | Memory : node.memory.maximum_capacity |
| 47 | </div> |
| 48 | </li> |
| 49 | </ul> |
| 50 | </ul> |
gstepanov | bb85492 | 2015-02-09 18:18:17 +0200 | [diff] [blame] | 51 | {% endfor %} |
| 52 | |
gstepanov | 8417c6e | 2015-02-06 15:05:27 +0200 | [diff] [blame] | 53 | </div> |