Thank you guys! It works now.
In [3]: m = maapi.Maapi()In [4]: m.install_crypto_keys()In [5]: m.start_user_session('admin', 'mycontext') ...: t = m.start_write_trans() ...: root = maagic.get_root(t)
In [6]: key = root.oti_role['PARTR0'].isisKey...
Hi Larry,
Thanks for the pointer. But I can't make it work. Can you spot a mistake? I don't think I'm using this function properly.
YANG:
leaf isisKey { type tailf:aes-cfb-128-encrypted-string; }
Python:
In [16]: key = root.oti_role['...
How would you do the python for loop to a yang 'list' with few leaf instead of 'leaf-list' as mentioned in your example?
For example :
list prefixlist { key prefix; leaf prefix { type string; } leaf id { type string;...