No, actually what it says is that flows are not deleted by the switch when there is a port change. It is up to you (The controller/app) to remove/update/add new flows that reflect that change.
Regards, Eder. On Tue, Mar 15, 2016 at 9:02 AM Daniel Khankin <khd...@gmail.com> wrote: > Hello, > > From OpenFlow specification 1.5, part 4.6 - "Port Changes" (page 17): > > [Quote] > "A switch configuration, for example using the OpenFlow Configuration > Protocol, may add or remove > ports from the OpenFlow switch at any time. The switch may change the > port state based on the > underlying port mechanism, for example if the link is going down (see > 7.2.1). The controller or a > switch configuration may change the port configuration (see 7.2.1). Any > such changes to port state or > configuration must be communicated to the OpenFlow controller (see 7.4.3). > > Port addition, modification or removal never changes the content of the > flow tables, in particular flow > entries referencing those ports are not modified or removed (flow entries > may reference ports via the > match or actions). Packet forwarded to non-existent ports are just dropped > (see 5.6). Similarly, Port > addition, modification and removal never changes the content of the group > table, however the behaviour > of some groups may change through liveness checking (see 6.7). > > If a port is deleted and its port number is later reused for a different > physical or logical port, any > remaining flow entries or group entries still referencing that port number > may be effectively re-targeted > to the new port, possibly with undesirable results. Therefore, when a port > is deleted it is left to the > controller to clean up any flow entries or group entries referencing that > port, if needed." > > If I correctly understand, it means that I can't modify existing flow > entries upon adding or removing a port. > Can I add a new flow entry when a new port is added ? > > Thank you > > > _______________________________________________ > openflow-discuss mailing list > openflow-discuss@lists.stanford.edu > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss >
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss