← Back to Pull requests

T4809: radvd: Allow the use of AdvRASrcAddress #1649

Closed
unknown closed this pull request without merging on Nov 16, 2022 20:25 UTC
View on GitHub
unknown unknown commented on Nov 08, 2022 20:56 UTC
Author

<!-- All PR should follow this template to allow a clean and transparent review -->
<!-- Text placed between these delimiters is considered a comment and is not rendered -->

Change Summary


<!--- Provide a general summary of your changes in the Title above -->
This add the AdvRASrcAddress configuration option to configure a source address for the router advertisements. The source address still must be configured on the system. This is useful for VRRP setups where you want fe80::1 on the VRRP interface for cleaner VRRP failovers.

Types of changes


<!---
What types of changes does your code introduce? Put an 'x' in all the boxes that apply.
NOTE: Markdown requires no leading or trailing whitespace inside the [ ] for checking
the box, please use [x]
-->
  • Bug fix (non-breaking change which fixes an issue)

  • New feature (non-breaking change which adds functionality)

  • Code style update (formatting, renaming)

  • Refactoring (no functional changes)

  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component

  • Other (please describe):
  • Related Task(s)


    <!-- All submitted PRs must be linked to a Task on Phabricator. -->
  • https://phabricator.vyos.net/T4809
  • Component(s) name


    <!-- A rather incomplete list of components: ethernet, wireguard, bgp, mpls, ldp, l2tp, dhcp ... -->
    radvd

    Proposed changes


    <!--- Describe your changes in detail -->
    Add: set service router-advert interface eth3 source-address <ipv6>

    How to test


    <!---
    Please describe in detail how you tested your changes. Include details of your testing
    environment, and the tests you ran. When pasting configs, logs, shell output, backtraces,
    and other large chunks of text, surround this text with triple backtics
    like this
    

    -->
    Have not tested it yet, this PR is for review. But something like:
    set service router-advert interface eth3 prefix 2001:fff::/64
    set service router-advert interface eth3 source-address fe80::1
    

    Checklist:


    <!--- Go over all the following points, and put an x in all the boxes that apply. -->
    <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
    <!--- The entire development process is outlined here: https://docs.vyos.io/en/latest/contributing/development.html -->
  • I have read the CONTRIBUTING document

  • I have linked this PR to one or more Phabricator Task(s)

  • I have run the components SMOKETESTS if applicable

  • My commit headlines contain a valid Task id

  • My change requires a change to the documentation

  • I have updated the documentation accordingly
  • Diff: 354 lines (+265 / -89) across 4 files Reviewer: roedie Review duration: 11488m
    All Vouch review confidence checks passed
    Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 354 lines diff across 4 files
    0.43
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.351
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #1649"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 42.5% (MEDIUM) · Higher = larger blast radius
    42.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.8% · Safe to merge
    16.8%
    Repository