You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

load-distributed-routing

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

load-distributed-routing

Read the latest Real Python tutorials

1.0.5
pipPyPI
Maintainers
1

build coverage

Distributed Load Routing v1.0.5

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

Release
Development

Configuration File

FieldDescriptionAccepted Values
num_nodesNumber of nodes in the network[2, inf)
max_connectionsMaximum number of connections a node can have[2, num_nodes)
router_ratioPercentage of routers in the network[0.0, 1.0]
buffer_sizeNumber of packets the link layer receive buffer can hold at a time[0, inf)
battery_weightHigher the battery_weight, the more the path avoids low battery[0.0, inf)
retransmission_delayNumber of seconds TCP waits before retransmission[0.0, inf)
beautifyDetermines whether the simulation debugs readable information or csv formatted information[0, 1]

Running

ldr config.txt

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts