Skip to content
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

T7089: Fix static route when using PPPoE default route #4318

Merged
merged 2 commits into from
Jan 28, 2025

Conversation

sskaje
Copy link
Contributor

@sskaje sskaje commented Jan 26, 2025

Change summary

Fix static route when using PPPoE default route

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)

https://vyos.dev/T7089

Related PR(s)

How to test / Smoketest result

live image with ethernet dhcp + service ssh + pppoe configured.

root@vyos:/home/vyos# /usr/libexec/vyos/tests/smoke/cli/test_protocols_static.py 
test_01_static (__main__.TestProtocolsStatic.test_01_static) ... ok
test_02_static_table (__main__.TestProtocolsStatic.test_02_static_table) ... ok
test_03_static_vrf (__main__.TestProtocolsStatic.test_03_static_vrf) ... FAIL
test_04_static_multicast (__main__.TestProtocolsStatic.test_04_static_multicast) ... ok
test_05_dhcp_default_route (__main__.TestProtocolsStatic.test_05_dhcp_default_route) ... skipped 'Not running under VyOS CI/CD QEMU environment!'

======================================================================
FAIL: test_03_static_vrf (__main__.TestProtocolsStatic.test_03_static_vrf)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/libexec/vyos/tests/smoke/cli/test_protocols_static.py", line 189, in tearDown
    self.assertFalse(v4route)
AssertionError: 'ip route 0.0.0.0/0 pppoe0 tag 210\nip route 0.0.0.0/0 192.168.12.1 eth0 tag 210 210\n!' is not false

----------------------------------------------------------------------
Ran 5 tests in 65.275s

FAILED (failures=1, skipped=1)

live image with all default config, test 03 passed, test 05 skipped

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 Jan 26, 2025

👍
No issues in PR Title / Commit Title

Copy link

CI integration 👍 passed!

Details

CI logs

  • CLI Smoketests (no interfaces) 👍 passed
  • CLI Smoketests (interfaces only) 👍 passed
  • Config tests 👍 passed
  • RAID1 tests 👍 passed
  • TPM tests 👍 passed

@dmbaturin dmbaturin merged commit d0760a5 into vyos:current Jan 28, 2025
15 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