Fix incorrect RN used in module (#38245)

This requires backporting to v2.5
This commit is contained in:
Dag Wieers 2018-04-04 02:43:58 +02:00 committed by GitHub
parent 63a8ae94a7
commit 3a1cd4d45a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -302,7 +302,7 @@ def main():
elif domain_type == 'vmm': elif domain_type == 'vmm':
domain_class = 'vmmDomP' domain_class = 'vmmDomP'
domain_mo = 'uni/vmmp-{0}/dom-{1}'.format(VM_PROVIDER_MAPPING[vm_provider], domain) domain_mo = 'uni/vmmp-{0}/dom-{1}'.format(VM_PROVIDER_MAPPING[vm_provider], domain)
domain_rn = 'dom-{0}'.format(domain) domain_rn = 'vmmp-{0}/dom-{1}'.format(VM_PROVIDER_MAPPING[vm_provider], domain)
# Ensure that querying all objects works when only domain_type is provided # Ensure that querying all objects works when only domain_type is provided
if domain is None: if domain is None: