Giter Site home page Giter Site logo

chepeftw / ns3dockeremulator Goto Github PK

View Code? Open in Web Editor NEW
23.0 23.0 12.0 949 KB

Network Emulator based on NS3 and Docker, with the help of NS3 docs, Docker docs and some ideas from some research papers

License: GNU General Public License v3.0

Python 35.79% Shell 20.23% C++ 41.77% Dockerfile 2.20%

ns3dockeremulator's People

Contributors

brunoricardojava avatar chepeftw avatar josealfredo1515 avatar ptrsen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ns3dockeremulator's Issues

-o argument

Hello.
It seems that you have removed the -o argument
parser.add_argument("operationStr", action="store", help="The name of the operation to perform, options: full, create, destroy") parser.add_argument("-n", "--number", action="store", help="The number of nodes to simulate") parser.add_argument("-t", "--time", action="store", help="The time in seconds of NS3 simulation") parser.add_argument('-v', '--version', action='version', version='%(prog)s 1.0')
How do you specify the action ("create or destroy") ?
Thank you.

Containers not reachable

running_emulator
Here's a snapshot of 2 container nodes running.
The containers are using the none bridge, which does not assign any IP to the containers. The NS3 script should provide the network stack , but as seen on the picture, pinging a container from another one is not working .
I also run a iperf as a server on one, and then on another one, I run it as client. Having opened the port 5001.
I run Apache server on a container, and run a curl command from another one. Having exposed ports 80 and 443.

It just seems that it's not possible to reach one container from another one, as of the state of this repository.

How did you manage to connect the containers ?
Did you check with docker 17.05 ?

Thank you.

Animation does work

I saw on the documentation that the animation does not work.
However it is possible to make it work doing the following :
``
#include "ns3/netanim-module.h"
// Insert the following
AnimationInterface anim ("path/to/file/tap-vm.xml");
// Before the simulation starts
Simulator::Stop (Seconds (TotalTime));
Simulator::Run ();
Simulator::Destroy ();

``
simu-tap-vm-adhoc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.