Skip to content
Snippets Groups Projects

Draft: Feature/pol1 744 fix speed issues

Closed Sam Roberts requested to merge feature/POL1-744-fix-speed-issues into develop
4 unresolved threads
  • Fix interface-info timeouts
  • Make the poller speed endpoint use the data retrieved without it disappearing into the ether never to be used by anything

Merge request reports

Closed by Sam RobertsSam Roberts 1 year ago (Oct 20, 2023 2:38pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
122 122 pass
123 123
124 124
125 TIMEOUT = 3.0
125 TIMEOUT = 30.0
  • Erik Reid
  • 1007 1028 } for idx in range(1, 73)]
    1008 1029
    1009 1030 SUBSCRIPTIONS.append(
    1010 {'subscription': '232.223.223.1', 'endpoint': '193.17.9.7'})
  • Erik Reid
  • 705 700 yield from _load_docs(f'lab:{base_key_pattern}')
    706 701
    707 702
    703 def _add_speeds(config, interfaces):
    704 all_netconf_interfaces = list(common.load_json_docs(config, 'netconf-interfaces:*'))
    705 netconf_interface_index = {}
    • this can't go to production - please create a doc with all interfaces

      ... or at least, there are the per-host records in "netconf-interfaces-hosts:*"

    • Please register or sign in to reply
  • Erik Reid
  • 705 700 yield from _load_docs(f'lab:{base_key_pattern}')
    706 701
    707 702
    703 def _add_speeds(config, interfaces):
  • Sam Roberts added 1 commit

    added 1 commit

    • de588346 - use blocking manager, assemble cache of netconf-interfaces for speed endpoint

    Compare with previous version

  • Sam Roberts marked this merge request as draft

    marked this merge request as draft

  • closed

  • Please register or sign in to reply
    Loading