{"action":"created","comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/comments/76500575","id":76500575,"diff_hunk":"@@ -0,0 +1,431 @@\n+#!/usr/bin/python\n+#\n+# This file is part of Ansible\n+#\n+# Ansible is free software: you can redistribute it and/or modify\n+# it under the terms of the GNU General Public License as published by\n+# the Free Software Foundation, either version 3 of the License, or\n+# (at your option) any later version.\n+#\n+# Ansible is distributed in the hope that it will be useful,\n+# but WITHOUT ANY WARRANTY; without even the implied warranty of\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+# GNU General Public License for more details.\n+#\n+# You should have received a copy of the GNU General Public License\n+# along with Ansible.  If not, see <http://www.gnu.org/licenses/>.\n+#\n+DOCUMENTATION = \"\"\"\n+---\n+module: iosxr_facts\n+version_added: \"2.2\"\n+author: \"Peter Sprygada (@privateip)\"\n+short_description: Collect facts from remote devices running IOS-XR\n+description:\n+  - Collects a base set of device facts from a remote device that\n+    is running iosxr.  This module prepends all of the\n+    base network fact keys with C(ansible_net_<fact>).  The facts\n+    module will always collect a base set of facts from the device\n+    and can enable or disable collection of additional facts.\n+extends_documentation_fragment: iosxr\n+options:\n+  gather_subset:\n+    description:\n+      - When supplied, this argument will restrict the facts collected\n+        to a given subset.  Possible values for this argument include\n+        all, hardware, config, and interfaces.  Can specify a list of\n+        values to include a larger subset.  Values can also be used\n+        with an initial M(!) to specify that a specific subset should","path":"network/iosxr/iosxr_facts.py","position":38,"original_position":38,"commit_id":"21eb7870de01c56724ad707ac3f9e30d9bc75eeb","original_commit_id":"21eb7870de01c56724ad707ac3f9e30d9bc75eeb","user":{"login":"gundalow","id":940557,"avatar_url":"https://avatars.githubusercontent.com/u/940557?v=3","gravatar_id":"","url":"https://api.github.com/users/gundalow","html_url":"https://github.com/gundalow","followers_url":"https://api.github.com/users/gundalow/followers","following_url":"https://api.github.com/users/gundalow/following{/other_user}","gists_url":"https://api.github.com/users/gundalow/gists{/gist_id}","starred_url":"https://api.github.com/users/gundalow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gundalow/subscriptions","organizations_url":"https://api.github.com/users/gundalow/orgs","repos_url":"https://api.github.com/users/gundalow/repos","events_url":"https://api.github.com/users/gundalow/events{/privacy}","received_events_url":"https://api.github.com/users/gundalow/received_events","type":"User","site_admin":false},"body":"C(M(!)) ","created_at":"2016-08-26T23:03:02Z","updated_at":"2016-08-26T23:03:02Z","html_url":"https://github.com/ansible/ansible-modules-core/pull/4565#discussion_r76500575","pull_request_url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/4565","_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/comments/76500575"},"html":{"href":"https://github.com/ansible/ansible-modules-core/pull/4565#discussion_r76500575"},"pull_request":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/4565"}}},"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/4565","id":82945431,"html_url":"https://github.com/ansible/ansible-modules-core/pull/4565","diff_url":"https://github.com/ansible/ansible-modules-core/pull/4565.diff","patch_url":"https://github.com/ansible/ansible-modules-core/pull/4565.patch","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4565","number":4565,"state":"open","locked":false,"title":"add new iosxr_facts module for fact collection from XR devices","user":{"login":"privateip","id":414626,"avatar_url":"https://avatars.githubusercontent.com/u/414626?v=3","gravatar_id":"","url":"https://api.github.com/users/privateip","html_url":"https://github.com/privateip","followers_url":"https://api.github.com/users/privateip/followers","following_url":"https://api.github.com/users/privateip/following{/other_user}","gists_url":"https://api.github.com/users/privateip/gists{/gist_id}","starred_url":"https://api.github.com/users/privateip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privateip/subscriptions","organizations_url":"https://api.github.com/users/privateip/orgs","repos_url":"https://api.github.com/users/privateip/repos","events_url":"https://api.github.com/users/privateip/events{/privacy}","received_events_url":"https://api.github.com/users/privateip/received_events","type":"User","site_admin":false},"body":"* adds support for std network facts\r\n* adds support for default facts subset\r\n* adds support for config facts subset\r\n* adds support for interface facts subset\r\n* adds support for hardware facts subset\r\n\r\nTested on IOS-XR 6.0.0","created_at":"2016-08-26T19:59:55Z","updated_at":"2016-08-26T23:03:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d6b1f15874ebf309a9c3392f044762397db68ba","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/4565/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/4565/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4565/comments","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-core/statuses/21eb7870de01c56724ad707ac3f9e30d9bc75eeb","head":{"label":"privateip:iosxr_facts","ref":"iosxr_facts","sha":"21eb7870de01c56724ad707ac3f9e30d9bc75eeb","user":{"login":"privateip","id":414626,"avatar_url":"https://avatars.githubusercontent.com/u/414626?v=3","gravatar_id":"","url":"https://api.github.com/users/privateip","html_url":"https://github.com/privateip","followers_url":"https://api.github.com/users/privateip/followers","following_url":"https://api.github.com/users/privateip/following{/other_user}","gists_url":"https://api.github.com/users/privateip/gists{/gist_id}","starred_url":"https://api.github.com/users/privateip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privateip/subscriptions","organizations_url":"https://api.github.com/users/privateip/orgs","repos_url":"https://api.github.com/users/privateip/repos","events_url":"https://api.github.com/users/privateip/events{/privacy}","received_events_url":"https://api.github.com/users/privateip/received_events","type":"User","site_admin":false},"repo":{"id":41932238,"name":"ansible-modules-core","full_name":"privateip/ansible-modules-core","owner":{"login":"privateip","id":414626,"avatar_url":"https://avatars.githubusercontent.com/u/414626?v=3","gravatar_id":"","url":"https://api.github.com/users/privateip","html_url":"https://github.com/privateip","followers_url":"https://api.github.com/users/privateip/followers","following_url":"https://api.github.com/users/privateip/following{/other_user}","gists_url":"https://api.github.com/users/privateip/gists{/gist_id}","starred_url":"https://api.github.com/users/privateip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/privateip/subscriptions","organizations_url":"https://api.github.com/users/privateip/orgs","repos_url":"https://api.github.com/users/privateip/repos","events_url":"https://api.github.com/users/privateip/events{/privacy}","received_events_url":"https://api.github.com/users/privateip/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/privateip/ansible-modules-core","description":"Ansible modules - these modules ship with ansible","fork":true,"url":"https://api.github.com/repos/privateip/ansible-modules-core","forks_url":"https://api.github.com/repos/privateip/ansible-modules-core/forks","keys_url":"https://api.github.com/repos/privateip/ansible-modules-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/privateip/ansible-modules-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/privateip/ansible-modules-core/teams","hooks_url":"https://api.github.com/repos/privateip/ansible-modules-core/hooks","issue_events_url":"https://api.github.com/repos/privateip/ansible-modules-core/issues/events{/number}","events_url":"https://api.github.com/repos/privateip/ansible-modules-core/events","assignees_url":"https://api.github.com/repos/privateip/ansible-modules-core/assignees{/user}","branches_url":"https://api.github.com/repos/privateip/ansible-modules-core/branches{/branch}","tags_url":"https://api.github.com/repos/privateip/ansible-modules-core/tags","blobs_url":"https://api.github.com/repos/privateip/ansible-modules-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/privateip/ansible-modules-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/privateip/ansible-modules-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/privateip/ansible-modules-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/privateip/ansible-modules-core/statuses/{sha}","languages_url":"https://api.github.com/repos/privateip/ansible-modules-core/languages","stargazers_url":"https://api.github.com/repos/privateip/ansible-modules-core/stargazers","contributors_url":"https://api.github.com/repos/privateip/ansible-modules-core/contributors","subscribers_url":"https://api.github.com/repos/privateip/ansible-modules-core/subscribers","subscription_url":"https://api.github.com/repos/privateip/ansible-modules-core/subscription","commits_url":"https://api.github.com/repos/privateip/ansible-modules-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/privateip/ansible-modules-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/privateip/ansible-modules-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/privateip/ansible-modules-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/privateip/ansible-modules-core/contents/{+path}","compare_url":"https://api.github.com/repos/privateip/ansible-modules-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/privateip/ansible-modules-core/merges","archive_url":"https://api.github.com/repos/privateip/ansible-modules-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/privateip/ansible-modules-core/downloads","issues_url":"https://api.github.com/repos/privateip/ansible-modules-core/issues{/number}","pulls_url":"https://api.github.com/repos/privateip/ansible-modules-core/pulls{/number}","milestones_url":"https://api.github.com/repos/privateip/ansible-modules-core/milestones{/number}","notifications_url":"https://api.github.com/repos/privateip/ansible-modules-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/privateip/ansible-modules-core/labels{/name}","releases_url":"https://api.github.com/repos/privateip/ansible-modules-core/releases{/id}","deployments_url":"https://api.github.com/repos/privateip/ansible-modules-core/deployments","created_at":"2015-09-04T18:40:57Z","updated_at":"2016-06-22T16:16:37Z","pushed_at":"2016-08-26T20:38:18Z","git_url":"git://github.com/privateip/ansible-modules-core.git","ssh_url":"git@github.com:privateip/ansible-modules-core.git","clone_url":"https://github.com/privateip/ansible-modules-core.git","svn_url":"https://github.com/privateip/ansible-modules-core","homepage":"","size":9151,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":3,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"6eab2b3d405ec6d011061ae35f6ecc25e98ce8bf","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":24474126,"name":"ansible-modules-core","full_name":"ansible/ansible-modules-core","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible-modules-core","description":"Ansible modules - these modules ship with ansible","fork":false,"url":"https://api.github.com/repos/ansible/ansible-modules-core","forks_url":"https://api.github.com/repos/ansible/ansible-modules-core/forks","keys_url":"https://api.github.com/repos/ansible/ansible-modules-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible-modules-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible-modules-core/teams","hooks_url":"https://api.github.com/repos/ansible/ansible-modules-core/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/events","assignees_url":"https://api.github.com/repos/ansible/ansible-modules-core/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible-modules-core/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible-modules-core/tags","blobs_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible-modules-core/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible-modules-core/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible-modules-core/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible-modules-core/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible-modules-core/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible-modules-core/subscription","commits_url":"https://api.github.com/repos/ansible/ansible-modules-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible-modules-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible-modules-core/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible-modules-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible-modules-core/merges","archive_url":"https://api.github.com/repos/ansible/ansible-modules-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible-modules-core/downloads","issues_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible-modules-core/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible-modules-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible-modules-core/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/ansible-modules-core/deployments","created_at":"2014-09-25T20:28:25Z","updated_at":"2016-08-25T07:17:31Z","pushed_at":"2016-08-26T22:53:19Z","git_url":"git://github.com/ansible/ansible-modules-core.git","ssh_url":"git@github.com:ansible/ansible-modules-core.git","clone_url":"https://github.com/ansible/ansible-modules-core.git","svn_url":"https://github.com/ansible/ansible-modules-core","homepage":"","size":17601,"stargazers_count":798,"watchers_count":798,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1805,"mirror_url":null,"open_issues_count":1130,"forks":1805,"open_issues":1130,"watchers":798,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/4565"},"html":{"href":"https://github.com/ansible/ansible-modules-core/pull/4565"},"issue":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4565"},"comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/issues/4565/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/4565/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/4565/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible-modules-core/statuses/21eb7870de01c56724ad707ac3f9e30d9bc75eeb"}}}}
{"actor":{"display_login":"gundalow"}}