473,661 Members | 2,429 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Programming a routing protocol in Python

1 New Member
Hello,

I want to make a simple routing protocol similar to OSPF (or at least modify an existed one) in python. I found many protocols written in other languages, but I only know Python.

Also, I want to make some evaluations while increasing the number of nodes in the network in order to assess my protocol, such as: throughput, transmission time, delay, number of packets sent, etc. There are many Open-source simulators to do that efficiently such as NS3, but they don't use Python.

I made a research on the Internet, and I found the following packages/tools, but I don't know if they can help me and how to use them:
  • Scapy [https://scapy.net/] (Packet crafting for Python2 and Python3),
  • Pymote [https://pypi.org/project/Pymote/] (A high-level Python library for simulation of distributed algorithms).

I need your helps in this regard, any suggestion is welcomed.

Thank you
Jul 11 '21 #1
0 2353

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3687
by: Arnaud Delobelle | last post by:
Hi all, I have written a little while ago in Python a game whose aim is to program a (or several) robots so that they move around in a maze and collect some flags. They only have a limited amount of instructions at their disposal (depending on the level). It is meant to be an introduction to two things: - programming
13
1745
by: Alejandro Lombardo | last post by:
Dear sirs: I need to create a programming language. Can this be done with the latest version of python? Is python the best computer programming language development tool in the entire universe? If it isn´t could you please tell me the name of the best computer programming language development tool in the entire universe? So that I can download it from the Internet for free? I would apreciate it if you could answer these questions as soon...
23
3399
by: assaf__ | last post by:
Hello, I am beginning to work on a fairly large project and I'm considering to use python for most of the coding, but I need to make sure first that it is reliable enough. I need to make sure that I won't have surprises when my program runs on different real-world systems. So far I wrote a little script with python using urllib, and on one computer it failed completely because of a problem in getting the proxies (in my opinion this is a...
15
2224
by: UrsusMaximus | last post by:
While preparing a Python411 podcast about classes and OOP, my mind wondered far afield. I found myself constructing an extended metaphor or analogy between the way programs are organized and certain philosophical ideas. So, going where my better angels dare not, here is the forbidden fruit of my noodling: Spiritual Programming: It seems to me that, if anything of a person survives death in any way, it must do so in some way very...
4
2773
by: Richard Blackwood | last post by:
Hello all. I have a few questions about simulation programming. One, do all programmers know to how to code a simulation? By simulation I mean a model of real world relationships (i.e. like Civilization which is a simulation of ruling nations through various historical settings). For example, could someone who codes word processing application necessarily know how to do a simulation of economic relationships between banks and enterprises...
3
1302
by: Over G | last post by:
HI I would like to start to program games, with python, where to start? What packages I need,? Thanks.
2
1194
by: psychofish25 | last post by:
It's been about 2 hours since I started writing code for a programming language I made in python called XSSIV (excessive). Anyway the code can be found at psychofish25.freewebspace.com/xssiv.py The language works similarly to the Python Interactive Window, except >>> is replaced with =>. So far there are only 7 commands, 2 of which I have not programmed. They are explained as so... Help -Not listed yet Commands -Not listed yet
1
2753
by: kwakuk | last post by:
I am a new ns2 user trying to run ns2 simulation to evaluate the performance of Dynamic MANET On-demand routing protocol. The ns2 is installed on LINUX Ubuntu 7.10 version Can some help with any code?
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8754
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8630
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4177
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4343
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2760
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1740
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.