MIT License

项目介绍

Belyashik-code/GNS3Utils 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 31 个 Star、0 次 Fork。

仓库全名
Belyashik-code/GNS3Utils
开源许可证
MIT License
Star 数
31

README 摘要

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: Usage Here's a quick example to get you started: Temporarily supports only "v3" API version License This project is licensed under the MIT License

完整内容见 GitHub 原始 README 或本页 。

常见问题

GNS3Utils 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 31 个 Star。

GNS3Utils 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 GNS3Utils 的源码?

可以直接克隆仓库:git clone https://github.com/Belyashik-code/GNS3Utils.git,默认分支为 master;安装与运行步骤见仓库 README。

GNS3Utils 最近还在维护吗?

仓库最近一次更新为 2024年10月2日,当前没有未关闭的 Issue;Star 数为 31,可作为社区活跃度的参考。

关于

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. (Python library wrapper around GNS3 Server REST API)

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
34
价值分
18
活跃状态
活跃

README

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

评论

暂无评论