Blake Harnden
|
3b0ca1638c
|
grpc: implemened initial support for streaming emane pathloss events
|
2020-06-03 14:35:17 -07:00 |
|
Blake Harnden
|
1884103cb4
|
grpc: added call to stream node movements using geo/xy and tests to validate usage, fixed potential exception when not setting session geo ref and using conversions
|
2020-06-03 08:47:36 -07:00 |
|
Blake Harnden
|
c6a06baf29
|
add geo to grpc calls getting node values, updated emane position hook to set lon/lat/alt values
|
2020-05-30 14:24:38 -07:00 |
|
Blake Harnden
|
4ab415e37d
|
grpc: updated node events to contain geo data when present
|
2020-05-28 16:12:11 -07:00 |
|
Blake Harnden
|
70bd837f02
|
Merge branch 'enhancement/type-checking-node-retrieval' into develop
|
2020-05-21 07:39:15 -07:00 |
|
Blake Harnden
|
bcd9e4ceb1
|
fixed session.add_hook to not require a source, since it was not typically used an None was being passed, cleaned up some bad type hinting in related to session.py
|
2020-05-21 00:20:05 -07:00 |
|
Blake Harnden
|
d5016bf44f
|
removed pointless wlan instance check in grpc wlan_link api since it is already being done when retrieving the wlan node
|
2020-05-20 22:36:04 -07:00 |
|
Blake Harnden
|
c07766e1eb
|
updated session.add_node to use better type hinting and force usage of classes directly, instead of indirectly through NodeTypes
|
2020-05-20 22:14:03 -07:00 |
|
Blake Harnden
|
d5254e6a91
|
changes to support better type checking for retrieving an arbitrary node from a session, get_node now requires an expected class that the node would be an instance of, if the returned node is not an instance a CoreError is thrown, this also helps editors pick up expected types to account for variable/function usage better as well
|
2020-05-20 14:44:34 -07:00 |
|
Blake Harnden
|
0a792f7b3f
|
updates to grpc rpc wlan link, added node class type checking and hinting in grpc server code
|
2020-05-19 22:36:10 -07:00 |
|
Blake Harnden
|
d14056393b
|
added grpc call to allow direct control of nodes connected through wlan to be linked or not
|
2020-05-19 16:46:44 -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
|
0999fabb14
|
pygui revamped progress bar functionality into app task calls to simplify and commonize the functionality, handle and display task exceptions
|
2020-05-03 10:41:36 -07:00 |
|
Blake Harnden
|
686026d9f2
|
improved netaddr mac dialect usage to leverage constructor parameter
|
2020-05-01 17:40:53 -07:00 |
|
Blake Harnden
|
4a7abe71e4
|
removed unwanted grpc client stream log
|
2020-05-01 13:42:15 -07:00 |
|
Blake Harnden
|
f521fe4141
|
fixed issue where actually sending interface names to tcl gui would cause issue, no longer sending link interfave names
|
2020-04-22 00:20:18 -07:00 |
|
Blake Harnden
|
efa5506c80
|
fix issue when tcp handlers has no other clients for a session
|
2020-04-20 15:56:25 -07:00 |
|
Blake Harnden
|
5dcf2f45c5
|
updates to allow building python docs again, also added checks for requirements to build the python docs
|
2020-04-16 11:32:50 -07:00 |
|
Blake Harnden
|
7e7bf8c7b7
|
fix p2p upstream link data not using enum, consolidated grpc logic for getting link protobufs
|
2020-04-15 16:36:03 -07:00 |
|
Blake Harnden
|
e2490dee4a
|
modified wireless links to obtain colors based on connected network from the session, LinkData will no provide a color itself
|
2020-04-15 15:41:37 -07:00 |
|
Blake Harnden
|
23562cd294
|
updates for working label drawing on wireless links in pygui, will display sinr values on emane links
|
2020-04-15 12:41:09 -07:00 |
|
Blake Harnden
|
3c4a908fd5
|
updates to support multiple links between nodes in pygui, initially handling multiple wireless links
|
2020-04-14 15:51:28 -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
|
d0c4d4b935
|
fixed issue where the udp handler would no broadcast node/link changes from coresendmsg
|
2020-04-02 21:14:08 -07:00 |
|
Blake Harnden
|
72189a5c28
|
fix configdata issue, since most corehandler code did not account for using flags directly
|
2020-04-01 10:56:09 -07:00 |
|
Blake Harnden
|
091131fe5c
|
tweak to session.exception to default node_id to None when not provided
|
2020-03-31 16:39:27 -07:00 |
|
Blake Harnden
|
3165bddc92
|
updates to allow emane to throw an exception when emane python bindings are not present and emane is attempted to be ran
|
2020-03-31 16:21:04 -07:00 |
|
Blake Harnden
|
8186c62b19
|
switched core emulator data files from using namedtuples to backported dataclasses
|
2020-03-31 09:41:29 -07:00 |
|
Blake Harnden
|
6a41012857
|
updates to break up core.proto into separate logical files
|
2020-03-22 22:57:50 -07:00 |
|
Blake Harnden
|
14e708681c
|
small tweak to corehandlers logic
|
2020-03-22 21:08:12 -07:00 |
|
Blake Harnden
|
33bcc24d88
|
cleaned up broadcast_node to use nodes directly
|
2020-03-22 16:38:15 -07:00 |
|
Blake Harnden
|
39499a4ab4
|
moved ConfigShim to being under tlv, updated RegisterTlvs to use enums directly in non tlv code
|
2020-03-22 14:59:42 -07:00 |
|
Blake Harnden
|
7a5a0f34ea
|
broke out tlv specific enums into their own module
|
2020-03-22 14:09:38 -07:00 |
|
Blake Harnden
|
c264634b5f
|
merged latest from develop
|
2020-03-22 13:52:26 -07:00 |
|
Blake Harnden
|
3f17706c28
|
small cleanup for interface position hooks, updates to support using a provided altitude when sending emane events based on position hooks
|
2020-03-19 16:40:43 -07:00 |
|
Blake Harnden
|
a7790185d4
|
updates to use message flags enum directly
|
2020-03-12 23:12:17 -07:00 |
|
Blake Harnden
|
5cdfd8d8b9
|
updated NodeTypes to be used directly
|
2020-03-10 23:11:37 -07:00 |
|
Blake Harnden
|
f277e96c9a
|
revert logging back to info, removed Rj45Models enum as it was not being used, updated linktypes enum to be used directly
|
2020-03-10 22:48:05 -07:00 |
|
Blake Harnden
|
1e8d1ecd9f
|
changes for sessions to use EventTypes for state/hooks directly
|
2020-03-06 22:35:23 -08:00 |
|
Blake Harnden
|
c4234d33f0
|
updates to allow new gui to recreate session to continue where it left off
|
2020-03-04 20:09:56 -08:00 |
|
bharnden
|
7c8e115bc7
|
Merge pull request #383 from coreemu/coretk-enhance/disable-runtime-editing-custom-service-config
Coretk enhance/disable runtime editing custom service config
|
2020-03-03 12:54:47 -08:00 |
|
Blake Harnden
|
ff3b20a962
|
modifications to support optional geo position edits for nodes and to account for geo updates to sdt
|
2020-03-02 10:01:36 -08:00 |
|
Blake Harnden
|
9535d40b70
|
added grpc call to execute python script, to replicate prior gui functionality
|
2020-02-28 12:28:41 -08:00 |
|
Blake Harnden
|
67da3e5c22
|
changes to move sdt calls internal to core interactions, which allows it to work with both guis
|
2020-02-27 21:39:18 -08:00 |
|
Huy Pham
|
f8a3f0a2d4
|
Merge branch 'develop' into coretk-enhance/disable-runtime-editing-custom-service-config
|
2020-02-27 11:00:09 -08:00 |
|
Huy Pham
|
c36f060d44
|
fixed wrong variable used for configuring service in grpcutils, add/delete directories for node's service configuration, clean up some old code
|
2020-02-26 15:43:31 -08:00 |
|
Blake Harnden
|
20e3fbc7d9
|
modify execute python script handling for old gui to wait for script to complete before looking for new session to avoid possible race conditions
|
2020-02-26 15:39:37 -08:00 |
|
Blake Harnden
|
e1c9155ba7
|
simplify thread daemon usage
|
2020-02-26 15:29:19 -08:00 |
|
Blake Harnden
|
909f231c13
|
Merge branch 'develop' into enhancement/xy-to-lonlat
|
2020-02-25 13:14:34 -08:00 |
|
Blake Harnden
|
177f27372e
|
fixed wrong variable used for configuring service in grpcutils
|
2020-02-25 11:30:26 -08:00 |
|
Blake Harnden
|
f1a7c10e91
|
Merge branch 'develop' into enhancement/xy-to-lonlat
|
2020-02-21 16:43:18 -08:00 |
|
Blake Harnden
|
a3c7ed8012
|
update emaneevent logging to debug, fixed emaneevent thread stop logic, fixed node data conversion for lon,lat,alt values
|
2020-02-21 16:42:23 -08:00 |
|
Blake Harnden
|
95c32ddd28
|
initial geo location conversion using pyproj
|
2020-02-21 15:54:55 -08:00 |
|
Blake Harnden
|
1375af51cb
|
added grpc to get emane event channel being used
|
2020-02-14 16:22:28 -08:00 |
|
Blake Harnden
|
ebafa228ff
|
added files/directories to grpc set_node_service
|
2020-02-14 13:40:10 -08:00 |
|
Blake Harnden
|
71aeb98bb9
|
updates to grpc add_link to return created interface data
|
2020-02-14 13:18:05 -08:00 |
|
Blake Harnden
|
6020496b6f
|
fixed sdt issue core gui, fixed sdt message sending for python3
|
2020-02-05 14:40:37 -08:00 |
|
Blake Harnden
|
45fb32c834
|
renamed config service dependency finder method to startup_paths, added pydocs to config service related methods
|
2020-01-27 11:44:00 -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
|
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 |
|
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 |
|
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 |
|
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
|
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
|
dcabd8d6f8
|
updates to add type hinting to uses of Callable
|
2020-01-15 11:56:23 -08:00 |
|
Blake Harnden
|
dafd5dff9f
|
merged latest from develop
|
2020-01-14 22:19:49 -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
|
03c4d8768d
|
finished grpc server func type hints
|
2020-01-13 21:33:15 -08:00 |
|
Blake Harnden
|
c0fcc91d10
|
added type hinting for core.nodes
|
2020-01-13 14:08:49 -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
|
583a552bdb
|
disable grpc client from using proxy settings
|
2020-01-10 20:25:34 -08:00 |
|
Blake Harnden
|
de493c810a
|
changes to replace MacAddress usage and remove ipaddress module altogether
|
2020-01-08 17:33:49 -08:00 |
|
Blake Harnden
|
fd10663323
|
changes to replaces known usages of ipaddress, leaving only ipaddress.MacAddress
|
2020-01-08 13:25:00 -08:00 |
|
Blake Harnden
|
769572de02
|
added get_interfaces to grpc client
|
2020-01-07 12:03:51 -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
|
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
|
8eb4df7b1d
|
updated linkconfig to support asymmetric links, updated grpc start session to provide asymmetric links, since they currently depend on being processed as a link edit
|
2019-12-18 22:09:00 -08:00 |
|
Blake Harnden
|
69494b600f
|
fixes for parsing grpc throughputs
|
2019-12-16 13:26:55 -08:00 |
|
Blake Harnden
|
44df926fb9
|
updated events streamed from sessions to include session id for easy identification
|
2019-12-16 12:21:03 -08:00 |
|
Blake Harnden
|
424f69bb15
|
updated grpc throughputs to only check a specific session and verify the data being collected and sent is for that session, fixed data from throughputs being in hex getting converted to int, updated coretk to only run throughputs when enabled, updated grpc streams to return the stream to allow it being canceled
|
2019-12-16 11:14:05 -08:00 |
|
Blake Harnden
|
85521e8c8f
|
added grpc to get current service configurations, fixed bug for core daemon not using custom service configs
|
2019-12-13 18:17:42 -08:00 |
|
Blake Harnden
|
47cc20b567
|
updates to grpc event streaming, client can now listen to a subset of desired events
|
2019-12-13 16:11:58 -08:00 |
|
Blake Harnden
|
9d988a4b13
|
fixed issue in grpc get emane model configs that would allow key collision
|
2019-12-13 14:18:13 -08:00 |
|
Blake Harnden
|
9ada94107e
|
changes to grpc get emane model configs to return the interface value and actual node id, instead of coded value that would need to be parsed
|
2019-12-13 14:03:41 -08:00 |
|
Blake Harnden
|
9b16f272b8
|
added get wlan configs, made use of it in coretk, updated node context to allow wlan config during runtime
|
2019-12-13 11:48:36 -08:00 |
|
Blake Harnden
|
b993fadedb
|
removed grpc check for getting a node service file, it will return the default value when not currently set
|
2019-12-13 11:24:35 -08:00 |
|
Blake Harnden
|
819954a695
|
updated grpc node positions to use floats, avoids needing to deal with int conversions
|
2019-12-13 10:47:23 -08:00 |
|
Blake Harnden
|
d343bd0655
|
updated gui to display custom icons if set, updated grpc to send custon icon and image data when present
|
2019-12-13 08:48:40 -08:00 |
|
Huy Pham
|
2344e026ff
|
check emulation light, fix one line of backend code
|
2019-12-12 16:17:33 -08:00 |
|
Blake Harnden
|
45a23a6c14
|
updated usage of time.time to time.monotonic or time.perf_counter due to time.time possibly rolling backwards
|
2019-12-06 09:42:41 -08:00 |
|
Blake Harnden
|
d1db5e4b4e
|
added some data for node events to have a source field to help distinguish what originates from the gui or not
|
2019-11-27 12:55:39 -08:00 |
|
Blake Harnden
|
da203d578e
|
fixed issue with node event tests when position is None
|
2019-11-27 09:15:19 -08:00 |
|
Blake Harnden
|
8b7d651d06
|
fixed issue with nod emobility location calculations being forced to use ints
|
2019-11-27 09:05:37 -08:00 |
|
Blake Harnden
|
9445b63bd2
|
removed saving default configurations for wlan and mobility by default, updated session.add_node to set default configurations for wlan and emane
|
2019-11-21 12:29:33 -08:00 |
|
Blake Harnden
|
aa718817d0
|
updates to implement working observer widgets
|
2019-11-11 13:23:02 -08:00 |
|
Blake Harnden
|
18c9904d58
|
modified grpc set node service and node service file to use messages for their config, updated start session to leverage these messages to set them when starting a session
|
2019-11-11 10:19:30 -08: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
|
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 |
|
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 |
|
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
|
7366738023
|
updated network to network link to not look for Rj45, since that wont happen, removed unwanted grpc client function
|
2019-10-23 11:24:50 -07:00 |
|
bharnden
|
68be311c7a
|
updated usages of super to use python3 variation
|
2019-10-23 09:51:52 -07: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 |
|
bharnden
|
14d759667c
|
refactored session.update_node to session.edit_node to match grpc call
|
2019-10-22 20:55:06 -07:00 |
|
bharnden
|
cb81095b64
|
refactored NodeData and NodeOptions to use server instead of emulation_server
|
2019-10-22 20:50:01 -07:00 |
|
Blake Harnden
|
ab0abd65aa
|
modified session.add_node parameter node_options, to just be options
|
2019-10-22 15:31:50 -07:00 |
|
Blake Harnden
|
f39b7e9f96
|
updated open_xml functionality, grpc open_xml can optionally start now, added opened files to grpc get_sessions
|
2019-10-22 12:08:55 -07:00 |
|
Blake Harnden
|
0a689a3e96
|
updates to grpc to provide a consistent config response, mapping config ids to ConfigOptions
|
2019-10-22 09:57:41 -07:00 |
|
Blake Harnden
|
233ca92fd2
|
update grpc to allow for configuring and created distributed nodes
|
2019-10-21 12:51:38 -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
|
3fc0ca5cec
|
fix to get_node over grpc to avoid issues with nodes that dont have services
|
2019-10-21 09:51:52 -07:00 |
|
bharnden
|
6006710c32
|
changed net_cmd to host_cmd and node_net_cmd to cmd, for simpler more logical naming
|
2019-10-18 23:28:09 -07:00 |
|
Blake Harnden
|
73b2eff312
|
fix for corehandlers.py session_clients access
|
2019-10-18 16:25:38 -07:00 |
|
Blake Harnden
|
5633d4d18b
|
converted format strings to f strings
|
2019-10-18 12:55:35 -07:00 |
|
Blake Harnden
|
07b4408076
|
f string updates to all but services complete
|
2019-10-18 12:44:13 -07:00 |
|
Blake Harnden
|
da946f1f56
|
removing builtins imports
|
2019-10-17 15:02:24 -07:00 |
|
Blake Harnden
|
6edd6a7fdb
|
first pass at removing all python2 specific dependencies, updating python requirements.txt/setup.py/Pipfiles/Makefiles, and removing python2 compat imports
|
2019-10-17 14:52:31 -07:00 |
|
Blake Harnden
|
5d5ffb70c2
|
update to grpc edit_node to allow editing icon and broadcasting a node update for all to listen to a change
|
2019-10-17 13:00:20 -07:00 |
|
bharnden
|
8a3183c8b3
|
Merge branch 'enhancement/distributed-flask' of https://github.com/coreemu/core into enhancement/distributed-flask
|
2019-10-17 12:13:26 -07:00 |
|
Blake Harnden
|
e94a6d1afa
|
separated distributed session logic into its own class to help reduce session.py size as it is already too big
|
2019-10-17 11:10:59 -07:00 |
|
Blake Harnden
|
774dd8330c
|
removed broker.py
|
2019-10-16 20:26:14 -07:00 |
|
Blake Harnden
|
0b8bc7bd13
|
updated corehandlers to allow sdt snooping to help mimic previous behavior
|
2019-10-15 15:02:38 -07:00 |
|
Blake Harnden
|
b2d2705849
|
removed broker from session, updated most places using broker to use alternative logic to compensate where needed
|
2019-10-15 14:13:42 -07:00 |
|
bharnden
|
1b428c120b
|
merged latest from develop
|
2019-10-12 14:39:29 -07:00 |
|
bharnden
|
4e4fcddd00
|
added grpc api for creating emane link/unlink messages, which will be sent to the gui for being added/removed
|
2019-10-12 08:56:39 -07:00 |
|
bharnden
|
fee56302a1
|
fix for wlan configuration issues
|
2019-10-12 08:03:20 -07:00 |
|
bharnden
|
5b3308a231
|
updated linkconfig to use string commands, fixed issues for wlan configuration
|
2019-10-11 22:27:04 -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
|
4a6d69bb09
|
removing cmd_output function from utils and nodes
|
2019-10-11 09:34:49 -07:00 |
|
Blake Harnden
|
f6cdeb23de
|
changes to update commands to leverage either node_net_cmd/net_cmd
|
2019-10-10 15:25:12 -07:00 |
|
Jeff Ahrenholz
|
0bbb686bda
|
fix exception when trying to run Python script from GUI
|
2019-10-08 13:05:37 -07:00 |
|
Blake Harnden
|
a798774f18
|
updates to tone down warning logs to debug in broker.py and session.py
|
2019-09-30 12:58:13 -07:00 |
|
Blake Harnden
|
1fb99e8690
|
converted info to debug for some corehandlers logging
|
2019-09-30 10:06:10 -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
|
050297587d
|
consolidated EmaneNode and EmaneNet, renaming EmaneNode to EmaneNet
|
2019-09-27 22:31:56 -07:00 |
|
Blake Harnden
|
b961a8a959
|
updated broker.py logging to not be as noisy by default
|
2019-09-27 15:31:19 -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 |
|
Huy Pham
|
b333859d86
|
finish up server.py and fix 2 broken links
|
2019-09-16 12:55:00 -07:00 |
|
Huy Pham
|
edcb3d3472
|
updates on python comments 4:20pm friday
|
2019-09-13 16:21:07 -07:00 |
|
Huy Pham
|
813ddc10c6
|
Merge branch 'develop' into pydocupdates
|
2019-09-13 11:07:43 -07:00 |
|
Huy Pham
|
1843b5f709
|
further updates to python docs and docs files
|
2019-09-13 11:07:04 -07:00 |
|
Blake Harnden
|
32bfa4b2f9
|
fixed exception catches for get_node expecting KeyError to expect CoreError
|
2019-09-12 15:48:09 -07:00 |
|
Huy Pham
|
2bfcc9ef24
|
Merge branch 'develop' into pydocupdates
|
2019-09-12 10:24:23 -07:00 |
|
Huy Pham
|
b43a686d6b
|
initial documentation improvements
|
2019-09-12 10:23:46 -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
|
3776e1dda7
|
moved emane dependent tests into subdir, moved pytest config into setup.cfg, added CoreError and made use of in session.py
|
2019-09-11 13:12:42 -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
|
bcd2584eb8
|
grpc - add rpc to get local non-core interfaces
|
2019-07-12 13:02:15 -07:00 |
|
Blake Harnden
|
02668c9c3c
|
grpc - initial support for container node types
|
2019-07-11 13:09:04 -07:00 |
|
Blake Harnden
|
0d24ca3387
|
grpc support for docker/lxc
|
2019-07-10 13:58:27 -07:00 |
|
bharnden
|
836133c97d
|
reverting a change that caused switching sessions within gui to break
|
2019-07-05 09:00:14 -07:00 |
|
Blake Harnden
|
ca10ef4e9e
|
finished initial pass on adding tests to help run through and validate tlv message handling
|
2019-06-25 12:29:46 -07:00 |
|
Blake Harnden
|
4f4605163f
|
fixed issues executing xml from gui, added more tests for testing message handling
|
2019-06-24 15:49:12 -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
|
b5acdf0c3d
|
updated tests for running distributed to working order and adding simple emane case
|
2019-06-19 17:34:33 -07:00 |
|
Blake Harnden
|
948b1126ba
|
changes to support not modifying controlnet configuration messages and avoid issues with setting the master meane config when dealing with distributed emane
|
2019-06-18 10:33:16 -07:00 |
|
bharnden
|
0af3629ac6
|
corefx - fixed some issues loading xml due to grpc change, updated subnet logic to help handle loaded scenarios. grpc - fixed issue when loading network links
|
2019-06-15 10:42:55 -07:00 |
|
Blake Harnden
|
6288e11bcc
|
grpc - fixed issue when handling wlan configurations
|
2019-06-14 14:14:00 -07:00 |
|
Blake Harnden
|
fca79fcf94
|
small change for possibility of runtime mobility configuration
|
2019-06-11 15:55:11 -07:00 |
|
Blake Harnden
|
38c58d9603
|
fixed tlv api changing wlan config during runtime, fixed for grpc as well and added grpc test
|
2019-06-11 13:11:36 -07:00 |
|
bharnden
|
191d392c46
|
updated grpc node x,y types, added new grpc session position type, grpc updated link options to use int, fixed corehandlers handling of dup, fixed corexml type handling for link options, updated mobility config types to correlate with link options
|
2019-06-08 16:56:39 -07:00 |
|
Blake Harnden
|
e62ae42bdc
|
merged latest from master
|
2019-06-07 10:05:40 -07:00 |
|
Blake Harnden
|
db7bfe12bd
|
pass on updated pydocs to reflect path changes
|
2019-06-07 08:59:16 -07:00 |
|
bharnden
|
d1114bd804
|
fixed byte/str issue in coreapi tlv mac addr
|
2019-06-04 10:55:08 -07:00 |
|
bharnden
|
f5efecabf0
|
byte string fix in coreapi, different approach to urlparse compatibility to avoid other issues
|
2019-06-03 21:22:11 -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
|
597bd21994
|
updated logging.warn to logging.warning due to deprecation in python3, fixed python 2/3 filter issue in tests, fixed utf decoding for some missed popen commands
|
2019-06-03 14:36:21 -07:00 |
|
Blake Harnden
|
69b1297002
|
updated protobuf to use string instead of bytes for 2/3 compatibility for now, updated default service in grpc tests, fixed byte string issues for python3 in coreapi
|
2019-06-03 13:34:54 -07:00 |
|
Blake Harnden
|
7efec88e79
|
merged latest from develop
|
2019-06-03 13:06:11 -07:00 |
|
Blake Harnden
|
bb5e68ad8b
|
2/3 fixes for ip address and mac byte handling
|
2019-06-03 11:49:43 -07:00 |
|
bharnden
|
7a0edd5927
|
fixed bad logic introduced into interface setparams, fixed grpc edit link test
|
2019-06-02 22:20:00 -07:00 |
|
bharnden
|
3de37f0f5e
|
fixed basestring check for 2/3 compatibility
|
2019-06-02 19:23:49 -07:00 |
|
bharnden
|
ecc63f4abb
|
updates to support 2/3 along with not using vcmd c extension
|
2019-06-02 19:06:25 -07:00 |
|
bharnden
|
864c7b69a1
|
updated Queue and ConfigParser to use 2/3 compatible imports
|
2019-05-05 21:49:42 -07:00 |
|
bharnden
|
b58d32c156
|
updated socketserver to 2/3 compliant
|
2019-05-05 21:37:45 -07:00 |
|
bharnden
|
1e98175e35
|
refactored usages of iteritems, itervalues, and iterkeys to be 2/3 compliant
|
2019-05-05 21:23:43 -07:00 |
|
bharnden
|
8d6bf54a16
|
removed usage of longs, updated int instance checking and octal constants to be 2/3 compliant
|
2019-05-05 17:11:07 -07:00 |
|
bharnden
|
e58cbe9421
|
added future library to support python2/3, updated xrange calls to leverage builtins range
|
2019-05-05 16:19:12 -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
|
37f747c212
|
Update coreapi.py
fixed get_tlv using enumerated type instead of value
|
2019-02-12 20:38:00 -08:00 |
|
bharnden
|
05a5574155
|
cleanup of core.api, core.emulator, core.pnodes
|
2018-10-11 14:49:22 -07:00 |
|
Blake J. Harnden
|
4b9cf996d1
|
updates to account for config messages in core handlers that dont contain all configuration options
|
2018-06-07 15:32:16 -07:00 |
|
Blake J. Harnden
|
44781d0aec
|
set default logging to INFO, cleaned up logging to help isolate debug type messages to DEBUG level, fixed issue with shutdown
|
2018-04-27 12:09:31 -07:00 |
|