Skip to content

Commit

Permalink
Merge pull request #23 from makinacorpus/stable
Browse files Browse the repository at this point in the history
add sys
  • Loading branch information
kiorky committed Feb 5, 2016
2 parents 38440fd + 174a326 commit 74ab9d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mc_states/modules/mc_network.py
Expand Up @@ -561,6 +561,11 @@ def is_ovh(ip):
return data.get('is_ovh', False)


def is_sys(ip):
data = whois_data(ip)
return data.get('is_sys', data.get('is_ovh', False))


def providers():
return ['online', 'ovh', 'phpnet', 'sys']

Expand Down

0 comments on commit 74ab9d3

Please sign in to comment.