Skip to content

Commit 137466a

Browse files
authored
Merge pull request #18 from sureshmarikkannu/cniPlugin
Moved cniPlugin parameter under access/core sections
2 parents 4f9567e + 29e1973 commit 137466a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

roles/core/templates/sdcore-5g-sriov-values.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,19 +315,21 @@ omec-user-plane:
315315
enabled: true # SRIOV is enabled
316316
hugepage:
317317
enabled: true # Should be enabled if DPDK is enabled
318-
cniPlugin: vfioveth # Can be any other plugin. Dictates how IP address are assigned
319-
ipam: static
320318
routes:
321319
- to: {{ ansible_default_ipv4.address }}
322320
via: 169.254.1.1
323321
enb:
324322
subnet: {{ ran_subnet }} # Subnet for the gNB network
325323
access:
324+
ipam: static
325+
cniPlugin: vfioveth # Can be any other plugin. Dictates how IP address are assigned
326326
iface: {{ core.data_iface }}
327327
resourceName: "intel.com/intel_sriov_vfio_access"
328328
gateway: 192.168.252.1
329329
ip: 192.168.252.3/24
330330
core:
331+
ipam: static
332+
cniPlugin: vfioveth # Can be any other plugin. Dictates how IP address are assigned
331333
iface: {{ core.data_iface }}
332334
resourceName: "intel.com/intel_sriov_vfio_core"
333335
gateway: 192.168.250.1

roles/core/templates/sdcore-5g-values.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,18 +314,20 @@ omec-user-plane:
314314
enabled: false # SRIOV is disabled by default
315315
hugepage:
316316
enabled: false # Should be enabled if DPDK is enabled
317-
cniPlugin: macvlan # Can be any other plugin. Dictates how IP address are assigned
318-
ipam: static
319317
routes:
320318
- to: {{ ansible_default_ipv4.address }}
321319
via: 169.254.1.1
322320
enb:
323321
subnet: {{ ran_subnet }} # Subnet for the gNB network
324322
access:
323+
ipam: static
324+
cniPlugin: macvlan # Can be any other plugin. Dictates how IP address are assigned
325325
iface: {{ core.data_iface }}
326326
gateway: 192.168.252.1
327327
ip: 192.168.252.3/24
328328
core:
329+
ipam: static
330+
cniPlugin: macvlan # Can be any other plugin. Dictates how IP address are assigned
329331
iface: {{ core.data_iface }}
330332
gateway: 192.168.250.1
331333
ip: 192.168.250.3/24

0 commit comments

Comments
 (0)