gunjan5 | 6e19d27 | 2016-07-07 14:23:26 -0700 | [diff] [blame] | 1 | { |
2 | "devices" : { | ||||
3 | {{ range . }} | ||||
4 | "{{ .Id}}" : { | ||||
5 | "segmentrouting" : { | ||||
6 | "name" : "device-{{ .ChassisId }}", | ||||
7 | "nodeSid" : 1{{ .ChassisId }}, | ||||
8 | "routerIp" : "{{ .Annotations.ManagementAddress }}", | ||||
9 | "routerMac" : "cc:37:ab:cc:ef:{{ .ChassisId }}", | ||||
10 | "isEdgeRouter" : true, | ||||
11 | "adjacencySids" : [] | ||||
12 | } | ||||
13 | }{{ .Comma }}{{ end }} | ||||
14 | }, | ||||
15 |