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

govc: add support for supervisor services deploy #2668

Merged
merged 1 commit into from
Jan 4, 2022

Conversation

rikatz
Copy link
Contributor

@rikatz rikatz commented Nov 24, 2021

Signed-off-by: Ricardo Katz rkatz@vmware.com

Description

Initial work on supporting vSphere Namespaces supervisor services.

Right now it's possible to:

  • List
  • Enable
  • Disable
  • Remove
  • Create

TODO: Write VCSIM things

Type of change

Please mark options that are relevant:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to
    not work as expected)
  • This change requires a documentation update
  • Build related change

How Has This Been Tested?

Tested with a real cluster. Still will check to write some unit tests

Checklist:

  • My code follows the CONTRIBUTION guidelines of
    this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged

@rikatz rikatz force-pushed the namespace-supervisor-svc-cmd branch 6 times, most recently from da1a93a to 22e28d3 Compare November 24, 2021 19:10
@rikatz rikatz force-pushed the namespace-supervisor-svc-cmd branch from 13df470 to ef5c5c5 Compare November 30, 2021 18:59
Copy link
Member

@dougm dougm left a comment

Choose a reason for hiding this comment

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

Thank you @rikatz , looks great! Just a few minor suggestions/requests.

@rikatz
Copy link
Contributor Author

rikatz commented Dec 10, 2021

@dougm thanks for the review :) and sorry for the delay, a lot of other stuff ongoing here :/

Hopefully this is right now and all the tests will pass as well :)

@rikatz rikatz force-pushed the namespace-supervisor-svc-cmd branch from 13d5593 to 331b699 Compare December 10, 2021 17:32
@embano1
Copy link
Contributor

embano1 commented Dec 11, 2021

Thx @rikatz ! Once the review is done, can you please squash your commits and follow our contribution guidelines in terms of title and message body (reference issue) so your work renders nicely in the CHANGELOG?

Closes: 2690
Signed-off-by: Ricardo Katz <rkatz@vmware.com>
@rikatz rikatz force-pushed the namespace-supervisor-svc-cmd branch from 331b699 to 742f289 Compare December 24, 2021 17:36
@rikatz rikatz changed the title Initial Namespace Supervisor services support govc: add support for supervisor services deploy Dec 24, 2021
@rikatz
Copy link
Contributor Author

rikatz commented Dec 24, 2021

@embano1 happy holidays :) sorry for the delay, last days were busy!

I have squashed the commits and rewritten the commit message to be aligned with contribution guideline.

Thanks!

@embano1
Copy link
Contributor

embano1 commented Jan 4, 2022

Thx, LGTM but will ask @dougm to approve.

Copy link
Member

@dougm dougm left a comment

Choose a reason for hiding this comment

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

Looks great @rikatz , thanks!

@dougm dougm merged commit e1df929 into vmware:master Jan 4, 2022
dougm added a commit to dougm/govmomi that referenced this pull request Jan 28, 2022
In PR vmware#2668 we refactored the 'StatusOK' method into a 'Status' method, which we don't need without a response body,
as w.WriteHeader can be used directly instead.
dougm added a commit to dougm/govmomi that referenced this pull request Feb 3, 2022
In PR vmware#2668 we refactored the 'StatusOK' method into a 'Status' method, which we don't need without a response body,
as w.WriteHeader can be used directly instead.
dougm added a commit to dougm/govmomi that referenced this pull request Feb 3, 2022
In PR vmware#2668 we refactored the 'StatusOK' method into a 'Status' method, which we don't need without a response body,
as w.WriteHeader can be used directly instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants