{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman-discovery-image/issues/7","labels_url":"https://api.github.com/repos/theforeman/foreman-discovery-image/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman-discovery-image/issues/7/comments","events_url":"https://api.github.com/repos/theforeman/foreman-discovery-image/issues/7/events","html_url":"https://github.com/theforeman/foreman-discovery-image/pull/7","id":62705072,"number":7,"title":"Fixes #9810 - IPMI facter extensions multichannel support","user":{"login":"lzap","id":49752,"avatar_url":"https://avatars.githubusercontent.com/u/49752?v=3","gravatar_id":"","url":"https://api.github.com/users/lzap","html_url":"https://github.com/lzap","followers_url":"https://api.github.com/users/lzap/followers","following_url":"https://api.github.com/users/lzap/following{/other_user}","gists_url":"https://api.github.com/users/lzap/gists{/gist_id}","starred_url":"https://api.github.com/users/lzap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzap/subscriptions","organizations_url":"https://api.github.com/users/lzap/orgs","repos_url":"https://api.github.com/users/lzap/repos","events_url":"https://api.github.com/users/lzap/events{/privacy}","received_events_url":"https://api.github.com/users/lzap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"stbenjam","id":429763,"avatar_url":"https://avatars.githubusercontent.com/u/429763?v=3","gravatar_id":"","url":"https://api.github.com/users/stbenjam","html_url":"https://github.com/stbenjam","followers_url":"https://api.github.com/users/stbenjam/followers","following_url":"https://api.github.com/users/stbenjam/following{/other_user}","gists_url":"https://api.github.com/users/stbenjam/gists{/gist_id}","starred_url":"https://api.github.com/users/stbenjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stbenjam/subscriptions","organizations_url":"https://api.github.com/users/stbenjam/orgs","repos_url":"https://api.github.com/users/stbenjam/repos","events_url":"https://api.github.com/users/stbenjam/events{/privacy}","received_events_url":"https://api.github.com/users/stbenjam/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2015-03-18T14:18:12Z","updated_at":"2015-08-27T14:17:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman-discovery-image/pulls/7","html_url":"https://github.com/theforeman/foreman-discovery-image/pull/7","diff_url":"https://github.com/theforeman/foreman-discovery-image/pull/7.diff","patch_url":"https://github.com/theforeman/foreman-discovery-image/pull/7.patch"},"body":"This patch now fixes ipmi_facts and also add ipmi_N_facts (where N is channel\nnumber) for those who would like to get information from multiple channels for\nany reason.\n\nExample run of facter with this patch on IBM server with IPMI on channel 1:\n\n```\n[root@ibm-x3655-01 ~]# FACTERLIB=/root facter | grep ipmi\nipmi_1_gateway => 10.16.71.254\nipmi_1_ipaddress => 10.16.68.91\nipmi_1_ipaddress_source => DHCP Address\nipmi_1_macaddress => 00:14:5e:5b:8c:8e\nipmi_1_subnet_mask => 255.255.248.0\nipmi_enabled => true\nipmi_gateway => 10.16.71.254\nipmi_ipaddress => 10.16.68.91\nipmi_ipaddress_source => DHCP Address\nipmi_macaddress => 00:14:5e:5b:8c:8e\nipmi_subnet_mask => 255.255.248.0\n```\n\nThe same on HP box with IPMI on channel 2:\n\n```\n[root@hp-dl165g6-01 ~]# FACTERLIB=/root facter | grep ipmi\nipmi_2_gateway => 10.16.71.254\nipmi_2_ipaddress => 10.16.66.131\nipmi_2_ipaddress_source => DHCP Address\nipmi_2_macaddress => 00:25:b3:e6:5d:98\nipmi_2_subnet_mask => 255.255.248.0\nipmi_enabled => true\nipmi_gateway => 10.16.71.254\nipmi_ipaddress => 10.16.66.131\nipmi_ipaddress_source => DHCP Address\nipmi_macaddress => 00:25:b3:e6:5d:98\nipmi_subnet_mask => 255.255.248.0\n```\n\n@mhulan can you take a look?"},"comment":{"url":"https://api.github.com/repos/theforeman/foreman-discovery-image/issues/comments/135448689","html_url":"https://github.com/theforeman/foreman-discovery-image/pull/7#issuecomment-135448689","issue_url":"https://api.github.com/repos/theforeman/foreman-discovery-image/issues/7","id":135448689,"user":{"login":"lzap","id":49752,"avatar_url":"https://avatars.githubusercontent.com/u/49752?v=3","gravatar_id":"","url":"https://api.github.com/users/lzap","html_url":"https://github.com/lzap","followers_url":"https://api.github.com/users/lzap/followers","following_url":"https://api.github.com/users/lzap/following{/other_user}","gists_url":"https://api.github.com/users/lzap/gists{/gist_id}","starred_url":"https://api.github.com/users/lzap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzap/subscriptions","organizations_url":"https://api.github.com/users/lzap/orgs","repos_url":"https://api.github.com/users/lzap/repos","events_url":"https://api.github.com/users/lzap/events{/privacy}","received_events_url":"https://api.github.com/users/lzap/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T14:17:11Z","updated_at":"2015-08-27T14:17:11Z","body":"Have you extended the beaker machine I reserved to you? @stbenjam ? :-)"}}