CPqD / ofsoftswitch13

OpenFlow 1.3 switch.
http://cpqd.github.com/ofsoftswitch13
304 stars 192 forks source link

in-band.c #275

Closed a-s-m-asadujjaman closed 6 years ago

a-s-m-asadujjaman commented 6 years ago

Hi Eder,

I have found that in-band.c functionality is enabled by default from the line "s->in_band = true" in secchan.c. Why? What is the function of "in-band.c"? You have mentioned in #226 that in-band communication is not supported.

Thanks, A S M Asadujjaman

ederlf commented 6 years ago

Hi, it starts as in_band, but if you do not put a controller directly in one of your software switch ports, it will never be used at all.

The problem of doing that is that the inband code was never upgraded to OpenFlow 1.3. So, if you try to use the current in_band code, it is not going to work.

I do not have migrating in_band to OF 1.3 in mind, but if you need it and are willing to give a try on it, I'd be happy to advise (if you need).

Edit: Would not OVS be enough for your use case? http://tocai.dia.uniroma3.it/compunet-wiki/index.php/In-band_control_with_Open_vSwitch

a-s-m-asadujjaman commented 6 years ago

Thanks @ederlf . We have been able to emulate in-band control scenario using OVS and network namespaces (mininet might also work but we haven't tried).