-
Notifications
You must be signed in to change notification settings - Fork 15
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(cli): amtinfo command add amt ipaddr and osipaddr #560
feat(cli): amtinfo command add amt ipaddr and osipaddr #560
Conversation
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.
I like this being added. I left a few nit picks, but most importantly is to remove the uint32 conversion and move it out of the PTHI package and into the internal package, likely in the internal/local/info.go file.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #560 +/- ##
===========================================
- Coverage 83.21% 71.29% -11.92%
===========================================
Files 32 41 +9
Lines 4265 4132 -133
===========================================
- Hits 3549 2946 -603
- Misses 576 919 +343
- Partials 140 267 +127 ☔ View full report in Codecov by Sentry. |
Hi, I have move the GetOSIPAddress() to internal/local/info.go I will squash them after fixing all the changes. Thank you |
@tongsean9807 looks good to me. You think you can muster up a unit test or two? Additionally, the commit message should really be feat: since its a new capability added to the cli. |
Hi, I have changed the space to tab, which causes the misalignment when viewing in github. Thank you |
Hi @tongsean9807 , Thank you for adding the unit test! I should have sent this to you, we have a rpc-go/internal/flags/flags.go Lines 30 to 31 in bacb0eb
Can take a look at rpc-go/internal/flags/flags_test.go Line 115 in bacb0eb
For the code that uses the rpc-go/internal/flags/maintenance.go Line 196 in bacb0eb
|
f96152d
to
cd6a619
Compare
Hi, I have add positive and negative unit test. Thank you for the pointing out the net enumerator. Regards, |
6cc4299
to
f6e6bcd
Compare
Add os ipaddress to amtinfo command. amtinfo command now show amt ipaddress and os ipaddress. os ipaddress select by mapping to mac address from amt. Resolves: open-amt-cloud-toolkit#467
f6e6bcd
to
4226e84
Compare
Hi @rsdmike, I hope you're doing well. I want to follow up on this PR. Thank you |
Thanks for following up, looks good to me! We'll get it merged. |
Add os ipaddress to amtinfo command.
amtinfo command now show amt ipaddrss and os ipaddress.
os ipadress select by mapping to mac address from amt.
Resolves: #467