Bug 807949 - RESTAPI: [RFE] Adding IP related setting when attaching network to host's nic instead of logical network
Summary: RESTAPI: [RFE] Adding IP related setting when attaching network to host's nic...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-api
Version: unspecified
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Michael Pasternak
QA Contact:
URL:
Whiteboard: network
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-29 08:19 UTC by Avi Tal
Modified: 2016-04-22 04:59 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-25 07:06:29 UTC
oVirt Team: ---
Embargoed:


Attachments (Terms of Use)

Description Avi Tal 2012-03-29 08:19:33 UTC
I believe that there should be no differences between WebUI to RESTAPI when adding IP related details.

Today we need to add <ip address='' netmask='' gateway=''> to logical network in order to have an IP configuration when attaching network to nic.

This is a wrong approach!

1. attaching the same network to different hosts in the same cluster should have the same ip?
2. adding IP would be under logical network but edit IP would be under host_nic?

So the thing is, under logical network we should have only <name>, <description>, <vlan> and <stp>. 
Host_nic will be the place where we need to handle <ip> and <boot_protocol> while attaching network to host's nic and also when updating host's nic.

BTW, SetupNetworks which is under host_nics actually accept <ip> and <boot_protocol> when attaching host's nics.

Comment 1 Itamar Heim 2012-12-25 07:06:29 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


Note You need to log in before you can comment on or make changes to this bug.