Skip to content

Commit f7d2e85

Browse files
authored
Merge pull request #879 from coreemu/develop
CORE 9.1.0
2 parents 20071ee + 68e1bdf commit f7d2e85

File tree

248 files changed

+4281
-11478
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+4281
-11478
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ coverage.xml
4444
# python files
4545
*.egg-info
4646
*.pyc
47+
*.pyi
4748

4849
# ignore package files
4950
*.rpm

CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
## 2024-07-04 CORE 9.1.0
2+
3+
* Installation
4+
* most install files are now consolidated under /opt/core
5+
* \#830 / \#831 - fixed issues with systemd service support
6+
* Documentation
7+
* added notes about MaxSession configuration for SSH when running distributed
8+
* \#826 - updated tutorial 3 documentation
9+
* core-daemon
10+
* updated Docker nodes to use docker exec by default for commands
11+
* added Podman nodes
12+
* Docker/Podman compose support for nodes to allow greater configuration
13+
* Docker/Podman node images no longer require network tools for orchestration
14+
* EMANE configuration parsing updated to treat regexes as provided
15+
* executables are now symlinks under $prefix/bin to avoid PATH issues
16+
* new flag added to quickly enable debug logging
17+
* code refactoring for handling internal nodes like control nets and ptp
18+
* \#789 - wlan nodes can now configure the subnet for connected nodes
19+
* \#801 - fixed issue running EMANE within Docker/Podman
20+
* \#816 - fixed split link configuration saving to XML
21+
* \#823 - config services are now the default and only services available
22+
* \#842 - gRPC WLAN add node during runtime fixed
23+
* \#875 - fix dataclass creation for python 3.11+
24+
* core-gui
25+
* fixed copy/paste nodes to include image name
26+
* adds root to xhost by default when running
27+
* \#811 - added convenience shortcut to run arbitrary commands from nodes, like wireshark
28+
129
## 2023-08-01 CORE 9.0.3
230

331
* Installation

Makefile.am

+11-13
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,8 @@ fpm -s dir -t rpm -n core \
9494
--vendor "$(PACKAGE_VENDOR)" \
9595
-p core_VERSION_ARCH.rpm \
9696
-v $(PACKAGE_VERSION) \
97-
--rpm-init package/core-daemon \
98-
--after-install package/after-install.sh \
99-
--after-remove package/after-remove.sh \
97+
--after-install package/after-install-rpm.sh \
98+
--after-remove package/after-remove-rpm.sh \
10099
-d "ethtool" \
101100
-d "tk" \
102101
-d "procps-ng" \
@@ -108,9 +107,10 @@ fpm -s dir -t rpm -n core \
108107
-d "nftables" \
109108
netns/vnoded=/usr/bin/ \
110109
netns/vcmd=/usr/bin/ \
111-
package/etc/core.conf=/etc/core/ \
112-
package/etc/logging.conf=/etc/core/ \
113-
package/examples=/opt/core/ \
110+
package/core-daemon.service=/usr/lib/systemd/system/ \
111+
package/etc/core.conf=/opt/core/etc/ \
112+
package/etc/logging.conf=/opt/core/etc/ \
113+
package/share=/opt/core/ \
114114
daemon/dist/core-$(PACKAGE_VERSION)-py3-none-any.whl=/opt/core/
115115
endef
116116

@@ -125,8 +125,8 @@ fpm -s dir -t deb -n core \
125125
-v $(PACKAGE_VERSION) \
126126
--deb-systemd package/core-daemon.service \
127127
--deb-no-default-config-files \
128-
--after-install package/after-install.sh \
129-
--after-remove package/after-remove.sh \
128+
--after-install package/after-install-deb.sh \
129+
--after-remove package/after-remove-deb.sh \
130130
-d "ethtool" \
131131
-d "tk" \
132132
-d "libtk-img" \
@@ -139,9 +139,9 @@ fpm -s dir -t deb -n core \
139139
-d "nftables" \
140140
netns/vnoded=/usr/bin/ \
141141
netns/vcmd=/usr/bin/ \
142-
package/etc/core.conf=/etc/core/ \
143-
package/etc/logging.conf=/etc/core/ \
144-
package/examples=/opt/core/ \
142+
package/etc/core.conf=/opt/core/etc/ \
143+
package/etc/logging.conf=/opt/core/etc/ \
144+
package/share=/opt/core/ \
145145
daemon/dist/core-$(PACKAGE_VERSION)-py3-none-any.whl=/opt/core/
146146
endef
147147

