COMAC-168,COMAC-171 [omec-dp] Change sriov configs and enable nodePort
- Change sriov configs to help user configure more easily
- Enable nodePort for CP-DP communication when CP and DP are deployed in
separate clusters, diabled by default
Change-Id: I0e2520d66f2240a2888673d930487dcf112861a0
diff --git a/omec/omec-data-plane/values.yaml b/omec/omec-data-plane/values.yaml
index 60a454b..3738e9f 100644
--- a/omec/omec-data-plane/values.yaml
+++ b/omec/omec-data-plane/values.yaml
@@ -41,23 +41,24 @@
config:
sriov:
enabled: true
+ # Provide interface used as a SR-IOV PF
+ # If your cluster has multiple nodes with different interface names,
+ # simply provide the whole list
resourceList:
- - resourceName: sriov_vfio
- selectors:
- pfNames:
- - eno1
- drivers:
- - vfio-pci
- - resourceName: sriov_netdevice
- selectors:
- pfNames:
- - eno1
- drivers:
- - ixgbevf
+ # Provide PF name with its VFs are bounded to vfio-pci driver
+ vfio:
+ pfNames:
+ - eno1
+ # Provide PF name with its VFs bounded to PF's driver
+ # The driver name must be specified to prevent one interface is
+ # registered to both vfio and netdevice resource pools
+ # NOTE: netDevice is required to use CDN service
+ #netDevice:
+ # pfNames:
+ # - eno2
+ # drivers:
+ # - ixgbevf
spgwu:
- spgwc:
- addr: spgwc
- port: 21
# Provide the S1U and SGI networks facing device name and IP address
s1u:
device: s1u-net
@@ -65,6 +66,17 @@
sgi:
device: sgi-net
ip: 13.1.1.3/24
+ cpComm:
+ # IMPORTANT: when you deploy CP and DP to separate clusters, enable nodePort
+ # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and
+ # set "addr" to remote cluster's entry node IP and
+ # "port" to cpComm.nodePort.port value configured in omec-control-plane.
+ addr: spgwc
+ port: 21
+ dpComm:
+ nodePort:
+ enabled: false
+ port: 30020
# Set "--no-pci --vdev eth_af_packet0,iface=s1u-net --vdev eth_af_packet1,iface=sgi-net"
# when sriov is disabled
devices: ""