Skip to content
Snippets Groups Projects

Feature/reporting 307 msr vpn proxy endpoint

Merged Sam Roberts requested to merge feature/REPORTING-307-msr-vpn-proxy-endpoint into develop
All threads resolved!

Adds /msr/vpn-proxy endpoint

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Bjarke Madsen approved this merge request

    approved this merge request

  • Robert Latta
    Robert Latta @Robert.Latta started a thread on commit 676d1371
  • 1047 1045 yield formatted_peering
    1048 1046
    1049 1047 def _vpnrr_peerings(asn, vpnrr_index):
    1050 if asn not in vpnrr_index:
    1051 yield False
    1052 vrr_peering_group = vpnrr_index[asn]
    1053 # rearrange into index using ipv4 as key
    1054 # this will collect related entries under the same ipv4
    1055 ip_index = _make_group_index(vrr_peering_group, 'address')
    1056 for ip in ip_index:
    1057 ip_details = ip_index[ip] # a list of all info for given ipv4
    1058 hostnames = [item['hostname'] for item in ip_details]
    1059 description = ip_details[0]['description']
    1048 if asn in vpnrr_index:
  • Robert Latta
    Robert Latta @Robert.Latta started a thread on commit 676d1371
  • 1050 if asn not in vpnrr_index:
    1051 yield False
    1052 vrr_peering_group = vpnrr_index[asn]
    1053 # rearrange into index using ipv4 as key
    1054 # this will collect related entries under the same ipv4
    1055 ip_index = _make_group_index(vrr_peering_group, 'address')
    1056 for ip in ip_index:
    1057 ip_details = ip_index[ip] # a list of all info for given ipv4
    1058 hostnames = [item['hostname'] for item in ip_details]
    1059 description = ip_details[0]['description']
    1048 if asn in vpnrr_index:
    1049 vrr_peering_group = vpnrr_index[asn]
    1050 # rearrange into index using ipv4 as key
    1051 # this will collect related entries under the same ipv4
    1052 ip_index = _make_group_index(vrr_peering_group, 'address')
    1053 for ip in ip_index:
  • Sam Roberts added 1 commit

    added 1 commit

    • 4b880f6c - minor improvements based on MR feedback

    Compare with previous version

  • Sam Roberts resolved all threads

    resolved all threads

  • Sam Roberts mentioned in commit fc73b25d

    mentioned in commit fc73b25d

  • merged

  • Please register or sign in to reply
    Loading