Uploaded image for project: 'Fast Datapath Product'
  1. Fast Datapath Product
  2. FDP-1519

Add incremental processing for en_datapath_logical_switch

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • ovn25.09
    • False
    • Hide

      None

      Show
      None
    • False
    • ovn25.09-25.09.0-alpha.269.el9fdp
    • rhel-9
    • None
    • rhel-net-ovn
    • ssg_networking
    • -

      The en_datapath_logical switch node currently has no incremental processing. For this task, we will need to add handlers in en_datapath_logical_switch that will process changes to logical switches incrementally.

      For the purposes of datapath syncing, the only columns we are concerned about on the logical switch are:

      • name
      • other_config
      • external_ids

      Changes to other columns are irrelevant for datapath syncing and can be ignored, and the corresponding unsynced datapath binding can be seen as unchanged.

      Logical switches also need to respond to changes to en_global_config's vxlan mode. If vxlan mode changes, then the range of legal tunnel IDs is changed. We should ensure that logical switches' requested tunnel keys are not out of range in this case. If a requested tunnel key is out of range, then the requested tunnel key should be changed to 0, and the unsynced port binding should be marked as updated. The reverse should also apply if vxlan mode is disabled. If a requested tunnel key had been out of range previously, then the requested tunnel key should be changed from 0 to the proper request and the unsynced port binding should be marked as updated.

              lorenzobianconi lorenzo bianconi
              mmichelson Mark Michelson
              Jianlin Shi Jianlin Shi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: