Skip to main content

Python 3.9 License: MIT

gns3-client

gns3-client is a Python library that can be used to interact with a GNS3 server using its HTTP REST API. A GNS3 server manages emulators or hypervisors such as Dynamips, VirtualBox or Qemu/KVM.

Disclaimer

This library does not aim at explaining nor documenting in any way the GNS3 server API. Please check the GNS3 server official documentation for further information.

Getting Started

Tests provide a very good starting point.

Prerequisites

You'll need a GNS3 server appliance or virtual machine to use the library. Instructions on how to install a server appliance or virtual machine can be found on the GNS3 website.

Installing

pip install gns3-client

Running the tests

You'll need a GNS3 server appliance or virtual machine to test the library. Instructions on how to install a server appliance or virtual machine can be found on the GNS3 website.

Location of this test server is provided via these 2 environment variables:

Environment variable name Description Example
GNS3_SERVER_URL The URL of the GNS3 test server http://gns3.example.com:3080/v2

You then simply need to perform a python -v tests/.

Limitations

In this version, all CRUD operations of the following object types have been implemented:

  • projects
  • templates
  • nodes
  • links
  • drawings

Contributing

Please read CONTRIBUTING.md for details on our code of conduct.

Building

poetry build
poetry publish

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Metadata

Release files for gns3-client 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gns3-client 0.1.0
File Size Uploaded
gns3-client-0.1.0.tar.gz 11.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gns3-client 0.1.0
File Interpreter ABI Platform
gns3_client-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.6 kB

Release files / gns3-client-0.1.0.tar.gz

Download URL gns3-client-0.1.0.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6fe99ed0318d2fd14a5badd9c08fdba62589c9f5329b0234c707b518486eb0a3
BLAKE2b-256 checksum
How to use checksums
9f84cac282041627cb7dc52f53c09772df1396de77a7fc920361c2f4cc60ea8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.9.9 Darwin/20.6.0

Release files / gns3_client-0.1.0-py3-none-any.whl

Download URL gns3_client-0.1.0-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2ca588fd33a854ebed40af0eb2ed695b4bd1775e21f86c47e2ee30dfcf7efe5
BLAKE2b-256 checksum
How to use checksums
3a66ef810473f25c6984219d01f2a68f48ac30332b984f71d30307eb7bb3a372
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.9.9 Darwin/20.6.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page