<div dir="ltr">Hi,<div class="gmail_extra"><br><br><div class="gmail_quote">On 6 June 2013 16:43, Dmitri Chebotarov <span dir="ltr"><<a href="mailto:dchebota@gmu.edu" target="_blank">dchebota@gmu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word">
Hi
<div><br>
</div>
<div>I think Sunstore's interface is missing VLAN_ID field when adding a new network with VLAN set to YES (i.e. OVS model).</div>
<div>I'm pretty sure it was there before 4.0.1 - I have few networks which I've created on 4.0 with VLAN_ID set, before I updated to 4.0.1. </div>
<div>
<div><br>
</div>
<div>This is what it shows in my case (print screen attached)</div></div></div></blockquote><div><br></div><div style>Indeed, that is a bug. Could you try applying the following patch?</div><div style><br></div><div style>
---------8<----------------</div><div style><div>diff --git a/src/sunstone/public/js/plugins/vnets-tab.js b/src/sunstone/public/js/plugins/vnets-tab.js</div><div>index 792b960..e33a8a2 100644</div><div>--- a/src/sunstone/public/js/plugins/vnets-tab.js</div>
<div>+++ b/src/sunstone/public/js/plugins/vnets-tab.js</div><div>@@ -1190,6 +1190,7 @@ function setupCreateVNetDialog() {</div><div> $('input#phydev,label[for="phydev"]',$create_vn_dialog).hide();</div>
<div> $('select#vlan,label[for="vlan"]',$create_vn_dialog).show();</div><div> $('input#vlan_id,label[for="vlan_id"]',$create_vn_dialog).show();</div><div>+ break;</div>
<div> case "vmware":</div><div> $('input#bridge,label[for="bridge"]',$create_vn_dialog).show();</div><div> $('input#phydev,label[for="phydev"]',$create_vn_dialog).hide();</div>
<div>@@ -1197,9 +1198,6 @@ function setupCreateVNetDialog() {</div><div> $('input#vlan_id,label[for="vlan_id"]',$create_vn_dialog).show();</div><div> break;</div><div> };</div>
<div>-</div><div>- if (!mustBeAdmin())</div><div>- $('input#vlan_id,label[for="vlan_id"]',$create_vn_dialog).hide();</div><div> });</div><div><br></div><div> //Initialize shown options</div>
<div><br></div><div>--------->8----------------</div></div></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Join us at <a href="http://opennebulaconf.com/" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>
</div><div>--</div>Daniel Molina<br>Project Engineer<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
</div></div>