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

vyos.utils: T5195: import vyos.cpu to this package #3606

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

c-po
Copy link
Member

@c-po c-po commented Jun 9, 2024

Change Summary

The intention of vyos.utils package is to have a common ground for repeating actions/helpers. This is also true for number of CPUs and their respective core count.

Move vyos.cpu to vyos.utils.cpu

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

Proposed changes

How to test

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

@c-po c-po marked this pull request as ready for review June 9, 2024 08:48
@c-po c-po requested a review from a team as a code owner June 9, 2024 08:48
@c-po c-po enabled auto-merge June 10, 2024 06:11
@c-po
Copy link
Member Author

c-po commented Jun 10, 2024

@Mergifyio backport sagitta

Copy link
Contributor

mergify bot commented Jun 10, 2024

backport sagitta

✅ Backports have been created

The intention of vyos.utils package is to have a common ground for repeating
actions/helpers. This is also true for number of CPUs and their respective
core count.

Move vyos.cpu to vyos.utils.cpu
Copy link

👍
No issues in PR Title / Commit Title

@c-po c-po merged commit 50a5a29 into vyos:current Jun 10, 2024
9 checks passed
@sever-sever
Copy link
Member

@Mergifyio backport circinus-stream sagitta-stream

Copy link
Contributor

mergify bot commented Jun 10, 2024

backport circinus-stream sagitta-stream

✅ Backports have been created

@c-po c-po deleted the utils-cpu-T5195 branch June 10, 2024 17:39
c-po added a commit that referenced this pull request Jun 10, 2024
vyos.utils: T5195: import vyos.cpu to this package (backport #3606)
c-po added a commit that referenced this pull request Jun 11, 2024
vyos.utils: T5195: import vyos.cpu to this package (backport #3606)
c-po added a commit that referenced this pull request Jun 11, 2024
vyos.utils: T5195: import vyos.cpu to this package (backport #3606)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants