Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

make counter mapper demo manage multi-counter #125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

RyanZhaoXB
Copy link

Signed-off-by: RyanZhaoXB zhaoran11@huawei.com

the demo of counter-mapper is a good demo which can help us to quickly experience the device management of KubeEdge. but it can only simulate the scenario of one counter device.

in this pr, i made a device list to store the information of multi-counters. the user could create more counters with different names and all of them will work through the same counter-mapper.

here is the example with 2 counters and the 3rd counter is activated.
image

Signed-off-by: RyanZhaoXB <zhaoran11@huawei.com>
@kubeedge-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please assign after the PR has been reviewed.
You can assign the PR to them by writing /assign in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubeedge-bot kubeedge-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 12, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants