Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-3515

Ability to configure alternate link-weight function as a default

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Epic Link:
    • Sprint:
      Emu Sprint 4 (11/23-12/18)

      Description

      As a deployer or a developer, I would like to enable different link-weight function as a default for the use by the PathService, so that I do not have to write my own PathService implementation.

      Implementation Notes:

      • Make PathManager configurable to allow selection from different default behaviours, e.g. hopCount, linkMetric, geoDistance
      • Add publicly accessible EdgeWeight function implementations for the above
      • Add PathAdminService that allows 'setDefaultEdgeWeight' to allow developers to inject their own custom edge-weight function to use as a default.
      • Enahnce BasicLinkConfig to allow linkMetric to be configured externally

      Edge Weigths Functions:

      • hopCount - +1 for each link
      • linkMetric - get linkMetric annotation from each link if present, +1 default
      • geoDistance - compute weight as a geo distance using vertex latitude/longitude annotations

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              tom Thomas Vachuska
              Reporter:
              tom Thomas Vachuska
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: