Blake Harnden
|
917c45e70b
|
grpc: updates to wrapper classes to help write client code in a more simple way using the consolidated api, updated examples to used the wrapped client
|
2021-05-03 15:25:18 -07:00 |
|
Blake Harnden
|
38e162aec5
|
grpc: removed get_node_links, added links to get_node instead
|
2021-05-02 20:58:24 -07:00 |
|
Blake Harnden
|
f271b0289e
|
grpc: removed add hook and get gooks, can be achieved with get session and start session
|
2021-04-27 21:48:20 -07:00 |
|
Blake Harnden
|
634341dd03
|
grpc: removed set session metadata, now accomplished with start session
|
2021-04-27 21:08:58 -07:00 |
|
Blake Harnden
|
a217c2445c
|
grpc: removed set session location, achieved with start session
|
2021-04-27 10:59:10 -07:00 |
|
Blake Harnden
|
e0fe86bcb2
|
grpc: updated start_session to have a definition option, to allow saving xml files and getting service configurations, without fully starting a session
|
2021-04-27 10:49:52 -07:00 |
|
Blake Harnden
|
f891974e3a
|
grpc: removed set session user, added to start session
|
2021-04-24 22:35:45 -07:00 |
|
Blake Harnden
|
d8a3f9e78c
|
grpc: removed set/get sessopm options, removed get session metadata/location, can be done with get/start session
|
2021-04-24 22:10:28 -07:00 |
|
Blake Harnden
|
d4c008e564
|
grpc: removed get/set session options, now accomplished through get_session and start_session
|
2021-04-24 21:37:00 -07:00 |
|
Blake Harnden
|
3d356272f1
|
pygui: adjust service configuration to not use grpc calls, data is saved and provided in start session call
|
2021-04-23 22:51:35 -07:00 |
|
Blake Harnden
|
4830538053
|
daemon: fixed issue in dhcp server subnet line using wrong address
|
2021-04-23 14:00:05 -07:00 |
|
Blake Harnden
|
dcf402ae04
|
daemon: fixed issue with dhcp service and dealing with addresses with a prefix of 32
|
2021-04-22 23:02:42 -07:00 |
|
Blake Harnden
|
7938379e6d
|
grpc: added session options to session wrapped object, updated get_session and start_session to utilize this change, updated pygui to leverage as well
|
2021-04-22 16:12:33 -07:00 |
|
Blake Harnden
|
188914ccb1
|
updated default logging to be at warning level and removed need to adjust the paramiko logger
|
2021-04-21 21:14:32 -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
|
55d5bb3859
|
daemon: added non promiscuous as default when configuring wlan
|
2021-04-20 09:48:44 -07:00 |
|
Blake Harnden
|
25025c00bc
|
Merge branch 'master' into develop
|
2021-04-15 22:21:40 -07:00 |
|
Blake Harnden
|
984d28275b
|
pygui: fixed issue with saving services for custom nodes, fixed issue with setting default services present when selecting services for a custom node
|
2021-04-13 21:53:50 -07:00 |
|
Blake Harnden
|
44f81391c4
|
daemon: added grpc wrapped client tests, added new wrapped class ServiceFileConfig to consolidate associated data for its purpose
|
2021-04-01 13:37:19 -07:00 |
|
Blake Harnden
|
6086d1229b
|
daemon: updated config.py to use dataclasses for config classes, updated naming and referencing. updated configurable options to self validate default values align with the config type. updated the example emane model to better align with the current state of things
|
2021-03-31 11:13:40 -07:00 |
|
Blake Harnden
|
bb3590fbde
|
daemon: fix to correct rj45 link modifications from core-gui failing to include an iface id
|
2021-03-26 10:56:33 -07:00 |
|
Blake Harnden
|
f7f54d9aa6
|
pygui: updates to leveraged wrapped grpc client for proper type hinting without manual conversion
|
2021-03-26 10:43:45 -07:00 |
|
Blake Harnden
|
be0e0175a2
|
daemon: refactored node.nodedir to node.directory
|
2021-03-19 17:01:22 -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
|
dc9089fcd1
|
daemon: added type hinting to globals in geo.py
|
2021-03-17 09:40:07 -07:00 |
|
Blake Harnden
|
1b025c47da
|
daemon: fixed issue in some cases where core-gui would have a session reach shutdown state, without formally shutting down and removing the session directory
|
2021-03-12 09:51:55 -08:00 |
|
Blake Harnden
|
49659976d3
|
daemon: fixed issue with bad value check for generating sdt movement
|
2021-03-09 09:50:02 -08:00 |
|
Blake Harnden
|
b2626b8d0e
|
daemon: fixed sdt link layer usage to avoid assigning links to not leaf layers, added type hinting to globals in sdt file
|
2021-03-09 09:36:03 -08:00 |
|
Blake Harnden
|
b163b06596
|
pygui: added simple error dialog call to app, also added blocking option for some error dialogs when needed
|
2021-02-19 10:35:59 -08:00 |
|
Blake Harnden
|
2387812a76
|
pygui: update to allow custom nodes to use icons from any directory
|
2021-02-19 09:31:58 -08:00 |
|
Blake Harnden
|
93813358b5
|
pygui: further refactoring around retrieving icon images
|
2021-02-18 23:07:55 -08:00 |
|
Blake Harnden
|
a6fadb76cc
|
pygui: refactored images.py and fixed issue with recreating a default config.yaml every time the gui was started
|
2021-02-18 21:04:16 -08:00 |
|
Blake Harnden
|
47ac4c850d
|
pygui: refactoring of nodeutils and its usage, fixed issue with drawing custom nodes and copying services
|
2021-02-18 10:47:20 -08:00 |
|
Blake Harnden
|
422a1a500e
|
pygui: hide related wireless edges when hiding nodes, update to handle hiding wireless edges that are re-added when moving
|
2021-02-17 16:03:01 -08:00 |
|
Blake Harnden
|
7871a678ca
|
pygui: updates to handle visibility toggles in relation to having nodes hidden, fix final position of a drawn edge when dragging to draw
|
2021-02-17 15:23:04 -08:00 |
|
Blake Harnden
|
4a21cd5789
|
pygui: updated sample1.xml to update the background stored due to multi canvas changes
|
2021-02-17 12:01:46 -08:00 |
|
Blake Harnden
|
27f7bdb004
|
pygui: fixed issue not properly sending service customization data when not runtime
|
2021-01-22 22:33:26 -08:00 |
|
Blake Harnden
|
ca004b3e96
|
pygui: fixed issue sorting node ids for edge token to avoid issues with edges defining nodes in a different order
|
2021-01-20 10:09:46 -08:00 |
|
Blake Harnden
|
e9bf50b3ff
|
pygui: moved complete edge logic into the edge itself
|
2021-01-15 23:39:38 -08:00 |
|
Blake Harnden
|
fb3d593751
|
pygui: small cleanup for wireless edge creation
|
2021-01-15 22:49:01 -08:00 |
|
Blake Harnden
|
754b8ba91e
|
pygui: fix bug if emane name happened to contain multiple underbars
|
2021-01-15 11:35:13 -08:00 |
|
Blake Harnden
|
097f248120
|
pygui: small cleanup to node utils to simplify usage where possible
|
2021-01-15 11:33:00 -08:00 |
|
Blake Harnden
|
0fee29754d
|
pygui: moved shadow node code to same file as regular nodes
|
2021-01-14 23:46:25 -08:00 |
|
Blake Harnden
|
e7c721989f
|
pygui: small cleanup to add some utility functions to edges
|
2021-01-14 23:31:53 -08:00 |
|
Blake Harnden
|
886b56cf8c
|
pygui: fixed wireless nodes not linking with full netmasks, fixed assigning addresses for nodes connected to other nodes that may have had a full netmask
|
2021-01-14 13:28:06 -08:00 |
|
Blake Harnden
|
2b171631c7
|
daemon: fixed check for mobility looping
|
2021-01-13 21:47:16 -08:00 |
|
Blake Harnden
|
b7483c2715
|
pygui: adjust logging
|
2021-01-13 21:31:58 -08:00 |
|
Blake Harnden
|
cadbf8dd14
|
pygui: add node context and interactions to shadow nodes
|
2021-01-13 20:49:23 -08:00 |
|
Blake Harnden
|
a5098263fd
|
pygui: sort services in node context menu during runtime
|
2021-01-13 10:51:47 -08:00 |
|
Blake Harnden
|
4007dc331b
|
pygui: update to account for already used mac addresses that may collide with auto assigned addresses
|
2021-01-13 10:50:16 -08:00 |
|
Blake Harnden
|
878d943ee3
|
pygui: add services and their actions to container nodes during runtime
|
2021-01-12 23:51:09 -08:00 |
|
Blake Harnden
|
623cc13fca
|
pygui: fixed issue deleting current session from sessions dialog, also now join session when deleting if present, or create new one when none are left
|
2021-01-12 22:43:27 -08:00 |
|
Blake Harnden
|
c2a40dbb6b
|
daemon: removed usages of getattr and hasattr where possible
|
2021-01-12 21:30:48 -08:00 |
|
Blake Harnden
|
6f3246e329
|
pygui: further updates to support hiding nodes and related edges, added hidden nodes to metadata sent to daemon and parsed when joining a session
|
2021-01-09 20:35:24 -08:00 |
|
Blake Harnden
|
313768ea56
|
pygui: added logic to sort canvas tabs when joining a session to organize, removed editing a nodes canvas as it currently is not supported by either gui and causes issue in the python gui due to grpc editing of a node and how values are handled
|
2021-01-08 11:22:16 -08:00 |
|
Blake Harnden
|
35cc8fab65
|
pygui: fix redrawing edge labels for multiple canvases, updated edit menu to account for multiple canvases, fixed issue with not setting menubar state when joining a session, starting point for hide/show nodes and related edges
|
2021-01-08 10:10:46 -08:00 |
|
Blake Harnden
|
bc540e0669
|
Merge branch 'develop' into feature/pygui-multi-canvas
|
2021-01-07 15:28:05 -08:00 |
|
Blake Harnden
|
a660b01e93
|
pygui: validation of the node name field will allow - instead of _, - is valid while _ is not
|
2021-01-07 14:24:57 -08:00 |
|
Blake Harnden
|
44ee5308de
|
pygui: adjustments to create gui home directories if not present and add new files that may have been added that do not exist
|
2021-01-06 10:24:06 -08:00 |
|
Blake Harnden
|
cba86a3da7
|
pygui: added simple black dot image to represent shadowed nodes in gui
|
2021-01-06 09:57:19 -08:00 |
|
Blake Harnden
|
acaef00087
|
pygui: fixed checking link options when joining a session, fixed stopping a session and deleting wireless links due to logic moved to being a part of wireless edge delete itself
|
2021-01-05 22:44:33 -08:00 |
|
Blake Harnden
|
3c97f80614
|
pygui: adjustments to help handle links between shadow nodes with initial desired behaviors
|
2021-01-05 15:42:46 -08:00 |
|
Blake Harnden
|
685b21924c
|
pygui: refactored how edges determine if they are linked wireless, removed wireless network tracking that was not being used by the canvas manager, added helper function to nodes to check if they are of wireless type
|
2021-01-03 22:08:09 -08:00 |
|
Blake Harnden
|
63282134f5
|
pygui: added logic to reuse shadow nodes when linked between nodes on same canvas, added logic to avoid deleting shadow nodes when still linked to other nodes on same canvas
|
2021-01-02 12:59:15 -08:00 |
|
Blake Harnden
|
a2d9659fb7
|
pygui: cleaned up how edges get drawn to reuse logic, fixed clearing canvas manager edges between changing sessions, fixed deleting edge check for link interfaces
|
2021-01-02 10:46:05 -08:00 |
|
Blake Harnden
|
77e2b08d76
|
pygui: fixed deleting selected nodes due to logic changes
|
2021-01-02 10:05:40 -08:00 |
|
Blake Harnden
|
f24d5f20b4
|
pygui: updated logic to use new canvases when receiving node delete messages
|
2021-01-02 09:35:39 -08:00 |
|
Blake Harnden
|
a7d7b94215
|
pygui: fixed edge context, fixed node context, updated find to leverage multi canvas changes and select canvas of found node
|
2021-01-02 00:10:23 -08:00 |
|
Blake Harnden
|
62d111b74c
|
pygui: fixed joining a multi canvas session in initial basic test case
|
2020-12-31 12:24:21 -08:00 |
|
Blake Harnden
|
2af7d595c0
|
pygui: cleaned up node label position for edge duplicate logic
|
2020-12-31 11:43:11 -08:00 |
|
Blake Harnden
|
3e2ea42ebd
|
pygui: adjustments to have canvas manager manage all edges, allow shadow nodes to be moved, and updates to account for old usages of a universal canvas
|
2020-12-30 22:11:45 -08:00 |
|
Blake Harnden
|
f171c6111a
|
pygui: created node function to check if it can be linked to another node
|
2020-12-17 22:32:25 -08:00 |
|
Blake Harnden
|
28d22c5800
|
pygui: initial add for link menu within node context menu
|
2020-12-17 17:23:37 -08:00 |
|
Blake Harnden
|
29ffd64b41
|
pygui: updates to capture canvas tab change events and set the statusbar zoom variable to be the current canvas
|
2020-12-17 14:56:54 -08:00 |
|
Blake Harnden
|
f9a4fe3331
|
pygui: initial canvas manager with a single tab by default, updates to how throughputs are handled related to canvases
|
2020-12-17 14:31:09 -08:00 |
|
Blake Harnden
|
2f9c169e66
|
pygui: improvement for loading canvas backgrounds and checking if a gui file or specific path
|
2020-12-17 13:27:23 -08:00 |
|
Blake Harnden
|
b937e316c4
|
pygui: cleanup for canvas metadata creation and parsing
|
2020-12-17 13:10:28 -08:00 |
|
Blake Harnden
|
367a2096fa
|
pygui: added multi canvas support to shapes, updated how shape metadata is saved and loaded to align
|
2020-12-17 12:42:49 -08:00 |
|
Blake Harnden
|
4a8f8557a6
|
pygui: changes to support saving and loading canvas backgrounds to xml, canvas dimensions will apply globally
|
2020-12-17 12:25:11 -08:00 |
|
Blake Harnden
|
5d436dd94d
|
Merge branch 'develop' into feature/pygui-multi-canvas
|
2020-12-17 09:02:29 -08:00 |
|
Blake Harnden
|
2e77907d72
|
daemon: removed unused variable in sdt code and update to avoid deadlock when deleting nodes due to sdt trying to leverage the same lock on reconnect
|
2020-12-16 21:32:47 -08:00 |
|
Blake Harnden
|
8eada3d754
|
Merge branch 'develop' into feature/pygui-multi-canvas
|
2020-12-16 13:29:50 -08:00 |
|
Blake Harnden
|
4ec9ea7b16
|
daemon: small cleanup to boot nodes logic, moved control interface creation to occur before service startup avoiding thread race conditions validating if an interface is for a control network
|
2020-12-16 10:19:17 -08:00 |
|
Blake Harnden
|
4b6afe4db7
|
daemon: fix for deleting an interface from rj45 node, better error messaging when trying to add an interface to a node that already exists
|
2020-12-15 09:34:42 -08:00 |
|
bharnden
|
4a9d16c78c
|
Merge pull request #539 from haveagr8day/master
Fix attribute exception in UDP TLV API Handler
|
2020-12-15 09:27:32 -08:00 |
|
Riley Baxter
|
ad839bbc07
|
Fix session id attribute name in UDP TLV API Handler
|
2020-12-14 13:08:52 -05:00 |
|
Blake Harnden
|
b01249bb4e
|
added canvas to protobuf node messages, added node canvas id to grpc server handling, updating pygui to draw canvases based on joined session and add nodes to respective canvas
|
2020-12-12 23:17:43 -08:00 |
|
Blake Harnden
|
9621df6bc4
|
pygui: able to start session with multiple canvases, just using 1 canvas for now
|
2020-12-12 00:03:03 -08:00 |
|
Blake Harnden
|
6f43d0e88f
|
pygui: added menu buttons to add/delete canvases
|
2020-12-11 22:54:52 -08:00 |
|
Blake Harnden
|
886bfc093b
|
pygui: further refactoring to work towards multiple canvas support
|
2020-12-11 18:39:58 -08:00 |
|
Blake Harnden
|
e34c00a431
|
Merge branch 'develop' into feature/pygui-multi-canvas
|
2020-12-10 18:07:32 -08:00 |
|
Blake Harnden
|
e7320a61a6
|
daemon: revert wlan mac learning change, due to undesired default behavior, there may be some cases where this behavior is desired, so the option to enable a promiscuous mode has been added and will be present in core-pygui
|
2020-12-10 15:16:05 -08:00 |
|
Blake Harnden
|
9fa98ae378
|
pygui: initial commit for starting on canvas manager
|
2020-12-09 23:33:36 -08:00 |
|
Blake Harnden
|
d1c2b1bdb9
|
pygui: fixed configuring node back to default server after switching to a distributed server
|
2020-12-09 21:22:19 -08:00 |
|
Blake Harnden
|
02d8a32a50
|
daemon: removing function to move nodes when mobility already has the network, updated logging for mobility script control to include file name being used
|
2020-12-09 16:05:36 -08:00 |
|
Blake Harnden
|
7308dd50ff
|
daemon: fixed issue related to updating networks of moved nodes with multiple mobility scripts
|
2020-12-09 15:43:19 -08:00 |
|
Blake Harnden
|
d824fbd1c6
|
grpc: fixed creating session directory if need be when starting session, before setting config state, avoids path not existing error
|
2020-12-09 10:05:13 -08:00 |
|
Blake Harnden
|
836e929fbc
|
pygui: add support to rename interfaces in the node config dialog, some small cleanup to interface validation
|
2020-12-08 10:02:34 -08:00 |
|
Blake Harnden
|
5b93c2d7ac
|
daemon: added support for link options buffer read/write to xml
|
2020-12-07 22:31:53 -08:00 |
|
Blake Harnden
|
6793382f44
|
pygui: fixed edit node mac setting to auto to properly clear out current mac setting
|
2020-12-07 21:08:05 -08:00 |
|
Blake Harnden
|
a23ef7d603
|
daemon: properly go through the data collect state for grpc session shutdown, also check and avoid repeating data collect or shutdown when already past those states
|
2020-12-05 09:01:53 -08:00 |
|
Blake Harnden
|
b762fe664b
|
pygui: avoid saving edge config metadata when values are default
|
2020-12-04 00:03:30 -08:00 |
|
Blake Harnden
|
41222f77c2
|
daemon: fix delete link for network to network nodes
|
2020-12-03 22:28:44 -08:00 |
|
Blake Harnden
|
664b049bf7
|
pygui: updated edge token to default to 0 for interface ids due to grpc messages not properly supporting None
|
2020-12-02 20:40:03 -08:00 |
|
Blake Harnden
|
a35e91aeba
|
daemon: added link option to configure buffer, added support in pygui to allow configuring buffer
|
2020-11-30 16:49:44 -08:00 |
|
Blake Harnden
|
380d411833
|
daemon: updated linkconfig to calculate a limit when bw/delay are present, updated and simplified logic as well, leveraging code from outstanding pull request, updated code to factor in the mtu of the iface being configured
|
2020-10-17 08:18:49 -07:00 |
|
Blake Harnden
|
aa40229495
|
pygui: updated edge tokens to use core node ids instead of canvas ids, updated link config to properly set/load width/color, updated metadata to store/load edge width/color when switching sessions and saving xml
|
2020-10-13 10:25:40 -07:00 |
|
Blake Harnden
|
68934da204
|
pygui: fixed link options check when options is not present
|
2020-10-13 09:12:10 -07:00 |
|
Blake Harnden
|
961f630acb
|
pygui: added option to hide/show links with 100% loss, added checks to flag links for this case
|
2020-10-13 06:45:37 -07:00 |
|
Blake Harnden
|
a1b4279d80
|
pygui: dont add created edges to node until after a link has been created
|
2020-10-12 23:42:58 -07:00 |
|
Blake Harnden
|
053cd1da65
|
pygui: removed edges tracking interfaces, since the link associated with them already does
|
2020-10-12 22:51:15 -07:00 |
|
Blake Harnden
|
055029e5c5
|
pygui: added check so bridge based nodes can only have 1 link between them
|
2020-10-12 20:41:55 -07:00 |
|
Blake Harnden
|
29bd6ef7f8
|
pygui: initial changes to allow multiple wired links between nodes, updated to commonize logic for creating edges and adjustments in the UI for several edge related cases
|
2020-10-12 20:28:27 -07:00 |
|
Blake Harnden
|
96dddb687d
|
docs: updated example custom emane model to use type hinting and embedded it into the emane documentation page, daemon: adjustment to correct rj45 not being provided an iface id when deleting a link from core tlv
|
2020-10-11 12:06:35 -07:00 |
|
Blake Harnden
|
8597c5c1a8
|
pygui: updated edge labels to just use a set distance from nodes
|
2020-10-11 10:05:57 -07:00 |
|
Blake Harnden
|
1543dfcc94
|
daemon: removed loading environment log statement until isolated for entire session
|
2020-10-11 08:35:46 -07:00 |
|
bharnden
|
dde74f0927
|
Merge pull request #514 from coreemu/feature/add-session-environment-support
add support for /tmp/pycore.nnnnn/environment file, DRY up env merges
|
2020-11-07 09:38:15 -08: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
|
0c847cfb37
|
pygui: fixed wlan/emane linked nodes drawing link options for invisible links when joining session or clearing throughput
|
2020-10-10 06:15:59 -07:00 |
|
Blake Harnden
|
26c2997a42
|
update to controlnet names on host machine to be more obvious to their purpose, ctrl<index>.<short session id>
|
2020-10-10 05:31:26 -07:00 |
|
Blake Harnden
|
4e79865035
|
updated radvd config service to match recent change to radvd standard service
|
2020-10-07 15:28:04 -07:00 |
|
bharnden
|
c25cb3d657
|
Merge pull request #517 from gsomlo/gls-frr-dir
radvd: ensure existence of [/var]/run/radvd/ directory on startup
|
2020-10-17 10:23:09 -07:00 |
|
Gabriel Somlo
|
c1864857e1
|
radvd: ensure existence of [/var]/run/radvd/ directory on startup
|
2020-10-09 18:09:17 -04:00 |
|
Blake Harnden
|
f2868a9554
|
daemon: fixed issue where emane global config settings were not being sent to core-gui when joining a session
|
2020-10-05 20:15:55 -07:00 |
|
Blake Harnden
|
93a5d1fb01
|
docs: cleanup of some of the emane demos, added antennaprofile demo example
|
2020-10-04 22:42:09 -07:00 |
|
Blake Harnden
|
ce7736a95e
|
Merge branch 'develop' of https://github.com/coreemu/core into develop
|
2020-10-04 18:54:41 -07:00 |
|
Blake Harnden
|
552d8f60d2
|
daemon: change to generate transport definition for external transports, which allows emanegentransport to function properly
|
2020-10-04 18:53:31 -07:00 |
|
Blake Harnden
|
5a07929fde
|
added emane examples for various emane topics when used within core
|
2020-10-04 18:31:34 -07:00 |
|
Jeff Ahrenholz
|
ae336c2cf8
|
add support for /tmp/pycore.nnnnn/environment file, DRY up env merges
|
2020-10-02 09:51:01 -07:00 |
|
Blake Harnden
|
0306f77147
|
daemon: adjustments for shutdown behavior to avoid issues when shutting down, when already shutdown for the various different cases, but to also make sure the pycore directory is removed
|
2020-09-24 14:17:15 -07:00 |
|
Blake Harnden
|
b195891b3b
|
daemon: fix issue where control net bridges were not being removed during shutdown of legacy gui
|
2020-09-24 12:53:02 -07:00 |
|
Blake Harnden
|
0177b07f03
|
daemon: fixed issue with using the wrong emane network for a given emane connected interface
|
2020-09-24 11:54:49 -07:00 |
|
Blake Harnden
|
d43d854314
|
updated changelog, modified edit node to edit icon/canvas before node position, in case it gets broadcasted out
|
2020-09-15 07:27:07 -07:00 |
|
Blake Harnden
|
ee59d6bf8b
|
daemon: avoid shutting down sessions already in shutdown state, due to exit hooks potentially duplicating effort
|
2020-09-14 09:06:54 -07:00 |
|
Blake Harnden
|
828a68a0cd
|
docs: pass on improving and providing doc based examples for common basic use cases, fixed issue with grpc defaulting session refscale to a very large number
|
2020-09-11 23:49:26 -07:00 |
|
Blake Harnden
|
d981d88a6f
|
daemon: update how emane is started on nodes, fixing issue with multiple interfaces running emane, added test case to check on this in the future
|
2020-09-09 10:27:06 -07:00 |
|
Blake Harnden
|
82d87445b6
|
grpc: added some convenience functions for move node streaming in wrapped client
|
2020-09-05 10:34:08 -07:00 |
|
Blake Harnden
|
98a51ce17d
|
grpc: implemented wrapper stream classes for using the wrapped client
|
2020-09-05 10:19:44 -07:00 |
|
Blake Harnden
|
c4a724ee10
|
daemon: added more wrapping classes, updated grpc.clientw to leverage wrapped classes for listened events
|
2020-09-02 12:08:21 -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
|
ba028a2b00
|
daemon: just assign emane model, instead of triggering position hooks during non-runtime cases
|
2020-09-01 17:16:05 -07:00 |
|
Blake Harnden
|
570ad9522c
|
initial code for a wrapped grpc client, fix for pygui node emane config, fix for xml reading emane configs specific to nodes/interfaces, fix for adding emane nodes and setting the emane model properly
|
2020-09-01 16:19:01 -07:00 |
|
Blake Harnden
|
b0bac1d319
|
daemon: moved grpc wrapper classes to core.grpc.wrappers
|
2020-08-27 11:02:02 -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
|
4836ac4f2e
|
daemon: small doc change and fix to corehandlers.py sending back proper data for hooks
|
2020-08-21 14:28:01 -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
|
f687115522
|
bump grpc worker limit to 1000, this does not mean it is a good idea to have this many connections, but at least helps allow trade offs for how to approach a problem
|
2020-08-20 16:18:20 -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
|
3e41d31c6c
|
daemon: refactored missed LinkTlv INTERFACE_NAME fields to IFACE_NAME to match other refactoring done in 7.0.0 release
|
2020-08-17 20:04:42 -07:00 |
|
Blake Harnden
|
b98ff0f744
|
grpc: fixed issue with grpc throughputs checking session id matches using bad values
|
2020-08-10 12:46:21 -07:00 |
|
Blake Harnden
|
b89a19a18e
|
grpc: update node events to include icon, pygui: updated handling node events to update icon when there is a change
|
2020-08-05 12:10:27 -07:00 |
|
Blake Harnden
|
8004be6e7c
|
grpc: update client edit_node doc
|
2020-08-05 09:37:23 -07:00 |
|
Blake Harnden
|
5976bca34b
|
pygui: added view toggle for normal links
|
2020-08-04 16:32:39 -07:00 |
|
Blake Harnden
|
cd0351c818
|
pygui: added view option to toggle wireless edges
|
2020-08-04 16:20:51 -07:00 |
|
Blake Harnden
|
e2b3a2dc6d
|
pygui: fixed issues with configuring services on nodes due to refactoring changes
|
2020-08-04 12:29:08 -07:00 |
|
Blake Harnden
|
082677c17b
|
pygui: fixed issue saving selected background to xml when not located within the ~/.coregui/backgrounds directory
|
2020-08-03 16:37:31 -07:00 |
|
Blake Harnden
|
4bcaa32fdb
|
pygui: fixed issue in task handling a returned boolean value, should be doing a none check
|
2020-08-03 16:29:35 -07:00 |
|
Blake Harnden
|
f41ce8e3a6
|
daemon: add core python environment variable to be able to refer to the virtual environment executable
|
2020-08-03 16:04:07 -07:00 |
|
Blake Harnden
|
b7e3d1c877
|
pygui: fixed emane config dialog and emane model config dialogs to expand tabs the full height of the dialog
|
2020-08-02 10:47:01 -07:00 |
|
Blake Harnden
|
f0bc3bbc99
|
pygui: updates to leverage tk provided constants for sticky configuration, instead of duplicate strings everywhere
|
2020-08-02 10:36:14 -07:00 |
|
Blake Harnden
|
2aeb119b04
|
pygui: changes to display both link and asym link options on edges in canvas
|
2020-08-02 10:03:21 -07:00 |
|
Blake Harnden
|
06563d5953
|
pygui: fixed issue editing hook with a new name
|
2020-08-01 11:07:11 -07:00 |
|
Blake Harnden
|
fc44ad6fe8
|
pygui: update title to show xml file when one is opened, fixed issue creating nodes/links when not runtime due to refactoring, removed xml_file from coreclient and depend on the grpc GetSession wrapped data, grpc: added opened file information to GetSession call
|
2020-08-01 11:00:26 -07:00 |
|
Blake Harnden
|
04f7bc561b
|
pygui: fixed exception from bad check when double clicking in sessions dialog
|
2020-07-31 23:23:18 -07:00 |
|
Blake Harnden
|
e7a93e7fd6
|
pygui: config dialogs that allow selecting a file default to ~/.coregui
|
2020-07-31 23:18:11 -07:00 |
|
Blake Harnden
|
eb422f5bab
|
pygui: mac editing disabled for nodes during runtime
|
2020-07-31 23:13:07 -07:00 |
|
Blake Harnden
|
63103ab250
|
pygui: removed unused unlimited button from linkconfig dialog
|
2020-07-31 23:09:26 -07:00 |
|
Blake Harnden
|
46f896925c
|
daemon: fixed mobility manager updates to support emane/wlan
|
2020-07-29 17:08:20 -07:00 |
|
Blake Harnden
|
d30778b238
|
daemon: fixed mobility checks to allow both wlan/emane, pygui: enabled emane nodes to configure mobility
|
2020-07-29 16:55:42 -07:00 |
|
Blake Harnden
|
fe36d28522
|
pygui: fixed issue with changes to protobuf files for getting emane model configs on a session
|
2020-07-28 22:45:42 -07:00 |
|
Blake Harnden
|
858e771efd
|
pygui: fixes for copying links/asymmetric links, fixes for configuring asymmetric links, fixed issues adding nodes/links and editing links from gui due to not being able to identify same source changes
|
2020-07-28 21:49:34 -07:00 |
|
Blake Harnden
|
2f2bb06a5b
|
Merge branch 'develop' into cleanup/pygui-session-wrapper
|
2020-07-28 16:48:04 -07:00 |
|
Blake Harnden
|
0db1ad1195
|
Merge branch 'release-7.0.1' into develop
|
2020-07-28 16:47:34 -07:00 |
|
Blake Harnden
|
0d2dd70727
|
daemon: changes usage of running scripts using /bin/sh to bash to help provide consistency in what could be ran, added bash as a dependency in installation scripts, added bash as an executable check during startup
|
2020-07-28 16:13:37 -07:00 |
|
Blake Harnden
|
27495cbda1
|
pygui: changes around using session.nodes instead of canvas_nodes when possible
|
2020-07-28 10:24:01 -07:00 |
|
Blake Harnden
|
588afaad13
|
pygui: changes to make use of wrapped session object and wrapped nodes to maintain and retrieving configurations information
|
2020-07-28 00:03:15 -07:00 |
|
Blake Harnden
|
3bdd6292cd
|
grpc: update GetSession to return all session related information, rather than needing 8 different calls, pygui: updated session protobuf wrapper to handle all new data
|
2020-07-27 18:19:51 -07:00 |
|
Blake Harnden
|
41a3c5fd7f
|
pygui: added wrapper class for sessions returned by grpc GetSession
|
2020-07-26 11:45:40 -07:00 |
|
Blake Harnden
|
82a212d1cf
|
pygui: modified usages of protobufs within coreclient to use module namespace to make more obvious, replaced config services and services with wrappers
|
2020-07-25 20:27:11 -07:00 |
|
Blake Harnden
|
a9a2fb8e46
|
pygui: added wrapper for throughput events, fixed sending nodes/links for configuration
|
2020-07-25 19:43:24 -07:00 |
|
Blake Harnden
|
77f6577bce
|
pygui: added wrappers for most usages of protobufs within pygui
|
2020-07-25 10:30:14 -07:00 |
|
Blake Harnden
|
154fa8b77d
|
pygui: replaced hook with wrapped hook class, fixed hook dialog edit
|
2020-07-24 22:00:38 -07:00 |
|
Blake Harnden
|
fff4bd7963
|
moved cpu usage to a grpc call that the gui will listen to, fixed grpc stream typing to be grpc.Future, fixed pygui issue for start callback when a start fails, but there are no exceptions
|
2020-07-23 09:41:39 -07:00 |
|
Blake Harnden
|
3544d00431
|
pygui: implemented cpu usage monitor to status bar
|
2020-07-22 21:57:05 -07:00 |
|
Blake Harnden
|
f8d862a296
|
grpc/pygui: added grpc alert api, updated pygui to better handle and display alerts
|
2020-07-22 19:19:22 -07:00 |
|
Blake Harnden
|
e34002b851
|
pygui: added option to launch core-pygui into a specific session using an id
|
2020-07-22 17:18:35 -07:00 |
|
Blake Harnden
|
5e2ca0f549
|
daemon: refactored how to get required commands, added usage of this func for validating distributed servers when added
|
2020-07-18 11:56:48 -07:00 |
|
Blake Harnden
|
6d4434bc12
|
grpc: added set session user call, updated mobility to look for files within new gui as well, fixed pygui issue when start session has a grpc exceptions, showing and empty error window
|
2020-07-16 22:51:26 -07:00 |
|
Blake Harnden
|
36123e7aa5
|
updated frr daemons template file for the config service to align with changes to normal service
|
2020-07-16 14:21:06 -07:00 |
|
bharnden
|
e100defdec
|
Merge pull request #494 from apwiggins/patch-1
Update frr.py to add staticd to daemons list
|
2020-07-16 14:18:20 -07:00 |
|
apwiggins
|
fdf00cff0e
|
Update frr.py to add staticd to daemons list
Add staticd to the list of possible daemons to be started.
http://docs.frrouting.org/en/latest/setup.html#daemons-configuration-file
https://github.com/coreemu/core/issues/397
|
2020-07-16 18:00:12 -03:00 |
|
Blake Harnden
|
1212e5ddf8
|
fix to avoid setting interface data for a mac to the string None, when not present
|
2020-07-16 08:59:57 -07:00 |
|
Blake Harnden
|
80194b3e38
|
moved python black configuration to pyproject.toml and fixed bad exclude
|
2020-07-14 13:33:40 -07:00 |
|
Blake Harnden
|
7398196dcc
|
pygui: dont show mobility player when joining sessions not in runtime
|
2020-07-11 14:06:53 -07:00 |
|
Blake Harnden
|
7a21affbd4
|
pygui: update nodes to display assigned server name when not localhost
|
2020-07-08 08:46:30 -07:00 |
|
Blake Harnden
|
43b586a1a1
|
daemon: updated xml to write and read session configured distributed servers, updated pygui to send servers before session start or saving xml
|
2020-07-08 08:24:23 -07:00 |
|
Blake Harnden
|
bb4514b93e
|
daemon: changes to saving and restoring server used for nodes in xml
|
2020-07-07 15:16:17 -07:00 |
|
Blake Harnden
|
f1ff1a6577
|
pygui: only attempt to run observer commands on container nodes
|
2020-07-07 14:24:43 -07:00 |
|
Blake Harnden
|
6648dc7825
|
pygui: service and config service dialogs will now properly show services for default group selected
|
2020-07-07 08:46:47 -07:00 |
|
Blake Harnden
|
0045c8d79c
|
pygui: avoid trying to bring up a terminal for rj45 nodes
|
2020-07-06 21:37:04 -07:00 |
|
Blake Harnden
|
6f7e42d310
|
daemon: avoid command error logging when checking for emane version as validation for checking if emane is installed
|
2020-07-06 21:32:43 -07:00 |
|
Blake Harnden
|
8dc570a98d
|
daemon: removed commented out code
|
2020-07-06 21:13:54 -07:00 |
|
Blake Harnden
|
b3a4b1cb10
|
daemon: updates to support running emane on the fly for a newly connected link
|
2020-07-05 21:56:22 -07:00 |
|
Blake Harnden
|
5cc4d92760
|
daemon: removed nem map from individual emane networks, all nems are stored and generated from the emane manager
|
2020-07-05 21:29:03 -07:00 |
|
Blake Harnden
|
fcda1f9f14
|
daemon: CoreInterface now defaults to a virtual transport type, added utility methods to check if an interface is virtual/raw, cleaned up all emane code using these types of checks
|
2020-07-03 09:08:36 -07:00 |
|
Blake Harnden
|
ac1c27b1c8
|
daemon: fixed issues when emane generated platform.xml for raw interfaces
|
2020-07-03 08:51:17 -07:00 |
|
Blake Harnden
|
ddcb0205f3
|
daemon: cleaned up emane stopdaemons logic
|
2020-07-02 23:32:59 -07:00 |
|
Blake Harnden
|
2b3e26b7c2
|
daemon: cleanup emane transport service in relation to refactoring, silenced stopdaemons for rj45 nodes
|
2020-07-02 23:19:40 -07:00 |
|
Blake Harnden
|
ce4b61d3b2
|
daemon: further heavy cleanup to how emane generates and runs xml files
|
2020-07-02 17:49:56 -07:00 |
|
Blake Harnden
|
bd48e14348
|
daemon: initial changes to rework logic to start emane for a given interface
|
2020-07-02 15:37:51 -07:00 |
|
Blake Harnden
|
da9c0d0660
|
daemon: initial changes to breakout custom interface creation for networks that require it, without being emane specific
|
2020-07-01 14:40:19 -07:00 |
|
Blake Harnden
|
a870c15b43
|
pygui: fixed joining sessions with mobility players
|
2020-07-01 12:11:34 -07:00 |
|
Blake Harnden
|
3477e84e9d
|
core-cli: added wlan set/get config, fixed session option for node/link interactions
|
2020-07-01 09:30:05 -07:00 |
|
Blake Harnden
|
f22edd1d25
|
grpc: fixed accidental breakage for get_session ptp links
|
2020-06-30 16:16:58 -07:00 |
|
Blake Harnden
|
beaebcfa24
|
grpc: added node_id and net2_id data to interface protos to allow querying a node to provide the node and networks an interface is associated with
|
2020-06-30 12:34:20 -07:00 |
|
Blake Harnden
|
ab17cb1053
|
grpc: grpc get_session will no longer return peer to peer nodes, they should be invisible to users, updated core-cli to print human readable links better
|
2020-06-30 09:50:28 -07:00 |
|
Blake Harnden
|
69721dc129
|
grpc: updated client edit_node to have source as last parameter to be consistent with source placement on all other functions
|
2020-06-30 09:32:56 -07:00 |
|
Blake Harnden
|
c8daeb02d8
|
grpc: fixed issue with not catching error in delete_node from broadcast changes
|
2020-06-26 22:29:17 -07:00 |
|
Blake Harnden
|
5eae67aac5
|
grpc/pygui: updated add_node source support, updated pygui to handle add_node events
|
2020-06-26 22:11:36 -07:00 |
|
Blake Harnden
|
e79645013b
|
grpc/pygui: updated delete_node to use the source, updated pygui to support delete node events
|
2020-06-26 21:45:29 -07:00 |
|
Blake Harnden
|
f4a3fe6b7b
|
grpc/pygui: edit_link will now broadcast link changes, pygui now handles receiving this data
|
2020-06-26 15:14:30 -07:00 |
|
Blake Harnden
|
f921fa45c5
|
grpc: updated client methods to allow passing source for add_link/delete_link, None by default
|
2020-06-26 14:44:13 -07:00 |
|
Blake Harnden
|
aebbff8c22
|
grpc/pygui: shifted source field in node events to base event message to apply to all events, updated add_link/delete_link rpc calls to broadcast events, updated pygui to handle these events
|
2020-06-26 14:39:12 -07:00 |
|
Blake Harnden
|
eac941ce72
|
pygui: updates to show wireless edges in details panel, increased edge thickness to be the same as normal edges for selection to be easier
|
2020-06-26 09:13:38 -07:00 |
|
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
|
b94d4d3507
|
daemon: updated open xml with start flag to set instantiation state before running instantiate to be consistent with other cases
|
2020-06-25 21:34:45 -07:00 |
|
Blake Harnden
|
3bfc299bfd
|
daemon: fixed typo in core.configservices.securityservices
|
2020-06-25 16:22:56 -07:00 |
|
Blake Harnden
|
98e4baca04
|
pygui: added services to node info panel
|
2020-06-25 15:05:24 -07:00 |
|
Blake Harnden
|
f582306bb9
|
pygui: added support for a details pane, can be toggled on/off, can be used to quickly view details for nodes or links
|
2020-06-25 10:35:01 -07:00 |
|
Blake Harnden
|
bb2ceaf993
|
pygui: draw link options on edges
|
2020-06-23 22:53:48 -07:00 |
|
Blake Harnden
|
6490b5b9cb
|
pygui: fixed and changed custom service copy to focus only on copying the current file displayed from any other nodes with a customized version
|
2020-06-23 16:11:39 -07:00 |
|
Blake Harnden
|
60d9fe2026
|
pygui: clear throughput labels when disabling throughput
|
2020-06-23 14:48:27 -07:00 |
|
Blake Harnden
|
7215f852b8
|
grpc: added check for emane pathloss when nem id is None and throw an error
|
2020-06-23 13:34:40 -07:00 |
|
Blake Harnden
|
9649337f18
|
daemon: updated xml to save links using consistent iface1/2 naming, still fallback to reading interface_one/two
|
2020-06-23 13:31:31 -07:00 |
|
Blake Harnden
|
14573184e0
|
pygui: fixed syning session location settings when not in runtime mode, for saving xml
|
2020-06-23 13:28:41 -07:00 |
|
Blake Harnden
|
8e2cfa61c9
|
pygui: size and scale meter width and height are no longer editable, but will dynamically update with changes to related size/scale values
|
2020-06-23 10:09:16 -07:00 |
|
Blake Harnden
|
6dd6bc87ab
|
daemon: renamed executable variables to be simpler
|
2020-06-23 09:35:11 -07:00 |
|
Blake Harnden
|
8f19ad057c
|
daemon: cleaned up requirement check, updated github workflow to modify correct file
|
2020-06-23 09:24:40 -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
|
c43dd60a42
|
daemon: small adjustment in sdt.py
|
2020-06-22 21:47:03 -07:00 |
|
Blake Harnden
|
1ef66181c6
|
daemon: moved QUAGGA_STATE_DIR from constants.py to quagga service files
|
2020-06-22 21:39:29 -07:00 |
|
Blake Harnden
|
2145c07cb7
|
daemon: moved FRR_STATE_DIR from constants.py to frr service files
|
2020-06-22 21:36:39 -07:00 |
|
Blake Harnden
|
f39ab1dee6
|
pygui: limit rj45 node to 1 link
|
2020-06-22 21:13:24 -07:00 |
|
Blake Harnden
|
27e35a5213
|
pygui: session options dialog is disabled during runtime
|
2020-06-22 19:40:42 -07:00 |
|
Blake Harnden
|
344f35e93e
|
pygui: updated ConfigFrame to have a disabled display option, updated nodes to stil show emane config during runtime, updated emane dialog and config dialogs to be in a viewable but disabled state during runtime
|
2020-06-22 19:04:55 -07:00 |
|
Blake Harnden
|
527d34e374
|
pygui: added type hinting to class variables for core.gui.dialogs
|
2020-06-22 11:04:33 -07:00 |
|
Blake Harnden
|
11be40bc90
|
pygui: added class variable type hinting to core.gui.graph
|
2020-06-19 23:24:07 -07:00 |
|
Blake Harnden
|
0356f3b19c
|
pygui: added type hinting to everything under base core.gui
|
2020-06-19 22:08:24 -07:00 |
|