You must integrate the Sidecar with the DU Pod to push the PTP notifications to the DU application.
Download and install the Sidecar image from VMware Artifacts Repository.
Modify the helm charts for the pod.
Run the sidecar container by specifying the following in the values.yaml file of the DU pod helm charts:
sidecarContainers: - name: sidecar image: vmwaresaas.jfrog.io/registry/ptp-ocloud-notifications-sidecar:5.0.0 imagePullPolicy: Always command: ["python3"] args: ["run-ptpclientfunction.py"] tty: true # Do not modify the -name fields (THIS_NODE_NAME, TRANSPORT_USER, TRANSPORT_PASS, TRANSPORT_PORT) env: - name: THIS_NODE_NAME valueFrom: fieldRef: fieldPath: spec.nodeName - name: TRANSPORT_USER value: "admin" - name: TRANSPORT_PASS value: "admin" - name: TRANSPORT_PORT value: "5672" volumeMounts: - name: sidecardatastore mountPath: /opt/datastore readOnly: false sidecarVolumes: - name: sidecardatastore hostPath: path: /home/capv type: Directory
Note:
During the multi-DU deployment, ensure that each DU has a dedicated database for the sidecar associated with CNFs. For example, if two CNFs (one for 5G-DU and another for 4G-DU) are in the same NodePool, provide two separate directories for the sidecars in the host path.
Sidecar for 5G-DU:
sidecarContainers: - name: sidecar image: sebu-tcp-ran-docker-local.artifactory.eng.vmware.com/ptp-ocloud-notifications-sidecar:5.0.0 imagePullPolicy: IfNotPresent command: ["python3"] args: ["run-ptpclientfunction.py"] tty: true # Do not modify the -name fields (THIS_NODE_NAME, TRANSPORT_USER, TRANSPORT_PASS, TRANSPORT_PORT) env: - name: THIS_NODE_NAME valueFrom: fieldRef: fieldPath: spec.nodeName - name: TRANSPORT_USER value: "admin" - name: TRANSPORT_PASS value: "admin" - name: TRANSPORT_PORT value: "5672" - name: PORT value: "8080" volumeMounts: - name: sidecardatastore mountPath: /opt/datastore readOnly: false sidecarVolumes: - name: sidecardatastore hostPath: path: /home/capv/5G/ type: DirectoryOrCreate
Sidecar for 4G-DU:
sidecarContainers: - name: sidecar image: sebu-tcp-ran-docker-local.artifactory.eng.vmware.com/ptp-ocloud-notifications-sidecar:5.0.0 imagePullPolicy: IfNotPresent command: ["python3"] args: ["run-ptpclientfunction.py"] tty: true # Do not modify the -name fields (THIS_NODE_NAME, TRANSPORT_USER, TRANSPORT_PASS, TRANSPORT_PORT) env: - name: THIS_NODE_NAME valueFrom: fieldRef: fieldPath: spec.nodeName - name: TRANSPORT_USER value: "admin" - name: TRANSPORT_PASS value: "admin" - name: TRANSPORT_PORT value: "5672" - name: PORT value: "8080" volumeMounts: - name: sidecardatastore mountPath: /opt/datastore readOnly: false sidecarVolumes: - name: sidecardatastore hostPath: path: /home/capv/4G/ type: DirectoryOrCreate