diff options
author | Tibor Frank <tifrank@cisco.com> | 2016-04-15 14:46:21 +0200 |
---|---|---|
committer | Stefan Kobza <skobza@cisco.com> | 2016-04-21 15:45:35 +0000 |
commit | 0dfdd32f07fce3d5677c22e0df91ddfdc27a227a (patch) | |
tree | 3cfc0417689f77e229761aba4442c027c2143ed3 /bootstrap.sh | |
parent | 16422e4a23b30b0ac1bc98b20487f6c1cac984c9 (diff) |
Topology schema
- fix Honeycomb part of the topology schema
- add topology file checking using pykwalify before tests are started
Change-Id: I907d41b66f5660a2ab4de8857312e9277052bae6
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index 17d9e17e99..349e4b607e 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -148,6 +148,17 @@ virtualenv env echo pip install pip install -r requirements.txt +pykwalify -s resources/topology_schemas/3_node_topology.sch.yaml \ + -s resources/topology_schemas/topology.sch.yaml \ + -d topologies/enabled/topology.yaml \ + -vvv + +result=$? +if [ "${result}" -ne "0" ]; then + echo "Topology schema validation failed." + echo "However, the tests will start." +fi + PYTHONPATH=`pwd` pybot -L TRACE \ -v TOPOLOGY_PATH:topologies/enabled/topology.yaml \ --include vm_envAND3_node_single_link_topo \ |