{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/33585","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/33585/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/33585/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/33585/events","html_url":"https://github.com/ansible/ansible/pull/33585","id":279462585,"node_id":"MDExOlB1bGxSZXF1ZXN0MTU2NTI2MTcx","number":33585,"title":"StoragePoolFactsModule for HPE OneView","user":{"login":"ricardogpsf","id":1815812,"node_id":"MDQ6VXNlcjE4MTU4MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1815812?v=4","gravatar_id":"","url":"https://api.github.com/users/ricardogpsf","html_url":"https://github.com/ricardogpsf","followers_url":"https://api.github.com/users/ricardogpsf/followers","following_url":"https://api.github.com/users/ricardogpsf/following{/other_user}","gists_url":"https://api.github.com/users/ricardogpsf/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardogpsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardogpsf/subscriptions","organizations_url":"https://api.github.com/users/ricardogpsf/orgs","repos_url":"https://api.github.com/users/ricardogpsf/repos","events_url":"https://api.github.com/users/ricardogpsf/events{/privacy}","received_events_url":"https://api.github.com/users/ricardogpsf/received_events","type":"User","site_admin":false},"labels":[{"id":686214011,"node_id":"MDU6TGFiZWw2ODYyMTQwMTE=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.5","name":"affects_2.5","color":"ededed","default":false},{"id":513652538,"node_id":"MDU6TGFiZWw1MTM2NTI1Mzg=","url":"https://api.github.com/repos/ansible/ansible/labels/core_review","name":"core_review","color":"ededed","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":723150340,"node_id":"MDU6TGFiZWw3MjMxNTAzNDA=","url":"https://api.github.com/repos/ansible/ansible/labels/new_contributor","name":"new_contributor","color":"c2e0c6","default":false},{"id":473225334,"node_id":"MDU6TGFiZWw0NzMyMjUzMzQ=","url":"https://api.github.com/repos/ansible/ansible/labels/new_module","name":"new_module","color":"c2e0c6","default":false},{"id":153577825,"node_id":"MDU6TGFiZWwxNTM1Nzc4MjU=","url":"https://api.github.com/repos/ansible/ansible/labels/new_plugin","name":"new_plugin","color":"bfe5bf","default":false},{"id":581543918,"node_id":"MDU6TGFiZWw1ODE1NDM5MTg=","url":"https://api.github.com/repos/ansible/ansible/labels/stale_ci","name":"stale_ci","color":"fef2c0","default":false},{"id":636327968,"node_id":"MDU6TGFiZWw2MzYzMjc5Njg=","url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false},{"id":636352796,"node_id":"MDU6TGFiZWw2MzYzNTI3OTY=","url":"https://api.github.com/repos/ansible/ansible/labels/support:core","name":"support:core","color":"ededed","default":false},{"id":468273802,"node_id":"MDU6TGFiZWw0NjgyNzM4MDI=","url":"https://api.github.com/repos/ansible/ansible/labels/test","name":"test","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-05T17:29:18Z","updated_at":"2018-11-21T13:45:35Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/33585","html_url":"https://github.com/ansible/ansible/pull/33585","diff_url":"https://github.com/ansible/ansible/pull/33585.diff","patch_url":"https://github.com/ansible/ansible/pull/33585.patch"},"body":"##### SUMMARY\r\nAdded new oneview_storage_pool_facts module for retrieving [HPE OneView Storage Pools](http://h17007.www1.hpe.com/docs/enterprise/servers/oneview3.1/cic-api/en/api-docs/current/index.html#rest/storage-pools) resource and unit tests.\r\n\r\nRelated issue for more information: [HPE OneView support](https://github.com/ansible/ansible/issues/28354)\r\n\r\n##### ISSUE TYPE\r\n - New Module Pull Request\r\n\r\n##### COMPONENT NAME\r\n`oneview_storage_pool_facts`\r\n\r\n##### ANSIBLE VERSION\r\n```\r\nansible --version\r\nansible 2.5.0 (hpe-oneview/storage-pool-facts ade6edbb36) last updated 2017/11/07 17:08:10 (GMT +000)\r\n  config file = None\r\n  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /oneview-ansible/ansible/lib/ansible\r\n  executable location = /oneview-ansible/ansible/bin/ansible\r\n  python version = 2.7.14 (default, Oct 10 2017, 02:49:49) [GCC 4.9.2]\r\n```\r\n\r\n\r\n##### ADDITIONAL INFORMATION\r\nNotes:\r\n- To run the example you need an Oneview Appliance with some Storage Pool managed and to use the version 500 of Oneview REST API.\r\n\r\nExample of usage:\r\n```yaml\r\n- name: Gather facts about all Storage Pools\r\n  oneview_storage_pool_facts:\r\n    hostname: 10.101.42.57\r\n    username: administrator\r\n    password: serveradmin\r\n    api_version: 500\r\n  no_log: true\r\n  delegate_to: localhost\r\n\r\n- debug: var=storage_pools\r\n\r\n- name: Gather paginated, filtered and sorted facts about Storage Pools\r\n  oneview_storage_pool_facts:\r\n    params:\r\n      start: 0\r\n      count: 3\r\n      sort: 'name:descending'\r\n      filter: status='OK'\r\n    hostname: 10.101.42.57\r\n    username: administrator\r\n    password: serveradmin\r\n    api_version: 500\r\n  no_log: true\r\n  delegate_to: localhost\r\n\r\n- debug: var=storage_pools\r\n\r\n- name: Gather facts about a Storage Pool by name\r\n  oneview_storage_pool_facts:\r\n    name: \"CPG_FC-AO\"\r\n    hostname: 10.101.42.57\r\n    username: administrator\r\n    password: serveradmin\r\n    api_version: 500\r\n  no_log: true\r\n  delegate_to: localhost\r\n\r\n- debug: var=storage_pools\r\n\r\n- name: Gather facts about the reachable Storage Pools\r\n  oneview_storage_pool_facts:\r\n    options:\r\n      - reachableStoragePools\r\n    params:\r\n      sort: 'name:ascending'\r\n      filter: status='OK'\r\n      networks:\r\n        - /rest/network/123456A\r\n        - /rest/network/123456B\r\n    hostname: 10.101.42.57\r\n    username: administrator\r\n    password: serveradmin\r\n    api_version: 500\r\n  no_log: true\r\n  delegate_to: localhost\r\n\r\n- debug: var=storage_pools_reachable_storage_pools\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/440666884","html_url":"https://github.com/ansible/ansible/pull/33585#issuecomment-440666884","issue_url":"https://api.github.com/repos/ansible/ansible/issues/33585","id":440666884,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDY2Njg4NA==","user":{"login":"ricardogpsf","id":1815812,"node_id":"MDQ6VXNlcjE4MTU4MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/1815812?v=4","gravatar_id":"","url":"https://api.github.com/users/ricardogpsf","html_url":"https://github.com/ricardogpsf","followers_url":"https://api.github.com/users/ricardogpsf/followers","following_url":"https://api.github.com/users/ricardogpsf/following{/other_user}","gists_url":"https://api.github.com/users/ricardogpsf/gists{/gist_id}","starred_url":"https://api.github.com/users/ricardogpsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ricardogpsf/subscriptions","organizations_url":"https://api.github.com/users/ricardogpsf/orgs","repos_url":"https://api.github.com/users/ricardogpsf/repos","events_url":"https://api.github.com/users/ricardogpsf/events{/privacy}","received_events_url":"https://api.github.com/users/ricardogpsf/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T13:45:35Z","updated_at":"2018-11-21T13:45:35Z","author_association":"NONE","body":"@Akasurde Sorry for the delay to answer, but I'm not working on it anymore.\r\nI believe that @soodpr or @madhav-bharadwaj could say you something about the continuation of this task."}}
{"actor":{"display_login":"ricardogpsf"}}