Add dbuf and pfcp agent

Change-Id: Iefcdbf1e2f32e0e97ec17abab85941615ba5bac6
diff --git a/sdfabric/Chart.yaml b/sdfabric/Chart.yaml
index 0c7d0c1..1647a9c 100644
--- a/sdfabric/Chart.yaml
+++ b/sdfabric/Chart.yaml
@@ -7,7 +7,7 @@
 description: A chart to deploy all SD-Fabric components
 kubeVersion: ">=1.18.0"
 type: application
-version: 1.0.0
+version: 1.0.1
 keywords:
   - aether
   - sdn
@@ -23,3 +23,11 @@
   - name: stratum
     repository: https://charts.stratumproject.org/
     version: 0.1.13
+  - name: pfcp-agent
+    repository: file://../pfcp-agent
+    version: 0.0.1
+    condition: import.pfcp-agent.enabled
+  - name: dbuf
+    repository: file://../dbuf
+    version: 0.0.1
+    condition: import.dbuf.enabled
diff --git a/sdfabric/README.md b/sdfabric/README.md
index a7398d7..ea558e9 100644
--- a/sdfabric/README.md
+++ b/sdfabric/README.md
@@ -15,19 +15,39 @@
 
 | Name | Description |
 |------|-------------|
-| .Values.image.credential.secretName | Name for the Kubernetes secret to store the credential |
-| .Values.image.credential.registry | The container registry |
-| .Values.image.credential.username | The username to login the container registry |
-| .Values.image.credential.password | The password to login the container registry |
-| .Values.onos-classic | See <https://github.com/onosproject/onos-helm-charts/tree/master/onos-classic> |
-| .Values.stratum | See <https://github.com/stratum/stratum-helm-charts/tree/master/stratum> |
+| import.pfcp-agent.enabled | Enable PFCP agent |
+| import.dbuf.enabled | Enable DBuf |
+| image.credential.secretName | Name for the Kubernetes secret to store the credential |
+| image.credential.registry | The container registry |
+| image.credential.username | The username to login the container registry |
+| image.credential.password | The password to login the container registry |
+| onos-classic | See <https://github.com/onosproject/onos-helm-charts/tree/master/onos-classic> |
+| stratum | See <https://github.com/stratum/stratum-helm-charts/tree/master/stratum> |
+| pfcp-agent | See [values.yaml](../pfcp-agent/values.yaml) file of the PFCP agent chart |
+| dbuf | See [values.yaml](../dbuf/values.yaml) file of the DBuf chart |
 
 ## Installation
 
-Modify values.yaml according to the explanations above, then run the following command:
+Here are steps to deploy the sdfabric helm chart:
+
+1. Modify `values.yaml` according to the explanations above
+2. Use the following command to create a namespace `sdfabric`, :
+
+    ```bash
+    kubectl create namespace sdfabric
+    ```
+
+3. Use the helm command to deploy the chart:
+
+    ```bash
+    helm upgrade --install -n sdfabric -f my-values.yaml sdfabric .
+    ```
+
+This command will deploy the SD-Fabric helm chart with release name `sdfabric` in the `sdfabric` namesapce.
+
+To uninstall the helm chart, simply use:
 
 ```bash
-helm upgrade --install -f my-values.yaml sdfabric .
+helm -n sdfabric uninstall sdfabric
+kubectl delete namespace sdfabric # also remove the sdfabric if needed
 ```
-
-This command will deploy the SD-Fabric helm chart with release name `sdfabric` in the current context.
diff --git a/sdfabric/values.yaml b/sdfabric/values.yaml
index 74ba821..c44a1a5 100644
--- a/sdfabric/values.yaml
+++ b/sdfabric/values.yaml
@@ -9,6 +9,12 @@
     username: changeit
     password: changeit
 
+import:
+  pfcp-agent:
+    enabled: false
+  dbuf:
+    enabled: false
+
 onos-classic:
   image:
     repository: registry.aetherproject.org/tost/tost
@@ -90,8 +96,6 @@
     repository: stratumproject/stratum-bfrt
     tag: 21.09.24-9.5.0
     pullPolicy: IfNotPresent
-    pullSecrets:
-      - *image-secret-name
 
   annotations:
     fluentbit.io/parser: stratum
@@ -108,3 +112,98 @@
   #     value: switch
   #     effect: NoSchedule
   config: false
+
+pfcp-agent:
+  images:
+    tags:
+      init: registry.aetherproject.org/tools/busybox:stable
+      pfcpiface: "registry.aetherproject.org/proxy/omecproject/upf-epc-pfcpiface:master-fcdbc95"
+    pullPolicy: Always
+    pullSecrets:
+      - *image-secret-name
+  nodeSelectors:
+    enabled: false
+    pfcp:
+      label: omec-upf
+      value: enabled
+  resources:
+    enabled: true
+    pfcpiface:
+      requests:
+        cpu: 256m
+        memory: 128Mi
+      limits:
+        cpu: 256m
+        memory: 128Mi
+  config:
+    coreDump:
+      enabled: false
+      path: /tmp/coredump
+    pfcp:
+      cfgFiles:
+        upf.json:
+          measure: true
+          enable_p4rt: true
+          p4rtciface:
+            access_ip: "172.17.0.1/32"
+            p4rtc_server: "sdfabric-onos-classic-hs.sdfabric"
+            p4rtc_port: "51001"
+  service:
+    type: ClusterIP
+    #externalIp:
+    #annotations:
+
+dbuf:
+  image:
+    repository: registry.aetherproject.org/tost/dbuf
+    pullPolicy: Always
+    tag: "latest"
+    pullSecrets:
+      - *image-secret-name
+  extraParams:
+    - '"-max_queues=1024"'
+  replicaCount: 1
+  sriovNICSize: 1
+  sriovResourceName: intel_sriov_netdevice
+  # Change both in the same time
+  multusNetworkName: dbuf-sriov
+  podAnnotations:
+    k8s.v1.cni.cncf.io/networks: dbuf-sriov@net0
+  podSecurityContext: {}
+  resources:
+    requests:
+      intel.com/intel_sriov_netdevice: "1"
+    limits:
+      intel.com/intel_sriov_netdevice: "1"
+  nodeSelector: {}
+  tolerations: []
+  affinity: {}
+  # onos inforamtion
+  onos:
+    server: sdfabric-onos-classic-hs.sdfabric
+    port: 8181
+    username: onos
+    password: rocks
+  dataplane:
+    port: 2152
+    interface: "net0"
+  prometheus_enable: true
+  service:
+    stats:
+      port: 8080
+      protocol: TCP
+    grpc:
+      port: 10000
+      protocol: TCP
+  # two options for ipam, dhcp or host-local
+  # static is for host-local ipam
+  network:
+    #  ipam: dhcp
+    ipam: host-local
+    static:
+      subnets: "10.56.217.0/24"
+      gateway: "10.56.217.1"
+    # route the following subnets via sr-iov interface
+    # route: 10.56.215.0/24,10.56.214.0/24
+    route: ""
+    #vlan:
\ No newline at end of file