... | @@ -5,6 +5,7 @@ The FlockLab XML test configuration file defines everything needed for a single |
... | @@ -5,6 +5,7 @@ The FlockLab XML test configuration file defines everything needed for a single |
|
* The XML is validated against an [XML schema definition](https://www.flocklab.ethz.ch/user/xml/flocklab.xsd).
|
|
* The XML is validated against an [XML schema definition](https://www.flocklab.ethz.ch/user/xml/flocklab.xsd).
|
|
* We provide a [sample configuration file](https://www.flocklab.ethz.ch/user/xml/flocklab_template.xml) (including an image for the `dpp` (CC430 sensor node))
|
|
* We provide a [sample configuration file](https://www.flocklab.ethz.ch/user/xml/flocklab_template.xml) (including an image for the `dpp` (CC430 sensor node))
|
|
* Test configuration files can be [validated](https://flocklab.ethz.ch/user/xmlvalidate.php) (without being actually registered in FlockLab).
|
|
* Test configuration files can be [validated](https://flocklab.ethz.ch/user/xmlvalidate.php) (without being actually registered in FlockLab).
|
|
|
|
* Note that the ordering of the XML tags matters within a configuration block matters.
|
|
|
|
|
|
<br />
|
|
<br />
|
|
|
|
|
... | @@ -19,7 +20,7 @@ A test configuration consists of several blocks: |
... | @@ -19,7 +20,7 @@ A test configuration consists of several blocks: |
|
* A block with the general configuration of the test: when a test starts/ends, which targets are used and so on.
|
|
* A block with the general configuration of the test: when a test starts/ends, which targets are used and so on.
|
|
* Blocks with the configurations for all targets: which image is used, which ID an image should have and the used voltage
|
|
* Blocks with the configurations for all targets: which image is used, which ID an image should have and the used voltage
|
|
* Blocks for each service used in the test. These blocks are only needed for services which are actually needed.
|
|
* Blocks for each service used in the test. These blocks are only needed for services which are actually needed.
|
|
All configuration elements have to be embedded into the outermost elements:
|
|
All configuration elements have to be embedded into the outermost element:
|
|
|
|
|
|
```
|
|
```
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
... | | ... | |