Blake Harnden
|
a85cb92196
|
removed options not needed for config data for GUI support for both old and new GUIs
|
2020-01-24 13:19:08 -08:00 |
|
Blake Harnden
|
93ad6b588a
|
updates to coretk to fix displaying boolean configs properly and updating config values for config services when changing mode
|
2020-01-24 12:51:57 -08:00 |
|
Blake Harnden
|
6f2a840710
|
update simple service to show all config types
|
2020-01-24 10:59:47 -08:00 |
|
Blake Harnden
|
531b55e1e7
|
small update to quagga config services, converted frr services to config services
|
2020-01-23 22:06:30 -08:00 |
|
Blake Harnden
|
b9cbbf5709
|
finished converting quagga services to config services
|
2020-01-23 21:08:40 -08:00 |
|
Blake Harnden
|
fcc445bb72
|
fixed issues in zebra config service, updated config services to start and validate different modes appropriately, added service dependency startup for config services
|
2020-01-23 13:22:47 -08:00 |
|
Blake Harnden
|
0749dcacb2
|
updated config services to use getattr instead of hasattr to simplify code
|
2020-01-23 11:27:05 -08:00 |
|
Blake Harnden
|
852eb60ab9
|
renamed config service get_text to get_text_template to be more obvious to the purpose
|
2020-01-23 11:06:09 -08:00 |
|
Blake Harnden
|
422bf9ac15
|
initial work to add support for quagga services as config services
|
2020-01-23 11:03:56 -08:00 |
|
Blake Harnden
|
8f03c9c975
|
finished converting nrl services to config service format
|
2020-01-23 08:53:20 -08:00 |
|
Blake Harnden
|
062273a99b
|
added several nrl services updated to config service format
|
2020-01-22 22:10:30 -08:00 |
|
Blake Harnden
|
640b2c7d5b
|
updated config services to account for files that have a path, basename will be used for template rendering, converted all current utility/security services to config service format
|
2020-01-22 16:54:45 -08:00 |
|
Blake Harnden
|
d7d0a55fd2
|
updates to support saving config services to xml, loading config services from xml, retrieving config services from coretk when joining a session
|
2020-01-21 17:32:12 -08:00 |
|
Blake Harnden
|
0ea2f73a80
|
added modes to config services that allows them to decide sets of configurations
|
2020-01-21 14:00:55 -08:00 |
|
Blake Harnden
|
1ca3b0e3f4
|
moved config values to simple service from default route, fixed coretk issue with config service config data
|
2020-01-21 12:04:22 -08:00 |
|
Blake Harnden
|
80a4955bd4
|
updated coretk to working order for configuring config services from coretk
|
2020-01-21 11:58:43 -08:00 |
|
Blake Harnden
|
da107cc1d9
|
updates to config services dialogs in coretk, initial working state for running config services from the coretk gui
|
2020-01-21 10:35:46 -08:00 |
|
bharnden
|
89af081712
|
Update frr.py
replace deprecated ifconfig with ip
|
2020-01-20 22:38:34 -08:00 |
|
Blake Harnden
|
83e7853821
|
fixed protobuf generation to avoid grpc generation for files with no definitions, added service config tab display to coretk
|
2020-01-20 16:25:56 -08:00 |
|
Huy Pham
|
b3463f1fb7
|
set SessionsDialog treeview's current selection again so that deleting multiple sessions is a bit more convenient
|
2020-01-20 16:17:27 -08:00 |
|
Huy Pham
|
b6f68e0b06
|
destroy any mobility player dialog before joinning a different session, pass in old_session_id to Menuaction.cleanup_old_session() so that the old session is deleted rather than the new one
|
2020-01-20 16:01:46 -08:00 |
|
Blake Harnden
|
a4f3abf27c
|
updated config service grpc to return default templates and config, added logic to check for local custom templates
|
2020-01-20 15:54:47 -08:00 |
|
Blake Harnden
|
7b5df11dc7
|
added files to config services, added default logic for creating files from templates, added new method to provide extra data to templates, updated gui to display templates raw
|
2020-01-20 15:02:04 -08:00 |
|
Huy Pham
|
b0087bbde1
|
add nodeutils function to get node's image, add a function to get edge token
|
2020-01-20 14:04:31 -08:00 |
|
Blake Harnden
|
9447ddb94f
|
initial changes to add config services to coretk gui
|
2020-01-20 12:17:11 -08:00 |
|
Huy Pham
|
510252c4a7
|
change terminal command
|
2020-01-20 12:04:10 -08:00 |
|
Huy Pham
|
8bcacf0a04
|
Merge branch 'develop' into coretk-fix
|
2020-01-20 09:12:17 -08:00 |
|
Huy Pham
|
cded9ef630
|
canvas wallpaper
|
2020-01-20 09:11:43 -08:00 |
|
Blake Harnden
|
0d99810491
|
fixed issue where xml did not read in custom icons
|
2020-01-20 09:09:42 -08:00 |
|
apwiggins
|
14db4eb383
|
added reset interfaces at FRR startup
adds an interface down and up for all interfaces except lo; assists babel in particular
|
2020-01-20 11:17:45 -04:00 |
|
Blake Harnden
|
0e6d1535db
|
added grpc to get current config services for a node
|
2020-01-19 19:27:57 -08:00 |
|
Blake Harnden
|
0af6a7a620
|
improved gitignore for generated proto files, added new initial separate config service proto, incorporated into grpc api
|
2020-01-18 13:52:15 -08:00 |
|
Blake Harnden
|
43fe81a86e
|
Merge branch 'develop' into feature/config-service
|
2020-01-17 21:13:07 -08:00 |
|
Blake Harnden
|
2ed56fbaa6
|
fixed doc formatting that was missed
|
2020-01-17 21:12:14 -08:00 |
|
Blake Harnden
|
dcc683dd38
|
added config service manager to CoreEmu and made it possible to create a session and nodes with config services from a script
|
2020-01-17 21:09:51 -08:00 |
|
Blake Harnden
|
191a9e9909
|
added some code to keep track of config services separately within core nodes, added function for starting config services during session instantiation
|
2020-01-17 16:57:49 -08:00 |
|
Huy Pham
|
845198efc6
|
remove print statements
|
2020-01-17 16:05:34 -08:00 |
|
Huy Pham
|
88625ffad8
|
fix Ctrl-S issue and node context menu issue
|
2020-01-17 15:59:12 -08:00 |
|
Blake Harnden
|
dbc77d81f6
|
updates naming for built in config services, broke out current example script to examples dir, broke out config service manager to separate file
|
2020-01-17 13:47:55 -08:00 |
|
Blake Harnden
|
433327c0ae
|
added config service manager, added custom loading of subdirs for config based services, added configurations for config services
|
2020-01-17 11:40:29 -08:00 |
|
Blake Harnden
|
cf7dda816c
|
improvements to config services, start/stop/validate basics, abc levergae to enforce definitions for custom services
|
2020-01-16 17:14:42 -08:00 |
|
Blake Harnden
|
ff018cfd01
|
Merge branch 'develop' into feature/config-service
|
2020-01-16 16:13:22 -08:00 |
|
Blake Harnden
|
b8ded52a66
|
fixed formatting in docs due
|
2020-01-16 16:12:01 -08:00 |
|
Blake Harnden
|
988ca76cec
|
initial code towards services that will generate files from templates and provide configuration
|
2020-01-16 15:48:21 -08:00 |
|
Blake Harnden
|
f24901c4e6
|
fixed type hinting in config.py
|
2020-01-16 11:17:08 -08:00 |
|
bharnden
|
ea47217e94
|
Merge pull request #347 from coreemu/coretk-fix
Coretk fix
|
2020-01-16 11:08:39 -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 |
|
bharnden
|
4d82d1412c
|
fix check for frr babel wireless config
|
2020-01-15 21:40:16 -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
|
781dc806a8
|
updates to cases when checking existing bridges using ip -j returns an empty object
|
2020-01-15 16:20:35 -08:00 |
|
Huy Pham
|
5c087141bd
|
fix merge conflict
|
2020-01-15 15:27:33 -08:00 |
|
Huy Pham
|
084b25779b
|
differentiate sessions dialog's between start gui vs open from menu, add delete button to sessions dialog, remove fix width in TMenubutton for dark theme
|
2020-01-15 15:23:49 -08:00 |
|
Blake Harnden
|
d83fd2d035
|
update to place the terminal command in quotes
|
2020-01-15 14:02:59 -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 |
|
bharnden
|
7e50dbdc65
|
Merge pull request #343 from coreemu/coregui-typehint
Coregui typehint
|
2020-01-15 13:39:03 -08:00 |
|
Huy Pham
|
6ecffc465b
|
wrap up coretk type hinting
|
2020-01-15 12:59:54 -08:00 |
|
Blake Harnden
|
dcabd8d6f8
|
updates to add type hinting to uses of Callable
|
2020-01-15 11:56:23 -08:00 |
|
Blake Harnden
|
b3118513fa
|
added function type hinting for core.plugins
|
2020-01-15 11:20:31 -08:00 |
|
Huy Pham
|
c1c580cdc4
|
type hint for new small update
|
2020-01-15 10:55:29 -08:00 |
|
Blake Harnden
|
dafd5dff9f
|
merged latest from develop
|
2020-01-14 22:19:49 -08:00 |
|
bharnden
|
41bf279f76
|
Merge pull request #342 from coreemu/enhancement/disable-grpc-client-proxy
Enhancement/disable grpc client proxy
|
2020-01-14 22:17:33 -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
|
fa095431fb
|
added type hinting to core.emane functions
|
2020-01-14 16:27:08 -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
|
8cd8b2ae2c
|
added type hinting to core.xml
|
2020-01-14 14:56:00 -08:00 |
|
Huy Pham
|
948a33f201
|
edit some parts where pycharm gives warning on type hint
|
2020-01-14 14:30:08 -08:00 |
|
Huy Pham
|
8a4ad41a47
|
fix merge conflict
|
2020-01-14 14:08:41 -08:00 |
|
Huy Pham
|
a0c04c0809
|
type hinting
|
2020-01-14 14:02:37 -08:00 |
|
Huy Pham
|
c22f1680f7
|
more type hinting, remove some Optional type, and fix a small bug at dialogs.nodeconfig.mac_auto()
|
2020-01-14 11:59:44 -08:00 |
|
Huy Pham
|
6c8a2526d9
|
-m
|
2020-01-14 11:06:52 -08:00 |
|
Blake Harnden
|
02156867e2
|
added type hinting to location module funcs
|
2020-01-13 22:15:44 -08:00 |
|
Blake Harnden
|
03c4d8768d
|
finished grpc server func type hints
|
2020-01-13 21:33:15 -08:00 |
|
Huy Pham
|
b9b8e3a5f1
|
more on python type hint
|
2020-01-13 15:31:41 -08:00 |
|
Blake Harnden
|
0388140068
|
fixed WirelessModelType usage to avoid runtime errors
|
2020-01-13 14:10:00 -08:00 |
|
Blake Harnden
|
c0fcc91d10
|
added type hinting for core.nodes
|
2020-01-13 14:08:49 -08:00 |
|
Huy Pham
|
eb5f2c5648
|
more on type hinting, remove unecessary function comments
|
2020-01-13 12:03:13 -08:00 |
|
Blake Harnden
|
4e71759ac9
|
updates for typing functions on top level modules
|
2020-01-13 10:06:18 -08:00 |
|
Blake Harnden
|
ab3659183e
|
function typing for some of the grpc code
|
2020-01-11 23:49:51 -08:00 |
|
Blake Harnden
|
39bdd3a1ee
|
finished function typing in core.emulator
|
2020-01-11 09:37:26 -08:00 |
|
Blake Harnden
|
5583b7edfc
|
added type hints for emulator and session files
|
2020-01-10 22:37:19 -08:00 |
|
Blake Harnden
|
583a552bdb
|
disable grpc client from using proxy settings
|
2020-01-10 20:25:34 -08:00 |
|
Huy Pham
|
7bbd6aa353
|
type hint
|
2020-01-10 16:22:21 -08:00 |
|
Huy Pham
|
a8a0255624
|
type hint some files
|
2020-01-10 15:32:16 -08:00 |
|
Huy Pham
|
b0d580485b
|
Merge branch 'develop' into coredev-serviceconfig
|
2020-01-10 07:40:41 -08:00 |
|
Blake Harnden
|
4aeb16b866
|
removed ns3 related code
|
2020-01-09 16:36:00 -08:00 |
|
Blake Harnden
|
9aafc8e44f
|
updates to zebra service to remove deprecated configurations
|
2020-01-09 15:34:54 -08:00 |
|
Huy Pham
|
853d2828fe
|
add temp service file path
|
2020-01-09 15:31:35 -08:00 |
|
Huy Pham
|
e3c8a53838
|
Merge branch 'develop' into coredev-serviceconfig
|
2020-01-09 14:50:17 -08:00 |
|
bharnden
|
67c1dae357
|
Merge pull request #336 from coreemu/refactoring/remove-ipaddress
Refactoring/remove ipaddress
|
2020-01-09 14:31:33 -08:00 |
|
Blake Harnden
|
7028d3e78f
|
added unit tests to help check new utils functions and usages within nodes for adding addresses and macs
|
2020-01-09 14:23:08 -08:00 |
|
Blake Harnden
|
834ceea55d
|
updates to sdn ovs service to use ip instead of deprecated ifconfig
|
2020-01-09 13:52:36 -08:00 |
|
Huy Pham
|
2a7a22c2ee
|
change logging.warn to logging.warning
|
2020-01-09 13:10:45 -08:00 |
|
Huy Pham
|
3ef87a97d5
|
remove extra function
|
2020-01-09 10:12:00 -08:00 |
|
Huy Pham
|
41ae67b559
|
copy service config from other node
|
2020-01-09 08:54:15 -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 |
|
Huy Pham
|
54994f4c96
|
change back to INFO mode
|
2020-01-08 16:59:04 -08:00 |
|
Huy Pham
|
77c59aa38f
|
Merge branch 'develop' into coredev-serviceconfig
|
2020-01-08 16:55:23 -08:00 |
|
Huy Pham
|
55adce231e
|
copy other nodes' custom service configuration
|
2020-01-08 16:48:04 -08:00 |
|
Blake Harnden
|
4db7f845a5
|
removed commented out ipaddress code
|
2020-01-08 14:31:57 -08:00 |
|
Blake Harnden
|
fd10663323
|
changes to replaces known usages of ipaddress, leaving only ipaddress.MacAddress
|
2020-01-08 13:25:00 -08:00 |
|
bharnden
|
c46085e716
|
Merge pull request #332 from coreemu/coredev-serviceconfig
Coredev serviceconfig
|
2020-01-08 11:13:52 -08:00 |
|
Huy Pham
|
c402ce5284
|
allow choosing local host machine interface for rj45 node
|
2020-01-08 09:32:39 -08:00 |
|
Huy Pham
|
615b989102
|
Merge branch 'develop' into coredev-serviceconfig
|
2020-01-07 15:36:01 -08:00 |
|
Huy Pham
|
1e6e3f0958
|
some clean up
|
2020-01-07 15:30:19 -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 |
|
Huy Pham
|
be0f170f89
|
add a button to more conveniently remove a node's service
|
2020-01-07 15:05:05 -08:00 |
|
Blake Harnden
|
f431254e15
|
initial changes towards removing ipaddress and using netaddr
|
2020-01-07 14:08:29 -08:00 |
|
Huy Pham
|
6105439ae4
|
color custom services green
|
2020-01-07 13:36:04 -08:00 |
|
Huy Pham
|
3ad1af8d1d
|
enable default button in service configuration
|
2020-01-07 12:32:45 -08:00 |
|
bharnden
|
607e88585c
|
Merge pull request #330 from coreemu/feature/grpc-interfaces
added get_interfaces to grpc client
|
2020-01-07 12:11:43 -08:00 |
|
Blake Harnden
|
769572de02
|
added get_interfaces to grpc client
|
2020-01-07 12:03:51 -08:00 |
|
Huy Pham
|
db4d517ea8
|
Merge branch 'develop' into coredev-copypaste
|
2020-01-06 14:34:11 -08:00 |
|
Huy Pham
|
9369bd27b4
|
copy link config
|
2020-01-06 14:20:20 -08:00 |
|
Blake Harnden
|
c1a0f4e83d
|
fix for custom services not setting service.configs when reading xml
|
2020-01-06 11:54:51 -08:00 |
|
Blake Harnden
|
3e87737ee6
|
updates to use tk after for backgrounded tasks, also added background task convenience class for running something in the background and running a callback using tk.after when done
|
2019-12-30 16:34:44 -08:00 |
|
Blake Harnden
|
dd43fae62a
|
updated icons and added icon attribution to about dialog
|
2019-12-30 00:00:36 -08:00 |
|
Blake Harnden
|
ff7909e97a
|
removed old icons
|
2019-12-29 23:23:35 -08:00 |
|
Blake Harnden
|
c7c3b1e3be
|
updated requirements.txt
|
2019-12-29 23:01:29 -08:00 |
|
Blake Harnden
|
2be0713ed1
|
updated so that throughputs will update link color/width based on threshold
|
2019-12-27 00:32:10 -08:00 |
|
Blake Harnden
|
5dd08c283a
|
updated throughput dialog to load and set values from graph class
|
2019-12-26 21:32:30 -08:00 |
|
Blake Harnden
|
3512eedc60
|
small tweaks to throughput config dialog
|
2019-12-26 14:00:22 -08:00 |
|
Blake Harnden
|
fe8bc6f10e
|
removed usage of brctl and dependency on bridge-utils library as it is deprecated, replaced with using iproute instead
|
2019-12-23 14:48:56 -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
|
5639aeab75
|
Merge branch 'develop' of https://github.com/coreemu/core into develop
|
2019-12-20 13:31:32 -08:00 |
|
Blake Harnden
|
d4fae0d89e
|
changes to fix emane config data leveraging emane prefix to work as intended
|
2019-12-20 13:30:55 -08:00 |
|
Huy Pham
|
684cb26c5c
|
Merge branch 'develop' of https://github.com/coreemu/core into develop
|
2019-12-20 11:57:04 -08:00 |
|
Huy Pham
|
e4b44d08c1
|
create a rough layout for throughput config dialog
|
2019-12-20 11:56:51 -08:00 |
|
Blake Harnden
|
9f3a3cef28
|
update coretk gui to allow proper cancel when there is an attempt to exit a running session
|
2019-12-20 11:56:48 -08:00 |
|
Blake Harnden
|
396a948bb9
|
small tweak to make new has_ebtables_chain variable created in __init__
|
2019-12-20 11:50:43 -08:00 |
|
bharnden
|
ea6ecc751d
|
Merge pull request #311 from coreemu/feature/init-ebtables-for-wlan-only
feature/init-ebtables-for-wlan-only,
|
2019-12-20 11:41:40 -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
|
c0c23190d1
|
Merge branch 'develop' of https://github.com/coreemu/core into develop
|
2019-12-20 09:58:25 -08:00 |
|
bharnden
|
6fa67f8844
|
Merge pull request #313 from coreemu/feature/check-ifc-before-flush
Feature/check ifc before flush
|
2019-12-20 09:58:13 -08:00 |
|
Blake Harnden
|
95c57bbad6
|
changes to allow node container commands to leverage shell parameter when needed
|
2019-12-20 09:57:34 -08:00 |
|
Huy Pham
|
086e3316eb
|
copy over wlan config, emane, mobility config, service config, service file config
|
2019-12-20 09:55:30 -08:00 |
|
Blake Harnden
|
9dd42e0359
|
changes to daemon setup.py to support including gui data files
|
2019-12-19 21:29:10 -08:00 |
|
Blake Harnden
|
a7e243ae53
|
update coretk-gui to use configured terminal when double clicking nodes
|
2019-12-19 21:28:48 -08:00 |
|
Blake Harnden
|
eb7d81614e
|
set pillow logging to ERROR for coretk-gui
|
2019-12-19 21:28:17 -08:00 |
|
Blake Harnden
|
a674f5bf78
|
update python install makefiles to avoid forcing site-packages
|
2019-12-19 17:27:57 -08:00 |
|
Huy Pham
|
9a506fc35f
|
Merge branch 'develop' into coredev-painttool
|
2019-12-19 16:16:18 -08:00 |
|
Huy Pham
|
c1755afb2f
|
copy node and links
|
2019-12-19 16:15:29 -08:00 |
|
Blake Harnden
|
298cd2c9d3
|
small update to devguide, updates to READMEs for LXD and Docker
|
2019-12-19 12:32:30 -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 |
|
Huy Pham
|
395f8134dc
|
adjust alert table size
|
2019-12-19 11:30:27 -08:00 |
|
Huy Pham
|
5f9a227fac
|
Merge branch 'develop' into coredev-painttool
|
2019-12-19 11:14:44 -08:00 |
|
Huy Pham
|
f6c02973c1
|
fix merge conflict
|
2019-12-19 11:12:45 -08:00 |
|
Blake Harnden
|
105825808d
|
fixed edge refactoring issue when finding next subnet
|
2019-12-19 11:10:08 -08:00 |
|
Huy Pham
|
5a81adc653
|
some fix one paint tool
|
2019-12-19 10:58:22 -08:00 |
|
Blake Harnden
|
05d3b58c5f
|
updating dialog based classes to have dialog in name
|
2019-12-19 09:50:58 -08:00 |
|