Skip to content

Added forceCustomization option for vCloud Director - #824

Merged
asfgit merged 9 commits into
apache:trunkfrom
juanfont:force_recostumization
Jun 25, 2016
Merged

asfgit merged 9 commits into
apache:trunkfrom
juanfont:force_recostumization

Conversation

@juanfont

Copy link
Copy Markdown
Contributor

Added forceCustomization option for vCloud Director

Description

These commits add support for forceCustomization param when deploying a node in vCloud Director.

See https://www.vmware.com/support/vcd/doc/rest-api-doc-1.5-html/types/DeployVAppParamsType.html.

Status

Ready for review.

Checklist (tick everything that applies)

  • Code linting (required, can be done after the PR checks)
  • Documentation
  • Tests
  • ICLA (required for bigger changes)

@tonybaloney

Copy link
Copy Markdown
Contributor

Great contribution, thanks @juanfont 👍

method='POST',
headers=headers)
self._wait_for_task_completion(res.object.get('href'))
res = self.connection.request(get_url_path(node.id))

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is it intentional and desired that this function doesn't return anything now?

Or did I miss something?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It's intentional. That's an internal method that handles both vapp's and vm's. It's meant to be called only from ex_deploy_node (where the node is indeed returned).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ah, sorry, I was confused by the diff (I didn't fully expand it so I thought it's part of the public method).

@asfgit
asfgit merged commit c1da02c into apache:trunk Jun 25, 2016
asfgit pushed a commit that referenced this pull request Jun 25, 2016
@Kami

Kami commented Jun 25, 2016

Copy link
Copy Markdown
Member

Merged, thanks!

asfgit pushed a commit that referenced this pull request Jun 25, 2016
asfgit pushed a commit that referenced this pull request Jun 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants