{"action":"created","issue":{"url":"https://api.github.com/repos/digitalocean/netbox/issues/450","repository_url":"https://api.github.com/repos/digitalocean/netbox","labels_url":"https://api.github.com/repos/digitalocean/netbox/issues/450/labels{/name}","comments_url":"https://api.github.com/repos/digitalocean/netbox/issues/450/comments","events_url":"https://api.github.com/repos/digitalocean/netbox/issues/450/events","html_url":"https://github.com/digitalocean/netbox/issues/450","id":170456257,"number":450,"title":"Extend rack model to define outer width and depth","user":{"login":"jeremystretch","id":13487278,"avatar_url":"https://avatars.githubusercontent.com/u/13487278?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremystretch","html_url":"https://github.com/jeremystretch","followers_url":"https://api.github.com/users/jeremystretch/followers","following_url":"https://api.github.com/users/jeremystretch/following{/other_user}","gists_url":"https://api.github.com/users/jeremystretch/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremystretch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremystretch/subscriptions","organizations_url":"https://api.github.com/users/jeremystretch/orgs","repos_url":"https://api.github.com/users/jeremystretch/repos","events_url":"https://api.github.com/users/jeremystretch/events{/privacy}","received_events_url":"https://api.github.com/users/jeremystretch/received_events","type":"User","site_admin":false},"labels":[{"id":401970314,"url":"https://api.github.com/repos/digitalocean/netbox/labels/enhancement","name":"enhancement","color":"1d76db","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-10T16:09:04Z","updated_at":"2016-12-21T15:22:23Z","closed_at":null,"body":"This was spun off from #180, which introduced rack type and rail-to-rail width.\n\nRack/cabinet width and depth is defined in either millimeters or inches, depending on the manufacturer. We have three options for handling this.\n### Option A: Store dimensions in millimeters only\n\nWe could simply store a 24\" wide cabinet as 610mm, and a 30\" wide cabinet as 762mm, for example. This would require displaying both metric and imperial units to the user.\n### Option B: Store the unit along with the dimensions\n\nThis would entail adding three fields to the Rack model:\n- outer_width\n- outer_depth\n- outer_unit\n### Option C: Define a list of standard widths and depths\n\nThis option forces the user to select from a static list of common rack widths and depths. For example, the list of rack widths might look like this:\n- Metric\n  - 600mm\n  - 750mm\n  - 800mm\n- Imperial\n  - 24\"\n  - 30\"\n\nObviously, it would be impractical to include _all_ possible values, but this might be an acceptable solution if users are satisfied with choosing the options nearest to the actual dimensions.\n"},"comment":{"url":"https://api.github.com/repos/digitalocean/netbox/issues/comments/268548962","html_url":"https://github.com/digitalocean/netbox/issues/450#issuecomment-268548962","issue_url":"https://api.github.com/repos/digitalocean/netbox/issues/450","id":268548962,"user":{"login":"jeremystretch","id":13487278,"avatar_url":"https://avatars.githubusercontent.com/u/13487278?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremystretch","html_url":"https://github.com/jeremystretch","followers_url":"https://api.github.com/users/jeremystretch/followers","following_url":"https://api.github.com/users/jeremystretch/following{/other_user}","gists_url":"https://api.github.com/users/jeremystretch/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremystretch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremystretch/subscriptions","organizations_url":"https://api.github.com/users/jeremystretch/orgs","repos_url":"https://api.github.com/users/jeremystretch/repos","events_url":"https://api.github.com/users/jeremystretch/events{/privacy}","received_events_url":"https://api.github.com/users/jeremystretch/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T15:22:23Z","updated_at":"2016-12-21T15:22:23Z","body":"@trikinov Never seen that before. What would you use it for?"}}
{"actor":{"display_login":"jeremystretch"}}