-
Notifications
You must be signed in to change notification settings - Fork 21
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
Hypervisor manager #209
Hypervisor manager #209
Conversation
Corrected malformed table
Corrected changes placement in the changelog
ov/hypervisor_manager.go
Outdated
return hypervisorManagers, nil | ||
} | ||
|
||
func (c *OVClient) AddHypervisorManager(hypM HypervisorManager) error { |
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.
Instead of AddHypervisorManager keep it as CreateHypervisorManager as this nomenclature is followed in all other resources.
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.
Done
CHANGELOG.md
Outdated
@@ -13,6 +13,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html | |||
- Enclosure Group | |||
- FC Network | |||
- FCoE Network | |||
- Hypervisor Managers |
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.
Please keep this resource under an unreleased version. Don't try to update the notes of a released version
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.
In the PR description, under issues, you have put a link to a PR. Is that PR related to this? Recheck it once.
And under issues, links to issues must be given but not a PR link.
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.
Done
examples/hypervisor_manager.go
Outdated
ClientOV *ov.OVClient | ||
hypervisor_manager = "172.18.13.11" | ||
hypervisor_manager_display_name = "HM2" | ||
//hypervisor_manager_2 = "eth88" |
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.
Please remove the commented out code or add a statement on why it is commented
examples/hypervisor_manager.go
Outdated
ovVer, _ := ovc.GetAPIVersion() | ||
fmt.Println(ovVer) | ||
initialScopeUris := &[]utils.Nstring{utils.NewNstring("/rest/scopes/03beb5a0-bf48-4c43-94a5-74b7b5de1255")} | ||
hypervisorManager := ov.HypervisorManager{DisplayName: "HM1", Name: "172.18.13.11", Username: "dcs", Password: "dcs", Port: 443, InitialScopeUris: *initialScopeUris, Type: "HypervisorManagerV2"} |
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.
Intend the initialization line by line so it's readable for the customers.
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.
Done
…-golang into HypervisorManager
editied support matrix entry for API 600
…-golang into HypervisorManager
CHANGELOG.md
Outdated
@@ -13,6 +19,7 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html | |||
- Enclosure Group | |||
- FC Network | |||
- FCoE Network | |||
- Hypervisor Managers |
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.
Remove the addition here.
- This release supportsi for API V800,V1000 and V1200 for HypervisorManager resource | ||
|
||
### Oneview Features supported | ||
- HypervisorManager | ||
# [v1.2.0] (2019-12-13) |
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.
Add space between the version notes
examples/hypervisor_manager.go
Outdated
InitialScopeUris: *initialScopeUris, | ||
Type: "HypervisorManagerV2"} | ||
|
||
err := ovc.AddHypervisorManager(hypervisorManager) |
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.
Rename the function name here as well.
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.
Done
Modified function name as per the resource file
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.
LGTM
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.
LGTM
Description
[Added resources file for HypervisorManager supporting API800, API1000, API1200]
Issues Resolved
[]
Check List