Implement adding networks
This commit is contained in:
@@ -125,3 +125,10 @@ def run_list(net):
|
||||
payload = {}
|
||||
ran = threshold_request(url, payload, method="POST")
|
||||
return ran
|
||||
|
||||
|
||||
def create_network(data):
|
||||
url = "irc/network/create"
|
||||
payload = data
|
||||
ran = threshold_request(url, payload, method="PUT")
|
||||
return ran
|
||||
|
||||
Reference in New Issue
Block a user