Skip to content

Commit

Permalink
fix port definition
Browse files Browse the repository at this point in the history
  • Loading branch information
enriquetomasmb committed Feb 3, 2025
1 parent 697cd4f commit fedcd9c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nebula/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,12 +334,12 @@ def __init__(self, args):
self.start_date_scenario = None
self.federation = args.federation if hasattr(args, "federation") else None
self.topology = args.topology if hasattr(args, "topology") else None
self.controller_port = args.controllerport if hasattr(args, "controllerport") else 5000
self.waf_port = args.wafport if hasattr(args, "wafport") else 6000
self.frontend_port = args.webport if hasattr(args, "webport") else 6060
self.grafana_port = args.grafanaport if hasattr(args, "grafanaport") else 6040
self.loki_port = args.lokiport if hasattr(args, "lokiport") else 6010
self.statistics_port = args.statsport if hasattr(args, "statsport") else 8080
self.controller_port = int(args.controllerport) if hasattr(args, "controllerport") else 5000
self.waf_port = int(args.wafport) if hasattr(args, "wafport") else 6000
self.frontend_port = int(args.webport) if hasattr(args, "webport") else 6060
self.grafana_port = int(args.grafanaport) if hasattr(args, "grafanaport") else 6040
self.loki_port = int(args.lokiport) if hasattr(args, "lokiport") else 6010
self.statistics_port = int(args.statsport) if hasattr(args, "statsport") else 8080
self.simulation = args.simulation
self.config_dir = args.config
self.db_dir = args.databases if hasattr(args, "databases") else "/opt/nebula"
Expand Down

0 comments on commit fedcd9c

Please sign in to comment.