Skip to content

Instantly share code, notes, and snippets.

@zaibon
zaibon / set40g.py
Last active March 21, 2017 16:06 — forked from maxux/set40g.py
from g8core import client
hosts = {
"10.101.200.1": "10.120.0.1",
"10.101.200.2": "10.120.0.2",
"10.101.200.3": "10.120.0.3",
"10.101.200.4": "10.120.0.4"
}
for host in hosts.keys():
overlay_network_name="Net-AP4"
overlay_network_pre="172.24."
create_network()
def create_network():
'''
c n
'''