Blake Harnden
|
81230edac3
|
daemon: updated utils.cmd to use returncode instead of wait(), removed redundant default encoding value for calls to decode/encode
|
2023-06-08 14:34:24 -07:00 |
|
Blake Harnden
|
69f05a6712
|
daemon: updated top level core modules from using deprecated type hinting
|
2023-04-13 15:48:02 -07:00 |
|
Blake Harnden
|
9c69881aad
|
daemon: updates to expose node.create_cmd and not be private, added utility functions for running multiple commands on multiple nodes more efficiently
|
2022-06-10 14:23:06 -07:00 |
|
Blake Harnden
|
aa8ea40ce6
|
daemon: moved SetQeueue into utils to be leveraged by others, updated MoveNodesStreamer to leverage SetQueue, this will allow a means to stream node movements, but if position changes happen faster than processing, the latest position will override prior pushes and the latest position will be pulled off the queue
|
2022-04-28 16:12:31 -07:00 |
|
Blake Harnden
|
f545726ed5
|
daemon: small improvements to command error reporting, as well as catching and reporting config service get text dynamic exceptions
|
2022-03-04 09:55:40 -08:00 |
|
Blake Harnden
|
9da64af79b
|
grpc: added args to execute script to reflect prior gui functionality, updated new and old gui to use the same exact logic for executing scripts for consistency
|
2021-11-18 09:02:42 -08:00 |
|
Blake Harnden
|
85c5ad22e4
|
daemon: adjustments to load local emane models and config services better using a full import
|
2021-05-07 22:49:58 -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
|
a2148c6923
|
daemon: refactored session.session_dir to session.directory
|
2021-03-19 16:56:54 -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
|
ea44f1b6e7
|
daemon: updated environment reading to leverage pathlib, also added .coregui user environment as a possibility
|
2020-10-11 08:22:33 -07:00 |
|
Blake Harnden
|
a80fda11f5
|
daemon: abstracted out iface specific configuration generation and parsing to common utilities, to avoid duplicate logic and potential differences that may arise
|
2020-09-02 09:44:45 -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
|
adfce52632
|
daemon: removed utils.validate_mac and shifted tests to test_nodes
|
2020-06-19 15:41:41 -07:00 |
|
Blake Harnden
|
0d4a360e89
|
daemon: removed utils.validate_ip and shifted tests to test_nodes
|
2020-06-19 15:32:17 -07:00 |
|
Blake Harnden
|
f73c617ecf
|
daemon: removed utils.make_tuple and last remaining usage
|
2020-06-09 18:53:42 -07:00 |
|
Blake Harnden
|
eaa05c34ba
|
avoid piping subprocess command output when not waiting for results
|
2020-06-04 21:14:11 -07:00 |
|
Blake Harnden
|
95d3a6ca8c
|
updates to force CoreCommandError to contain string values for stderr and stdout, couple bugfixes in handling bad commands when using execute commands from tlv based api or coresendmsg, also updates to coresendmsg to display everything in lowercase to mimic previous look and feel, however coresendmg will now work regardless of casing to avoid breaking things again
|
2020-05-13 12:01:28 -07:00 |
|
Blake Harnden
|
686026d9f2
|
improved netaddr mac dialect usage to leverage constructor parameter
|
2020-05-01 17:40:53 -07:00 |
|
Blake Harnden
|
0e299d5af4
|
update to make use of shutil.which for executable searching
|
2020-03-06 16:41:26 -08:00 |
|
Blake Harnden
|
6b5cd95ac2
|
small updates to new gui exception dialog, fixed error checking and setting interface mac addresses
|
2020-03-05 21:38:52 -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
|
aa96484fb6
|
updated utils.validate_mac format to use unix expanded to avoid singular values
|
2020-01-15 17:02:27 -08:00 |
|
Blake Harnden
|
d1c95a468a
|
updates to log exceptions during threadpool, avoid errors when hwaddr is None during EMANE scenarios
|
2020-01-15 13:58:48 -08:00 |
|
Blake Harnden
|
dcabd8d6f8
|
updates to add type hinting to uses of Callable
|
2020-01-15 11:56:23 -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
|
4e71759ac9
|
updates for typing functions on top level modules
|
2020-01-13 10:06:18 -08:00 |
|
Blake Harnden
|
6042c6fed9
|
added validation checks/conversion for valid values of mac addresses and ip addresses to addaddr and sethwaddr functions
|
2020-01-08 20:44:15 -08:00 |
|
Blake Harnden
|
de493c810a
|
changes to replace MacAddress usage and remove ipaddress module altogether
|
2020-01-08 17:33:49 -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
|
053d2a0b10
|
removed unused utils.hex_dump
|
2019-10-23 11:01:25 -07:00 |
|
Blake Harnden
|
b703ad11c6
|
updating command logging back to debug
|
2019-10-22 12:19:37 -07:00 |
|
Blake Harnden
|
78f981463d
|
renamed utils.check_cmd to utils.cmd, updated host_cmd to allow for shell commands for output redirection
|
2019-10-21 10:32:42 -07:00 |
|
Blake Harnden
|
7d2a615716
|
more updates to using f string
|
2019-10-18 10:33:31 -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
|
b5d71bab82
|
removed VnodeClient.popen
|
2019-10-11 13:36:00 -07:00 |
|
Blake Harnden
|
fc7a161221
|
updated utils.check_cmd to accept the same parameters as other commands and be leveraged for node cmds
|
2019-10-11 13:15:57 -07:00 |
|
Blake Harnden
|
4a6d69bb09
|
removing cmd_output function from utils and nodes
|
2019-10-11 09:34:49 -07:00 |
|
Blake Harnden
|
c3d27eb8a5
|
removed utils.cmd and related node functions
|
2019-10-10 23:01:16 -07:00 |
|
Blake Harnden
|
b7b0e4222c
|
updates for basic working distrbuted network using fabric
|
2019-10-08 15:09:26 -07:00 |
|
Blake Harnden
|
bb98a4a77f
|
removed circular dependency causing issues in python2
|
2019-10-04 12:36:15 -07:00 |
|
bharnden
|
503fa754a9
|
updates to fail early for required executables that are not in PATH
|
2019-09-27 23:29:15 -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
|
05c6233908
|
added utility method to replace execfile for python2/3 support
|
2019-06-21 09:29:19 -07:00 |
|
Blake Harnden
|
c57089284f
|
updates to rename utils.hash to utils.hashkey to avoid builtin conflict
|
2019-06-21 08:51:56 -07:00 |
|
Blake Harnden
|
a5f26e664a
|
updated logic for creating tunnel keys to use a consistent hashing method, since the builtin hash is not guaranteed in python3 as it was before in python2
|
2019-06-20 13:22:20 -07:00 |
|
Blake Harnden
|
d724ee289b
|
added dependency and usage of ethtool to disable rx/tx checksums, since they will never be valid from a veth. also lowered some noisy logging and removed other logging
|
2019-06-12 12:41:01 -07:00 |
|
Blake Harnden
|
db7bfe12bd
|
pass on updated pydocs to reflect path changes
|
2019-06-07 08:59:16 -07:00 |
|