In the /etc/core.conf file, you can enable EMANE event monitoring by setting 
the corresponding attribute to “true”.  I can’t remember the exact attribute 
name but it’s something like emane_monitor. This causes CORE to subscribe to 
the EMANE event channel and when location events are received, it translates 
the EMANE GPS location to the CORE canvas x,y  location and updates the node 
locations on the CORE canvas.  So, it’s a fairly limited use of EMANE events.  

Another visualization option is using the 3-D “Scripted Display Tool” (SDT).  
CORE has some rudimentary support to drive an associated SDT display, but I 
generally have my EMANE event generator (separate from CORE) also drive the SDT 
display with node locations and “link up” and “link down” status according to 
the predicted radio connectivity given pathless and radio parameters.  SDT 
layers let you use its links, symbols and other annotations to visualize 
different aspects of the running emulation.  Eventually, it may be nice to have 
set of “SDT widgets” similar to the current CORE canvas widgets accessible from 
the CORE GUI.  

At the moment I tend to use _both_ the CORE canvas and its widgets along with a 
separate SDT visualization (and sometimes multiple SDT visualizations with 
different views and layer sets) to monitor various emulation activities in 
different ways.  You can also capture the SDT commands for future playback, but 
at the moment these added capabilities are in the “do it yourself” department.  
We hope to mature and share more of these things we develop as “add ons” to the 
emulation framework over time.  I do have a Python-based suite in development 
that ingests Network Modeling Framework (NMF) XML “planning” documents we are 
using to define scenarios (mobility, network/comms connectivity, and 
application/protocol services) then uses the CORE Python APIs to have CORE 
deploy the emulation into container-based VMs on a single host or set of hosts 
running the core-daemon and begin its execution.  This Python tool (called 
“nmf2core.py”) includes its own event generator to generate EMANE events as 
well as drive an SDT display.  This code currently accesses and uses the EMANE 
python event service APIs that CORE instantiates for its own EMANE control and 
monitoring.

This code is available for download from 
http://downloads.pf.itd.nrl.navy.mil/mnmtools/nightly_snapshots/ as the 
“scriptools-svnsnap.tgz” file. (ou can run "python setup.py install nmf” to 
install the Python tools I am describing here.  (we have formalized any stable 
releases of this stuff yet).  I also have a little bit of “how-to” 
documentation on using the “nmf2core.py” and associated tools from this 
package, but the long pole in the tent is the documentation for creating new 
scenarios defined by the NMF XML files is not very mature.  But the code in 
development here may give you some ideas for enriching your CORE+EMANE 
experience.  We’re hoping to provide a more integrated option of using these 
different components together over time, while preserving the modularity and 
ability to use these on an independent basis, too (e.g. EMANE usage 
configure/deployed/controlled by other means, too).  We may directly add these 
capabilities to the CORE code base itself (or CORE’s progeny) in the future as 
the concept and implementation matures.  Since, at this time, this work is done 
as a side effort in conjunction with our ongoing research activities, I don’t 
have a specific timeline for that maturation.

(I just saw Steve Galgano’s note regarding posting this to the core-users 
mailing list, so this response is also cross-posted to that list.)

best regards,

Brian


> On Nov 3, 2016, at 1:25 PM, GONZALEZ, SAXXON K DR-01 USAF AFMC AFRL/RITF 
> <[email protected]> wrote:
> 
> Hello, 
> 
> I was hoping someone might be able to point me to any resources that can get
> me started with using CORE in conjunction with EMANE. The CORE manual has
> very little information on how to do this. Particularly I am interested on
> how I can use CORE to  subscribe to EMANE events. The CORE manual mentions
> that this is possible but never says how to do so.
> 
> Thank you for any assistance that you can provide me.
> _______________________________________________
> emane-users mailing list
> [email protected]
> http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users

_______________________________________________
emane-users mailing list
[email protected]
http://pf.itd.nrl.navy.mil/mailman/listinfo/emane-users

Reply via email to