Mirantis/fuel — pull request #602 by xenolog (2013-10-03 15:31:58+00:00)
Title: Advanced network configuration

how it works:
* In site.pp early as it possible we call ```prepare_network_config(Hash)``` function. Function returns nothing. It has one incoming parameter -- hash with network configuration (interfaces, endpoints, transformations, roles). This function do nothing, only prepared and sanitized incoming parameters.
* create class for network configuration. Function generate_network_config() returns string with order network resources creation, only for debug purposes. Ex:
```
class advanced_node_netconfig {
$sdn = generate_network_config()
notify {"SDN: ${sdn}": }
}
```
* Call this class (may be in early stabe):
```
class {'advanced_node_netconfig': stage => 'netconfig' }
```