[one-users] how to? network template in sunstone with ranged IPs

Hector Sanjuan hsanjuan at opennebula.org
Thu Jan 5 09:21:32 PST 2012


Hello Olivier,

this is a bug. Thank you for reporting! We will fix it upstream asap. If  
you need it right away, the fix is:

diff --git a/src/sunstone/public/js/plugins/vnets-tab.js  
b/src/sunstone/public/js/plugins/vnets-tab.js
index 5b445f3..5e3ba99 100644
--- a/src/sunstone/public/js/plugins/vnets-tab.js
+++ b/src/sunstone/public/js/plugins/vnets-tab.js
@@ -802,7 +802,7 @@ function setupCreateVNetDialog() {
                  if (ip_start.length)
                      network_json["vnet"]["ip_start"] = ip_start;
                  if (ip_end.length)
-                    network_json["vnet"]["ip_start"] = ip_end;
+                    network_json["vnet"]["ip_end"] = ip_end;
              };
          };


Hector

En Thu, 05 Jan 2012 17:58:25 +0100, Olivier Sallou  
<olivier.sallou at irisa.fr> escribió:

> Hi,
> I have some issues creating a ranged virtual network (see screenshot
> attached).
>
> If I create it, it appears in my networks,
> but in the details it shows:
> ip start: 192.168.2.89
> ip end: 192.168.2.254
>
> So it uses my ip end as ip start and goes up to limit (254) for the end.
>
> I want my IPs to be between 192.168.2.20 and 192.168.2.89
>
> What should I set to get my correct ip range?
>
> Thanks
>
> Olivier
>


-- 
Hector Sanjuan
OpenNebula Developer



More information about the Users mailing list