{"action":"closed","number":19,"pull_request":{"url":"https://api.github.com/repos/equalitie/edgemanage/pulls/19","id":54268818,"html_url":"https://github.com/equalitie/edgemanage/pull/19","diff_url":"https://github.com/equalitie/edgemanage/pull/19.diff","patch_url":"https://github.com/equalitie/edgemanage/pull/19.patch","issue_url":"https://api.github.com/repos/equalitie/edgemanage/issues/19","number":19,"state":"closed","locked":false,"title":"Implement canary interface option","user":{"login":"nosmo","id":68673,"avatar_url":"https://avatars.githubusercontent.com/u/68673?v=3","gravatar_id":"","url":"https://api.github.com/users/nosmo","html_url":"https://github.com/nosmo","followers_url":"https://api.github.com/users/nosmo/followers","following_url":"https://api.github.com/users/nosmo/following{/other_user}","gists_url":"https://api.github.com/users/nosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/nosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosmo/subscriptions","organizations_url":"https://api.github.com/users/nosmo/orgs","repos_url":"https://api.github.com/users/nosmo/repos","events_url":"https://api.github.com/users/nosmo/events{/privacy}","received_events_url":"https://api.github.com/users/nosmo/received_events","type":"User","site_admin":false},"body":"As per the updated edgemanage spec, this branch implements canary edges. This means that users can configure a canary file per-dnet. If a canary file exists, and a canary edge is specified for a domain, this edge is tested as an individual \"pseudo-edge\" and if suitable will be included in the edgemanage-written domains used for the specified site in place of one of the \"global\" live edges. \r\n\r\nTo give a worked example - mydnet1 has a canary file in /etc/edgemanage/canaries/mydnet1. This path is set in edgemanage.yaml. On run, the file in /etc/edgemanage/canaries/mydnet1 is loaded and the YAML data is read (it should contain *only* a list of site: ipaddress pairs). Let's say mydnet1 contains ```example.net: 10.0.2.22```. Edgemanage tests 10.0.2.22 as it would any other edge but never selects it for what edgemanage considers to be \"liveness\". If 10.0.2.22 is in a passing state, a random edge from the current live set is removed from example.net's configuration and 10.0.2.22 is added. No other zones are affected and all zone files are written as normal. \r\n","created_at":"2015-12-21T15:33:58Z","updated_at":"2016-01-05T14:43:34Z","closed_at":"2016-01-05T14:43:34Z","merged_at":"2016-01-05T14:43:34Z","merge_commit_sha":"73f8859f995b5dcc53d07c7645d942fb232e304c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/equalitie/edgemanage/pulls/19/commits","review_comments_url":"https://api.github.com/repos/equalitie/edgemanage/pulls/19/comments","review_comment_url":"https://api.github.com/repos/equalitie/edgemanage/pulls/comments{/number}","comments_url":"https://api.github.com/repos/equalitie/edgemanage/issues/19/comments","statuses_url":"https://api.github.com/repos/equalitie/edgemanage/statuses/10384a5ddf7b40c737ff4b64010d7192663cbc09","head":{"label":"equalitie:canary_interfaces","ref":"canary_interfaces","sha":"10384a5ddf7b40c737ff4b64010d7192663cbc09","user":{"login":"equalitie","id":1671365,"avatar_url":"https://avatars.githubusercontent.com/u/1671365?v=3","gravatar_id":"","url":"https://api.github.com/users/equalitie","html_url":"https://github.com/equalitie","followers_url":"https://api.github.com/users/equalitie/followers","following_url":"https://api.github.com/users/equalitie/following{/other_user}","gists_url":"https://api.github.com/users/equalitie/gists{/gist_id}","starred_url":"https://api.github.com/users/equalitie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equalitie/subscriptions","organizations_url":"https://api.github.com/users/equalitie/orgs","repos_url":"https://api.github.com/users/equalitie/repos","events_url":"https://api.github.com/users/equalitie/events{/privacy}","received_events_url":"https://api.github.com/users/equalitie/received_events","type":"Organization","site_admin":false},"repo":{"id":31615849,"name":"edgemanage","full_name":"equalitie/edgemanage","owner":{"login":"equalitie","id":1671365,"avatar_url":"https://avatars.githubusercontent.com/u/1671365?v=3","gravatar_id":"","url":"https://api.github.com/users/equalitie","html_url":"https://github.com/equalitie","followers_url":"https://api.github.com/users/equalitie/followers","following_url":"https://api.github.com/users/equalitie/following{/other_user}","gists_url":"https://api.github.com/users/equalitie/gists{/gist_id}","starred_url":"https://api.github.com/users/equalitie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equalitie/subscriptions","organizations_url":"https://api.github.com/users/equalitie/orgs","repos_url":"https://api.github.com/users/equalitie/repos","events_url":"https://api.github.com/users/equalitie/events{/privacy}","received_events_url":"https://api.github.com/users/equalitie/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/equalitie/edgemanage","description":"HTTP host monitoring and management through DNS","fork":false,"url":"https://api.github.com/repos/equalitie/edgemanage","forks_url":"https://api.github.com/repos/equalitie/edgemanage/forks","keys_url":"https://api.github.com/repos/equalitie/edgemanage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/equalitie/edgemanage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/equalitie/edgemanage/teams","hooks_url":"https://api.github.com/repos/equalitie/edgemanage/hooks","issue_events_url":"https://api.github.com/repos/equalitie/edgemanage/issues/events{/number}","events_url":"https://api.github.com/repos/equalitie/edgemanage/events","assignees_url":"https://api.github.com/repos/equalitie/edgemanage/assignees{/user}","branches_url":"https://api.github.com/repos/equalitie/edgemanage/branches{/branch}","tags_url":"https://api.github.com/repos/equalitie/edgemanage/tags","blobs_url":"https://api.github.com/repos/equalitie/edgemanage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/equalitie/edgemanage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/equalitie/edgemanage/git/refs{/sha}","trees_url":"https://api.github.com/repos/equalitie/edgemanage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/equalitie/edgemanage/statuses/{sha}","languages_url":"https://api.github.com/repos/equalitie/edgemanage/languages","stargazers_url":"https://api.github.com/repos/equalitie/edgemanage/stargazers","contributors_url":"https://api.github.com/repos/equalitie/edgemanage/contributors","subscribers_url":"https://api.github.com/repos/equalitie/edgemanage/subscribers","subscription_url":"https://api.github.com/repos/equalitie/edgemanage/subscription","commits_url":"https://api.github.com/repos/equalitie/edgemanage/commits{/sha}","git_commits_url":"https://api.github.com/repos/equalitie/edgemanage/git/commits{/sha}","comments_url":"https://api.github.com/repos/equalitie/edgemanage/comments{/number}","issue_comment_url":"https://api.github.com/repos/equalitie/edgemanage/issues/comments{/number}","contents_url":"https://api.github.com/repos/equalitie/edgemanage/contents/{+path}","compare_url":"https://api.github.com/repos/equalitie/edgemanage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/equalitie/edgemanage/merges","archive_url":"https://api.github.com/repos/equalitie/edgemanage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/equalitie/edgemanage/downloads","issues_url":"https://api.github.com/repos/equalitie/edgemanage/issues{/number}","pulls_url":"https://api.github.com/repos/equalitie/edgemanage/pulls{/number}","milestones_url":"https://api.github.com/repos/equalitie/edgemanage/milestones{/number}","notifications_url":"https://api.github.com/repos/equalitie/edgemanage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/equalitie/edgemanage/labels{/name}","releases_url":"https://api.github.com/repos/equalitie/edgemanage/releases{/id}","created_at":"2015-03-03T19:04:29Z","updated_at":"2015-05-08T10:51:28Z","pushed_at":"2016-01-05T14:43:34Z","git_url":"git://github.com/equalitie/edgemanage.git","ssh_url":"git@github.com:equalitie/edgemanage.git","clone_url":"https://github.com/equalitie/edgemanage.git","svn_url":"https://github.com/equalitie/edgemanage","homepage":"https://deflect.ca","size":143,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"master"}},"base":{"label":"equalitie:master","ref":"master","sha":"8349b7698496bf0dd033756c36a0b0c1e6cfcf3a","user":{"login":"equalitie","id":1671365,"avatar_url":"https://avatars.githubusercontent.com/u/1671365?v=3","gravatar_id":"","url":"https://api.github.com/users/equalitie","html_url":"https://github.com/equalitie","followers_url":"https://api.github.com/users/equalitie/followers","following_url":"https://api.github.com/users/equalitie/following{/other_user}","gists_url":"https://api.github.com/users/equalitie/gists{/gist_id}","starred_url":"https://api.github.com/users/equalitie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equalitie/subscriptions","organizations_url":"https://api.github.com/users/equalitie/orgs","repos_url":"https://api.github.com/users/equalitie/repos","events_url":"https://api.github.com/users/equalitie/events{/privacy}","received_events_url":"https://api.github.com/users/equalitie/received_events","type":"Organization","site_admin":false},"repo":{"id":31615849,"name":"edgemanage","full_name":"equalitie/edgemanage","owner":{"login":"equalitie","id":1671365,"avatar_url":"https://avatars.githubusercontent.com/u/1671365?v=3","gravatar_id":"","url":"https://api.github.com/users/equalitie","html_url":"https://github.com/equalitie","followers_url":"https://api.github.com/users/equalitie/followers","following_url":"https://api.github.com/users/equalitie/following{/other_user}","gists_url":"https://api.github.com/users/equalitie/gists{/gist_id}","starred_url":"https://api.github.com/users/equalitie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equalitie/subscriptions","organizations_url":"https://api.github.com/users/equalitie/orgs","repos_url":"https://api.github.com/users/equalitie/repos","events_url":"https://api.github.com/users/equalitie/events{/privacy}","received_events_url":"https://api.github.com/users/equalitie/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/equalitie/edgemanage","description":"HTTP host monitoring and management through DNS","fork":false,"url":"https://api.github.com/repos/equalitie/edgemanage","forks_url":"https://api.github.com/repos/equalitie/edgemanage/forks","keys_url":"https://api.github.com/repos/equalitie/edgemanage/keys{/key_id}","collaborators_url":"https://api.github.com/repos/equalitie/edgemanage/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/equalitie/edgemanage/teams","hooks_url":"https://api.github.com/repos/equalitie/edgemanage/hooks","issue_events_url":"https://api.github.com/repos/equalitie/edgemanage/issues/events{/number}","events_url":"https://api.github.com/repos/equalitie/edgemanage/events","assignees_url":"https://api.github.com/repos/equalitie/edgemanage/assignees{/user}","branches_url":"https://api.github.com/repos/equalitie/edgemanage/branches{/branch}","tags_url":"https://api.github.com/repos/equalitie/edgemanage/tags","blobs_url":"https://api.github.com/repos/equalitie/edgemanage/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/equalitie/edgemanage/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/equalitie/edgemanage/git/refs{/sha}","trees_url":"https://api.github.com/repos/equalitie/edgemanage/git/trees{/sha}","statuses_url":"https://api.github.com/repos/equalitie/edgemanage/statuses/{sha}","languages_url":"https://api.github.com/repos/equalitie/edgemanage/languages","stargazers_url":"https://api.github.com/repos/equalitie/edgemanage/stargazers","contributors_url":"https://api.github.com/repos/equalitie/edgemanage/contributors","subscribers_url":"https://api.github.com/repos/equalitie/edgemanage/subscribers","subscription_url":"https://api.github.com/repos/equalitie/edgemanage/subscription","commits_url":"https://api.github.com/repos/equalitie/edgemanage/commits{/sha}","git_commits_url":"https://api.github.com/repos/equalitie/edgemanage/git/commits{/sha}","comments_url":"https://api.github.com/repos/equalitie/edgemanage/comments{/number}","issue_comment_url":"https://api.github.com/repos/equalitie/edgemanage/issues/comments{/number}","contents_url":"https://api.github.com/repos/equalitie/edgemanage/contents/{+path}","compare_url":"https://api.github.com/repos/equalitie/edgemanage/compare/{base}...{head}","merges_url":"https://api.github.com/repos/equalitie/edgemanage/merges","archive_url":"https://api.github.com/repos/equalitie/edgemanage/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/equalitie/edgemanage/downloads","issues_url":"https://api.github.com/repos/equalitie/edgemanage/issues{/number}","pulls_url":"https://api.github.com/repos/equalitie/edgemanage/pulls{/number}","milestones_url":"https://api.github.com/repos/equalitie/edgemanage/milestones{/number}","notifications_url":"https://api.github.com/repos/equalitie/edgemanage/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/equalitie/edgemanage/labels{/name}","releases_url":"https://api.github.com/repos/equalitie/edgemanage/releases{/id}","created_at":"2015-03-03T19:04:29Z","updated_at":"2015-05-08T10:51:28Z","pushed_at":"2016-01-05T14:43:34Z","git_url":"git://github.com/equalitie/edgemanage.git","ssh_url":"git@github.com:equalitie/edgemanage.git","clone_url":"https://github.com/equalitie/edgemanage.git","svn_url":"https://github.com/equalitie/edgemanage","homepage":"https://deflect.ca","size":143,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/equalitie/edgemanage/pulls/19"},"html":{"href":"https://github.com/equalitie/edgemanage/pull/19"},"issue":{"href":"https://api.github.com/repos/equalitie/edgemanage/issues/19"},"comments":{"href":"https://api.github.com/repos/equalitie/edgemanage/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/equalitie/edgemanage/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/equalitie/edgemanage/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/equalitie/edgemanage/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/equalitie/edgemanage/statuses/10384a5ddf7b40c737ff4b64010d7192663cbc09"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nosmo","id":68673,"avatar_url":"https://avatars.githubusercontent.com/u/68673?v=3","gravatar_id":"","url":"https://api.github.com/users/nosmo","html_url":"https://github.com/nosmo","followers_url":"https://api.github.com/users/nosmo/followers","following_url":"https://api.github.com/users/nosmo/following{/other_user}","gists_url":"https://api.github.com/users/nosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/nosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nosmo/subscriptions","organizations_url":"https://api.github.com/users/nosmo/orgs","repos_url":"https://api.github.com/users/nosmo/repos","events_url":"https://api.github.com/users/nosmo/events{/privacy}","received_events_url":"https://api.github.com/users/nosmo/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":13,"additions":189,"deletions":21,"changed_files":7}}