Description of problem: api?rsdl doesn't support add, update and delete nic from template which influence SDK that doesn't support these functionalities automatically. for example: An exception from sdk when try to add nic: File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/common.py", line 28, in __getattr__ return self.__getattribute__(item) AttributeError: 'TemplateNics' object has no attribute 'add' note: adding nic to template through REST API works. Steps to Reproduce: 1. try to add/edit/delete nic from template using SDK
http://gerrit.ovirt.org/7098
*** Bug 830511 has been marked as a duplicate of this bug. ***
RSDL meta not updated accordingly, also notice that this is sdk bug, so you cannot move it to MODIFIED till new sdk generated based on changes you have done.
(In reply to comment #6) > RSDL meta not updated accordingly, also notice that this is sdk bug, > so you cannot move it to MODIFIED till new sdk generated based on changes > you have done. As we discussed, it is visible when you run /api?rsdl
(In reply to comment #7) > (In reply to comment #6) > > RSDL meta not updated accordingly, also notice that this is sdk bug, > > so you cannot move it to MODIFIED till new sdk generated based on changes > > you have done. > > As we discussed, it is visible when you run /api?rsdl but not available in sdk yet, target release 3.1.0.7
Verify on SI16 - PASS Run SDK test to add, update and delete template nics <link href="/api/templates/{template:id}/nics/{nic:id}" rel="delete"> <request> <http_method>DELETE</http_method> <body/> </request> </link> <link href="/api/templates/{template:id}/nics/{nic:id}" rel="update"> <request> <http_method>PUT</http_method> <body> <type>NIC</type> </body> </request> <response> <type>NIC</type> </response> </link> <link href="/api/templates/{template:id}/nics" rel="add"> <request> <http_method>POST</http_method> <headers> ...