Skip to content

CP-52114: Add pool.license_server for pool level licensing #6115

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

Conversation

changlei-li
Copy link
Contributor

@changlei-li changlei-li commented Nov 18, 2024

Add new XAPI pool level data for licensing

@changlei-li changlei-li marked this pull request as draft November 18, 2024 05:34
@changlei-li changlei-li changed the base branch from master to feature/pool-licensing November 18, 2024 05:36
@changlei-li changlei-li marked this pull request as ready for review November 18, 2024 05:38
@changlei-li changlei-li changed the title CP-52114: Add pool.license_server for licensing telemetry CP-52114: Add pool.license_server for pool level licensing Nov 18, 2024
@changlei-li changlei-li force-pushed the private/changleli/CP-52114 branch from ca5cda3 to 7524b37 Compare November 18, 2024 05:58
~key
)
~get_map:(fun () -> (x ()).API.pool_license_server)
()
Copy link
Member

Choose a reason for hiding this comment

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

I think a set_in_map would be useful as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

when set_in_map is not set, set_field will use remove_from_map then add_to_map to set map pair. So, command like xxe pool-param-set uuid=38abeb4c-7a61-7ef2-32a9-35e71cfb0fdf license-server:address=192.168.1.2 is already available.

@changlei-li changlei-li force-pushed the private/changleli/CP-52114 branch from 7524b37 to be64aeb Compare November 18, 2024 07:33
Signed-off-by: Changlei Li <changlei.li@cloud.com>
@changlei-li changlei-li force-pushed the private/changleli/CP-52114 branch from be64aeb to 901c2f7 Compare November 18, 2024 08:25
@minglumlu minglumlu requested a review from robhoes November 18, 2024 09:02
@robhoes robhoes merged commit b6ad9d1 into xapi-project:feature/pool-licensing Nov 19, 2024
15 checks passed
@changlei-li changlei-li deleted the private/changleli/CP-52114 branch November 20, 2024 01:23
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.

4 participants