Blake J. Harnden
e4652f6879
tweaks to support latest 80211 config values
2018-03-23 13:00:46 -07:00
Blake J. Harnden
615b723270
merged latest from rel/5.1
2018-03-23 10:33:13 -07:00
Blake J. Harnden
4c35aaaa48
fixed default example config for custom emane models
2018-03-23 10:26:33 -07:00
Blake J. Harnden
44363b0500
removed daemonize code that is not needed for services, cleaned up need for logrotate, removed some logging that was not useful
2018-03-23 09:57:37 -07:00
Blake J. Harnden
68f6b6af9b
fixed new 80211 config
2018-03-22 22:18:27 -07:00
Blake J. Harnden
987e6f4f50
update to find programs from path instead of being hardcoded when build
2018-03-21 23:07:34 -07:00
Blake J. Harnden
4987019cf8
fix to account for emane 1.2.1, until later cleanup
2018-03-21 22:58:07 -07:00
Blake J. Harnden
ef28d998dc
Merge branch 'emane-cleanup' of git-ssh.web.boeing.com:Boeing-CORE/CORE into emane-cleanup
2018-03-21 19:08:53 -07:00
Blake J. Harnden
7ae3385ff0
alphabetizing emane options
2018-03-22 09:58:23 -07:00
Blake J. Harnden
1a867b9d1b
added debug logging for utility commands that are ran
2018-03-21 19:08:47 -07:00
Blake J. Harnden
86afded824
updated emane options to contain all nakagami settings for display within ui, sorted options
2018-03-21 14:24:33 -07:00
Blake J. Harnden
b6cfc2085c
attempt to update physical configuration
2018-03-21 12:54:13 -07:00
Tom Goff
02538522a4
daemon: Add support for EMANE 1.2.1.
2018-03-21 15:25:06 -04:00
Blake J. Harnden
802393725e
added new emane platform options from older versions and latest 1.2.1
2018-03-21 11:58:01 -07:00
Blake J. Harnden
36082ea32e
Merge branch 'emane-cleanup' of git-ssh.web.boeing.com:Boeing-CORE/CORE into emane-cleanup
2018-03-20 19:07:08 -07:00
Blake J. Harnden
ba8b73af41
added some more logging to emane setup/startup
2018-03-21 09:57:08 -07:00
Blake J. Harnden
f5498d0889
Merge branch 'rel/5.1' into emane-cleanup
2018-03-20 14:49:32 -07:00
Blake J. Harnden
5403b10cef
update to set CORE_STATE_DIR to /var
2018-03-20 14:49:17 -07:00
Blake J. Harnden
952cd2ffbd
Merge branch 'rel/5.1' into emane-cleanup
2018-03-20 14:39:32 -07:00
Blake J. Harnden
5629ea0245
fixed issue with bad pathing for quagga run state dir
2018-03-20 14:38:48 -07:00
Blake J. Harnden
79b2fa8468
forgot to remove a line of old emane code in rfpipe
2018-03-20 14:35:00 -07:00
Blake J. Harnden
2142586112
initial pass to remove support for legacy emane code and focus on newer releases
2018-03-19 16:33:36 -07:00
Blake J. Harnden
bc1ef88f82
small fix to coresendmsg and client disconnects no longer log as an exception
2018-03-16 13:10:34 -07:00
Blake J. Harnden
d46aaa1005
Merge branch 'rel/5.1' of git-ssh.web.boeing.com:Boeing-CORE/CORE into rel/5.1
2018-03-16 13:01:23 -07:00
Blake J. Harnden
0e38304b18
updated tcp handler to not timeout and block waiting for messages
2018-03-16 13:01:05 -07:00
Blake J. Harnden
34ce98213d
removed udp server due to the hackiness of its interactions with trying to re-use tcp code
2018-03-16 13:00:03 -07:00
Blake J. Harnden
ee5bbdd949
convenience method created for dealing with udp server cases
2018-03-16 12:39:23 -07:00
Blake J. Harnden
7260f823cb
updates for dispatching replies from udp handler
2018-03-16 12:18:15 -07:00
Blake J. Harnden
76524abbc2
adjustment for getting session from udp client
2018-03-16 12:13:30 -07:00
Blake J. Harnden
02bcdf617d
attempt to correct udp handler
2018-03-16 11:46:05 -07:00
Blake J. Harnden
4e5ee1b3ee
removed aux server/handler code
2018-03-16 11:26:44 -07:00
Blake J. Harnden
e0bbeaf79c
update to logging in relation to core
2018-03-16 09:39:44 -07:00
Blake J. Harnden
cd7fd43978
updates to support emane 1.2.1
2018-03-16 09:33:43 -07:00
Blake J. Harnden
188f9420ca
added a convenience target for generating all documentation based on existing google code example, fixed a few issues with doc strings
2018-03-15 14:31:07 -07:00
Blake J. Harnden
09cf406187
moved daemon/sbin to daemon/scripts
2018-03-15 11:30:11 -07:00
Blake J. Harnden
01fe8d708c
updates to simplify tracking the copyright and an update to 2018, still room for improvement
2018-03-15 10:36:54 -07:00
Blake J. Harnden
b74d3488f7
fixed coresendmsg after testing
2018-03-14 13:34:25 -07:00
Blake J. Harnden
138b2fcc4a
update to get coresendmsg working again
2018-03-14 13:14:14 -07:00
Blake J. Harnden
8e3b6b0b95
updates to try and resync make dist to include current files
2018-03-14 10:43:25 -07:00
Blake J. Harnden
3b568e965d
removed manifest.in from dist line in daemon makefile
2018-03-14 09:04:01 -07:00
Blake J. Harnden
6210e70c80
initial cleanup passing over all makefiles and configure.ac
2018-03-13 16:20:50 -07:00
Blake J. Harnden
a5370ee28c
initial commit removing all related xen code, docs, files
2018-03-07 15:47:14 -08:00
Blake J. Harnden
bc1e3e70c9
initial pass at removing bsd and code related to using bsd nodes
2018-03-07 12:54:19 -08:00
Blake J. Harnden
ec79c7dba3
removed some exceptions that were logged but ignore within services
2018-03-05 09:20:49 -08:00
Blake J. Harnden
974559843a
defined custom core command error that defaults to printing command output as well
2018-03-02 16:22:20 -08:00
Blake J. Harnden
29a3496eda
expose command exceptions within emane and mobility
2018-03-02 15:54:27 -08:00
Blake J. Harnden
fbc749849c
updates to expose exceptions from physical nodes as well
2018-03-02 14:12:57 -08:00
Blake J. Harnden
a8ee7f35d6
updates to check_cmd to just return output, as status is pointless
2018-03-02 13:57:50 -08:00
Blake J. Harnden
43554cbb62
initial effort to remove swallowing exceptions within internal code
2018-03-02 13:39:44 -08:00
Blake J. Harnden
cd77875e64
switched pnodes to check commands ran for configuration
2018-03-02 09:36:29 -08:00
Blake J. Harnden
513bb7e263
fixed issue with refactored mute_detach
2018-03-02 09:20:50 -08:00
Blake J. Harnden
00b3c97448
further removal and refactoring of methods used within misc/utils.py
2018-03-02 09:15:52 -08:00
Blake J. Harnden
6211b09585
further cleanup in regards the commands that are being used within core
2018-03-01 16:23:58 -08:00
Blake J. Harnden
870d87804b
updated commands that return output to strip it before returning
2018-03-01 13:46:09 -08:00
Blake J. Harnden
d3bd61ddcf
updates to consolidate commands that need to be defined by a new node type
2018-03-01 13:21:25 -08:00
Blake J. Harnden
0b8ee7760d
reverted refactoring method name until xen/bsd nodes are cleared out
2018-03-01 09:26:28 -08:00
Blake J. Harnden
908fb777de
updated to vnode on how commands are ran, updated all functions to capture output and raise exceptions when commands fail
2018-03-01 09:17:58 -08:00
Blake J. Harnden
719670c895
further cleanup to vnode.py and corrections to function docs
2018-02-27 16:28:28 -08:00
Blake J. Harnden
01060c50ff
Merge branch '5.1_shell_cleanup' of git-ssh.web.boeing.com:Boeing-CORE/CORE into 5.1_shell_cleanup
2018-02-27 14:56:18 -08:00
Blake J. Harnden
59f22b12cf
minor refactoring to vnode.py
2018-02-27 14:56:13 -08:00
Blake J. Harnden
78537d8e95
fixed some shell command usage in example files
2018-02-27 12:39:12 -08:00
TinCanTech
edc1a92022
Update core.conf
...
Fix typ0s
2018-02-24 18:44:44 +00:00
Jeff Ahrenholz
d0c946ff86
Merge pull request #138 from gsomlo/gls-ns-umount-v2
...
Gls ns umount v2
2018-02-22 07:57:25 -08:00
Blake J. Harnden
127d0b0666
added a shell command with result, leveraged it usage to get output for failures during addfile and mounting within nodes
2018-02-07 19:13:51 -08:00
Blake J. Harnden
e35b4a0a4b
fixed bug with loading emane models in tests, after changing how emane models are loaded
2018-02-07 16:55:53 -08:00
Blake J. Harnden
ceb2e54679
small updates after verifying vcmd return values
2018-02-27 10:55:57 -08:00
Blake J. Harnden
6b8ee13f5d
initial changes to try and cleanup shell commands used within core
2018-02-27 10:48:01 -08:00
Kevin
49a2f77f45
Added code to not query sdn information when node is offline
2018-02-26 10:52:08 -08:00
Blake J. Harnden
c4a61b269b
updates to support dynamic loading of emane models from a custom emane directory
2018-02-05 11:22:01 -08:00
Blake J. Harnden
45e82f05b2
attempt to better support dynamic emane models
2018-02-05 09:01:49 -08:00
Blake J. Harnden
6f4ef0e193
removed unused import and update sonar config to scan different components separately
2018-01-15 10:50:14 -08:00
Blake J. Harnden
f4f5c9f5d8
fix #137
2018-01-15 02:20:11 -08:00
Blake J. Harnden
17d5503fb2
removed daemon addons directory and refereces
2018-01-12 09:50:56 -08:00
Blake J. Harnden
5344d62a7a
Merge branch '5.1' of git-ssh.web.boeing.com:Boeing-CORE/CORE into 5.1
2018-01-12 09:12:55 -08:00
Blake J. Harnden
4fdae0f4b3
removed eric ide project file
2018-01-12 09:12:46 -08:00
Blake J. Harnden
0ee07f89f0
removed unused import in core-daemon
2018-01-11 16:54:12 -08:00
Blake J. Harnden
26b1b01505
updated to readme for building packages, update to makefile to install and build gui with one command
2018-01-11 11:21:56 -08:00
Blake J. Harnden
14312db02d
updated versions to 5.1
2018-01-10 15:22:54 -08:00
Blake J. Harnden
7dff4f3987
added examples and man pages to core packages
2018-01-10 11:03:20 -08:00
Blake J. Harnden
3ce416b610
updated test cases to fix old broken code
2018-01-09 15:52:29 -08:00
Blake J. Harnden
77be7f5c30
moved ns3 from under daemon to the root of the project and updated references
2018-01-04 16:34:22 -08:00
Blake J. Harnden
3da4c32825
updated rpm/deb files to be built for both sysv and systemd
2018-01-04 14:33:25 -08:00
Blake J. Harnden
d799390c4a
moved netns code from daemon/src to netns at the top level, updated files to account for location change
2018-01-04 12:03:14 -08:00
Blake J. Harnden
e4a0069bc3
updated configuration to define the core bin dir within constants, updated code to use the core bin dir for vnoded and vcmd, based on using the fpm build system
2018-01-04 10:09:35 -08:00
Blake J. Harnden
42bcb1c79d
add default node map configuration, to avoid the need to set this up every time
2018-01-04 08:19:34 -08:00
Blake J. Harnden
afb6af5f87
removed old olog format line
2018-01-03 14:40:45 -08:00
Blake J. Harnden
e4c3d9d13a
updated daemon setup.py to leverage find_packages
2018-01-03 13:45:19 -08:00
Blake J. Harnden
742ad0e3a2
removed the usage of logzero, added a formal logging configuration file using json
2018-01-03 10:53:34 -08:00
Blake J. Harnden
59e6b6630a
added initial fpm commands for building packages and minor updates to support
2017-12-21 16:19:12 -08:00
Blake J. Harnden
58c6d03bc4
updates to target building separate packages with fpm
2017-12-19 09:43:19 -08:00
Blake J. Harnden
d3210815ab
updated email in python setup.py files, shifted test dependency together
2017-12-18 15:50:28 -08:00
Gabriel Somlo
f8e941a2b0
daemon: add ${pyexecdir} to $PYTHONPATH in daemon/src/Makefile
...
On x86_64, the "core_python_netns" module is installed into ${pyexecdir},
a.k.a. %{python_sitearch}, a.k.a. "/usr/lib64/python2.7/site-packages".
Adding ${pyexecdir} to $PYTHONPATH will prevent the "install" target in
"daemon/src/Makefile" from failing.
Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
2017-11-20 20:56:48 -05:00
Gabriel Somlo
5901f2e1de
daemon: use "require" to make eggs available for import
...
Since version 5.0, python modules (e.g. core, corens3, and netns)
are installed as .egg bundles, and are not available for importing
by default, unless explicitly we use "pkg-resources.require()".
Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
2017-11-20 20:56:48 -05:00
Gabriel Somlo
6d3d17f470
SimpleLxcNode: Remove unused umount method
...
The umount method was used to remove private mount points before
tearing down a node. Since non-persistend mount namespaces are
automatically cleaned up by he kernel, this method is now unused.
Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
2017-10-11 14:54:27 -04:00
Gabriel Somlo
a5ae485fa6
SimpleLxcNode: Don't umount directories before killing vnoded
...
A node's private mounts are currently removed before killing
vnoded, which makes them unavailable during container service
shutdown. Any such service accessing the filesystem for atexit()
cleanup (e.g., rsyslogd), will do so on the host filesystem
instead, very likely causing unintended damage.
For example, the default behavior of rsyslogd is to remove its
listening socket (/dev/log, or /run/systemd/journal/dev-log) at
shutdown from its atexit() handler. If the node's private '/dev'
or '/run/systemd/journal' mount has already been removed, the
host-side /dev/log or /run/systemd/journal/dev-log sockets will
be removed instead!
Since non-persistent (mount) namespaces are automatically
destroyed by the kernel when the last process referencing them
is killed, we should simply rely on that behavior instead of
explicitly (and prematurely) unmounting a node's private
directories during shutdown.
Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
2017-10-09 20:53:38 -04:00
Blake J. Harnden
2c154bb255
fixed typo in bridge name for ovs
2017-10-03 11:38:58 -07:00
Blake J. Harnden
f61c07c108
removed pip check, updated make files for using DESTDIR, removed usage of pip during make install
2017-08-21 12:55:51 -07:00
Blake J. Harnden
abc9e06fe1
small doc cleanup, updated python specific docs to leverage the sphix rtd theme as well
2017-08-18 11:34:25 -07:00
Blake J. Harnden
f55d241b36
removed copyright header from all files for core-python and corens3
2017-08-18 10:38:27 -07:00
Blake J. Harnden
67501c9000
updates to set default nodes for ns3 examples
2017-08-18 08:48:33 -07:00