Blake Harnden
|
8fed201fd8
|
added type hints to class variables in nodes/physical.py
|
2020-05-25 11:33:59 -07:00 |
|
Blake Harnden
|
f95a8113c9
|
added type hinting to nodes/network.py class variables
|
2020-05-25 11:17:28 -07:00 |
|
Blake Harnden
|
2e78025249
|
started type hinting on class variables for nodes/base
|
2020-05-25 00:16:58 -07:00 |
|
Blake Harnden
|
964f78f06a
|
added othernet to CoreInterface to avoid hasattr checks
|
2020-05-23 01:14:47 -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
|
37ff989aa4
|
fixed bad check in linkconfig
|
2020-05-23 00:19:32 -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
|
fe09b37819
|
removed bootsh from CoreNode types as it was not being used
|
2020-05-21 22:41:03 -07:00 |
|
Blake Harnden
|
56fbc0e3c5
|
docker changes to avoid issues running commands without mount and running containers as prvileged to allow changing files in /sys
|
2020-05-21 22:26:54 -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
|
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
|
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
|
7e7bf8c7b7
|
fix p2p upstream link data not using enum, consolidated grpc logic for getting link protobufs
|
2020-04-15 16:36:03 -07:00 |
|
Shaun Voigt
|
6c9c2cbeb0
|
resolve isort
|
2020-04-07 07:50:26 +09:30 |
|
Shaun Voigt
|
8dfdd6171d
|
check for ipv6 address using netaddr.valid_ipv6
|
2020-04-07 07:44:23 +09:30 |
|
Shaun Voigt
|
ba18853509
|
resolve black formatting
|
2020-04-06 18:03:27 +09:30 |
|
Shaun Voigt
|
953bd80e2e
|
isort - sort imports
|
2020-04-06 17:54:42 +09:30 |
|
Shaun Voigt
|
b6fbedf471
|
Fix for IPv6 Addresses disappear with FRR #421
|
2020-04-06 17:36:32 +09:30 |
|
Blake Harnden
|
8186c62b19
|
switched core emulator data files from using namedtuples to backported dataclasses
|
2020-03-31 09:41:29 -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
|
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
|
102fa410fe
|
make wlan nodes start with a ebtables change event to trigger default rules when all nodes are disconnected
|
2020-03-12 23:21:48 -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
|
e1c9155ba7
|
simplify thread daemon usage
|
2020-02-26 15:29:19 -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
|
c66ee04db5
|
avoid attempting to stop services for nodes that are not considered up
|
2020-02-04 10:13:37 -08:00 |
|
Blake Harnden
|
356bfd16b4
|
forward all 802.1D MAC bridge filtered MAC group addresses, except restricted types
|
2020-01-31 17:05:13 -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
|
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
|
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 |
|
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
|
781dc806a8
|
updates to cases when checking existing bridges using ip -j returns an empty object
|
2020-01-15 16:20:35 -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 |
|
Blake Harnden
|
dcabd8d6f8
|
updates to add type hinting to uses of Callable
|
2020-01-15 11:56:23 -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 |
|
Blake Harnden
|
5583b7edfc
|
added type hints for emulator and session files
|
2020-01-10 22:37:19 -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
|
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 |
|
Blake Harnden
|
4db7f845a5
|
removed commented out ipaddress code
|
2020-01-08 14:31:57 -08:00 |
|