<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">2016-04-15 15:20 GMT-03:00 Samuel Guimarães <span dir="ltr"><<a href="mailto:sguimaraes943@gmail.com" target="_blank">sguimaraes943@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2016-04-05 18:02 GMT-03:00 Lucio Correia <span dir="ltr"><<a href="mailto:luciojhc@linux.vnet.ibm.com" target="_blank">luciojhc@linux.vnet.ibm.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Edit virtual network feature<br>
<br>
Pre-requisite:<br>
- Virtual network is stopped<br>
- Virtual network "default" is not editable<br>
<br>
*** BACKEND ***<br>
<br>
### Resource: Network<br>
<br>
**URI:** /plugins/kimchi/networks/*:name*<br>
<br>
**Methods:**<br>
<br>
* **UPDATE**: Update a Network<br>
* name: The name of the Network<br>
* subnet: Network segment in slash-separated format with ip address and prefix<br>
* dhcp: DHCP services on the virtual network is enabled.<br>
* start: start boundary of a pool of addresses to be provided to DHCP clients.<br>
* end: end boundary of a pool of addresses to be provided to DHCP clients.<br>
* interfaces: An array of bridge network interfaces that belongs to this network<br>
All traffic on this network will be bridged through the first<br>
interface. The interface is a bridge or ethernet/bonding device.<br>
* vlan ID<br>
<br>
Not all attributes are required for all networks types.<br>
<br>
<br>
*** FRONTEND ***<br>
<br>
* Add new option Edit to Actions menu under Virtualization/Network tab, enabled only for stopped networks<br>
* When clicked, this option will open a new window for editing that virtual network, with the following fields. Based on network type, some of below fields may be disabled:<br>
<br>
Type: just a label describing the network type, not changeable.<br>
Name: all types of virtual network can be renamed<br>
Interfaces: attach/detach interfaces (enabled for VEPA) or change interface (for macvtap, bridged)<br>
Subnet/DHCP range: two IP fields: start, end (enabled for NAT, isolated)<br>
VLAN id: integer field (enabled for bridged networks)</blockquote><div><br></div></div></div><div>I'm ok with this. The modal window should look almost the same as the "Add Network" window, except for the Network type that will be a "readonly" input.</div><span class=""><div> </div></span></div></div></div></blockquote><div><br></div><div>BTW, should we add a mask for the Subnet and DHCP IP fields? I think I saw somewhere someone asking for a mask for IP addresses but I wasn't able to find anything that supports both ipv4 and ipv6 strings at the same time.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span><font color="#888888"><br>
<br>
-- <br>
Lucio Correia<br>
Software Engineer<br>
IBM LTC Brazil<br>
<br>
_______________________________________________<br>
Kimchi-devel mailing list<br>
<a href="mailto:Kimchi-devel@ovirt.org" target="_blank">Kimchi-devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/kimchi-devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/kimchi-devel</a><br>
</font></span></blockquote></span></div><br></div></div>
</blockquote></div><br></div></div>