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

New ports allocation system #699

Merged
merged 18 commits into from
Oct 7, 2024
Merged

New ports allocation system #699

merged 18 commits into from
Oct 7, 2024

Conversation

tommaso-ascani
Copy link
Contributor

This new feature implements a new ports allocation system through a library to allocate, deallocate, reallocate ports.
Were also implemented some node APIs to let the module use the library.

NethServer/dev#6974

github-actions bot pushed a commit that referenced this pull request Sep 2, 2024
github-actions bot pushed a commit that referenced this pull request Sep 3, 2024
github-actions bot pushed a commit that referenced this pull request Sep 4, 2024
github-actions bot pushed a commit that referenced this pull request Sep 4, 2024
@tommaso-ascani tommaso-ascani marked this pull request as ready for review September 4, 2024 15:24
core/imageroot/usr/local/agent/pypkg/node/ports_manager.py Outdated Show resolved Hide resolved
core/imageroot/usr/local/agent/pypkg/node/ports_manager.py Outdated Show resolved Hide resolved
core/imageroot/usr/local/agent/pypkg/node/ports_manager.py Outdated Show resolved Hide resolved
core/imageroot/usr/local/agent/pypkg/node/ports_manager.py Outdated Show resolved Hide resolved
docs/modules/port_allocation.md Outdated Show resolved Hide resolved
docs/modules/port_allocation.md Outdated Show resolved Hide resolved
docs/modules/port_allocation.md Outdated Show resolved Hide resolved
docs/modules/port_allocation.md Show resolved Hide resolved
github-actions bot pushed a commit that referenced this pull request Sep 13, 2024
github-actions bot pushed a commit that referenced this pull request Sep 13, 2024
github-actions bot pushed a commit that referenced this pull request Sep 16, 2024
github-actions bot pushed a commit that referenced this pull request Sep 16, 2024
Copy link
Member

@DavidePrincipi DavidePrincipi left a comment

Choose a reason for hiding this comment

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

It looks good, but before merging this PR, we need to release some bug fixes.

github-actions bot pushed a commit that referenced this pull request Sep 17, 2024
github-actions bot pushed a commit that referenced this pull request Sep 17, 2024
Copy link
Member

@DavidePrincipi DavidePrincipi left a comment

Choose a reason for hiding this comment

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

Please in the "Agent library" section, draw a scenario where the library calls are useful. For example: when an application introduces a new feature at a certain point and needs more TCP ports.

docs/modules/port_allocation.md Outdated Show resolved Hide resolved
docs/modules/port_allocation.md Outdated Show resolved Hide resolved
docs/modules/port_allocation.md Outdated Show resolved Hide resolved
docs/modules/port_allocation.md Outdated Show resolved Hide resolved
Copy link
Member

@DavidePrincipi DavidePrincipi left a comment

Choose a reason for hiding this comment

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

Make module_id argument optional

core/imageroot/usr/local/agent/pypkg/agent/__init__.py Outdated Show resolved Hide resolved
docs/modules/port_allocation.md Outdated Show resolved Hide resolved
github-actions bot pushed a commit that referenced this pull request Sep 19, 2024
github-actions bot pushed a commit that referenced this pull request Oct 2, 2024
github-actions bot pushed a commit that referenced this pull request Oct 2, 2024
github-actions bot pushed a commit that referenced this pull request Oct 2, 2024
- EXCLUSIVE connection
- Retry time
- Changed default value in write_range function
github-actions bot pushed a commit that referenced this pull request Oct 2, 2024
github-actions bot pushed a commit that referenced this pull request Oct 2, 2024
Copy link
Member

@DavidePrincipi DavidePrincipi left a comment

Choose a reason for hiding this comment

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

It looks good to resume testing.

github-actions bot pushed a commit that referenced this pull request Oct 7, 2024
@DavidePrincipi DavidePrincipi merged commit 1e9dcda into main Oct 7, 2024
3 checks passed
@DavidePrincipi DavidePrincipi deleted the feature-6974-1 branch October 7, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants