{"action":"closed","issue":{"url":"https://api.github.com/repos/CCI-MOC/haas/issues/472","labels_url":"https://api.github.com/repos/CCI-MOC/haas/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/CCI-MOC/haas/issues/472/comments","events_url":"https://api.github.com/repos/CCI-MOC/haas/issues/472/events","html_url":"https://github.com/CCI-MOC/haas/issues/472","id":98946076,"number":472,"title":"Show_switch","user":{"login":"henn","id":1813729,"avatar_url":"https://avatars.githubusercontent.com/u/1813729?v=3","gravatar_id":"","url":"https://api.github.com/users/henn","html_url":"https://github.com/henn","followers_url":"https://api.github.com/users/henn/followers","following_url":"https://api.github.com/users/henn/following{/other_user}","gists_url":"https://api.github.com/users/henn/gists{/gist_id}","starred_url":"https://api.github.com/users/henn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henn/subscriptions","organizations_url":"https://api.github.com/users/henn/orgs","repos_url":"https://api.github.com/users/henn/repos","events_url":"https://api.github.com/users/henn/events{/privacy}","received_events_url":"https://api.github.com/users/henn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CCI-MOC/haas/labels/discuss","name":"discuss","color":"e6e6e6"},{"url":"https://api.github.com/repos/CCI-MOC/haas/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-04T11:25:53Z","updated_at":"2015-08-04T22:17:04Z","closed_at":"2015-08-04T22:17:04Z","body":"Now that #455 has introduced dynamically-managed switches, we need a way to show information about them.\r\n\r\nUseful info I can think of in `GET /switch/<switch>` would be:\r\n* The switch type\r\n* Every port on the switch, the NIC+Node it is connected to, and the output of `show_nic`. This could be helpful in debugging connectivity problems.\r\n\r\nUseful info for `GET /switch` would be a list of every switch HaaS knows about (optionally recursively showing info)."}}