Merge branch 'master' into master-2

# Conflicts:
#	LICENSE
This commit is contained in:
stubbfel
2015-03-27 00:06:28 +01:00
parent 8f42134415
commit 7cf755493c
29 changed files with 669 additions and 0 deletions

11
example/setips.py Normal file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env python3
__author__ = 'dev'
import fake_services.utility.network.ip_address_manager as ip
# set ips
ip.add_ip_addresses(["1.1.1.1", "2.2.2.2"], "eth0")
# unset ips
#ip.remove_ip_addresses(["1.1.1.1", "2.2.2.2"], "eth0")