{"action":"created","issue":{"url":"https://api.github.com/repos/juju/juju/issues/1631","labels_url":"https://api.github.com/repos/juju/juju/issues/1631/labels{/name}","comments_url":"https://api.github.com/repos/juju/juju/issues/1631/comments","events_url":"https://api.github.com/repos/juju/juju/issues/1631/events","html_url":"https://github.com/juju/juju/pull/1631","id":58250516,"number":1631,"title":"Fixed state Subnets and IPAddresses, improved tests","user":{"login":"dimitern","id":619986,"avatar_url":"https://avatars.githubusercontent.com/u/619986?v=3","gravatar_id":"","url":"https://api.github.com/users/dimitern","html_url":"https://github.com/dimitern","followers_url":"https://api.github.com/users/dimitern/followers","following_url":"https://api.github.com/users/dimitern/following{/other_user}","gists_url":"https://api.github.com/users/dimitern/gists{/gist_id}","starred_url":"https://api.github.com/users/dimitern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimitern/subscriptions","organizations_url":"https://api.github.com/users/dimitern/orgs","repos_url":"https://api.github.com/users/dimitern/repos","events_url":"https://api.github.com/users/dimitern/events{/privacy}","received_events_url":"https://api.github.com/users/dimitern/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-19T18:45:16Z","updated_at":"2015-02-22T01:18:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juju/juju/pulls/1631","html_url":"https://github.com/juju/juju/pull/1631","diff_url":"https://github.com/juju/juju/pull/1631.diff","patch_url":"https://github.com/juju/juju/pull/1631.patch"},"body":"This is a prerequisite 1 or 2 for implementing the server-side\nPrepareContainerInterfaceInfo() provisioner API method to allow\nallocating static IPs to containers at provisioning time.\n\nNotable changes:\n * Added String() (GoString()) methods to state.Subnet and\n state.IPAddress to improve their representation in logs etc.\n * For the same reasons, added a String() method to the\n state.AddressState type.\n * IPAddress.SetState() now does not allow transitions between\n \"unavailable\" and \"allocated\" more explictly.\n * Fixed a typo - AddressStateUnvailable, reformatted most of the code\n to read better.\n * Better handling of txn.ErrAborted cases in a few places.\n * Subnets life cycle management is improved.\n * Much better test coverage - exhaustive testing of numerous corner\n cases which were not (well) covered before.\n * Better log messages (IMO).\n\n(Review request: http://reviews.vapour.ws/r/961/)"},"comment":{"url":"https://api.github.com/repos/juju/juju/issues/comments/75411535","html_url":"https://github.com/juju/juju/pull/1631#issuecomment-75411535","issue_url":"https://api.github.com/repos/juju/juju/issues/1631","id":75411535,"user":{"login":"dimitern","id":619986,"avatar_url":"https://avatars.githubusercontent.com/u/619986?v=3","gravatar_id":"","url":"https://api.github.com/users/dimitern","html_url":"https://github.com/dimitern","followers_url":"https://api.github.com/users/dimitern/followers","following_url":"https://api.github.com/users/dimitern/following{/other_user}","gists_url":"https://api.github.com/users/dimitern/gists{/gist_id}","starred_url":"https://api.github.com/users/dimitern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimitern/subscriptions","organizations_url":"https://api.github.com/users/dimitern/orgs","repos_url":"https://api.github.com/users/dimitern/repos","events_url":"https://api.github.com/users/dimitern/events{/privacy}","received_events_url":"https://api.github.com/users/dimitern/received_events","type":"User","site_admin":false},"created_at":"2015-02-22T01:18:10Z","updated_at":"2015-02-22T01:18:10Z","body":"$$retry$$"}}