commit | 3569d62d4db3e24653ca733cbd05479d67b4d4e0 | [log] [tgz] |
---|---|---|
author | David K. Bainbridge <dbainbri@ciena.com> | Fri Sep 16 08:40:54 2016 -0700 |
committer | David K. Bainbridge <dbainbri@ciena.com> | Fri Sep 16 09:38:27 2016 -0700 |
tree | 6522ada46f17a1d18e398adac26689b92cf8fa39 | |
parent | d4a63e0cda424afcbc70ea15e0bb47c04956ec3a [diff] [blame] |
CORD-270 CORD-444 added REST API to get list of switches and addded switches to MAAS Change-Id: I0f1778b835fed947e19ace4ecff4900d72b405b6
diff --git a/switchq/address.go b/switchq/address.go index 8354f59..081afe8 100644 --- a/switchq/address.go +++ b/switchq/address.go
@@ -36,9 +36,9 @@ } type AddressRec struct { - Name string - IP string - MAC string + Name string `json:"name"` + IP string `json:"ip"` + MAC string `json:"mac"` } type AddressSource interface {