@@ -172,8 +172,6 @@ $(info creating file $1 from $1.in)
172172
-e 's,[@]bindir[@],$(bindir),g' \
173173
-e 's,[@]PACKAGE_VERSION[@],$(PACKAGE_VERSION),g' \
174174
-e 's,[@]PACKAGE_DATE[@],$(PACKAGE_DATE),g' \
175-
-e 's,[@]CORE_LIB_DIR[@],$(CORE_LIB_DIR),g' \
176-
-e 's,[@]CORE_STATE_DIR[@],$(CORE_STATE_DIR),g' \
177175
-e 's,[@]CORE_DATA_DIR[@],$(CORE_DATA_DIR),g' \
178176
-e 's,[@]CORE_CONF_DIR[@],$(CORE_CONF_DIR),g' \
179177
< $1.in > $1

README.md

+17-9
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,46 @@
11
# CORE
2+
23
CORE: Common Open Research Emulator
34

4-
Copyright (c)2005-2022 the Boeing Company.
5+
Copyright (c)2005-2023 the Boeing Company.
56

67
See the LICENSE file included in this distribution.
78

89
## About
10+
911
The Common Open Research Emulator (CORE) is a tool for emulating
1012
networks on one or more machines. You can connect these emulated
1113
networks to live networks. CORE consists of a GUI for drawing
1214
topologies of lightweight virtual machines, and Python modules for
1315
scripting network emulation.
1416

17+
## Documentation & Support
18+
19+
We are leveraging GitHub hosted documentation and Discord for persistent
20+
chat rooms. This allows for more dynamic conversations and the
21+
capability to respond faster. Feel free to join us at the link below.
22+
23+
* [Documentation](https://coreemu.github.io/core/)
24+
* [Discord Channel](https://discord.gg/AKd7kmP)
25+
1526
## Quick Start
27+
1628
Requires Python 3.9+. More detailed instructions and install options can be found
1729
[here](https://coreemu.github.io/core/install.html).
1830

1931
### Package Install
32+
2033
Grab the latest deb/rpm from [releases](https://github.com/coreemu/core/releases).
2134

2235
This will install vnoded/vcmd, system dependencies, and CORE within a python
2336
virtual environment at `/opt/core/venv`.
37+
2438
```shell
2539
sudo <yum/apt> install -y ./<package>
2640
```
2741

2842
Then install OSPF MDR from source:
43+
2944
```shell
3045
git clone https://github.com/USNavalResearchLaboratory/ospf-mdr.git
3146
cd ospf-mdr
@@ -38,6 +53,7 @@ sudo make install
3853
```
3954

4055
### Script Install
56+
4157
The following should get you up and running on Ubuntu 22.04. This would
4258
install CORE into a python3 virtual environment and install
4359
[OSPF MDR](https://github.com/USNavalResearchLaboratory/ospf-mdr) from source.
@@ -54,11 +70,3 @@ inv install
5470
# CentOS
5571
inv install -p /usr
5672
```
57-
58-
## Documentation & Support
59-
We are leveraging GitHub hosted documentation and Discord for persistent
60-
chat rooms. This allows for more dynamic conversations and the
61-
capability to respond faster. Feel free to join us at the link below.
62-
63-
* [Documentation](https://coreemu.github.io/core/)
64-
* [Discord Channel](https://discord.gg/AKd7kmP)

configure.ac

+3-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Process this file with autoconf to produce a configure script.
33

44
# this defines the CORE version number, must be static for AC_INIT
5-
AC_INIT(core, 9.0.3)
5+
AC_INIT(core, 9.1.0)
66

77
# autoconf and automake initialization
88
AC_CONFIG_SRCDIR([netns/version.h.in])
@@ -17,18 +17,14 @@ PACKAGE_VENDOR="CORE Developers"
1717
PACKAGE_MAINTAINERS="$PACKAGE_VENDOR"
1818

1919
# core specific variables
20-
CORE_LIB_DIR="\${prefix}/lib/core"
21-
CORE_CONF_DIR="/etc/core"
22-
CORE_DATA_DIR="\${datadir}/core"
23-
CORE_STATE_DIR="/var"
20+
CORE_CONF_DIR="/opt/core/etc"
21+
CORE_DATA_DIR="/opt/core/share"
2422

2523
AC_SUBST(PACKAGE_DATE)
2624
AC_SUBST(PACKAGE_MAINTAINERS)
2725
AC_SUBST(PACKAGE_VENDOR)
28-
AC_SUBST(CORE_LIB_DIR)
2926
AC_SUBST(CORE_CONF_DIR)
3027
AC_SUBST(CORE_DATA_DIR)
31-
AC_SUBST(CORE_STATE_DIR)
3228

3329
# documentation option
3430
AC_ARG_ENABLE([docs],

0 commit comments

Comments
 (0)