A lightweight, rootless network emulator for Linux.
Project description
NetEMU
A lightweight, rootless network emulator for Linux. Written in Python without any dependencies.
Example
# python -m netemu
> new
[469392] Created node n1
> new
[469418] Created node n2
> new switch
[469450] Created switch sw1
> n1 connect sw1
Connected n1 to sw1
> n2 connect sw1
Connected n2 to sw1
> n1 ip a add 10.0.0.1/24 dev veth_sw1
> n2 ip a add 10.0.0.2/24 dev veth_sw1
> n1
sh-5.2# ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.069 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.046 ms
64 bytes from 10.0.0.2: icmp_seq=3 ttl=64 time=0.041 ms
^C
--- 10.0.0.2 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2063ms
rtt min/avg/max/mdev = 0.041/0.052/0.069/0.012 ms
sh-5.2# exit
> exit
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
netemu-0.0.1.tar.gz
(18.0 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
netemu-0.0.1-py3-none-any.whl
(16.8 kB
view details)
File details
Details for the file netemu-0.0.1.tar.gz.
File metadata
- Download URL: netemu-0.0.1.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a22c6e29fa254eb78ed4f2c3fa3a5113b406c49cf45bf7606336f9222362cb3
|
|
| MD5 |
f6ae64610fd1c9dfc23b3bf9bbffb873
|
|
| BLAKE2b-256 |
fcee6d0c3e4f56104c5ca4894629db373ba3079921285c5450b690dbe5ad5c1b
|
File details
Details for the file netemu-0.0.1-py3-none-any.whl.
File metadata
- Download URL: netemu-0.0.1-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0f83c371de4f251178926b2b856e584dda9fd9e85469092d3bb97ff3e002508
|
|
| MD5 |
d319ae9772d15171a4e4eeeb1dc3bf3d
|
|
| BLAKE2b-256 |
255f1fa512a70812a2ad395f76f40f5bcaeabc05ab79526c7bd3de748e99dba3
|
File details
Details for the file netemu-0.0.1-py2.py3-none-any.whl.
File metadata
- Download URL: netemu-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a4466ed7a83e22695bd254a6d65dd07a2b575797f1b0f95fca2c3091803a7a2
|
|
| MD5 |
1655e05abae05c837196ff25b571a06b
|
|
| BLAKE2b-256 |
75d5a7c9360c52705e5fe5ac2c9c794f798bd447de550d704a0fad1a8d28ee88
|