Blake Harnden
|
6dd6bc87ab
|
daemon: renamed executable variables to be simpler
|
2020-06-23 09:35:11 -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
|
1829a8e2f8
|
daemon: refactored CoreInterface.mac from a string to a netaddr.EUI object, providing more functionality
|
2020-06-19 15:21:45 -07:00 |
|
Blake Harnden
|
20feea8f12
|
daemon: refactored usages of addr to ip and updated functions to align
|
2020-06-19 10:54:58 -07:00 |
|
Blake Harnden
|
d88f3a2535
|
daemon: refactored CoreInterface.addrlist storing strings into CoreInterface.ip4s and ip6s, stored as netaddr.IPNetwork objects
|
2020-06-19 08:50:36 -07:00 |
|
Blake Harnden
|
ca2b1c9e4c
|
daemon: refactored all_link_data to links
|
2020-06-18 21:33:28 -07:00 |
|
Blake Harnden
|
3d7d775bfb
|
daemon: removed unused variables from LinkOptions
|
2020-06-18 00:15:44 -07:00 |
|
Blake Harnden
|
f4671ab2b8
|
daemon: refactored usages of hwaddr to mac and be consistent everywhere
|
2020-06-16 23:25:26 -07:00 |
|
Blake Harnden
|
a29a7a5582
|
refactored LinkOptions to be used within LinkData, instead of duplicating data, removed session from LinkOptions and LinkData
|
2020-06-16 14:18:19 -07:00 |
|
Blake Harnden
|
eeca33e722
|
combined core.emulator.data and core.emulator.emudata, updated LinkData to leverage InterfaceData, instead of repeated interface fields, removed session from LinkData and LinkOptions
|
2020-06-16 12:50:24 -07:00 |
|
Blake Harnden
|
0725199d6d
|
initial sweeping changes to call all usages of various interface related variables and functions (netif, interface, if, ifc, etc) to use a consistent name iface
|
2020-06-16 09:30:16 -07:00 |
|
Blake Harnden
|
3243a69afa
|
daemon: updated xml files to use node1 and interface1 instead of node_one and interface_one, will still fallback to parse old names
|
2020-06-14 00:46:11 -07:00 |
|
Blake Harnden
|
83f66d33f7
|
merged latest from develop
|
2020-06-13 18:07:21 -07:00 |
|
Blake Harnden
|
e18ffaafce
|
daemon: xml files will now write and read loss, but fallback to looking for per for compatibility
|
2020-06-13 17:41:13 -07:00 |
|
Blake Harnden
|
23d957679e
|
daemon: Session cleanup, removed unused functions, used context managers for writing files, made variables used externally no longer private
|
2020-06-12 20:22:51 -07:00 |
|
Blake Harnden
|
876699e8ef
|
variable/grpc cleanup to rename everything using spelt out numbers instead of actual numbers
|
2020-06-12 16:52:41 -07:00 |
|
Blake Harnden
|
76305f7257
|
converted usages of per to loss
|
2020-06-12 12:49:53 -07:00 |
|
Blake Harnden
|
ef3cf5697d
|
daemon: added class variable type hinting for core.xml
|
2020-06-12 08:54:06 -07:00 |
|
Blake Harnden
|
3691c6029f
|
updated corexml InterfaceData instantiation to use named params
|
2020-06-09 10:48:50 -07:00 |
|
Blake Harnden
|
7d2034df71
|
daemon: updated NodeOptions to leverage dataclass
|
2020-06-09 10:45:18 -07:00 |
|
Blake Harnden
|
b034ba6cc3
|
turned transport type usages of raw and virtual across the board to an enumerated type
|
2020-05-29 22:48:00 -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
|
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
|
124d655dc6
|
fixed issue when sorting hook when saving to xml, due to enum refactoring, updated test case to hit this potential issue in the future
|
2020-05-11 12:41:57 -07:00 |
|
Blake Harnden
|
47ef5ec14d
|
avoid writing link options to xml for emane/wlan links
|
2020-04-30 11:19:23 -07:00 |
|
Blake Harnden
|
3394f0240a
|
update reading session xml options to updating these values instead of clearing out existing settings, avoids issue wiping ovs settings etc
|
2020-04-22 12:07:42 -07:00 |
|
Blake Harnden
|
78d442b574
|
add service file content to xml as cdata to avoid escaping
|
2020-04-16 10:44:33 -07:00 |
|
Blake Harnden
|
86b0c07764
|
fixed issue when reading xml file and not associating node with emane model, causing error for grpc
|
2020-04-15 11:44:14 -07:00 |
|
Blake Harnden
|
13ef701b6e
|
ignore reading emane global config from xml when not present
|
2020-03-31 10:08:08 -07:00 |
|
Blake Harnden
|
1efa1284bb
|
merged latest from develop
|
2020-03-28 13:18:25 -07:00 |
|
Blake Harnden
|
6c5c2c5674
|
fixed core xml to properly write and read emane global configurations
|
2020-03-28 13:06:46 -07:00 |
|
Blake Harnden
|
3d59cd0ad8
|
initial logic for working emane links based on emane stats
|
2020-03-27 17:22:44 -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
|
1e8d1ecd9f
|
changes for sessions to use EventTypes for state/hooks directly
|
2020-03-06 22:35:23 -08:00 |
|
Blake Harnden
|
539ca5d22c
|
added docker/lxc to xml read/write, fixed icon retrieval for docker/lxc in new gui
|
2020-03-03 22:27:02 -08:00 |
|
Blake Harnden
|
c66ee04db5
|
avoid attempting to stop services for nodes that are not considered up
|
2020-02-04 10:13:37 -08:00 |
|
bharnden
|
c5666f9112
|
Merge pull request #357 from coreemu/feature/config-service
Feature/config service
|
2020-01-27 17:31:03 -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
|
0d99810491
|
fixed issue where xml did not read in custom icons
|
2020-01-20 09:09:42 -08:00 |
|
Blake Harnden
|
b8ded52a66
|
fixed formatting in docs due
|
2020-01-16 16:12:01 -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
|
8cd8b2ae2c
|
added type hinting to core.xml
|
2020-01-14 14:56:00 -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
|
de493c810a
|
changes to replace MacAddress usage and remove ipaddress module altogether
|
2020-01-08 17:33:49 -08:00 |
|
Blake Harnden
|
848d4acb8f
|
added imn-to-xml script, fixed bug introduced when reading xml files with custom service files
|
2020-01-07 15:29:36 -08:00 |
|
Blake Harnden
|
f431254e15
|
initial changes towards removing ipaddress and using netaddr
|
2020-01-07 14:08:29 -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
|
819954a695
|
updated grpc node positions to use floats, avoids needing to deal with int conversions
|
2019-12-13 10:47:23 -08:00 |
|