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

KMS support for MockVcenter #3

Open
wants to merge 193 commits into
base: main
Choose a base branch
from

Conversation

sindhushapadmanabhuni
Copy link

@sindhushapadmanabhuni sindhushapadmanabhuni commented Jan 17, 2024

Description

add KMS support for mock Vcenter

image

Priyanka Jiandani and others added 30 commits December 1, 2023 14:37
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 <s.hello.spagetti@gmail.com>
…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] <support@github.com>
Closes vmware#2956

Signed-off-by: Sunny Carter <sunny.carter@metaswitch.com>
[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 <essodjolo@kahanam.com>
Closes: vmware#2960
Signed-off-by: syuparn <s.hello.spagetti@gmail.com>
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] <support@github.com>
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] <support@github.com>
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] <support@github.com>
Closes: vmware#2983
Signed-off-by: syuparn <s.hello.spagetti@gmail.com>
govc: add libray.trust{ls,info,create,rm} commands

Fixes vmware#2980
akutz and others added 30 commits January 17, 2024 14:44
This patch updates the generated types to vSphere 8.0U2 GA.
This patch addresses a build error after the update to 8.0U2 GA.
The VSLM client was using an invalid API syntax. Additionally,
there was a fix for the change from the "mo" field tag to using
"json" instead.
Signed-off-by: GitHub Action <41898282+github-actions[bot]@users.noreply.github.com>
v0.31.0 changed the json case of generated types, which breaks existing PropertyMapping used in the -options input spec

Fixes vmware#3245
PR vmware#3007 added camelCase json tags for generated types
BREAKING: This change adds camelCase (lower-case 1st character) json tags for govc types

Fixes vmware#3243
Fixes vmware#3242
Fixes vmware#3241
vcsim: add EnvironmentBrowser methods and record/replay support

api: add object.EnvironmentBrowser helper methods

govc: add vm.option.ls, vm.target.info and vm.target.cap.ls commands

BREAKING: removed object.VirtualMachine.QueryConfigTarget method
- Use object.VirtualMachine.EnvironmentBrowser().QueryConfigTarget instead
guest file transfer and ticketed datastore file transfer use direct ESX connections.
The connection should be only be used for a single request, ensure this by disabling client side.
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] <support@github.com>
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] <support@github.com>
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.
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] <support@github.com>
Closes: vmware#3275
Signed-off-by: syuparn <s.hello.spagetti@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet