File tree Expand file tree Collapse file tree 5 files changed +15
-13
lines changed Expand file tree Collapse file tree 5 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 28
28
when : inventory_hostname in groups['master_nodes']
29
29
30
30
- debug :
31
- var : hostvars[inventory_hostname]
31
+ var : ran_subnet
32
32
when : inventory_hostname in groups['master_nodes']
33
33
34
34
- name : remove /tmp/sdcore-5g-values.yaml
Original file line number Diff line number Diff line change @@ -218,14 +218,14 @@ omec-user-plane:
218
218
ipam : static
219
219
cniPlugin : macvlan # Can be any other plugin. Dictates how IP address are assigned
220
220
iface : {{ core.data_iface }}
221
- gateway : {{ core.upf.access_subnet[:-3] }}
222
- ip : {{ core.upf.access_subnet }}
221
+ gateway : {{ access_gw }}
222
+ ip : {{ access_ip }}
223
223
core :
224
224
ipam : static
225
225
cniPlugin : macvlan # Can be any other plugin. Dictates how IP address are assigned
226
226
iface : {{ core.data_iface }}
227
- gateway : {{ core.upf.core_subnet[:-3] }}
228
- ip : {{ core.upf.core_subnet }}
227
+ gateway : {{ core_gw }}
228
+ ip : {{ core_ip }}
229
229
cfgFiles :
230
230
upf.jsonc :
231
231
mode : af_packet # This mode implies no DPDK
Original file line number Diff line number Diff line change @@ -325,15 +325,15 @@ omec-user-plane:
325
325
cniPlugin : vfioveth # Can be any other plugin. Dictates how IP address are assigned
326
326
iface : {{ core.data_iface }}
327
327
resourceName : " intel.com/intel_sriov_vfio_access"
328
- gateway : {{ core.upf.access_subnet[:-3] }}
329
- ip : {{ core.upf.access_subnet }}
328
+ gateway : {{ access_gw }}
329
+ ip : {{ access_ip }}
330
330
core :
331
331
ipam : static
332
332
cniPlugin : vfioveth # Can be any other plugin. Dictates how IP address are assigned
333
333
iface : {{ core.data_iface }}
334
334
resourceName : " intel.com/intel_sriov_vfio_core"
335
- gateway : {{ core.upf.core_subnet[:-3] }}
336
- ip : {{ core.upf.core_subnet }}
335
+ gateway : {{ core_gw }}
336
+ ip : {{ core_ip }}
337
337
cfgFiles :
338
338
upf.jsonc :
339
339
mode : dpdk
Original file line number Diff line number Diff line change 23
23
dest : /tmp/upf-{{ item.key }}.yaml
24
24
vars :
25
25
ran_subnet : " {{ran_subnet}}"
26
- upf_access_ip : " {{ item.value.ip.access }}"
27
- upf_core_ip : " {{ item.value.ip.core }}"
26
+ access_gw : " {{ core.upf.access_subnet[:-3] }}"
27
+ core_gw : " {{ core.upf.core_subnet[:-3] }}"
28
+ upf_access_ip : " {{ item.value.ip.access + '/24' }}"
29
+ upf_core_ip : " {{ item.vaule.ip.core + '/24' }}"
28
30
upf_ue_ip_pool : " {{ item.value.ue_ip_pool }}"
29
31
with_dict : " {{ core.upf.additional_upfs}}"
30
32
when : inventory_hostname in groups['master_nodes']
Original file line number Diff line number Diff line change @@ -31,13 +31,13 @@ config:
31
31
ipam : static
32
32
cniPlugin : macvlan # Can be any other plugin. Dictates how IP address are assigned
33
33
iface : {{ core.data_iface }}
34
- gateway : {{ core.upf.access_subnet[:-3] }}
34
+ gateway : {{ access_gw }}
35
35
ip : {{ upf_access_ip }}
36
36
core :
37
37
ipam : static
38
38
cniPlugin : macvlan # Can be any other plugin. Dictates how IP address are assigned
39
39
iface : {{ core.data_iface }}
40
- gateway : {{ core.upf.core_subnet[:-3] }}
40
+ gateway : {{ core_gw }}
41
41
ip : {{ upf_core_ip }}
42
42
cfgFiles :
43
43
upf.jsonc :
You can’t perform that action at this time.
0 commit comments