Commit graph

461 commits

Author SHA1 Message Date
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
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
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
Blake J. Harnden
8155cdc617 documentation theme update, version bumping to 5.0, changes to cleanup pass for ns3 code 2017-08-17 15:25:12 -07:00
Blake J. Harnden
f282f4ea15 initial pass on converting corens3 to use latest code and small cleanup 2017-08-17 13:29:19 -07:00
Blake J. Harnden
fc7fb0f76c fixed sendall in sdt, after testing core/sdt3d integration 2017-08-16 12:03:32 -07:00
Blake J. Harnden
f9847cef34 changed core_python to define version locally, instead of in another file causing import issues 2017-08-10 08:43:02 -07:00
Blake J. Harnden
463618ddf8 small refactoring on how node maps are used, added logic to switch to using a map based on bsd nodes using previous logic 2017-08-09 10:03:43 -07:00
Blake J. Harnden
eb5dd3780c updated installation to use pip for core_python, added a pip check to configure.ac 2017-08-08 11:29:01 -07:00
Blake J. Harnden
67d451c3e9 fixed old log imports and dont bail out on tdma model exception 2017-08-08 09:17:09 -07:00
Blake J. Harnden
f3863ead73 removed service load methids, since they are no longer used, added way for custom service load code to facilitate the unique docker service case 2017-08-07 16:40:39 -07:00
Blake J. Harnden
73eea80f51 attempt to fix missing updates for sdt, moved broker specific code to broker 2017-08-07 15:37:41 -07:00
Blake J. Harnden
8612c73d49 worked through a couple todos, removed usage of eval within parsing xml files 2017-08-07 13:02:25 -07:00
Blake J. Harnden
e4b280196b switched to making use of logzero for logging, provides nicer color output, and an easier path to switch to rotating log files 2017-08-07 11:58:51 -07:00
Blake J. Harnden
76bec9950d more changes to support a common usage of double quotes 2017-08-04 14:51:25 -07:00
Blake J. Harnden
2281051edf making usage of double quotes standard for emane files 2017-08-04 14:34:44 -07:00
Blake J. Harnden
850cc599c8 refactored how services are loaded to be more dynamic 2017-08-03 16:33:54 -07:00
Blake J. Harnden
35c48e67a3 modified the way custom services can be imported and added a test case to verify the import functionality 2017-08-03 14:27:39 -07:00
Blake J. Harnden
78ff7f2189 quick pass for small cleanup within bsd nodes 2017-08-03 12:44:08 -07:00
Blake J. Harnden
1f9a8879c1 quick pass at small xen code cleanup and usage of double quotes 2017-08-03 12:04:22 -07:00
Blake J. Harnden
bc1a24e880 fixed some refactoring issues with xen and bsd code 2017-08-03 09:48:26 -07:00
Blake J. Harnden
d915436c7d added a simple test for a tunnel node, although better testing awwma to require configuration outside of core 2017-08-03 09:37:22 -07:00
Blake J. Harnden
b62076c240 added test script and test for mobility script testing 2017-08-02 16:39:38 -07:00
Blake J. Harnden
05ce19b0c0 fixed refactoring issues in mobility.py, fixed issue with parsing config files in a tuple string format 2017-08-02 14:07:56 -07:00
Blake J. Harnden
4d21314798 fixed renaming issue with sessionid to session_id 2017-08-02 12:25:57 -07:00
Blake J. Harnden
f67547faa6 small test cleanup, functioning distributed core test case, depends on an already running server 2017-08-01 09:28:11 -07:00
Blake J. Harnden
350341cda7 added various log messages to help with correcting issues, added some for adding tunnels that fixes p2p with distributed core, but teardown for p2p is still broken 2017-07-31 09:08:57 -07:00
Blake J. Harnden
e2a932698c appear to have fixed the gui shutdown issue with messages being sent out of order, causing a node to remain with a red box 2017-07-27 16:03:27 -07:00
Blake J. Harnden
14a5d11c4e parameterized emane tests, added tdma test, although it is currently failing 2017-07-27 14:59:40 -07:00
Blake J. Harnden
832f497d47 updated tests to leverage parameterized tests, reduces bloat and make testing the same situation differently much easier 2017-07-27 14:17:33 -07:00
Blake J. Harnden
6a875bcd8d added vnodeclient testing, added a run tests script to make testing easier 2017-07-27 11:57:01 -07:00
Blake J. Harnden
ebe3b9e3e3 added mock for python testing, removed a couple unused methods, added some more quick tests for a variety of interface related methods 2017-07-26 16:52:17 -07:00
Blake J. Harnden
62e8ff8731 fixed one small sdt renaming issue, updated a gui test case 2017-07-26 08:48:59 -07:00
Blake J. Harnden
f767c32643 small test cleanup, can isolate to a singular core test fixture 2017-07-25 10:16:18 -07:00
Blake J. Harnden
45a11f7586 removed session from manager after from server fixes issue in gui with red shutdown box not being removed 2017-07-13 10:10:54 -07:00
Blake J. Harnden
ad179438c6 fixed issue where config messages were not being broadcasted out 2017-07-13 09:36:09 -07:00
Blake J. Harnden
3ba7e3b1a3 added broadcasting of node/link messages to multiple session client scenarios 2017-07-12 12:39:40 -07:00
Blake J. Harnden
964fdd6793 fixed issue causing service configuration loop 2017-07-12 10:35:53 -07:00
Blake J. Harnden
fe08481763 updated wlan tests to be mdr based nodes with emane services 2017-07-12 09:46:57 -07:00
Blake J. Harnden
d51e80fac8 updated emane commeffect test to turn on default connectivity, test now passes 2017-07-12 09:29:36 -07:00
Blake J. Harnden
9934ce8d3f fixed issue with core config messages generating file messages, still seems to be an inifinite loop issue 2017-07-11 15:51:56 -07:00
Blake J. Harnden
336702a056 updated emane tests to use mdr models for the nodes, add a couple extra logs 2017-07-11 10:35:08 -07:00
Blake J. Harnden
777e19de93 initial effort to try and fix multiple clients to behave as before, includes fixes for guaranteed message ordering of nodes before links when joining a session 2017-07-11 08:55:15 -07:00
Blake J. Harnden
673fdc94b5 removed unused imports in emane files, refactored emane testing to simplify test cases and reduce repeated code 2017-07-10 10:44:10 -07:00
Blake J. Harnden
dced47b588 fixed emane version checks, fixed emane config message handling, added initial emane test cases 2017-07-10 09:25:33 -07:00
Blake J. Harnden
613e550e8a merged latest code from rodolfos merge from the latest github pull 2017-07-06 15:10:50 -07:00
Blake J. Harnden
77890841bc fixed incorrect usage of getattr, the default value can not be a keyword argument 2017-07-05 13:43:57 -07:00
Blake J. Harnden
6bfa81f3a8 small cleanup to sdn services, added loadservice line to daemon, and updated example service for how current services are coded 2017-07-05 13:32:16 -07:00
Rod A Santiago
55a6e2dcef merged cleanup branch with master 2017-06-19 18:09:28 -07:00