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

fix(service): only discover devices and add the devices if there are no devices in data store #62

Merged
merged 13 commits into from
Dec 10, 2024

Conversation

Meng-20
Copy link
Collaborator

@Meng-20 Meng-20 commented Dec 6, 2024

Only discover devices and add the devices if there are no devices in data store.
Marked the failed adding devices to unavailable status in PR: #54

scott-howe-1 and others added 5 commits December 4, 2024 09:10
…nd update (#57)

* refactor(cli): command usage and example string generation refactor and update

* doc(cli): add docker-specific note about service-related cli options
* feat: set the nodes width based on the device id dimensions

* feat: add ipaddress to the existed devices in dashboard

* feat: add new button to discover new devices and the related interfaces

* fix: fix the bug in addDiscoveredHosts interface

* fix: fix bug in addDiscoveredBlades interface

* feat: add function addDiscoveredDevices with output popup and waiting popup

* style:  separate lines for discovered blades and hosts

* feat: add waiting progress for device discovery

* feat: update the content after adding new discovered devices

* feat: distinguish node status by border color

* feat: prevent the user from manually adding blades to the CMA_Discovered_Blades appliance

* style: remove unnecessary stype setup
…e using privileged mode (#60)

* feat: update the docker running command to make D-bus available ay priviledged mode

* fix: update the docker running command to make D-bus available using privileged mode
@Meng-20 Meng-20 self-assigned this Dec 6, 2024
@scott-howe-1 scott-howe-1 changed the title feat(service): only discover devices and add the devices if there are no devices in data store fix(service): only discover devices and add the devices if there are no devices in data store Dec 6, 2024
cmd/cfm-service/main.go Outdated Show resolved Hide resolved
services/discovery.go Outdated Show resolved Hide resolved
services/discovery.go Outdated Show resolved Hide resolved
cmd/cfm-service/main.go Outdated Show resolved Hide resolved
@HJ-Fan
Copy link
Collaborator

HJ-Fan commented Dec 10, 2024

Please remove line 71-78 in cmd/cfm-service/main.go which was added back by the merge. Then you should be good.

@Meng-20 Meng-20 merged commit 401c2c0 into main Dec 10, 2024
5 checks passed
@Meng-20 Meng-20 deleted the feat/improve_auto_discovery branch December 10, 2024 23:56
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.

3 participants