```
netmask = "255.255.255.0" if network['name'] == u'public' else new_net.netmask
```