Hi,
On 6 June 2013 16:43, Dmitri Chebotarov <[email protected]> wrote: > Hi > > I think Sunstore's interface is missing VLAN_ID field when adding a new > network with VLAN set to YES (i.e. OVS model). > 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. > > This is what it shows in my case (print screen attached) > Indeed, that is a bug. Could you try applying the following patch? ---------8<---------------- diff --git a/src/sunstone/public/js/plugins/vnets-tab.js b/src/sunstone/public/js/plugins/vnets-tab.js index 792b960..e33a8a2 100644 --- a/src/sunstone/public/js/plugins/vnets-tab.js +++ b/src/sunstone/public/js/plugins/vnets-tab.js @@ -1190,6 +1190,7 @@ function setupCreateVNetDialog() { $('input#phydev,label[for="phydev"]',$create_vn_dialog).hide(); $('select#vlan,label[for="vlan"]',$create_vn_dialog).show(); $('input#vlan_id,label[for="vlan_id"]',$create_vn_dialog).show(); + break; case "vmware": $('input#bridge,label[for="bridge"]',$create_vn_dialog).show(); $('input#phydev,label[for="phydev"]',$create_vn_dialog).hide(); @@ -1197,9 +1198,6 @@ function setupCreateVNetDialog() { $('input#vlan_id,label[for="vlan_id"]',$create_vn_dialog).show(); break; }; - - if (!mustBeAdmin()) - $('input#vlan_id,label[for="vlan_id"]',$create_vn_dialog).hide(); }); //Initialize shown options --------->8---------------- -- Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin, 24-26 September, 2013 -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | [email protected] | @OpenNebula
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
