Description of problem: htttp://engine:port/hosts/{host id}/nics/setupnetworks This action link is missing under /nics Exists: <host_nics> <host_nic> ... </host_nic> <host_nic> ... </host_nic> </host_nics> -- should look like: <host_nics> <actions> <link href='.../nics/setupnetworks' rel='setupnetworks' /> </actions> <host_nic> ... </host_nic> <host_nic> ... </host_nic> </host_nics>
Adding TesBlocker because it actually blocked us from testing SetupNetworks in automation framework. Automation framework automatically generated data structures from XSD. Missing actions for nics collection leads for missing SetupNEtworks action for nics data structure object. BTW, the common use cases in automation is to automatically generate objects from XSD so i suspect many API users will scream this issue.
patch posted to gerrit, http://gerrit.ovirt.org/#/c/6816/
lowering priority as action code exist - QE can assume the url [1], and sdk has setupnetworks() method, so no blocker for testing. (this is complex infrastructure change that may take time) [1] /api/hosts/xxx/nics/setupnetwork
patch is NACK'ED at upstream.
http://gerrit.ovirt.org/#/c/7461/
Verify on SI16 - PASS <host_nics> <actions> <link href="/hosts/1d1683d0-f2a7-11e1-b6f8-001a4a169763/nics/setupnetworks" rel="setupnetworks"/> </actions> ...
Reopen the bug due to missing entry point "/api" href starts from "/hosts" instead of "/api/hosts" which lead to automation tests failure.
Wrong href example is in comment 11
Verify on si17 - PASS <host_nics> <actions> <link href="/api/hosts/15bc90e8-f74d-11e1-a639-001a4a169763/nics/setupnetworks" rel="setupnetworks"/> </actions> ...