Skip to content

Commit

Permalink
Don't hardcode service IP address in srv6-ctrl
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Jan 30, 2025
1 parent 0e2102e commit 53edb94
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/compose.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -1356,6 +1356,7 @@ services:
UPLINK: |-
- control-uri: "http://[{{ ipv6('srgw0', 'control') }}]:8080"
enabled: true
service: "{{ ipv4('s', 'service') }}"
area:
#~ if config["topology"]["controlplane"] == "free5gc"
- "{{ ipv4('gnb1', 'dataplane') }}/32"
Expand All @@ -1374,6 +1375,7 @@ services:
#~ if config["topology"]["nb_edges"] > 1
- control-uri: "http://[{{ ipv6('srgw0', 'control') }}]:8080"
enabled: false
service: "{{ ipv4('s', 'service') }}"
area:
#~ if config["topology"]["controlplane"] == "free5gc"
- "{{ ipv4('gnb1', 'dataplane') }}/32"
Expand All @@ -1392,6 +1394,7 @@ services:
#~ if (config["topology"]["nb_gnb"] > 2) and (config["topology"]["nb_edges"] > 2) and (config["topology"]["controlplane"] == "nextmn-lite")
- control-uri: "http://[{{ ipv6('srgw1', 'control') }}]:8080"
enabled: true
service: "{{ ipv4('s', 'service') }}"
area:
- "{{ ipv4('gnbl3', 'dataplane') }}/32"
segments-list:
Expand Down

0 comments on commit 53edb94

Please sign in to comment.