06-20-2017 11:40 AM
Hi guys,
getting error AttributeError: 'function' object has no attribute '_meta_info' when creating policy-map. Even though I get this error the configuration is committed and XR device returns RPC-OK message.
Code is in attachment. When I tried to comment the policy-map code there is no error.
Anyone any thoughts?
Thanks a lot
Solved! Go to Solution.
06-20-2017 12:09 PM
Hi Anton,
Looks like a minor typo on line 137 of your script :
crud_create2 = crud.create (provider, put_cm_to_pm)
should be
crud_create2 = crud.create (provider, policy_configuration)
06-20-2017 12:09 PM
Hi Anton,
Looks like a minor typo on line 137 of your script :
crud_create2 = crud.create (provider, put_cm_to_pm)
should be
crud_create2 = crud.create (provider, policy_configuration)
06-21-2017 10:10 AM
Thank you very much! It works like charm :-)
PS: I feel so bad about this post. You should not troubleshoot code typos after folks like me. Next time I will triple check before posting it here
06-21-2017 10:27 AM
No problem Always glad to help
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide