Skip to content

VPP: T7175: Added sflow plugin to build #962

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

Open
wants to merge 2 commits into
base: current
Choose a base branch
from

Conversation

ServerForge
Copy link

@ServerForge ServerForge commented May 12, 2025

Change summary

Added the VPP-Sflow plugin to the build.

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/T7175

Related PR(s)

vyos/vyos-vpp#32
vyos/vyos-1x#4504

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

Added Sflow plugin to VPP build.
Copy link

github-actions bot commented May 12, 2025


PR title does not match the required format

@github-actions github-actions bot added the current VyOS rolling release label May 12, 2025
@ServerForge ServerForge changed the title VPP: T7175 Added sflow plugin to build VPP: T7175: Added sflow plugin to build May 12, 2025
@@ -15,6 +15,8 @@ apply_patches = false
pre_build_hook = """
mkdir -p ../patches/vpp/
rsync -av ../vyos-vpp-patches/patches/vpp/ ../patches/vpp/
git clone https://github.com/sflow/vpp-sflow ../vpp-sflow
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use an additional package instead of cloning? After the vyos-vpp-patches

[[packages]]
name = "vpp-sflow"
commit_id = "v0.9.02-2"  # tag or commit id
scm_url = "https://github.com/sflow/vpp-sflow"
build_cmd = "/bin/true"
apply_patches = false

This way we can get a specific commit id/tag and rebuild it properly if commit_id is changed.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated and ran build to verify it still works as intended.

@sever-sever sever-sever requested review from dmbaturin and zdc May 13, 2025 08:39
Added Sflow plugin to VPP build.
Copy link
Member

@sever-sever sever-sever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Include sFlow plugin to VPP binary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
current VyOS rolling release
Development

Successfully merging this pull request may close these issues.

2 participants