-
Notifications
You must be signed in to change notification settings - Fork 20
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
Conversation
a538c1a
to
654ad29
Compare
654ad29
to
35421e9
Compare
core/imageroot/var/lib/nethserver/node/actions/deallocate-ports/50deallocate
Show resolved
Hide resolved
core/imageroot/var/lib/nethserver/node/actions/allocate-ports/50allocate
Show resolved
Hide resolved
b17f8f7
to
d675d6f
Compare
core/imageroot/var/lib/nethserver/node/actions/allocate-ports/50allocate
Outdated
Show resolved
Hide resolved
core/imageroot/var/lib/nethserver/node/actions/deallocate-ports/50deallocate
Outdated
Show resolved
Hide resolved
core/imageroot/var/lib/nethserver/node/actions/allocate-ports/validate-input.json
Outdated
Show resolved
Hide resolved
core/imageroot/var/lib/nethserver/node/actions/deallocate-ports/validate-input.json
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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.
c7c32ea
to
c6fb08f
Compare
There was a problem hiding this 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.
284a773
to
1016d3a
Compare
1016d3a
to
ce19e38
Compare
There was a problem hiding this 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
Co-authored-by: Davide Principi <[email protected]>
Define the portsadm role during the core upgrade procedure.
cd22f8d
to
bb4c797
Compare
core/imageroot/usr/local/agent/actions/import-module/99deallocate_ports
Outdated
Show resolved
Hide resolved
…ate_ports Co-authored-by: Davide Principi <[email protected]>
There was a problem hiding this 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.
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