Add support of macvlan CNI for bess-upf

Change-Id: Id5426855060d0d94d06656ce9df1c51e2a4b50ae
diff --git a/omec/omec-user-plane/templates/networks.yaml b/omec/omec-user-plane/templates/networks.yaml
index a448a20..500ab13 100644
--- a/omec/omec-user-plane/templates/networks.yaml
+++ b/omec/omec-user-plane/templates/networks.yaml
@@ -20,6 +20,9 @@
     "vlan": {{ .Values.config.upf.access.vlan }},
   {{- end }}
     "type": {{ .Values.config.upf.cniPlugin | quote }},
+  {{- if eq .Values.config.upf.cniPlugin "macvlan" }}
+    "master": {{ .Values.config.upf.access.iface | quote }},
+  {{- end }}
     "ipam": {
         "type": {{ .Values.config.upf.ipam | quote }}
     },
@@ -41,6 +44,9 @@
     "vlan": {{ .Values.config.upf.core.vlan }},
   {{- end }}
     "type": {{ .Values.config.upf.cniPlugin | quote }},
+  {{- if eq .Values.config.upf.cniPlugin "macvlan" }}
+    "master": {{ .Values.config.upf.core.iface | quote }},
+  {{- end }}
     "ipam": {
         "type": {{ .Values.config.upf.ipam | quote }}
     },