Code Monkey home page Code Monkey logo

Comments (2)

sgalgano avatar sgalgano commented on June 27, 2024

I'm not sure I totally follow your question. It is possible to build your own application that links with libemane. Your application can create NEMs based on any configuration mechanism. That is pretty much what the emane application does.

I'd start by looking at NEMBuilder and NEMManager to see how NEMs are instantiated and managed. Then take a look at Emulator and Main for the startup flow of the emulator.

from emane.

rjmccabe3701 avatar rjmccabe3701 commented on June 27, 2024

My question was more concerning does EMANE natively (without writing custom C++ code) support dynamic NEM creation/deletion? I was hoping that a protocol buffer-based API could be used to communicate with a running EMANE process. For instance, it would be neat if there were a utility in the scripts directory called emaneevent-nemcontrol or something. And this could communicate with the NemDirector in the running emane process, and direct it to create/destroy nems. Of course the protocol-buffer based protocol to create a new NEM would require all the information (mac/phy plugin names, configuration, etc) that is provided by the xml files (used when running emane via the normal command line method).

The reason I ask: I believe I heard from a co-worker that such a feature exists in the newer EMANE releases (I haven't used emane since v0.9.3 -- I'm just getting ramped back up on its capabilities), was just asking the experts before I do a deep-dive in the source.

I agree that adding this functionality to this repository would be a lot of work and could be accomplished by just using the tools provided by libemane. I will look into your suggestions and write some custom code to do what I want. Thanks!

from emane.

Related Issues (20)

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.