Skip to content

Commit 1c31172

Browse files
sureshmarikkannullpeterson
authored andcommitted
Renamed variable to multihop_gnb
Signed-off-by: Marikkannu, Suresh <[email protected]>
1 parent 99a7d42 commit 1c31172

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

roles/router/tasks/install.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@
4646
template:
4747
src: roles/router/templates/systemd/10-aether-access.netdev
4848
dest: "{{ systemd_network_dir }}/10-aether-access.netdev"
49-
when: inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
49+
when: inventory_hostname in groups['master_nodes'] and core.upf.multihop_gnb == false
5050
become: true
5151

5252
- name: copy 20-aether-access.network to {{ systemd_network_dir }}/20-aether-access.network
5353
template:
5454
src: roles/router/templates/systemd/20-aether-access.network
5555
dest: "{{ systemd_network_dir }}/20-aether-access.network"
56-
when: inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
56+
when: inventory_hostname in groups['master_nodes'] and core.upf.multihop_gnb == false
5757
become: true
5858

5959
- name: copy 10-aether-core.netdev to {{ systemd_network_dir }}/10-aether-core.netdev
@@ -135,7 +135,7 @@
135135
in_interface: "{{ core.data_iface }}"
136136
out_interface: access
137137
jump: ACCEPT
138-
when: inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
138+
when: inventory_hostname in groups['master_nodes'] and core.upf.multihop_gnb == false
139139
become: true
140140

141141
- name: "add iptable rule: forward from access to {{ core.data_iface }}"
@@ -144,7 +144,7 @@
144144
in_interface: access
145145
out_interface: "{{ core.data_iface }}"
146146
jump: ACCEPT
147-
when: inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
147+
when: inventory_hostname in groups['master_nodes'] and core.upf.multihop_gnb == false
148148
become: true
149149

150150
- name: "add iptable rule: forward from {{ core.data_iface }} to core"

roles/router/tasks/uninstall.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
out_interface: access
1414
jump: ACCEPT
1515
state: absent
16-
when: inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
16+
when: inventory_hostname in groups['master_nodes'] and core.upf.multihop_gnb == false
1717
become: true
1818
ignore_errors: yes
1919

@@ -24,7 +24,7 @@
2424
out_interface: "{{ core.data_iface }}"
2525
jump: ACCEPT
2626
state: absent
27-
when: inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
27+
when: inventory_hostname in groups['master_nodes'] and core.upf.multihop_gnb == false
2828
become: true
2929
ignore_errors: yes
3030

@@ -93,15 +93,15 @@
9393
file:
9494
path: "{{ systemd_network_dir }}/20-aether-access.network"
9595
state: absent
96-
when: inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
96+
when: inventory_hostname in groups['master_nodes'] and core.upf.multihop_gnb == false
9797
become: true
9898
ignore_errors: yes
9999

100100
- name: delete {{ systemd_network_dir }}/10-aether-access.netdev
101101
file:
102102
path: "{{ systemd_network_dir }}/10-aether-access.netdev"
103103
state: absent
104-
when: inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
104+
when: inventory_hostname in groups['master_nodes'] and core.upf.multihop_gnb == false
105105
become: true
106106
ignore_errors: yes
107107

vars/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ core:
1313
access_subnet: "192.168.252.1/24" # access subnet & gateway
1414
core_subnet: "192.168.250.1/24" # core subnet & gateway
1515
mode: af_packet # Options: af_packet or dpdk
16-
non_isol_N3_nw: false # when set to true, access subnet will be same as data_iface
16+
multihop_gnb: false # when set to true, access subnet will be same as data_iface
1717
default_upf:
1818
ip:
19-
access: "192.168.252.3" # when non_isol_N3_nw set to true, make sure to assign IP from same subnet of data_iface
19+
access: "192.168.252.3" # when multihop_gnb set to true, make sure to assign IP from same subnet of data_iface
2020
core: "192.168.250.3"
2121
ue_ip_pool: "172.250.0.0/16"
2222

0 commit comments

Comments
 (0)