File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 46
46
template :
47
47
src : roles/router/templates/systemd/10-aether-access.netdev
48
48
dest : " {{ systemd_network_dir }}/10-aether-access.netdev"
49
- when : inventory_hostname in groups['master_nodes'] and core.upf.multihop == false
49
+ when : inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
50
50
become : true
51
51
52
52
- name : copy 20-aether-access.network to {{ systemd_network_dir }}/20-aether-access.network
53
53
template :
54
54
src : roles/router/templates/systemd/20-aether-access.network
55
55
dest : " {{ systemd_network_dir }}/20-aether-access.network"
56
- when : inventory_hostname in groups['master_nodes'] and core.upf.multihop == false
56
+ when : inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
57
57
become : true
58
58
59
59
- name : copy 10-aether-core.netdev to {{ systemd_network_dir }}/10-aether-core.netdev
135
135
in_interface : " {{ core.data_iface }}"
136
136
out_interface : access
137
137
jump : ACCEPT
138
- when : inventory_hostname in groups['master_nodes'] and core.upf.multihop == false
138
+ when : inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
139
139
become : true
140
140
141
141
- name : " add iptable rule: forward from access to {{ core.data_iface }}"
144
144
in_interface : access
145
145
out_interface : " {{ core.data_iface }}"
146
146
jump : ACCEPT
147
- when : inventory_hostname in groups['master_nodes'] and core.upf.multihop == false
147
+ when : inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
148
148
become : true
149
149
150
150
- name : " add iptable rule: forward from {{ core.data_iface }} to core"
Original file line number Diff line number Diff line change 13
13
out_interface : access
14
14
jump : ACCEPT
15
15
state : absent
16
- when : inventory_hostname in groups['master_nodes'] and core.upf.multihop == false
16
+ when : inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
17
17
become : true
18
18
ignore_errors : yes
19
19
24
24
out_interface : " {{ core.data_iface }}"
25
25
jump : ACCEPT
26
26
state : absent
27
- when : inventory_hostname in groups['master_nodes'] and core.upf.multihop == false
27
+ when : inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
28
28
become : true
29
29
ignore_errors : yes
30
30
93
93
file :
94
94
path : " {{ systemd_network_dir }}/20-aether-access.network"
95
95
state : absent
96
- when : inventory_hostname in groups['master_nodes'] and core.upf.multihop == false
96
+ when : inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
97
97
become : true
98
98
ignore_errors : yes
99
99
100
100
- name : delete {{ systemd_network_dir }}/10-aether-access.netdev
101
101
file :
102
102
path : " {{ systemd_network_dir }}/10-aether-access.netdev"
103
103
state : absent
104
- when : inventory_hostname in groups['master_nodes'] and core.upf.multihop == false
104
+ when : inventory_hostname in groups['master_nodes'] and core.upf.non_isol_N3_nw == false
105
105
become : true
106
106
ignore_errors : yes
107
107
Original file line number Diff line number Diff line change 13
13
access_subnet : " 192.168.252.1/24" # access subnet & gateway
14
14
core_subnet : " 192.168.250.1/24" # core subnet & gateway
15
15
mode : af_packet # Options: af_packet or dpdk
16
- multihop : false
16
+ non_isol_N3_nw : false
17
17
default_upf :
18
18
ip :
19
19
access : " 192.168.252.3"
You can’t perform that action at this time.
0 commit comments