Upgrading and releases history
pip install -U gns3fy
Releases#
0.7.1#
Enhancement:
- Refactored docs for
mkdocs-material
theme - Improved CircleCI pipeline config to use workflows, parameters and reusable commands
- Changed CI image from
miniconda3
tocircleci
. It has latestpoetry
andcurl
installed, which is needed for testing and publishing coverage. - Added labels to
create_link
method. PR-78 - Testing is done on a per-python interpreter basis, meaning that
tox
is no longer needed.
0.7.0#
Enhancement:
- Ability to manipulate SVGs. Added new methods:
create_drawing
,update_drawing
,delete_drawing
andget_drawing
. Ref #66 - Added a
drawing_utils.py
module that have some helper functions to generate SVGs in the Project:generate_rectangle_svg
,generate_line_svg
andgenerate_ellipse_svg
. Alsoparsed_x
andparsed_y
that helps positions the Nodes and drawings in the canvas. - Python 3.8 support. Ref #68
- Added
upload_compute_image
to theGns3Connector
object. Thanks @skeiffer for the contribution. Ref #62
Fix:
- Fixes issue closing Project. Ref #71
- Update poetry and fix CI. Ref #64
0.6.0#
Enhancement:
- Added
drawings
attribute. Used to gather information fromDrawing
endpoint, and for that there is also theget_drawings
method. - Added
arrange_nodes_circular
method, which as the name indicates it will arrange the nodes configured on a project in a circular fashion. Thanks @Krlosromero for the contribution.
0.5.2#
Enhancement:
- Added
restore_snapshot
to the available snapshot methods of a project
0.5.1#
Fix:
- Argument specification for project snapshot methods
- Cred argument for user-based authentication with a GNS3 server
0.5.0#
New features:
-
Extended templates functionality with
create_template
,update_template
anddelete_template
. Which can be used for migrating templates between GNS3 servers -
Added compute endpoint get method from the REST API. Compute endpoint
get_computes
: Retrieves attributes and characteristics of the GNS3 server compute that will run the emulations.get_compute_images
: Lists images configured for a specific emulator on a compute.-
get_compute_ports
: Lists configured and used console ports and UDP ports on a compute. -
Added projects snapshots attribute and methods. Snapshots endpoint
snapshots
: Attribute that stores snapshots names, IDs and created times of a project. Updated by theget_snapshots
method.get_snapshot
: Retrieves an specific snapshot information.create_snapshot
anddelete_snapshot
: Creates/Delete an specific snapshot
0.4.1#
Fix:
- Dependency of python to start at version 3.6
0.4.0#
New features:
- Added
get_file
andwrite_file
methods toNode
andProject
. Useful for interacting with files that reside on the server like README files,/etc/network/interfaces
file for docker nodes, among other cases
Fix:
- A "template not found" message, when creating a
Node
specifiying a missing/wrong template name.
0.3.0#
Enhancement:
tox
for pipeline testing. PR-15projects_summary
andtemplates_summary
methods forGns3Connector
. PR-17- Improved
nodes_inventory
method. PR-23 - Refactor of
Node
creation, basically changed the API endpoint from Node to Template. PR-27
0.2.0#
New features:
- Ability to create
Project
,Node
andLink
instances - Created most of the methods to interact with the REST API Endpoints.
- Added some commodity methods like
nodes_summary
- Created the
docs
- Improved the tests and coverage
- Added CircleCI with the following checks:
- flake8
- black formatting
- pytest
0.1.1#
Enhancement:
- Adding
Gns3Connector
methodget_version
0.1.0#
- Initial Push