search for: managednodeconfiguration

Displaying 1 result from an estimated 1 matches for "managednodeconfiguration".

2010 Jul 21
1
[PATCH] Add support for tagged VLAN
...+++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/lib/managed_node_configuration.rb b/src/lib/managed_node_configuration.rb index fac653b..47360c0 100644 --- a/src/lib/managed_node_configuration.rb +++ b/src/lib/managed_node_configuration.rb @@ -95,6 +95,21 @@ class ManagedNodeConfiguration nic.netmask, nic.broadcast, nic.gateway) add_nic(result, nic.mac, iface_name) + + # process the vlan tagging + + nic.network.usages.map do |usage| + usage.networks.map do |net| + if net.type == "Vlan" + e...