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

feat: Add node device discovery API endpoint interaction #57

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

sachin120
Copy link
Contributor

@sachin120 sachin120 commented Feb 7, 2024

Add Listing API interaction for node device discovery

@sachin120 sachin120 changed the title Add discovery endpoint interactions feat: Add node device discovery API endpoint interaction Feb 7, 2024
@sachin120 sachin120 marked this pull request as ready for review February 7, 2024 04:54
Copy link
Collaborator

@skatsaounis skatsaounis left a comment

Choose a reason for hiding this comment

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

I added some suggestions for changes. Plus, since we are implementing discoveries, I would also like you to add the following:

  • POST /MAAS/api/2.0/discovery/op-clear
  • POST /MAAS/api/2.0/discovery/op-clear_by_mac_and_ip

POST /MAAS/api/2.0/discovery/op-scan can be skipped for now since it is a heavy operation and I am not sure if we only have to declare some lines of code or do more things to support it.

client/discoveries.go Outdated Show resolved Hide resolved
client/discoveries.go Outdated Show resolved Hide resolved
client/discoveries.go Outdated Show resolved Hide resolved
client/discoveries.go Outdated Show resolved Hide resolved
client/discoveries.go Outdated Show resolved Hide resolved
client/discoveries.go Outdated Show resolved Hide resolved
@sachin120 sachin120 force-pushed the discovery branch 2 times, most recently from b47031d to 7427a58 Compare February 19, 2024 13:44
@sachin120 sachin120 force-pushed the discovery branch 2 times, most recently from 7357ea8 to 6d6fdd2 Compare February 19, 2024 14:10
Signed-off-by: Sachin Shingare <doitqik@gmail.com>
Copy link
Collaborator

@skatsaounis skatsaounis left a comment

Choose a reason for hiding this comment

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

LGTM +1

@skatsaounis skatsaounis merged commit 3887b49 into canonical:master Feb 20, 2024
3 checks passed
@sachin120 sachin120 deleted the discovery branch February 20, 2024 13:24
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