Compare commits
No commits in common. "ed2d89e5ecdaccdaa68eeacd98529629b9f358ed" and "7c4ad5104c4427682e85c7c8934150adcca23fd9" have entirely different histories.
ed2d89e5ec
...
7c4ad5104c
1 changed files with 0 additions and 4 deletions
4
main.py
4
main.py
|
@ -69,8 +69,6 @@ def apply_port_changes():
|
|||
label = "Allocation " + str(alloc["id"]) + " for " + node_internal_name
|
||||
if alloc["id"] in allocation_server_lookup.keys():
|
||||
svr = allocation_server_lookup[alloc["id"]]
|
||||
if "pf_exclude" in svr.description:
|
||||
continue
|
||||
label = svr["name"] + "(" + svr["identifier"] + ") allocation"
|
||||
|
||||
rules.append(create_rule(label, node_internal_ip, alloc["port"]))
|
||||
|
@ -103,6 +101,4 @@ if __name__ == '__main__':
|
|||
|
||||
port = int(cfg["app"]["port"])
|
||||
|
||||
print("Applying initial port forwarding")
|
||||
apply_port_changes()
|
||||
app.run(host="0.0.0.0", port=port)
|
||||
|
|
Loading…
Reference in a new issue