[OVSDB-490] Improve transactions dispatch Created: 05/Dec/19 Updated: 05/Dec/19 |
|
| Status: | Open |
| Project: | ovsdb |
| Component/s: | Library, Southbound.hw_vtep, Southbound.Open_vSwitch |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Low |
| Reporter: | Robert Varga | Assignee: | Anil Vishnoi |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The code to dispatch transaction effects is duplicated across hwvtep/ovs code, both sharing the same structure:
Aside from the obvious code duplication, there is processing overhead, as we process the updates multiple times - i.e. for each command. Furthermore some commands have overlap on what data they are processing, for example PhysicalLocator updates are processed in HwvtepUcastMacsLocalUpdateCommand, HwvtepMcastMacsLocalUpdateCommand, HwvtepPhysicalLocatorRemoveCommand, etc. etc. The library should provide a basic harness in form of:
|