Read the latest Real Python tutorials
Project description
Distributed Load Routing v1.0.1
Simulates a network and runs a networking protocol aimed to distribute packet load in order to distribute battery depletion.
Installation
pip install load-distributed-routing
Package Link PyPi
Configuration File
Field | Description | Accepted Values |
---|---|---|
num_nodes | Number of nodes in the network | [2, inf) |
max_connections | Maximum number of connections a node can have | [2, num_nodes) |
router_ratio | Percentage of routers in the network | [0.0, 1.0] |
buffer_size | Number of packets the link layer receive buffer can hold at a time | [0, inf) |
battery_weight | Higher the battery_weight, the more the path avoids low battery | [0.0, inf) |
retransmission_delay | Number of seconds TCP waits before retransmission | [0.0, inf) |
beautify | Determines whether the simulation debugs readable information or csv formatted information | [0, 1] |
Running
ldr config.txt
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for load-distributed-routing-1.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 606f31c707b8c4b4c8cf91838a6290ece9d7b8b5cf36384f31ea199131f36e49 |
|
MD5 | 8b91e2e438442a6c895c29c523e74037 |
|
BLAKE2b-256 | 33516982b5989a7c5d99e7693a177a75ae065edb0ba990ff185f128c76e5e797 |
Close
Hashes for load_distributed_routing-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 151796faa36aee7369a27884f69158b564391a7aeae88bd85566201e5c5051c9 |
|
MD5 | 3877b37d6ef4610701d6bfa8dc04ac92 |
|
BLAKE2b-256 | d6dbf24a3b9586407760fcabde613453a49c074b7248dc961af9b833d7a2f88f |