Skip to content

Commit

Permalink
Add areas for downlink
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Jan 30, 2025
1 parent 53edb94 commit 6e92bad
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions templates/compose.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -1336,19 +1336,47 @@ services:
DOWNLINK: |-
- control-uri: "http://[{{ ipv6('r0', 'control') }}]:8080"
enabled: true
area:
#~ if config["topology"]["controlplane"] == "free5gc"
- "{{ ipv4('gnb1', 'dataplane') }}/32"
#~ if config["topology"]["nb_gnb"] > 1
- "{{ ipv4('gnb2', 'dataplane') }}/32"
#~ endif
#~ endif
#~ if config["topology"]["controlplane"] == "nextmn-lite"
- "{{ ipv4('gnbl1', 'dataplane') }}/32"
#~ if config["topology"]["nb_gnb"] > 1
- "{{ ipv4('gnbl2', 'dataplane') }}/32"
#~ endif
#~ endif
srgw-gtp4: "{{ ipv4('srgw0', 'srgw0') }}"
segments-list:
- "{{ ipv6_prefix('end-m-gtp4-e', 'srgw0') }}"
#~ if config["topology"]["nb_edges"] > 1
- control-uri: "http://[{{ ipv6('r1', 'control') }}]:8080"
enabled: true
area:
#~ if config["topology"]["controlplane"] == "free5gc"
- "{{ ipv4('gnb1', 'dataplane') }}/32"
#~ if config["topology"]["nb_gnb"] > 1
- "{{ ipv4('gnb2', 'dataplane') }}/32"
#~ endif
#~ endif
#~ if config["topology"]["controlplane"] == "nextmn-lite"
- "{{ ipv4('gnbl1', 'dataplane') }}/32"
#~ if config["topology"]["nb_gnb"] > 1
- "{{ ipv4('gnbl2', 'dataplane') }}/32"
#~ endif
#~ endif
srgw-gtp4: "{{ ipv4('srgw0', 'srgw0') }}"
segments-list:
- "{{ ipv6_prefix('end-m-gtp4-e', 'srgw0') }}"
#~ endif
#~ if config["topology"]["nb_edges"] > 2
- control-uri: "http://[{{ ipv6('r2', 'control') }}]:8080"
enabled: true
area:
- "{{ ipv4('gnbl3', 'dataplane') }}/32"
srgw-gtp4: "{{ ipv4('srgw1', 'srgw1') }}"
segments-list:
- "{{ ipv6_prefix('end-m-gtp4-e', 'srgw1') }}"
Expand Down

0 comments on commit 6e92bad

Please sign in to comment.