{"action":"created","issue":{"url":"https://api.github.com/repos/juju/gomaasapi/issues/38","repository_url":"https://api.github.com/repos/juju/gomaasapi","labels_url":"https://api.github.com/repos/juju/gomaasapi/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/juju/gomaasapi/issues/38/comments","events_url":"https://api.github.com/repos/juju/gomaasapi/issues/38/events","html_url":"https://github.com/juju/gomaasapi/pull/38","id":148218354,"number":38,"title":"Create device for machine","user":{"login":"howbazaar","id":1744247,"avatar_url":"https://avatars.githubusercontent.com/u/1744247?v=3","gravatar_id":"","url":"https://api.github.com/users/howbazaar","html_url":"https://github.com/howbazaar","followers_url":"https://api.github.com/users/howbazaar/followers","following_url":"https://api.github.com/users/howbazaar/following{/other_user}","gists_url":"https://api.github.com/users/howbazaar/gists{/gist_id}","starred_url":"https://api.github.com/users/howbazaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howbazaar/subscriptions","organizations_url":"https://api.github.com/users/howbazaar/orgs","repos_url":"https://api.github.com/users/howbazaar/repos","events_url":"https://api.github.com/users/howbazaar/events{/privacy}","received_events_url":"https://api.github.com/users/howbazaar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-14T00:30:58Z","updated_at":"2016-04-14T23:21:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juju/gomaasapi/pulls/38","html_url":"https://github.com/juju/gomaasapi/pull/38","diff_url":"https://github.com/juju/gomaasapi/pull/38.diff","patch_url":"https://github.com/juju/gomaasapi/pull/38.patch"},"body":"One method to create the device with the machine set as the parent, update the interface to match the interface name and vlan of the subnet, then link the interface to the subnet.\r\n\r\nAll things that we need to do for each container Juju tries to use on a machine."},"comment":{"url":"https://api.github.com/repos/juju/gomaasapi/issues/comments/210200674","html_url":"https://github.com/juju/gomaasapi/pull/38#issuecomment-210200674","issue_url":"https://api.github.com/repos/juju/gomaasapi/issues/38","id":210200674,"user":{"login":"howbazaar","id":1744247,"avatar_url":"https://avatars.githubusercontent.com/u/1744247?v=3","gravatar_id":"","url":"https://api.github.com/users/howbazaar","html_url":"https://github.com/howbazaar","followers_url":"https://api.github.com/users/howbazaar/followers","following_url":"https://api.github.com/users/howbazaar/following{/other_user}","gists_url":"https://api.github.com/users/howbazaar/gists{/gist_id}","starred_url":"https://api.github.com/users/howbazaar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/howbazaar/subscriptions","organizations_url":"https://api.github.com/users/howbazaar/orgs","repos_url":"https://api.github.com/users/howbazaar/repos","events_url":"https://api.github.com/users/howbazaar/events{/privacy}","received_events_url":"https://api.github.com/users/howbazaar/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T23:21:02Z","updated_at":"2016-04-14T23:21:02Z","body":"$$merge$$"}}