Skip to main content

virtual network project

Project description

vnet-kernel · PyPI

使用

$ sudo docker login --username=GnixAij crpi-fh5v47zqih6dmh6j.cn-hangzhou.personal.cr.aliyuncs.com
[OUTPUT]
Password: qwe123``
$ sudo docker pull crpi-fh5v47zqih6dmh6j.cn-hangzhou.personal.cr.aliyuncs.com/vnet/vnet-kernel:0.4.5
[OUTPUT]
0.4.5: Pulling from vnet/vnet-kernel
fd0410a2d1ae: Pull complete 
4f4fb700ef54: Pull complete 
2e828bf4b3ea: Pull complete 
0d57067b0070: Pull complete 
eebea7d23b79: Pull complete 
Digest: sha256:8e24d5a39d79b11d87bf5871d3b407d73ce8c38e9503b5cf2d29b103a3c080c6
Status: Downloaded newer image for crpi-fh5v47zqih6dmh6j.cn-hangzhou.personal.cr.aliyuncs.com/vnet/vnet-kernel:0.4.5
crpi-fh5v47zqih6dmh6j.cn-hangzhou.personal.cr.aliyuncs.com/vnet/vnet-kernel:0.4.5

python

doc

$ uv pip install -r pyproject.toml --extra doc
$ mkdocs serve

dev

$ uv pip install -r pyproject.toml --extra dev
# test
$ make test

IPC

  1. 目前实现方案为使用 json 文件作为中间数据格式,Python 运行 HTTP 服务,C 通过 curl.h 构造 HTTP 请求 默认占用端口为 8000,执行时间在 1-3s; 2024.11.28
  2. 使用 POSIX Message Queue 进行 VNet 与 C 的通信; 2024.11.30

alt text

Ref

VNet Labs

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vnet_kernel-0.5.4a0.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vnet_kernel-0.5.4a0-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

Details for the file vnet_kernel-0.5.4a0.tar.gz.

File metadata

  • Download URL: vnet_kernel-0.5.4a0.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.3

File hashes

Hashes for vnet_kernel-0.5.4a0.tar.gz
Algorithm Hash digest
SHA256 770a8b093e968ea6971f4da492d10ae060774ee9a5102b2aed80fd8b99ad9590
MD5 e29f03bd7d59e1492dbee4cd937bf07e
BLAKE2b-256 60e0c7289945e292c545eac5377b4c54b2e1d3d74c8de73dd31be3a5292c803e

See more details on using hashes here.

File details

Details for the file vnet_kernel-0.5.4a0-py3-none-any.whl.

File metadata

File hashes

Hashes for vnet_kernel-0.5.4a0-py3-none-any.whl
Algorithm Hash digest
SHA256 c6e6204cb717a712a5d49d00a36672f6d63b4112a4016d247aa97868f6314e14
MD5 8d923fb49324cd25e21dc7a8cfea01ac
BLAKE2b-256 2732581d4289718d7888196c62c3e87ff9204bdd77a72755195884e4e9d2ad36

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page