Commit graph

1853 commits

Author SHA1 Message Date
bharnden
bf9b776ad1
Merge pull request #312 from coreemu/feature/remove-sudo-from-init-script
Feature/remove sudo from init script
2019-11-02 15:00:16 -07:00
bharnden
b991dc0242 updates to handle delete hook and button states 2019-11-02 14:46:30 -07:00
bharnden
8c1b70822e fixed how hooks get created and sent to grpc StartSession, also query hooks when joining a session 2019-11-02 14:34:00 -07:00
bharnden
c947d8c6c2 update to hooks dialog to leverage grpc, allows for getting hooks and creation 2019-11-02 10:29:16 -07:00
bharnden
09e18889b0 start to hooks dialog and hook dialog create/edit 2019-11-01 18:14:36 -07:00
bharnden
b4f4ecd93d avoid issues when open/save xml provides no value 2019-11-01 16:47:30 -07:00
bharnden
f10acbc8d9 added gui directory check and creation, created module for referencing gui directories 2019-11-01 16:31:40 -07:00
bharnden
0f78acaa0c update method names for drawing main app, moved delete window call into app 2019-11-01 13:57:41 -07:00
bharnden
6c49a73e38 removed old image, fixed get image calls in images.py 2019-11-01 13:45:42 -07:00
bharnden
6fa3beb1c1 refactoring to change core_grpc to core, and update CoreGrpc to be CoreClient and have core now be client, also refactored usages of application to be just app to keep it short 2019-11-01 13:42:49 -07:00
bharnden
1f230146a6 merged grpcmanager with coregrpc 2019-11-01 13:15:45 -07:00
bharnden
5369694797 merged latest from coretk 2019-11-01 11:34:38 -07:00
bharnden
0e5d7a6f80 cleanup for organizing how some parameters are passed around, merging logic into central places, avoiding things like needing to requery a session multiple times for joining 2019-11-01 10:45:47 -07:00
Huy Pham
96d020a53d coretk 2019-11-01 09:01:56 -07:00
Huy Pham
22e773df1b fix merge conflict 2019-11-01 08:56:35 -07:00
Huy Pham
bdf13ca037 Merge branch 'develop' into coretk-config 2019-11-01 08:49:33 -07:00
Huy Pham
60fff54918 work on wlan config 2019-11-01 08:35:14 -07:00
bharnden
01d3a3158a updated sessions dialog to use common dialog base, cleaned up code and made widgets expandable 2019-10-31 23:17:26 -07:00
Blake Harnden
f0c32304db removed canvas border for configuration options 2019-10-31 15:54:38 -07:00
Blake Harnden
c65c846638 updated configutils to generate a scrollable view for configurations 2019-10-31 15:18:49 -07:00
Blake Harnden
891e9aef9a initial add with a common dialog class and leveraging it for a session options dialog 2019-10-31 14:06:50 -07:00
Jeff Ahrenholz
6be1e19d98 don't flush IPv6 address if interface is absent 2019-10-31 13:20:28 -07:00
Jeff Ahrenholz
140fe3c7fe remove sudo from init script, since it is already running as root 2019-10-31 13:11:09 -07:00
Jeff Ahrenholz
85c926ff47 create ebtables chains as needed
* otherwise every switch gets a chain, causing problems with simultaneous running Python scripts
2019-10-31 13:00:46 -07:00
Blake Harnden
e19e8c12f7 Merge branch 'develop' into coretk 2019-10-31 09:42:14 -07:00
bharnden
19300c7564
Merge pull request #310 from coreemu/actions-test
Mocked Unit Test Action
2019-10-30 16:51:22 -07:00
Blake Harnden
ea39f8fc6f updated corehandlers.py to no longer use threading.isAlive, which is pending deprecation 2019-10-30 15:49:08 -07:00
Blake Harnden
a33c8046f5 changes to support running mock tests 2019-10-30 15:44:57 -07:00
Huy Pham
ef213dc66f Merge branch 'develop' into coretk-config 2019-10-30 13:34:56 -07:00
Huy Pham
46127b44f9 more work on configurations 2019-10-30 13:33:22 -07:00
Blake Harnden
79dfbaa3ec switched session.metadata to just be a standard dict, fixed shutdown service issue during session.data_collect 2019-10-30 13:27:12 -07:00
Blake Harnden
fe95f246d4 added grpc get/set session metadata 2019-10-30 12:01:01 -07:00
bharnden
c0516255f2 added emane model configs and mobility configs to grpc.StartSession 2019-10-29 14:40:37 -07:00
bharnden
adbab066c9 added wlan configs to grpc.StartSession 2019-10-29 13:37:37 -07:00
bharnden
de936ea315 added hook creation and set location to grpc.StartSession 2019-10-29 12:35:07 -07: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
Huy Pham
f662846f9e Merge branch 'coretk-create-node' into coretk 2019-10-29 09:08:58 -07:00
Huy Pham
2a32a5b1a2 adjust open xml 2019-10-29 09:04:16 -07:00
bharnden
236ac7919a moved grpc utility functions into grpcutils, updated StartSession to threadpool node and link creation 2019-10-28 23:11:15 -07:00
Blake Harnden
934ea96558 changes to support a simpler start/stop session API 2019-10-28 15:18:57 -07:00
bharnden
fff281a452 removed master from corehandlers and session, since it will not be needed any more 2019-10-25 22:06:30 -07:00
Blake Harnden
77c7bf798e changes to tests to fix session fixture not being master and updated emane xml config test to use a valid value 2019-10-25 15:32:12 -07:00
bharnden
8e67294a8a changes to fix lock issues with multiple threads when stopping from gui 2019-10-24 21:17:15 -07:00
Huy Pham
5829e3ae42 more work on coretk 2019-10-24 16:50:24 -07:00
bharnden
6f58a82a75 removing mocked tests, until grpc and constants.py generation are determined 2019-10-24 15:31:17 -07:00
bharnden
e4a2c18d17 adding mocked tests to github actions 2019-10-24 15:28:30 -07:00
bharnden
5c12651e4e updates to session.clear to clear out all configuration data as well, updated session.shutdown to use clear, updated tests to account for this 2019-10-24 13:05:02 -07:00
bharnden
dc27fadb10 added distributed tests based on new distributed, removed old distributed tests and fixture to support it 2019-10-24 11:52:25 -07:00
bharnden
c255625d2f removed skipping TestCore:test_mobility 2019-10-24 11:20:38 -07:00
bharnden
6045908a14 cleanup for test fixtures to help simplify test_gui fixture setup 2019-10-24 10:58:26 -07:00