-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
…rces (#32673) **Description:** <Describe what has changed.> When VMs have a vApp parent rather than a Resource Pool parent, rather than `vcenter.resource_pool.name` and `vcenter.resource_pool.inventory_path` resource attributes getting added to the VM resource, `vcenter.virtual_app.name` and `vcenter.virtual_app.inventory_path` resource attributes will be added for that VM instead. This way, VMs directly under vApps can still be human identifiable (especially if multiple VMs share the same name). These new attributes will be disabled by default and will have to be manually enabled in the config. **Link to tracking Issue:** <Issue number if applicable> #32557 **Testing:** <Describe what testing was performed and which tests were added.> Unit/integration tests updated and tested. Local environment tested. **Documentation:** <Describe the documentation added.> New documentation generated based on the metadata.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Use this changelog template to create an entry for release notes. | ||
|
||
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
change_type: bug_fix | ||
|
||
# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) | ||
component: vcenterreceiver | ||
|
||
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
note: "Adds new `vcenter.virtual_app.name` and `vcenter.virtual_app.inventory_path` resource attributes to appropriate VM Resources" | ||
|
||
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. | ||
issues: [32557] | ||
|
||
# (Optional) One or more lines of additional information to render under the primary note. | ||
# These lines will be padded with 2 spaces and then inserted directly into the document. | ||
# Use pipe (|) for multiline entries. | ||
subtext: | ||
|
||
# If your change doesn't affect end users or the exported elements of any package, | ||
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label. | ||
# Optional: The change log or logs in which this entry should be included. | ||
# e.g. '[user]' or '[user, api]' | ||
# Include 'user' if the change is relevant to end users. | ||
# Include 'api' if there is a change to a library API. | ||
# Default: '[user]' | ||
change_logs: [user] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" | ||
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<soapenv:Body> | ||
<RetrievePropertiesResponse xmlns="urn:vim25"> | ||
<returnval> | ||
<obj type="VirtualApp">resgroup-v10</obj> | ||
<propSet> | ||
<name>name</name> | ||
<val xsi:type="xsd:string">v-app-1</val> | ||
</propSet> | ||
<propSet> | ||
<name>vm</name> | ||
<val xsi:type="ArrayOfManagedObjectReference"> | ||
<ManagedObjectReference type="VirtualMachine" | ||
xsi:type="ManagedObjectReference">vm-6004</ManagedObjectReference> | ||
</val> | ||
</propSet> | ||
</returnval> | ||
</RetrievePropertiesResponse> | ||
</soapenv:Body> | ||
</soapenv:Envelope> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<soapenv:Body> | ||
<RetrievePropertiesResponse xmlns="urn:vim25"> | ||
<returnval> | ||
<obj type="VirtualApp">resgroup-v10</obj> | ||
<propSet> | ||
<name>name</name> | ||
<val xsi:type="xsd:string">v-app-1</val> | ||
</propSet> | ||
</returnval> | ||
</RetrievePropertiesResponse> | ||
</soapenv:Body> | ||
</soapenv:Envelope> |