-
Notifications
You must be signed in to change notification settings - Fork 897
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
Add KMS support to mock vcenter #3296
base: main
Are you sure you want to change the base?
Add KMS support to mock vcenter #3296
Conversation
@priyanka19-98, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction. |
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.
Thanks @priyanka19-98 , this is looking good. Based some things commented out, printfs, main() func in simulator package, etc., is this still work-in-progress? I will take a closer look soon and I've not used KMS at all myself, so want to read up on that a bit too.
yes, I am waiting for one PR to be merged into these changes. Thanks for your response |
The uuid.NodeID function returns the node's (first) nic hardware address. Using this makes ServiceContent.InstanceUuid unique, yet stable.
This change adds a common stub for the non-linux envs using buildtags.
Closes: vmware#2953 Signed-off-by: syuparn <[email protected]>
…oup method govc: Add feature in sso.group.ls to list users using FindUsersInGroup method Closes: vmware#2945
Bumps [actions/stale](https://github.com/actions/stale) from 5 to 6. - [Release notes](https://github.com/actions/stale/releases) - [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md) - [Commits](actions/stale@v5...v6) --- updated-dependencies: - dependency-name: actions/stale dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Closes vmware#2956 Signed-off-by: Sunny Carter <[email protected]>
[Elastic Agent VMware vSphere integration](https://github.com/elastic/integrations/tree/main/packages/vsphere) to the list of projects using govmomi. Signed-off-by: Essodjolo KAHANAM <[email protected]>
Closes: vmware#2960 Signed-off-by: syuparn <[email protected]>
This change fixes the recentTasks errors in the task historyCollector. TaskHistoryCollector does not have a recentTask property, so this method always fails. Update to latestPage to fix this bug.
PlaceVmsXCluster request has two optional bool fields as to whether host and/or datastore selection is required as a part of the placement response. Update simulator PlaceVmsXCluster response to include the ConfigSpec only when the datastore selection is required to match real VC behavior.
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.6 to 1.13.9. - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md) - [Commits](sparklemotion/nokogiri@v1.13.6...v1.13.9) --- updated-dependencies: - dependency-name: nokogiri dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [chuhlomin/render-template](https://github.com/chuhlomin/render-template) from 1.5 to 1.6. - [Release notes](https://github.com/chuhlomin/render-template/releases) - [Commits](chuhlomin/render-template@v1.5...v1.6) --- updated-dependencies: - dependency-name: chuhlomin/render-template dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [andstor/file-existence-action](https://github.com/andstor/file-existence-action) from 1 to 2. - [Release notes](https://github.com/andstor/file-existence-action/releases) - [Commits](andstor/file-existence-action@v1...v2) --- updated-dependencies: - dependency-name: andstor/file-existence-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Closes: vmware#2983 Signed-off-by: syuparn <[email protected]>
The ConfigSpec returned by CreateImportSpec() will include devices from the OVF but since the simulator impl just reconfigures the VM with the user provided ConfigSpec, those default devices won't be removed. In VM Operator, likely the only user of this API w/ the ConfigSpec param, this would result in an extra Reconfigure to remove the unexpected devices. However, I'd like to be able to assert that a just-created VM matches the expected config. It is a easier to just skip the EthCards instead of including all the disk and disk controllers. A later improvement would be to merge the two ConfigSpecs so the Reconfigure is not needed but neither is a huge deal for the simulator.
Bumps [chuhlomin/render-template](https://github.com/chuhlomin/render-template) from 1.7 to 1.8. - [Release notes](https://github.com/chuhlomin/render-template/releases) - [Commits](chuhlomin/render-template@v1.7...v1.8) --- updated-dependencies: - dependency-name: chuhlomin/render-template dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
vcsim: ResourcePool.ImportVApp improvements - Run within an internal Task as real vCenter does - Set VirtualMachineImportSpec.VAppConfig in CreateImportSpec - Propagate VAppConfig to VirtualMachine (config.vAppConfig) - Validate userConfigurable=false properties Fixes vmware#3111
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.9 to 0.6.0. - [Release notes](https://github.com/google/go-cmp/releases) - [Commits](google/go-cmp@v0.5.9...v0.6.0) --- updated-dependencies: - dependency-name: github.com/google/go-cmp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
BREAKING: api: view.ListView.{Add,Remove,Reset} methods now return unresolved references
soap.Client sends OperationID as part of the soap body header. vapi uses the `X-Request-ID` http header.
vcsim: apply DasConfig + DrsConfig in ReconfigureComputResource_Task
The existing code would panic due to not checking for svm being nil and then immediately accessing a field to check power state.
…wn to the soap client
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.3.1 to 1.4.0. - [Release notes](https://github.com/google/uuid/releases) - [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md) - [Commits](google/uuid@v1.3.1...v1.4.0) --- updated-dependencies: - dependency-name: github.com/google/uuid dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Closes: vmware#3275 Signed-off-by: syuparn <[email protected]>
…nka19-98/govmomi into pjiandani/add-kmip-support
Adding KMS support for MockVcenter
@dougm could you please review again? |
Thanks @priyanka19-98 , will try to review soon. Could you please rebase ? (note how PR says your branch has "195 commits") |
This Pull Request is stale because it has been open for 90 days with |
Description
Mock VC simulator did not have any support for KMS.
Added basic KMS support for mock simulator.
Closes: #(issue-number)
Type of change
Please mark options that are relevant:
not work as expected)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. If applicable, please also list any relevant
details for your test configuration.
Checklist:
CONTRIBUTION
guidelines of this project