Closed brucelok closed 10 months ago
there is no method to get DN in advance ucsmsdk-0.9.4
>>> server = handle.query_dn('org-root/ls-poc-002') >>> print server.dn, server.pn_dn org-root/ls-poc-002 sys/rack-unit-17 >>> >>> >>> ucs_kvm_launch(handle, service_profile='poc-002') Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/ucsmsdk/utils/ucskvmlaunch.py", line 140, in ucs_kvm_launch dn = service_profile.dn AttributeError: 'str' object has no attribute 'dn' >>> >>> >>> ucs_kvm_launch(handle, rack_unit=17) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/site-packages/ucsmsdk/utils/ucskvmlaunch.py", line 105, in ucs_kvm_launch pn_dn = rack_unit.dn AttributeError: 'int' object has no attribute 'dn' >>>
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
there is no method to get DN in advance ucsmsdk-0.9.4