You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.
arya generated this ending to the generated py script:
# commit the generated code to APIC
print toXMLStr(polUni)
c = cobra.mit.request.ConfigRequest()
c.addMo(polUni)
When I run the script I get this:
Traceback (most recent call last):
File "tn-tutorial-tic.py", line 54, in <module>
c.addMo(polUni)
File "/xtra/anaconda/envs/py27/lib/python2.7/site-packages/acicobra-1.2_1k-py2.7.egg/cobra/mit/request.py", line 777, in addMo
raise ValueError('mo context not found for {0}'.format(str(mo.dn)))
ValueError: mo context not found for uni
I made this change to the addMo statement and the script succeeds: c.addMo(fvTenant)
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
Running APIC Version 1.2(1k) here.
arya generated this ending to the generated py script:
When I run the script I get this:
I made this change to the addMo statement and the script succeeds:
c.addMo(fvTenant)
Thanks.
The text was updated successfully, but these errors were encountered: