{"action":"created","issue":{"url":"https://api.github.com/repos/serverspec/specinfra/issues/288","labels_url":"https://api.github.com/repos/serverspec/specinfra/issues/288/labels{/name}","comments_url":"https://api.github.com/repos/serverspec/specinfra/issues/288/comments","events_url":"https://api.github.com/repos/serverspec/specinfra/issues/288/events","html_url":"https://github.com/serverspec/specinfra/pull/288","id":54474240,"number":288,"title":"Support routes with multiple destinations","user":{"login":"Vanders","id":3168484,"avatar_url":"https://avatars.githubusercontent.com/u/3168484?v=3","gravatar_id":"","url":"https://api.github.com/users/Vanders","html_url":"https://github.com/Vanders","followers_url":"https://api.github.com/users/Vanders/followers","following_url":"https://api.github.com/users/Vanders/following{/other_user}","gists_url":"https://api.github.com/users/Vanders/gists{/gist_id}","starred_url":"https://api.github.com/users/Vanders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vanders/subscriptions","organizations_url":"https://api.github.com/users/Vanders/orgs","repos_url":"https://api.github.com/users/Vanders/repos","events_url":"https://api.github.com/users/Vanders/events{/privacy}","received_events_url":"https://api.github.com/users/Vanders/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-15T16:59:37Z","updated_at":"2015-01-16T03:10:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/serverspec/specinfra/pulls/288","html_url":"https://github.com/serverspec/specinfra/pull/288","diff_url":"https://github.com/serverspec/specinfra/pull/288.diff","patch_url":"https://github.com/serverspec/specinfra/pull/288.patch"},"body":"ECMP means that a route can have multiple destinations, E.g.\r\n\r\n$ ip route show 10.2.1.4\r\n10.2.1.4  proto zebra  metric 20\r\n        nexthop via 10.2.1.1  dev swp49 weight 1 onlink\r\n        nexthop via 10.2.1.1  dev swp50 weight 1 onlink\r\n        nexthop via 10.2.1.2  dev swp51 weight 1 onlink\r\n        nexthop via 10.2.1.2  dev swp52 weight 1 onlink\r\n\r\nThis patch modifies the routing_table resource to support the different output for multiple destination routes:\r\n\r\n$ ip route show\r\ndefault via 192.168.0.1 dev eth0\r\n10.2.1.2  proto zebra  metric 20\r\n\tnexthop via 10.2.1.2  dev swp1 weight 1 onlink\r\n\tnexthop via 10.2.1.2  dev swp2 weight 1 onlink\r\n\tnexthop via 10.2.1.2  dev swp3 weight 1 onlink\r\n\tnexthop via 10.2.1.2  dev swp4 weight 1 onlink\r\n10.4.1.0/25 dev br0  proto kernel  scope link  src 10.4.1.1\r\n10.4.1.128/25 dev br1  proto kernel  scope link  src 10.4.1.129\r\n192.168.0.0/24 dev eth0  proto kernel  scope link  src 192.168.0.11\r\n\r\n...\r\nRouting Table\r\n  should have entry [:destination, \"default\"], [:gateway, \"192.168.0.1\"], and [:interface, \"eth0\"]\r\n\r\nRouting Table\r\n  should have entry [:destination, \"192.168.0.0/24\"] and [:interface, \"eth0\"]\r\n\r\nRouting Table\r\n  should have entry [:destination, \"10.2.1.2\"], [:interface, \"swp1\"], and [:gateway, \"10.2.1.2\"]"},"comment":{"url":"https://api.github.com/repos/serverspec/specinfra/issues/comments/70202366","html_url":"https://github.com/serverspec/specinfra/pull/288#issuecomment-70202366","issue_url":"https://api.github.com/repos/serverspec/specinfra/issues/288","id":70202366,"user":{"login":"mizzy","id":3620,"avatar_url":"https://avatars.githubusercontent.com/u/3620?v=3","gravatar_id":"","url":"https://api.github.com/users/mizzy","html_url":"https://github.com/mizzy","followers_url":"https://api.github.com/users/mizzy/followers","following_url":"https://api.github.com/users/mizzy/following{/other_user}","gists_url":"https://api.github.com/users/mizzy/gists{/gist_id}","starred_url":"https://api.github.com/users/mizzy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mizzy/subscriptions","organizations_url":"https://api.github.com/users/mizzy/orgs","repos_url":"https://api.github.com/users/mizzy/repos","events_url":"https://api.github.com/users/mizzy/events{/privacy}","received_events_url":"https://api.github.com/users/mizzy/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T03:10:45Z","updated_at":"2015-01-16T03:10:45Z","body":"Thanks."}}