Skip to main content

GNS3Utils

GNS3Utils is a Python package that provides a convenient interface to interact with the GNS3 server API. It allows users to manage projects, nodes, links, and computes easily.

Installation

You can install the package via pip:

pip3 install GNS3Utils

Usage

Here's a quick example to get you started:

from GNS3Utils import GNS3Utils

gns3 = GNS3Utils('192.168.1.1', 80)



project = gns3.projects.create_project(project_name="Some_Project")
node = gns3.nodes.create_node("test", project['project_id'], "vpcs")
print(gns3.projects.get_project_by_name(name="Some_Project"))
print(gns3.nodes.get_project_nodes(project['project_id']))
gns3.nodes.start_project_nodes(project['project_id'])
gns3.nodes.stop_project_nodes(project['project_id'])
print(gns3.nodes.get_project_node_by_id(project['project_id'], node['node_id']))

Temporarily supports only "v3" API version

License

This project is licensed under the MIT License

Metadata

Release files for GNS3Utils 1.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 GNS3Utils 1.1.0
File Size Uploaded
gns3utils-1.1.0.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for GNS3Utils 1.1.0
File Interpreter ABI Platform
GNS3Utils-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / gns3utils-1.1.0.tar.gz

Download URL gns3utils-1.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
daa2a7a333d2ac839194350435abf7574bb63dc756edaff6b0e39ad4c657cedf
BLAKE2b-256 checksum
How to use checksums
51f938d4c0a002bb6fef7a54841cf2af79764363df6deadc59c1fa20f22d5aa8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.6

Release files / GNS3Utils-1.1.0-py3-none-any.whl

Download URL GNS3Utils-1.1.0-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8026a5838d2784717c0a58a36a1f76bc612baf9cf37e3e1b30dc4564c2b9b86
BLAKE2b-256 checksum
How to use checksums
d044397c4b8d37a3bb218c939f2401ba6cd73aa86ac25ff0789f533d4611eca1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.6

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.1

2 release files

1.0.0

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