Commit graph

63 commits

Author SHA1 Message Date
bharnden
7aee2b2ba7 updated logging usage, to use the library directly and avoid imposing a core config by default, allowing users of the core library to configure logging as desired 2019-02-16 09:50:19 -08:00
bharnden
03d0e90db5
Merge pull request #198 from coreemu/bugfix/reduce-default-core-daemon-logging
quiet core-daemon by replacing warn messages with debug
2018-11-14 15:26:50 -08:00
bharnden
eb04e0a79f cleanup for core.misc and core.netns 2018-10-11 16:01:17 -07:00
Jeff Ahrenholz
18d4908bf8 quiet core-daemon by replacing warn messages with debug 2018-10-09 10:13:12 -07:00
Blake J. Harnden
991abb1895 added test for utils.make_tuple_fromstr and fixed send_objects to ignore checking nodes for all configs, since that is not always the case 2018-08-17 08:25:57 -07:00
Blake J. Harnden
0c840f553d updated utility split args method to work with both str/unicode types 2018-08-16 16:56:13 -07:00
Blake J. Harnden
ae2c0aa697 fixed issue with loading custom service directories from xml, fixed issue with parsing an empty tuple string in utility method 2018-08-16 12:20:56 -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
615b723270 merged latest from rel/5.1 2018-03-23 10:33:13 -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
1a867b9d1b added debug logging for utility commands that are ran 2018-03-21 19:08:47 -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
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
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
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
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
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
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
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
f55d241b36 removed copyright header from all files for core-python and corens3 2017-08-18 10:38:27 -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
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
850cc599c8 refactored how services are loaded to be more dynamic 2017-08-03 16:33:54 -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
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
3f82c980de pass to help flesh out documentation for core.misc 2017-05-04 10:36:13 -07:00
Blake J. Harnden
00f4ebf5a9 initial commit after bringing over cleaned up code and testing some examples 2017-04-25 08:45:34 -07:00
Rod A Santiago
d17ed889d2 remerged with git pending fix to distributed configuration problem 2016-10-19 16:21:06 -07:00
Rod A Santiago
5d0aa4ac1a Reverted changes due to merge with github commits made on Oct 12. An issue with distributed deployment seem to have been introduced in those commits. 2016-10-19 13:09:21 -07:00
Tom Goff
42b1771dcb daemon: Create a CoreServer class to represent CORE servers.
Includes related changes and refactoring.
2016-10-12 17:36:42 +00:00
Rod A Santiago
46cd65c821 daemon: added support to set <address> 'iface' attribute with interface name in XML written by CORE so different interface addresses can be discriminated on <testHost> instances 2016-04-20 08:41:59 -07:00
Tom Goff
6f77086540 daemon: Remove __del__() methods.
This simplifies Python garbage collection.
2016-03-04 16:57:29 -05:00
Tom Goff
104d05a4be daemon: Minor code reorganization. 2016-01-29 18:22:08 -05:00
Tom Goff
0333c74bec daemon: Used the communicate() method to interact with subprocesses. 2016-01-29 16:56:49 -05:00
Rod A Santiago
e8cf15fb64 assigned specific xml element types to network nested devices (switches and hubs) instead of the generic 'host' type 2016-01-28 15:37:52 -08:00
Tom Goff
28c27d27c1 daemon: Simplify event loop timer processing. 2015-11-05 12:37:48 -05:00
Tom Goff
fc9a7c5759 daemon: Fix adding events to an event loop that already has an event
pending.
2015-11-04 19:02:21 -05:00
Tom Goff
f16f11c272 daemon: Check if devices are found when generating deployed scenario XML. 2015-10-13 11:07:15 -04:00
tgoff0
0fde50992d daemon: Initial support to include a deployed network plan in the NMF
XML scenario representation.
2015-05-22 00:53:22 +00:00
tgoff0
1112da1417 daemon: Initial support for importing a scenario using the new NRL
Network Modeling Framework (NMF) XML representation.
2015-05-22 00:53:15 +00:00
tgoff0
08c9fd8bf5 daemon: Initial support for exporting a scenario using the new NRL
Network Modeling Framework (NMF) XML representation.
2015-05-22 00:53:01 +00:00
tgoff0
750b6c507d daemon: Minor XML-related cleanup. 2015-02-27 00:06:47 +00:00
tgoff0
ca8856d6c8 daemon: Initial support for writing different versions of XML scenario files. 2015-02-05 00:16:14 +00:00