Commit graph

68 commits

Author SHA1 Message Date
Blake Harnden
f4224d1b80 daemon: updated ovs option to be a formal session option, will now display within gui, save to and be read from xml 2020-06-25 22:05:10 -07:00
Blake Harnden
0725199d6d initial sweeping changes to call all usages of various interface related variables and functions (netif, interface, if, ifc, etc) to use a consistent name iface 2020-06-16 09:30:16 -07:00
Blake Harnden
bf1bc511e2 removed configuration option for number of for corehandler threads as it cannot properly deal with anything more than 1, updated man pages to current 6.4 versions for now 2020-06-05 14:34:19 -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
454dc8091e coresendmsg: small usage cleanup, removed printing enum values when listing tlvs, updated examples to use current expected values 2020-05-13 09:25:56 -07:00
Blake Harnden
88a98fff82 docs: added initial documentation for the python beta gui based on prior gui documentation 2020-05-11 12:26:05 -07:00
Blake Harnden
cd8157eff7 renamed python gui to be more similar to other core scripts and specific to it being python, some cleanup to pygui edge drawing and updates to allow for edges to have an arc to support multiple links between the same nodes 2020-04-14 10:47:42 -07:00
Blake Harnden
8c8024df10 updates to formatting for route monitor 2020-04-13 17:02:05 -07:00
Blake Harnden
971a959a19 updates to route monitor 2020-04-13 16:59:55 -07:00
Blake Harnden
87f90cd8e3 added tcpdump check to print a message about its requirement 2020-04-06 16:47:21 -07:00
Blake Harnden
0aa7c6f1f2 cleaned up how grpc creates node protobuf data for grpc interfaces, cleaned up route monitor script slighly 2020-04-06 16:09:01 -07:00
Blake Harnden
0742c08b59 added session/node dir to grpc responses and node channels, updating route monitor to use grpc for getting session/node information 2020-04-06 15:46:47 -07:00
Blake Harnden
2750a69e79 initial route monitor based on searching for core directories 2020-04-06 15:16:16 -07:00
Blake Harnden
7be7beec42 updated core-daemon thread usage to use thread daemon param 2020-04-02 17:33:38 -07:00
Blake Harnden
7a5a0f34ea broke out tlv specific enums into their own module 2020-03-22 14:09:38 -07:00
Jeff Ahrenholz
91dae87810 properly kill python3-based core-daemon when using 'core-cleanup -d' 2020-03-04 13:23:09 -08:00
Blake Harnden
8c4931819b added service update script to help transition older services for use in core 2020-01-31 10:13:24 -08:00
Blake Harnden
6aa7d2175d added file logging for coretk, using a time rotating logger, added command line arg to choose coretk log level 2020-01-28 12:30:12 -08:00
Blake Harnden
d4bce0d25c updated grpc client to have a proxy flag, updated coretk script to have a flag to enable proxy, disabled by default 2020-01-14 22:15:00 -08:00
Blake Harnden
848d4acb8f added imn-to-xml script, fixed bug introduced when reading xml files with custom service files 2020-01-07 15:29:36 -08:00
Blake Harnden
eb7d81614e set pillow logging to ERROR for coretk-gui 2019-12-19 21:28:17 -08:00
Blake Harnden
793d340668 removed mock from setup.py.in as its not needed in python3, added formal script to run coretk gui and remove main line from core/gui/app.py 2019-12-19 11:32:59 -08: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
Blake Harnden
e298a2a5c1 grpc will now always be ran, but can be configured through command line or core.conf 2019-10-18 14:28:50 -07:00
Blake Harnden
7d2a615716 more updates to using f string 2019-10-18 10:33:31 -07:00
Blake Harnden
bb98a4a77f removed circular dependency causing issues in python2 2019-10-04 12:36:15 -07:00
Blake Harnden
3f1ff113ca small core configuration cleanup 2019-09-30 11:51:40 -07:00
Blake Harnden
6b43c00031 removed xmlfilever from config, since not used 2019-09-30 10:36:27 -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
b449729a31 added net client to consolidate bridge and interface creation 2019-09-26 15:20:32 -07:00
bharnden
b14012e5e9 removed node map file and utilities, added formal class methods to session objects and added checks for specific classes where needed 2019-09-26 13:00:12 -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
58471b168b fixed logging changes to be python2 compatible, small change to Pipfile to support possibility of installing to python2, but python3 required for dev 2019-09-11 10:59:06 -07:00
bharnden
dee91e97bf changes to fix flake8 issues 2019-09-10 21:01:51 -07:00
bharnden
d5055f85d3 pass over files using isort 2019-09-10 14:20:51 -07:00
bharnden
6d8099e8c6 added pipenv as a recommend use case for development, updated core-daemon script to allow a parameter to pass in the logging configuration 2019-09-10 13:39:36 -07:00
bharnden
7594afec82 updated all scripts to be executable 2019-06-07 21:49:48 -07:00
Blake Harnden
e62ae42bdc merged latest from master 2019-06-07 10:05:40 -07:00
Blake Harnden
0b770d8350 reverted enclosing system start in exception handler 2019-06-06 11:43:39 -07:00
Blake Harnden
e59a8bf66d changes to add back in coresendmsg udp support 2019-06-06 11:33:22 -07:00
bharnden
f78736ebfd updated coresendmsg and core-manage to be 2/3 compliant 2019-06-04 14:42:40 -07:00
Kevin Larson
c4c1a10f05 Added compatible idioms for configparser and queue to support both python2 and python3 2019-06-03 18:22:25 -07:00
Blake Harnden
7efec88e79 merged latest from develop 2019-06-03 13:06:11 -07:00
Blake Harnden
e063fcd4fe core-daemon now allows configuration for grpc address and port, defaults to localhost, also fixed grpc example due to enum and event changes 2019-05-30 16:31:48 -07:00
bharnden
864c7b69a1 updated Queue and ConfigParser to use 2/3 compatible imports 2019-05-05 21:49:42 -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
bharnden
3498a59ed5 grpc added initial tests and fixture to support them 2019-03-21 23:29:26 -07:00
bharnden
0c0ff95fb6 grpc added listen to server class and updated server/client to specify grpc in their names 2019-03-21 22:56:33 -07:00
bharnden
0ccf5a7456 updated core-daemon to use argparse and formally added ovs and grpc flags 2019-03-02 13:04:55 -08:00
bharnden
e819b706bc grpc support for get session options and location 2019-02-20 21:19:35 -08:00