bug fixes

Change-Id: Ie29671901d49038dc1ae1915cddef21d2b6479fc
(cherry picked from commit 0e64b59b2e1cc82e72f853bcbc94987de23a9ea7)
diff --git a/config-generator/devices.tpl b/config-generator/devices.tpl
index 2bb0e27..66ef4d9 100644
--- a/config-generator/devices.tpl
+++ b/config-generator/devices.tpl
@@ -1,12 +1,12 @@
 {
  "devices" : {
-{{ range . }}
+{{ range $index, $element := . }}
     "{{ .Id}}" : {
             "segmentrouting" : {
                 "name" : "device-{{ .ChassisId }}",
-                "nodeSid" : 1{{ .ChassisId }},
+                "nodeSid" : 10{{ $index }},
                 "routerIp" : "{{ .Annotations.ManagementAddress }}",
-                "routerMac" : "cc:37:ab:cc:ef:{{ .ChassisId }}",
+                "routerMac" : "cc:37:ab:00:00:0{{ $index }}",
                 "isEdgeRouter" : true,
                 "adjacencySids" : []
             }