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
|
9e4429fbbc
|
daemon: refactored InterfaceData.get_addresses to InterfaceData.get_ips
|
2020-06-19 11:11: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
|
f4671ab2b8
|
daemon: refactored usages of hwaddr to mac and be consistent everywhere
|
2020-06-16 23:25:26 -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
|
0462c1b084
|
daemon: added usage of ABC to NodeBase, CoreNodeBase, and CoreNetworkBase to help enforce accounting for abstract functions
|
2020-06-14 13:35:06 -07:00 |
|
Blake Harnden
|
cf41948894
|
daemon: fixed error with EmaneNet startup throwing an error, updated Rj45Node and PhysicalNode to implement all abstract methods
|
2020-06-14 12:36:07 -07:00 |
|
Blake Harnden
|
c4c667bb74
|
daemon: removed node.startup from inside constructor, session is now responsible, providing more control and avoiding issues when using super calls where you dont want to start just yet
|
2020-06-14 09:37:58 -07:00 |
|
Blake Harnden
|
178d12b327
|
daemon: updated variables for InterfaceData to be denote data to make it more clear
|
2020-06-12 17:32:55 -07:00 |
|
Blake Harnden
|
ccf2646c00
|
daemon: refactored add_link,update_link,delete_link to have more specific logic, refactored CoreNodeBase to have newnetif and for it to return the interface created
|
2020-06-11 13:59:29 -07:00 |
|
Blake Harnden
|
f73c617ecf
|
daemon: removed utils.make_tuple and last remaining usage
|
2020-06-09 18:53:42 -07:00 |
|
Blake Harnden
|
2965273f58
|
daemon: CoreNetworkBase.linkconfig now takes a LinkOptions object, removed usage of emudata.link_config
|
2020-06-09 13:41:31 -07:00 |
|
Blake Harnden
|
3be15a1316
|
daemon: update CoreNode.newnetif to require parameters, CoreNode.newnetif now depends on being provided InterfaceData
|
2020-06-09 12:42:15 -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
|
7e4ef0b280
|
changes to make rj45 maintain the interface information, instead of trying to be 2 classes at once
|
2020-05-25 23:18:20 -07:00 |
|
Blake Harnden
|
8fed201fd8
|
added type hints to class variables in nodes/physical.py
|
2020-05-25 11:33:59 -07:00 |
|
Blake Harnden
|
c580e15f8e
|
moved common variables up and localname to CoreInterface, they were being created in all subclasses and avoids type hinting errors
|
2020-05-23 01:05:46 -07:00 |
|
Blake Harnden
|
26b0868f65
|
removed devname from linkconfig as the only usage was of it was using a parametr that was already being passed in
|
2020-05-23 00:00:40 -07:00 |
|
Blake Harnden
|
dd13bc8379
|
moved linkconfig to CoreNetworkBase and made linkconfig defined the same across the board
|
2020-05-22 23:44:10 -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
|
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
|
5cdfd8d8b9
|
updated NodeTypes to be used directly
|
2020-03-10 23:11:37 -07:00 |
|
Blake Harnden
|
c66ee04db5
|
avoid attempting to stop services for nodes that are not considered up
|
2020-02-04 10:13:37 -08:00 |
|
Blake Harnden
|
2ed56fbaa6
|
fixed doc formatting that was missed
|
2020-01-17 21:12:14 -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
|
c0fcc91d10
|
added type hinting for core.nodes
|
2020-01-13 14:08:49 -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 |
|
bharnden
|
440c8ed565
|
updated interface.py to use python3 super()
|
2019-10-23 10:40:40 -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
|
c9326b6a97
|
initial changes to use f strings
|
2019-10-17 18:59:50 -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
|
009ce8143e
|
removed lock for distributed commands and limited usage to uploads
|
2019-10-16 20:19:51 -07:00 |
|
Blake Harnden
|
8aef9f273f
|
updates to clear broker from physical node
|
2019-10-16 17:11:21 -07:00 |
|
Blake Harnden
|
61a4e228a1
|
updated ctrlnets to assign unique addresses per server, fixed ovs command issue for interface specific commands
|
2019-10-16 10:14:36 -07:00 |
|
Blake Harnden
|
6570f22ccf
|
refactor fabric distributed to use a class and update sessions to create and provide these to nodes
|
2019-10-14 15:43:57 -07:00 |
|
bharnden
|
2bfd050880
|
updated missed commands to be string based
|
2019-10-11 22:37:33 -07:00 |
|
Blake Harnden
|
d326f246a7
|
removed node based check_cmd, updated to use appropriate function
|
2019-10-11 12:57:37 -07:00 |
|
Blake Harnden
|
4a6d69bb09
|
removing cmd_output function from utils and nodes
|
2019-10-11 09:34:49 -07:00 |
|
Blake Harnden
|
c3d27eb8a5
|
removed utils.cmd and related node functions
|
2019-10-10 23:01:16 -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 |
|
bharnden
|
95296988c5
|
updates to Pipefile.lock and for nodes to add server to constructor
|
2019-10-05 11:16:57 -07:00 |
|
bharnden
|
e4bb315c14
|
updates to netclient, providing commonly used network commands in more convenient functions
|
2019-10-01 12:14:37 -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
|
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 |
|