Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nemu3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
nemu3
Commits
ddf3f455
Commit
ddf3f455
authored
Jul 19, 2024
by
Tom Niget
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README and setup.py
parent
fe03f797
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
26 deletions
+22
-26
README.md
README.md
+5
-9
benchmarks/linear-raw-throughput.py
benchmarks/linear-raw-throughput.py
+1
-1
examples/sample.py
examples/sample.py
+1
-1
setup.py
setup.py
+15
-15
No files found.
README.md
View file @
ddf3f455
nemu
nemu
3
====
====
=
Nemu (Netwok EMUlator) is a small Python library to create emulated networks
Nemu (Netwok EMUlator) is a small Python library to create emulated networks
and run and test programs in them.
and run and test programs in them.
...
@@ -31,14 +31,10 @@ tests and then starts xterms running tcpdump so you can see the packets flowing
...
@@ -31,14 +31,10 @@ tests and then starts xterms running tcpdump so you can see the packets flowing
from one node to the other.
from one node to the other.
Nemu was started as a research project at
[
INRIA
][]
(Institut de Recheche en
Nemu was started as a research project at
[
INRIA
][]
(Institut de Recheche en
Informatique et Automatique, a French research institution) and now it is
Informatique et Automatique, a French research institution) and this Python 3
developed jointly by INRIA staff and external developers.
port was done by and is still maintained by
[
Nexedi
][]
.
Nemu is now part of
[
Debian
][]
! You can just
`apt-get install python-nemu`
and
start using it.
[
network name spaces
]:
http://lxc.sourceforge.net/index.php/about/kernel-namespaces/network/
[
network name spaces
]:
http://lxc.sourceforge.net/index.php/about/kernel-namespaces/network/
[
Linux containers
]:
http://lxc.sourceforge.net/
[
Linux containers
]:
http://lxc.sourceforge.net/
[
INRIA
]:
http://www.inria.fr/en/
[
INRIA
]:
http://www.inria.fr/en/
[
Debian
]:
http://packages.qa.debian.org/p/python-nemu.html
[
Nexedi
]:
http://www.nexedi.com/
benchmarks/linear-raw-throughput.py
View file @
ddf3f455
#!/usr/bin/env python
2
#!/usr/bin/env python
3
# vim: ts=4:sw=4:et:ai:sts=4
# vim: ts=4:sw=4:et:ai:sts=4
import
csv
,
getopt
,
nemu
,
os
,
os
.
path
,
re
,
select
,
subprocess
,
sys
import
csv
,
getopt
,
nemu
,
os
,
os
.
path
,
re
,
select
,
subprocess
,
sys
...
...
examples/sample.py
View file @
ddf3f455
#!/usr/bin/env python
2
#!/usr/bin/env python
3
# vim:ts=4:sw=4:et:ai:sts=4
# vim:ts=4:sw=4:et:ai:sts=4
import
os
,
nemu
,
subprocess
,
time
import
os
,
nemu
,
subprocess
,
time
...
...
setup.py
View file @
ddf3f455
#!/usr/bin/env python
2
#!/usr/bin/env python
3
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
# vim: ts=4:sw=4:et:ai:sts=4
# vim: ts=4:sw=4:et:ai:sts=4
from
distutils.core
import
setup
,
Extension
,
Command
from
distutils.core
import
setup
setup
(
setup
(
name
=
'nemu3'
,
name
=
'nemu3'
,
version
=
'0.4'
,
version
=
'0.4'
,
description
=
'A lightweight network emulator embedded in a small '
description
=
'A lightweight network emulator embedded in a small '
'python library.'
,
'python library.'
,
author
=
'Martina Ferrari, Alina Quereilhac, Tom Niget'
,
author
=
'Martina Ferrari, Alina Quereilhac, Tom Niget'
,
author_email
=
'tina@tina.pm, aquereilhac@gmail.com, tom.niget@nexedi.com'
,
author_email
=
'tina@tina.pm, aquereilhac@gmail.com, tom.niget@nexedi.com'
,
url
=
'https://github.com/zdimension
/nemu3'
,
url
=
'https://lab.nexedi.com/nexedi
/nemu3'
,
license
=
'GPLv2'
,
license
=
'GPLv2'
,
platforms
=
'Linux'
,
platforms
=
'Linux'
,
packages
=
[
'nemu'
],
packages
=
[
'nemu'
],
install_requires
=
[
'unshare'
,
'six'
,
'attrs'
],
install_requires
=
[
'unshare'
,
'six'
,
'attrs'
],
package_dir
=
{
''
:
'src'
}
package_dir
=
{
''
:
'src'
}
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment