dlinknctu / OpenNet

A Simulator for Software-Defined Wireless Local Area Network
GNU General Public License v2.0
72 stars 44 forks source link

add extension to the switches #86

Open Maryam-mary-karimi opened 8 years ago

Maryam-mary-karimi commented 8 years ago

Hi, I want to add a module in switches to check some conditions and do decryption before installing rules in their flow tables. how can I add extension to the switches? Is there any other way that I can do that for example define a new element in the network,an element that can do enc/decryption and check some conditions? if Yes, How can I do that? I really appreciate it if you can give me any suggestion. thank you very much

kansokusha commented 8 years ago

According to your description, I think there are two aspects: add extension to the switch and define a new network element (e.g. middlebox).

The underlying switch in the OpenNet is Open vSwitch. If you want to add some features to the Open vSwitch, maybe you can start from tracing the working flow of Open vSwitch.

About defining a new network element, I think you can use a Mininet host and run some application program on the host to provide services like encryption and decryption.