Fix incorrect RN used in module (#38249)

This is backported from devel as this bug makes the module fail for VMM
domains.
pull/38506/head
Dag Wieers 7 years ago committed by Matt Davis
parent 9d0ebfdea6
commit b9ccac8550

@ -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:

Loading…
Cancel
Save