Add static_arp config for sriov diabled mode

Also change network configs from list to dict to make it easier to override.

Change-Id: I03f193ab7fdaa91ac8e35f4e2d8d2a5a9f17baa0
diff --git a/mcord-release/mcord-services/templates/configmap-spgwu.yaml b/mcord-release/mcord-services/templates/configmap-spgwu.yaml
index 895bf6c..a984e23 100644
--- a/mcord-release/mcord-services/templates/configmap-spgwu.yaml
+++ b/mcord-release/mcord-services/templates/configmap-spgwu.yaml
@@ -46,6 +46,15 @@
     cp_comm_ip = CP_ADDR
     cp_comm_port = 21
 {{- if not .Values.network.sriov.enabled }}
+  static_arp.cfg: |
+    [sgi]
+{{- range .Values.network.sgi.static_arp }}
+    {{ .ip }}   = {{ .mac }}
+{{- end }}
+    [s1u]
+{{- range .Values.network.s1u.static_arp }}
+    {{ .ip }}   = {{ .mac }}
+{{- end }}
   setup-af-iface.sh: |
 {{ tuple "bin/_spgwu-setup-af-iface.sh.tpl" . | include "mcord-services.template" | indent 4 }}
 {{- end }}