Blake Harnden
|
5ee561b210
|
daemon: fixed sdt icons due to legacy gui removal, updated node.type to node.model to avoid variables with the same names with different meanings
|
2022-04-05 13:39:57 -07:00 |
|
Blake Harnden
|
c8a589ef76
|
daemon: removing python tlv related code and tests related to it
|
2022-03-08 14:18:47 -08:00 |
|
Blake Harnden
|
2eef7076f4
|
daemon: updated how local services are loaded to leverage full core path imports, avoiding name collisions with external modules
|
2022-03-02 12:42:53 -08:00 |
|
Blake Harnden
|
58ffd045e2
|
daemon: pulling in an old legacy gui related fix for now, that was not merged back
|
2022-02-25 11:05:14 -08:00 |
|
Blake Harnden
|
bd896d1336
|
daemon: added capability to config services to shadow directory structures, from a given path, or from a local source, files may be templates or a straight copy and can be sourced from node named unique paths for node specific files, also refactored and renamed file creation related functions for nodes
|
2021-09-17 14:34:37 -07:00 |
|
Blake Harnden
|
69652ac577
|
updates to python based logging to use module named loggers, updated logging config file to align with these changes
|
2021-04-21 21:09:35 -07:00 |
|
Blake Harnden
|
1c970bbe00
|
daemon: refactoring to remove usage of os.path where possible and pathlib.Path instead
|
2021-03-19 16:54:24 -07:00 |
|
Blake Harnden
|
f6992e7545
|
daemon: moved service boot error to core.errors with all other core specific errors
|
2020-08-27 10:46:55 -07:00 |
|
Blake Harnden
|
5300eef27e
|
daemon: added a more specific error to be thrown when a service does not exist
|
2020-08-27 10:43:13 -07:00 |
|
Blake Harnden
|
05247524d7
|
updates to service dependency resolution to allow for multithreaded startup, also improved tests to validate service boot ordering for expected outcomes
|
2020-08-21 11:34:12 -07:00 |
|
Blake Harnden
|
936d782e41
|
daemon: modified node service boot to properly order services and account for services with the same dependency without cycles, for now removed trying to simultaneously booting services
|
2020-08-18 13:18:41 -07:00 |
|
Blake Harnden
|
e0c9f9c832
|
daemon: moved executable check to CoreEmu and separated them into their own module core.executables
|
2020-06-23 09:11:37 -07:00 |
|
Blake Harnden
|
d94bae6b42
|
daemon: added class variable type hinting to core.services.coreservices
|
2020-06-13 22:25:38 -07:00 |
|
Blake Harnden
|
23d957679e
|
daemon: Session cleanup, removed unused functions, used context managers for writing files, made variables used externally no longer private
|
2020-06-12 20:22:51 -07:00 |
|
Blake Harnden
|
ba8b16ec34
|
added some type hinting with tests to help in refactoring in the future
|
2020-05-24 23:37:38 -07:00 |
|
Blake Harnden
|
1117522c21
|
reverting node service change until protobuf changes are in place
|
2020-04-16 12:31:48 -07:00 |
|
Blake Harnden
|
9bd13dce1e
|
updates to allow setting 0 services for a node, but old gui does not send data in a way that can be compatible
|
2020-04-16 09:19:50 -07:00 |
|
Blake Harnden
|
091131fe5c
|
tweak to session.exception to default node_id to None when not provided
|
2020-03-31 16:39:27 -07:00 |
|
Blake Harnden
|
8186c62b19
|
switched core emulator data files from using namedtuples to backported dataclasses
|
2020-03-31 09:41:29 -07:00 |
|
Blake Harnden
|
39499a4ab4
|
moved ConfigShim to being under tlv, updated RegisterTlvs to use enums directly in non tlv code
|
2020-03-22 14:59:42 -07:00 |
|
Blake Harnden
|
a7790185d4
|
updates to use message flags enum directly
|
2020-03-12 23:12:17 -07:00 |
|
Blake Harnden
|
3d1692fbb3
|
quick fix to coreservices type hinting
|
2020-02-07 08:58:38 -08:00 |
|
Blake Harnden
|
b8ded52a66
|
fixed formatting in docs due
|
2020-01-16 16:12:01 -08:00 |
|
Blake Harnden
|
f4ddf310a8
|
removed rtype and param typing from doc strings to help avoid maintaining duplicate information provided by type hints
|
2020-01-16 11:00:57 -08:00 |
|
Blake Harnden
|
49f09a25cc
|
added type hinting to core.services, avoiding all the various services for now
|
2020-01-14 15:26:19 -08:00 |
|
Blake Harnden
|
6d68034177
|
updated start proto to return exception strings, updated grpc start session to exist early when a failure is found, updated coretk ui to not switch ui to running when start fails and display error dialog
|
2019-12-20 15:11:34 -08:00 |
|
Blake Harnden
|
513eaf2b76
|
improved coretk gui alerts to display alert text when selected, fixed merged code for adding a check to cleanup interfaces, updated session.exceptions to use enums directly
|
2019-12-20 10:51:52 -08:00 |
|
Blake Harnden
|
85521e8c8f
|
added grpc to get current service configurations, fixed bug for core daemon not using custom service configs
|
2019-12-13 18:17:42 -08:00 |
|
Blake Harnden
|
b993fadedb
|
removed grpc check for getting a node service file, it will return the default value when not currently set
|
2019-12-13 11:24:35 -08:00 |
|
Blake Harnden
|
45a23a6c14
|
updated usage of time.time to time.monotonic or time.perf_counter due to time.time possibly rolling backwards
|
2019-12-06 09:42:41 -08:00 |
|
bharnden
|
4e03dc6888
|
updates to grpc StartSession, added utility threadpool function to help improve speed when running certain tasks, made use of utility threadpool function where needed
|
2019-10-29 10:25:39 -07:00 |
|
bharnden
|
6a0a9e7698
|
updated all classes to be created without using (object), in python3 all classes are new style classes
|
2019-10-23 09:31:34 -07:00 |
|
bharnden
|
6006710c32
|
changed net_cmd to host_cmd and node_net_cmd to cmd, for simpler more logical naming
|
2019-10-18 23:28:09 -07:00 |
|
Blake Harnden
|
02ef91242e
|
initial changes to convert all commands to be string based for consistency
|
2019-10-11 16:36:57 -07:00 |
|
Blake Harnden
|
d326f246a7
|
removed node based check_cmd, updated to use appropriate function
|
2019-10-11 12:57:37 -07:00 |
|
Blake Harnden
|
f6cdeb23de
|
changes to update commands to leverage either node_net_cmd/net_cmd
|
2019-10-10 15:25:12 -07:00 |
|
Blake Harnden
|
bc58693339
|
updated emane config files to be generated for remote servers, fixed services not using node remote server compatible commands
|
2019-10-10 11:53:52 -07:00 |
|
Blake Harnden
|
d6cf09e4b8
|
updated service loading to catch on_load exceptions and ignore service
|
2019-09-30 09:33:17 -07:00 |
|
bharnden
|
503fa754a9
|
updates to fail early for required executables that are not in PATH
|
2019-09-27 23:29:15 -07:00 |
|
Blake Harnden
|
c0ce07404f
|
moved service validation to debug, to limit error messages causing confusion about failures
|
2019-09-13 13:26:30 -07:00 |
|
bharnden
|
0d5692e7e8
|
updates to try and clean up info logging, moved some statements to debug
|
2019-09-11 15:05:05 -07:00 |
|
bharnden
|
3776e1dda7
|
moved emane dependent tests into subdir, moved pytest config into setup.cfg, added CoreError and made use of in session.py
|
2019-09-11 13:12:42 -07:00 |
|
bharnden
|
dee91e97bf
|
changes to fix flake8 issues
|
2019-09-10 21:01:51 -07:00 |
|
bharnden
|
1fc8d647c3
|
added flake8/black, pre-commit integration for flake8/black, and black formatting changes
|
2019-09-10 15:10:24 -07:00 |
|
bharnden
|
d5055f85d3
|
pass over files using isort
|
2019-09-10 14:20:51 -07:00 |
|
Blake Harnden
|
db7bfe12bd
|
pass on updated pydocs to reflect path changes
|
2019-06-07 08:59:16 -07:00 |
|
Blake Harnden
|
597bd21994
|
updated logging.warn to logging.warning due to deprecation in python3, fixed python 2/3 filter issue in tests, fixed utf decoding for some missed popen commands
|
2019-06-03 14:36:21 -07:00 |
|
bharnden
|
1e98175e35
|
refactored usages of iteritems, itervalues, and iterkeys to be 2/3 compliant
|
2019-05-05 21:23:43 -07:00 |
|
bharnden
|
8d6bf54a16
|
removed usage of longs, updated int instance checking and octal constants to be 2/3 compliant
|
2019-05-05 17:11:07 -07:00 |
|
bharnden
|
66e603906a
|
updates to layout core module packages in a more logical way, including renaming methods from objects to nodes and nodes.objid to nodes.id
|
2019-04-29 23:31:47 -07:00 |
|