Skip to content

op-mode: T4833: Include wireguard peer name in interface summary report #4089

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

natali-rs1985
Copy link
Contributor

Change Summary

Types of changes

  • 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)

Related PR(s)

Component(s) name

op-mode

Proposed changes

How to test

set interfaces wireguard wg01 description 'VPN-to-wg02'
set interfaces wireguard wg01 peer to-wg02 address '192.0.2.1'
set interfaces wireguard wg01 peer to-wg02 allowed-ips '192.168.2.0/24'
set interfaces wireguard wg01 peer to-wg02 port '51820'
set interfaces wireguard wg01 peer to-wg02 public-key 'krlQei9cJ0o62DSyIMbvj3Z5XcnNAzmSxKXo4ivTeBo='
set interfaces wireguard wg01 private-key 'UOjeRMuI78S8yFCobJaMrdS1j0NSlE2CmF/qaawaBWM='
commit

vyos@vyos# run show interfaces wireguard wg01 summary
interface: wg01
  description: VPN-to-wg02
  public key: q6XU1lkVl/BajsLkJRmXYUvYk0Kr+XUa9rNGvQdJmyU=
  private key: (hidden)
  listening port: 33948

  peer: to-wg02
    public key: krlQei9cJ0o62DSyIMbvj3Z5XcnNAzmSxKXo4ivTeBo=
    status: inactive
    endpoint: 192.0.2.1:51820
    allowed ips: 192.168.2.0/24

[edit]

Smoketest result

Checklist:

  • 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

Copy link

github-actions bot commented Sep 20, 2024

👍
No issues in PR Title / Commit Title

Copy link

github-actions bot commented Sep 20, 2024

✅ No issues found in unused-imports check.. Please refer the workflow run

@c-po c-po enabled auto-merge September 20, 2024 20:31
@c-po c-po merged commit 46a76ac into vyos:current Sep 20, 2024
15 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants