Hi Arne,
As of today, we can only delete all tags of the list element by doing
obj.vlan = {'operation': 'delete'}
deleting single element from the list won’t be possible as of today. As a work around, we can use, get() API to fetch all vlans, then delete all using above command, remove vlan from the list. Then again assign to obj.vlan this will be quite complicated (and uses multiple RPC calls) then directly calling cu.load() with desired xml
Thanks
Nitin Kr
--
You received this message because you are subscribed to the Google Groups "Junos Python EZ" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
junos-python-...@googlegroups.com.
Visit this group at https://groups.google.com/group/junos-python-ez.
To view this discussion on the web visit https://groups.google.com/d/msgid/junos-python-ez/fcfc736c-c66b-4f9f-994e-86423dccca69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.