[one-users] additional parameters in network templates

Willem van Engen wvengen at nikhef.nl
Wed Mar 3 03:56:50 PST 2010


Hi Ruben,

Thanks, this looks quite good. Indeed it makes more sense to use
$NETWORK instead of $NIC. It would be nice to be able to use
$NETWORK[NETMASK] without specification of the network name if only one
network is being used (just like $NIC).

Cheers,
- Willem

Ruben S. Montero wrote:
[snip]
> As this is not really related to the NIC but to the network our
> proposal is to us a special name (NETWORK) so you may have
> 
>   CONTEXT = [
>     target = "sdc",
>     hostname = "$NAME",
>     ip = "$NIC[IP]",
>     netmask = "$NETWORK[NETMASK, NAME=\"private\"]",
>     gateway = "$NETWORK[GATEWAY, NAME=\"private\"]",
>     ns = "$NETWORK[NS, NAME=\"private\"]"
>   ]
> 
> So you can put context information for multiple networks... Does it make sense?
> 
> Cheers
> 
> Ruben
> 
> PS: You can keep update it about this in
> http://dev.opennebula.org/issues/197




More information about the Users mailing list