telefonicaid/notification_server — pull request #235 by willyaranda (2013-05-21 12:44:07+00:00)
Title: Added range_check to check if a IP is in a network range

This need a new attribute on the `db` operator object like:
```
{
"_id" : "214-07" ,
"country" : "Spain" ,
"mcc" : "214" ,
"mnc" : "07" ,
"networks" : [ "127.0.0.1/8"] ,
"operator" : "Telefónica Móviles España, SAU" ,
"wakeup" : "127.0.0.1:8090"
}
```
Note the `networks` attribute:
1. Must be an array
2. It should contain strings in the form: ["network/net"]