Merge branch 'master' into master-2
# Conflicts: # LICENSE
This commit is contained in:
11
example/setips.py
Normal file
11
example/setips.py
Normal 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")
|
||||
Reference in New Issue
Block a user