2016-10-23 02:14:16 +01:00
|
|
|
CORE
|
|
|
|
====
|
2013-08-29 15:21:13 +01:00
|
|
|
|
|
|
|
CORE: Common Open Research Emulator
|
2016-10-23 02:14:16 +01:00
|
|
|
|
2018-03-15 17:36:54 +00:00
|
|
|
Copyright (c)2005-2018 the Boeing Company.
|
2016-10-23 02:14:16 +01:00
|
|
|
|
2013-08-29 15:21:13 +01:00
|
|
|
See the LICENSE file included in this distribution.
|
|
|
|
|
2016-10-23 02:14:16 +01:00
|
|
|
About
|
2018-01-11 20:21:08 +00:00
|
|
|
-----
|
2016-10-23 02:14:16 +01:00
|
|
|
|
2013-08-29 15:21:13 +01:00
|
|
|
CORE is a tool for emulating networks using a GUI or Python scripts. The CORE
|
|
|
|
project site (1) is a good source of introductory information, with a manual,
|
2017-01-26 17:13:47 +00:00
|
|
|
screenshots, and demos about this software. The GitHub project (2) hosts the
|
|
|
|
source repos, wiki, and bug tracker. There is a deprecated
|
|
|
|
Google Code page (3) with the old wiki, blog, bug tracker, and quickstart guide.
|
2013-08-29 15:21:13 +01:00
|
|
|
|
2016-10-23 02:18:17 +01:00
|
|
|
1. http://www.nrl.navy.mil/itd/ncs/products/core
|
2018-01-11 20:19:57 +00:00
|
|
|
1. https://github.com/coreemu/core
|
|
|
|
1. http://code.google.com/p/coreemu/
|
|
|
|
1. [Official Documentation](https://downloads.pf.itd.nrl.navy.mil/docs/core/core-html/index.html)
|
2013-08-29 15:21:13 +01:00
|
|
|
|
2016-10-23 02:14:16 +01:00
|
|
|
Building CORE
|
2018-01-11 20:21:08 +00:00
|
|
|
-------------
|
2013-08-29 15:21:13 +01:00
|
|
|
|
|
|
|
To build this software you should use:
|
|
|
|
|
2018-01-11 20:03:55 +00:00
|
|
|
```shell
|
2018-01-11 19:29:06 +00:00
|
|
|
./bootstrap.sh
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
sudo make install
|
|
|
|
```
|
2013-08-29 15:21:13 +01:00
|
|
|
|
2017-06-20 02:09:28 +01:00
|
|
|
Note: You may need to pass the proxy settings to sudo make install:
|
|
|
|
sudo make install HTTP_PROXY=<proxy>
|
|
|
|
|
2013-08-29 15:21:13 +01:00
|
|
|
Here is what is installed with 'make install':
|
|
|
|
|
2016-10-23 02:14:16 +01:00
|
|
|
/usr/local/bin/core-gui
|
2018-01-11 19:21:56 +00:00
|
|
|
/usr/local/bin/core-daemon
|
2018-03-15 18:30:11 +00:00
|
|
|
/usr/local/bin/[vcmd, vnoded, coresendmsg, core-cleanup]
|
2016-10-23 02:14:16 +01:00
|
|
|
/usr/local/lib/core/*
|
|
|
|
/usr/local/share/core/*
|
|
|
|
/usr/local/lib/python2.6/dist-packages/core/*
|
|
|
|
/usr/local/lib/python2.6/dist-packages/[netns,vcmd].so
|
|
|
|
/etc/core/*
|
|
|
|
/etc/init.d/core
|
2013-08-29 15:21:13 +01:00
|
|
|
|
|
|
|
See the manual for the software required for building CORE.
|
|
|
|
|
2017-08-19 00:35:26 +01:00
|
|
|
Building Documentation
|
2018-01-11 20:21:08 +00:00
|
|
|
----------------------
|
2017-08-19 00:35:26 +01:00
|
|
|
|
|
|
|
Being able to build documentation depends on help2man being installed.
|
|
|
|
|
|
|
|
Once that has been done you can run the following commands:
|
|
|
|
|
2018-01-11 20:03:55 +00:00
|
|
|
```shell
|
2018-01-11 19:29:06 +00:00
|
|
|
./bootstrap.sh
|
|
|
|
./configure
|
|
|
|
make html
|
|
|
|
```
|
2013-08-29 15:21:13 +01:00
|
|
|
|
2018-01-11 19:21:56 +00:00
|
|
|
Building Packages
|
2018-01-11 20:21:08 +00:00
|
|
|
-----------------
|
2018-01-11 19:21:56 +00:00
|
|
|
|
|
|
|
Install fpm
|
|
|
|
|
|
|
|
http://fpm.readthedocs.io/en/latest/installing.html
|
|
|
|
|
|
|
|
Build package commands, DESTDIR is used for gui packaging only
|
|
|
|
|
2018-01-11 20:03:55 +00:00
|
|
|
```shell
|
2018-01-11 19:29:06 +00:00
|
|
|
./bootstrap.sh
|
|
|
|
./configure
|
|
|
|
make
|
|
|
|
mkdir /tmp/core-gui
|
|
|
|
make fpm DESTDIR=/tmp/core-gui
|
|
|
|
```
|
2018-01-11 19:21:56 +00:00
|
|
|
|
|
|
|
This will produce:
|
|
|
|
|
|
|
|
* CORE GUI rpm/deb files
|
|
|
|
* CORE ns3 rpm/deb files
|
|
|
|
* CORE python rpm/deb files for SysV and systemd service types
|
|
|
|
|
2016-10-23 02:14:16 +01:00
|
|
|
Running CORE
|
2018-01-11 20:21:08 +00:00
|
|
|
------------
|
2013-08-29 15:21:13 +01:00
|
|
|
|
|
|
|
First start the CORE services:
|
|
|
|
|
2018-01-11 20:03:55 +00:00
|
|
|
```shell
|
2018-01-11 19:29:06 +00:00
|
|
|
sudo /etc/init.d/core-daemon start
|
|
|
|
```
|
2013-08-29 15:21:13 +01:00
|
|
|
|
2017-08-19 00:35:26 +01:00
|
|
|
This automatically runs the core-daemon program.
|
2013-08-29 15:21:13 +01:00
|
|
|
Assuming the GUI is in your PATH, run the CORE GUI by typing the following:
|
|
|
|
|
2018-01-11 20:03:55 +00:00
|
|
|
```shell
|
2018-01-11 19:29:06 +00:00
|
|
|
core-gui
|
|
|
|
```
|
2013-08-29 15:21:13 +01:00
|
|
|
|
|
|
|
This launches the CORE GUI. You do not need to run the GUI as root.
|
|
|
|
|
2016-10-23 02:14:16 +01:00
|
|
|
|
|
|
|
Support
|
2018-01-11 20:21:08 +00:00
|
|
|
-------
|
2013-08-29 15:21:13 +01:00
|
|
|
|
|
|
|
If you have questions, comments, or trouble, please use the CORE mailing lists:
|
2016-10-23 02:14:16 +01:00
|
|
|
|
2018-01-11 20:19:57 +00:00
|
|
|
- [core-users](https://pf.itd.nrl.navy.mil/mailman/listinfo/core-users) for general comments and questions
|
|
|
|
- [core-dev](https://pf.itd.nrl.navy.mil/mailman/listinfo/core-dev) for bugs, compile errors, and other development issues
|