1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 16:28:11 +00:00
gns3-server/tests/topologies
Julien Duponchelle ee533943c8
Start of support for topologies before 2.X
Missing part:
* GNS3 VM
* Cloud
* Image

Ref #564

Early support of conversion from 1.5
2016-07-12 17:14:35 +02:00
..
1_5_builtins Start of support for topologies before 2.X 2016-07-12 17:14:35 +02:00
1_5_docker_remote Start of support for topologies before 2.X 2016-07-12 17:14:35 +02:00
1_5_drawing Start of support for topologies before 2.X 2016-07-12 17:14:35 +02:00
1_5_dynamips Start of support for topologies before 2.X 2016-07-12 17:14:35 +02:00
1_5_qemu Start of support for topologies before 2.X 2016-07-12 17:14:35 +02:00
1_5_virtualbox Start of support for topologies before 2.X 2016-07-12 17:14:35 +02:00
1_5_vmware Start of support for topologies before 2.X 2016-07-12 17:14:35 +02:00
1_5_vpcs Start of support for topologies before 2.X 2016-07-12 17:14:35 +02:00
README.rst Start of support for topologies before 2.X 2016-07-12 17:14:35 +02:00

This directories contain topologies made for previous version of GNS3

Each directory is a GNS3 project. You have two directory inside:
* before 
* after

Before is the state of the project before conversion and after
is the reference for checking if conversion is a success.

To check if file are the same we check the file size except
for .gns3

.gns3 check
###########

The .gns3 json is loaded and compare to the reference project.

You have some special value in the after project:
* "ANYSTR" allow for any string to match
* "ANYUUID" allow for any uuid to match


Run the tests
###############

You can run the tests with:

.. code:: bash

    py.test -vv -x tests/test_topologies.py