Commit graph

551 commits

Author SHA1 Message Date
Blake J. Harnden
181a47b8ca updates to some log statements and fix to avoid an exception for finding enpoints in xml 2018-05-01 12:28:20 -07:00
Blake J. Harnden
f5bff494c7 refactored new apis to sit under the emulator module, also reverted moving files under a legacy module to help avoid breaking code using core internals for 5.0+ 2018-05-01 10:40:25 -07:00
Blake J. Harnden
9cb1513933 fixed refactoring bug in broker.py 2018-04-30 16:28:00 -07:00
Blake J. Harnden
44781d0aec set default logging to INFO, cleaned up logging to help isolate debug type messages to DEBUG level, fixed issue with shutdown 2018-04-27 12:09:31 -07:00
Blake J. Harnden
ba3669712a updated gui test to working order, moved distributed test to a sub directory to be ignored by default, added pytest.ini to ignore distributed directory by default 2018-04-27 10:12:01 -07:00
Blake J. Harnden
fe4c21bad4 updates to how and where the node map is populated, now done in CoreEmu and CoreEmu provides a method for updating the map if desired 2018-04-26 16:05:47 -07:00
Blake J. Harnden
164f02e5ac better handling for deleting node directories 2018-04-26 15:52:34 -07:00
Blake J. Harnden
4a2810e9b2 removed issue with double loading services from core-daemon, fixed exceptions noted as not an error previously and updated code to more gracefully handle those cases, fixed issue with add_node when setting node.ype for all nodes 2018-04-26 14:26:39 -07:00
Blake J. Harnden
dc751dde2b removed session manager, since CoreEmu does this now, set future examples to serve as API examples, removed netns examples that are replaced by these API variations 2018-04-26 13:06:18 -07:00
Blake J. Harnden
8644e9d61e moved future core server and handler code to act as the default core-daemon, updated future examples and tests to leverage new api 2018-04-25 16:33:58 -07:00
Blake J. Harnden
f431895357 removed unused code, updated delete session to shutdown session as well and return if session was deleted or not 2018-04-25 11:55:47 -07:00
Blake J. Harnden
c0b450789a updates to make future apis a bit better, updated handlers and all tests to account for changes 2018-04-25 10:55:48 -07:00
Blake J. Harnden
3ea885e2eb refactored some future naming to be more consistent, added new data objects to pass into coreemu api to help make scripting easier, set sessions to master by default now 2018-04-24 16:24:54 -07:00
Blake J. Harnden
1404ca19c5 added some test cases based on future api interactions, node add/delete/update link add/delete/update 2018-04-23 15:46:08 -07:00
Blake J. Harnden
8f0364c44b Merge branch 'rel/5.1' into core-future 2018-04-20 21:48:32 -07:00
Blake J. Harnden
c65baa9298 update to add a way to avoid loading parent service classes, that inherit from CoreService that should not be loaded on their own 2018-04-20 21:40:55 -07:00
Blake J. Harnden
ac2b64aaaf updates to remove restriction for emane in general and emane 1.2.1, should support at leat 1.0.1 possibly further back and can run without emane again, updated gui to ask users to install emane when not preset on the emane models panel 2018-04-20 21:22:08 -07:00
Blake J. Harnden
424c08c5e0 updates to drive most core logic from CoreEmu and Sessions themselves instead of outside code, updated an example to leverage new API, fixed issues testing when executing a script 2018-04-20 17:00:47 -07:00
Blake J. Harnden
93394b042a slight update to clean up some future link handling code 2018-04-19 17:19:31 -07:00
Blake J. Harnden
d8796b377f initial working code for consolidated logic into a future session object, for dealing with nodes/links 2018-04-19 14:25:45 -07:00
Blake J. Harnden
9fe57c6089 initial toy code for future core api changes/improvements 2018-04-17 14:30:34 -07:00
Blake J. Harnden
7e03202ba4 remove old utility examples for now 2018-04-16 14:00:04 -07:00
Blake J. Harnden
b6d891f124 updated emane manager to parse config options from manifest, updates to denote core specific configurations within emane models, update to account for manifest parsing of INETADDR 2018-04-02 14:00:28 -07:00
Blake J. Harnden
1ac95d7dca added markdown annotated example emane model file 2018-03-30 15:39:19 -07:00
Blake J. Harnden
4d01a49ec2 updated emane model phy/mac parsing to account for values that support multiple values into a param list 2018-03-30 14:53:02 -07:00
Blake J. Harnden
405614bbd8 added metaclass to reduce emane model code, fixed broken emaneuniversal references 2018-03-30 12:52:10 -07:00
Blake J. Harnden
fd32e1cf78 added support for emane manifest parsing into core compatible information, refactoring of emane code to align with its usage 2018-03-30 12:08:33 -07:00
Blake J. Harnden
8963ef51e3 fixed bypass unique phy doc under refactored code 2018-03-29 15:13:16 -07:00
Blake J. Harnden
beb5be2ee9 reverted to using class variables for emane models due to inheritence from config class 2018-03-29 14:38:32 -07:00
Blake J. Harnden
19ccd6a63b testing hack for class propery 2018-03-29 14:14:59 -07:00
Blake J. Harnden
4f978f5b96 fixed some emane naming issues 2018-03-29 14:04:15 -07:00
Blake J. Harnden
4df0d78cae resolved circular import withthe universal model 2018-03-29 13:48:40 -07:00
Blake J. Harnden
9ce8233bc3 effort to consolidate logic for emane models, to avoid redundancy for defining a new model 2018-03-29 13:32:06 -07:00
Blake J. Harnden
a48036b353 updated emane tests, all currently working 2018-03-27 23:38:34 -07:00
Blake J. Harnden
2b2548a927 fixed typo during cleanup pass 2018-03-27 23:14:04 -07:00
Blake J. Harnden
b7327a5798 pass over emane code to cleanup methods and some documentation 2018-03-28 13:58:49 -07:00
Blake J. Harnden
ef48052d41 fixed bad logging and updated commeffect to default to connectivity being on, same as emane default 2018-03-27 08:24:28 -07:00
Blake J. Harnden
fcedf68b55 Merge branch 'rel/5.1' into emane-cleanup 2018-03-25 23:47:01 -07:00
Blake J. Harnden
64f501ac79 fixed issue with configuring a couple nrl services, fixed other issues with coresendmsg 2018-03-26 14:36:43 -07:00
Blake J. Harnden
79e1726433 removed swap file and added to gitignore 2018-03-25 22:18:37 -07:00
Blake J. Harnden
2ede524ec3 updated tdma schedule file option to leverage gui file widget 2018-03-25 22:16:52 -07:00
Blake J. Harnden
1f2c78d54a got tdma working, leveraging an example tdma schedule that will be included with packaging 2018-03-25 22:08:22 -07:00
Blake J. Harnden
162cb20e14 Merge branch 'emane-cleanup' of git-ssh.web.boeing.com:Boeing-CORE/CORE into emane-cleanup 2018-03-26 10:33:22 -07:00
Blake J. Harnden
45f041604a adding support to start the tdma schedule after emane startup 2018-03-26 10:27:39 -07:00
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