#2457 - Initial commit removing the hardcoding of bandwidth values within links. Now pull it from configuration files, defaulting to 100 if not implemented

This commit is contained in:
Charlie Crane
2024-05-13 14:42:15 +01:00
parent 4cd15a39aa
commit 71684dc5f0
6 changed files with 12 additions and 13 deletions

View File

@@ -554,7 +554,7 @@ class Link(SimComponent):
"The first WiredNetworkInterface connected to the Link."
endpoint_b: WiredNetworkInterface
"The second WiredNetworkInterface connected to the Link."
bandwidth: float = 100.0
bandwidth: float
"The bandwidth of the Link in Mbps (default is 100 Mbps)."
current_load: float = 0.0
"The current load on the link in Mbps."