# EMANE XML Files * Table of Contents {:toc} ## Overview Introduction to the XML files generated by CORE used to drive EMANE for a given node. [EMANE Demo 0](https://github.com/adjacentlink/emane-tutorial/wiki/Demonstration-0) may provide more helpful details. ## Run Demo 1. Select `Open...` within the GUI 1. Load `emane-demo-files.xml` 1. Click ![Start Button](../static/gui/start.gif) 1. After startup completes, double click n1 to bring up the nodes terminal ## Example Demo We will take a look at the files generated in the example demo provided. In this case we are running the RF Pipe model. ### Generated Files |Name|Description| |---|---| |\-platform.xml|configuration file for the emulator instances| |\-nem.xml|configuration for creating a NEM| |\-mac.xml|configuration for defining a NEMs MAC layer| |\-phy.xml|configuration for defining a NEMs PHY layer| |\-trans-virtual.xml|configuration when a virtual transport is being used| |\-trans.xml|configuration when a raw transport is being used| ### Listing File Below are the files within n1 after starting the demo session. ```shell root@n1:/tmp/pycore.46777/n1.conf# ls eth0-mac.xml eth0-trans-virtual.xml n1-platform.xml var.log eth0-nem.xml ipforward.sh quaggaboot.sh var.run eth0-phy.xml n1-emane.log usr.local.etc.quagga var.run.quagga ``` ### Platform XML The root configuration file used to run EMANE for a node is the platform xml file. In this demo we are looking at `n1-platform.xml`. * lists all configuration values set for the platform * The unique nem id given for each interface that EMANE will create for this node * The path to the file(s) used for definition for a given nem ```shell root@n1:/tmp/pycore.46777/n1.conf# cat n1-platform.xml ``` ### NEM XML The nem definition will contain reference to the transport, mac, and phy xml definitions being used for a given nem. ```shell root@n1:/tmp/pycore.46777/n1.conf# cat eth0-nem.xml ``` ### MAC XML MAC layer configuration settings would be found in this file. CORE will write out all values, even if the value is a default value. ```shell root@n1:/tmp/pycore.46777/n1.conf# cat eth0-mac.xml ``` ### PHY XML PHY layer configuration settings would be found in this file. CORE will write out all values, even if the value is a default value. ```shell root@n1:/tmp/pycore.46777/n1.conf# cat eth0-phy.xml ``` ### Transport XML ```shell root@n1:/tmp/pycore.46777/n1.conf# cat eth0-trans-virtual.xml ```