{"action":"closed","number":540,"pull_request":{"url":"https://api.github.com/repos/axsh/wakame-vdc/pulls/540","id":32842357,"html_url":"https://github.com/axsh/wakame-vdc/pull/540","diff_url":"https://github.com/axsh/wakame-vdc/pull/540.diff","patch_url":"https://github.com/axsh/wakame-vdc/pull/540.patch","issue_url":"https://api.github.com/repos/axsh/wakame-vdc/issues/540","number":540,"state":"closed","locked":false,"title":"show list of network_vifs.","user":{"login":"hansode","id":76867,"avatar_url":"https://avatars.githubusercontent.com/u/76867?v=3","gravatar_id":"","url":"https://api.github.com/users/hansode","html_url":"https://github.com/hansode","followers_url":"https://api.github.com/users/hansode/followers","following_url":"https://api.github.com/users/hansode/following{/other_user}","gists_url":"https://api.github.com/users/hansode/gists{/gist_id}","starred_url":"https://api.github.com/users/hansode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansode/subscriptions","organizations_url":"https://api.github.com/users/hansode/orgs","repos_url":"https://api.github.com/users/hansode/repos","events_url":"https://api.github.com/users/hansode/events{/privacy}","received_events_url":"https://api.github.com/users/hansode/received_events","type":"User","site_admin":false},"body":"### Feature\r\n\r\nThis change will provide list of network_vifs.\r\n\r\n### Background\r\n\r\nfor bash/zsh completion support for `mussel.sh`.\r\n\r\nWhen registering/unregistering `network_vif` to a `load_balancer`, mussel.sh expects network_vif candidate using network_vif list.\r\nBut current implementation does not provide network_vif list.\r\n\r\n### How it works\r\n\r\n```\r\n$ mussel.sh network_vif index\r\n```\r\n\r\nSample output:\r\n\r\n> ```\r\n> $ mussel.sh network_vif index  | head -50\r\n> ---\r\n> - :total: 18\r\n>   :start: 0\r\n>   :limit: 250\r\n>   :results:\r\n>   - :id: vif-cze58riq\r\n>     :uuid: vif-cze58riq\r\n>     :ipv4_address: 10.1.0.10\r\n>     :nat_ipv4_address:\r\n>     :network_id: nw-demo8\r\n>     :instance_id: i-9c5q6wa5\r\n>     :security_groups: []\r\n>     :mac_addr: 52:54:00:ff:61:33\r\n>     :network_monitors: []\r\n>     :ip_leases:\r\n>     - :ipv4: 10.1.0.10\r\n>       :network_id: nw-demo8\r\n>       :ip_handle:\r\n>   - :id: vif-uuzbsk75\r\n>     :uuid: vif-uuzbsk75\r\n>     :ipv4_address: 10.0.2.102\r\n>     :nat_ipv4_address:\r\n>     :network_id: nw-demo1\r\n>     :instance_id: i-9c5q6wa5\r\n>     :security_groups:\r\n>     - sg-dbzjq4sq\r\n>     :mac_addr: 52:54:00:eb:cd:2d\r\n>     :network_monitors: []\r\n>     :ip_leases:\r\n>     - :ipv4: 10.0.2.102\r\n>       :network_id: nw-demo1\r\n>       :ip_handle:\r\n>   - :id: vif-2ifofi7t\r\n>     :uuid: vif-2ifofi7t\r\n>     :ipv4_address: 10.0.2.101\r\n>     :nat_ipv4_address:\r\n>     :network_id: nw-demo1\r\n>     :instance_id: i-63vi9vhj\r\n>     :security_groups:\r\n>     - sg-nhrd602s\r\n>     :mac_addr: 52:54:00:41:26:c6\r\n>     :network_monitors: []\r\n>     :ip_leases:\r\n>     - :ipv4: 10.0.2.101\r\n>       :network_id: nw-demo1\r\n>       :ip_handle:\r\n>   - :id: vif-389nvf7i\r\n>     :uuid: vif-389nvf7i\r\n>     :ipv4_address: 10.0.2.100\r\n>     :nat_ipv4_address:\r\n```\r\n","created_at":"2015-04-08T09:29:47Z","updated_at":"2015-04-13T04:35:29Z","closed_at":"2015-04-13T04:35:29Z","merged_at":"2015-04-13T04:35:29Z","merge_commit_sha":"b8a3ce5992aef251a29cf76ed6cca37ec4b0d877","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/axsh/wakame-vdc/pulls/540/commits","review_comments_url":"https://api.github.com/repos/axsh/wakame-vdc/pulls/540/comments","review_comment_url":"https://api.github.com/repos/axsh/wakame-vdc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/axsh/wakame-vdc/issues/540/comments","statuses_url":"https://api.github.com/repos/axsh/wakame-vdc/statuses/94b8881a4333d5028a748350585e92f9b95de25b","head":{"label":"axsh:feature-network-vif-index","ref":"feature-network-vif-index","sha":"94b8881a4333d5028a748350585e92f9b95de25b","user":{"login":"axsh","id":95230,"avatar_url":"https://avatars.githubusercontent.com/u/95230?v=3","gravatar_id":"","url":"https://api.github.com/users/axsh","html_url":"https://github.com/axsh","followers_url":"https://api.github.com/users/axsh/followers","following_url":"https://api.github.com/users/axsh/following{/other_user}","gists_url":"https://api.github.com/users/axsh/gists{/gist_id}","starred_url":"https://api.github.com/users/axsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axsh/subscriptions","organizations_url":"https://api.github.com/users/axsh/orgs","repos_url":"https://api.github.com/users/axsh/repos","events_url":"https://api.github.com/users/axsh/events{/privacy}","received_events_url":"https://api.github.com/users/axsh/received_events","type":"Organization","site_admin":false},"repo":{"id":610415,"name":"wakame-vdc","full_name":"axsh/wakame-vdc","owner":{"login":"axsh","id":95230,"avatar_url":"https://avatars.githubusercontent.com/u/95230?v=3","gravatar_id":"","url":"https://api.github.com/users/axsh","html_url":"https://github.com/axsh","followers_url":"https://api.github.com/users/axsh/followers","following_url":"https://api.github.com/users/axsh/following{/other_user}","gists_url":"https://api.github.com/users/axsh/gists{/gist_id}","starred_url":"https://api.github.com/users/axsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axsh/subscriptions","organizations_url":"https://api.github.com/users/axsh/orgs","repos_url":"https://api.github.com/users/axsh/repos","events_url":"https://api.github.com/users/axsh/events{/privacy}","received_events_url":"https://api.github.com/users/axsh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/axsh/wakame-vdc","description":" Datacenter Hypervisor - Open Source Cloud Computing / IaaS","fork":false,"url":"https://api.github.com/repos/axsh/wakame-vdc","forks_url":"https://api.github.com/repos/axsh/wakame-vdc/forks","keys_url":"https://api.github.com/repos/axsh/wakame-vdc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/axsh/wakame-vdc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/axsh/wakame-vdc/teams","hooks_url":"https://api.github.com/repos/axsh/wakame-vdc/hooks","issue_events_url":"https://api.github.com/repos/axsh/wakame-vdc/issues/events{/number}","events_url":"https://api.github.com/repos/axsh/wakame-vdc/events","assignees_url":"https://api.github.com/repos/axsh/wakame-vdc/assignees{/user}","branches_url":"https://api.github.com/repos/axsh/wakame-vdc/branches{/branch}","tags_url":"https://api.github.com/repos/axsh/wakame-vdc/tags","blobs_url":"https://api.github.com/repos/axsh/wakame-vdc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/axsh/wakame-vdc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/axsh/wakame-vdc/git/refs{/sha}","trees_url":"https://api.github.com/repos/axsh/wakame-vdc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/axsh/wakame-vdc/statuses/{sha}","languages_url":"https://api.github.com/repos/axsh/wakame-vdc/languages","stargazers_url":"https://api.github.com/repos/axsh/wakame-vdc/stargazers","contributors_url":"https://api.github.com/repos/axsh/wakame-vdc/contributors","subscribers_url":"https://api.github.com/repos/axsh/wakame-vdc/subscribers","subscription_url":"https://api.github.com/repos/axsh/wakame-vdc/subscription","commits_url":"https://api.github.com/repos/axsh/wakame-vdc/commits{/sha}","git_commits_url":"https://api.github.com/repos/axsh/wakame-vdc/git/commits{/sha}","comments_url":"https://api.github.com/repos/axsh/wakame-vdc/comments{/number}","issue_comment_url":"https://api.github.com/repos/axsh/wakame-vdc/issues/comments{/number}","contents_url":"https://api.github.com/repos/axsh/wakame-vdc/contents/{+path}","compare_url":"https://api.github.com/repos/axsh/wakame-vdc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/axsh/wakame-vdc/merges","archive_url":"https://api.github.com/repos/axsh/wakame-vdc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/axsh/wakame-vdc/downloads","issues_url":"https://api.github.com/repos/axsh/wakame-vdc/issues{/number}","pulls_url":"https://api.github.com/repos/axsh/wakame-vdc/pulls{/number}","milestones_url":"https://api.github.com/repos/axsh/wakame-vdc/milestones{/number}","notifications_url":"https://api.github.com/repos/axsh/wakame-vdc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/axsh/wakame-vdc/labels{/name}","releases_url":"https://api.github.com/repos/axsh/wakame-vdc/releases{/id}","created_at":"2010-04-14T16:46:01Z","updated_at":"2015-04-10T15:37:20Z","pushed_at":"2015-04-13T04:35:29Z","git_url":"git://github.com/axsh/wakame-vdc.git","ssh_url":"git@github.com:axsh/wakame-vdc.git","clone_url":"https://github.com/axsh/wakame-vdc.git","svn_url":"https://github.com/axsh/wakame-vdc","homepage":"https://github.com/axsh/wakame-vdc/wiki","size":56627,"stargazers_count":96,"watchers_count":96,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":24,"mirror_url":null,"open_issues_count":73,"forks":24,"open_issues":73,"watchers":96,"default_branch":"master"}},"base":{"label":"axsh:master","ref":"master","sha":"f8794fa66fe1f6834dc31b0c1d46cdac3332f4a1","user":{"login":"axsh","id":95230,"avatar_url":"https://avatars.githubusercontent.com/u/95230?v=3","gravatar_id":"","url":"https://api.github.com/users/axsh","html_url":"https://github.com/axsh","followers_url":"https://api.github.com/users/axsh/followers","following_url":"https://api.github.com/users/axsh/following{/other_user}","gists_url":"https://api.github.com/users/axsh/gists{/gist_id}","starred_url":"https://api.github.com/users/axsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axsh/subscriptions","organizations_url":"https://api.github.com/users/axsh/orgs","repos_url":"https://api.github.com/users/axsh/repos","events_url":"https://api.github.com/users/axsh/events{/privacy}","received_events_url":"https://api.github.com/users/axsh/received_events","type":"Organization","site_admin":false},"repo":{"id":610415,"name":"wakame-vdc","full_name":"axsh/wakame-vdc","owner":{"login":"axsh","id":95230,"avatar_url":"https://avatars.githubusercontent.com/u/95230?v=3","gravatar_id":"","url":"https://api.github.com/users/axsh","html_url":"https://github.com/axsh","followers_url":"https://api.github.com/users/axsh/followers","following_url":"https://api.github.com/users/axsh/following{/other_user}","gists_url":"https://api.github.com/users/axsh/gists{/gist_id}","starred_url":"https://api.github.com/users/axsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axsh/subscriptions","organizations_url":"https://api.github.com/users/axsh/orgs","repos_url":"https://api.github.com/users/axsh/repos","events_url":"https://api.github.com/users/axsh/events{/privacy}","received_events_url":"https://api.github.com/users/axsh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/axsh/wakame-vdc","description":" Datacenter Hypervisor - Open Source Cloud Computing / IaaS","fork":false,"url":"https://api.github.com/repos/axsh/wakame-vdc","forks_url":"https://api.github.com/repos/axsh/wakame-vdc/forks","keys_url":"https://api.github.com/repos/axsh/wakame-vdc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/axsh/wakame-vdc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/axsh/wakame-vdc/teams","hooks_url":"https://api.github.com/repos/axsh/wakame-vdc/hooks","issue_events_url":"https://api.github.com/repos/axsh/wakame-vdc/issues/events{/number}","events_url":"https://api.github.com/repos/axsh/wakame-vdc/events","assignees_url":"https://api.github.com/repos/axsh/wakame-vdc/assignees{/user}","branches_url":"https://api.github.com/repos/axsh/wakame-vdc/branches{/branch}","tags_url":"https://api.github.com/repos/axsh/wakame-vdc/tags","blobs_url":"https://api.github.com/repos/axsh/wakame-vdc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/axsh/wakame-vdc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/axsh/wakame-vdc/git/refs{/sha}","trees_url":"https://api.github.com/repos/axsh/wakame-vdc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/axsh/wakame-vdc/statuses/{sha}","languages_url":"https://api.github.com/repos/axsh/wakame-vdc/languages","stargazers_url":"https://api.github.com/repos/axsh/wakame-vdc/stargazers","contributors_url":"https://api.github.com/repos/axsh/wakame-vdc/contributors","subscribers_url":"https://api.github.com/repos/axsh/wakame-vdc/subscribers","subscription_url":"https://api.github.com/repos/axsh/wakame-vdc/subscription","commits_url":"https://api.github.com/repos/axsh/wakame-vdc/commits{/sha}","git_commits_url":"https://api.github.com/repos/axsh/wakame-vdc/git/commits{/sha}","comments_url":"https://api.github.com/repos/axsh/wakame-vdc/comments{/number}","issue_comment_url":"https://api.github.com/repos/axsh/wakame-vdc/issues/comments{/number}","contents_url":"https://api.github.com/repos/axsh/wakame-vdc/contents/{+path}","compare_url":"https://api.github.com/repos/axsh/wakame-vdc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/axsh/wakame-vdc/merges","archive_url":"https://api.github.com/repos/axsh/wakame-vdc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/axsh/wakame-vdc/downloads","issues_url":"https://api.github.com/repos/axsh/wakame-vdc/issues{/number}","pulls_url":"https://api.github.com/repos/axsh/wakame-vdc/pulls{/number}","milestones_url":"https://api.github.com/repos/axsh/wakame-vdc/milestones{/number}","notifications_url":"https://api.github.com/repos/axsh/wakame-vdc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/axsh/wakame-vdc/labels{/name}","releases_url":"https://api.github.com/repos/axsh/wakame-vdc/releases{/id}","created_at":"2010-04-14T16:46:01Z","updated_at":"2015-04-10T15:37:20Z","pushed_at":"2015-04-13T04:35:29Z","git_url":"git://github.com/axsh/wakame-vdc.git","ssh_url":"git@github.com:axsh/wakame-vdc.git","clone_url":"https://github.com/axsh/wakame-vdc.git","svn_url":"https://github.com/axsh/wakame-vdc","homepage":"https://github.com/axsh/wakame-vdc/wiki","size":56627,"stargazers_count":96,"watchers_count":96,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":24,"mirror_url":null,"open_issues_count":73,"forks":24,"open_issues":73,"watchers":96,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/axsh/wakame-vdc/pulls/540"},"html":{"href":"https://github.com/axsh/wakame-vdc/pull/540"},"issue":{"href":"https://api.github.com/repos/axsh/wakame-vdc/issues/540"},"comments":{"href":"https://api.github.com/repos/axsh/wakame-vdc/issues/540/comments"},"review_comments":{"href":"https://api.github.com/repos/axsh/wakame-vdc/pulls/540/comments"},"review_comment":{"href":"https://api.github.com/repos/axsh/wakame-vdc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/axsh/wakame-vdc/pulls/540/commits"},"statuses":{"href":"https://api.github.com/repos/axsh/wakame-vdc/statuses/94b8881a4333d5028a748350585e92f9b95de25b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Metallion","id":629110,"avatar_url":"https://avatars.githubusercontent.com/u/629110?v=3","gravatar_id":"","url":"https://api.github.com/users/Metallion","html_url":"https://github.com/Metallion","followers_url":"https://api.github.com/users/Metallion/followers","following_url":"https://api.github.com/users/Metallion/following{/other_user}","gists_url":"https://api.github.com/users/Metallion/gists{/gist_id}","starred_url":"https://api.github.com/users/Metallion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Metallion/subscriptions","organizations_url":"https://api.github.com/users/Metallion/orgs","repos_url":"https://api.github.com/users/Metallion/repos","events_url":"https://api.github.com/users/Metallion/events{/privacy}","received_events_url":"https://api.github.com/users/Metallion/received_events","type":"User","site_admin":false},"comments":7,"review_comments":0,"commits":1,"additions":12,"deletions":0,"changed_files":1}}