{"action":"created","issue":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/1324","repository_url":"https://api.github.com/repos/xcat2/xcat-core","labels_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1324/labels{/name}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1324/comments","events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1324/events","html_url":"https://github.com/xcat2/xcat-core/pull/1324","id":160799839,"number":1324,"title":"Implement discovery probe basic function","user":{"login":"hu-weihua","id":7370626,"avatar_url":"https://avatars.githubusercontent.com/u/7370626?v=3","gravatar_id":"","url":"https://api.github.com/users/hu-weihua","html_url":"https://github.com/hu-weihua","followers_url":"https://api.github.com/users/hu-weihua/followers","following_url":"https://api.github.com/users/hu-weihua/following{/other_user}","gists_url":"https://api.github.com/users/hu-weihua/gists{/gist_id}","starred_url":"https://api.github.com/users/hu-weihua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hu-weihua/subscriptions","organizations_url":"https://api.github.com/users/hu-weihua/orgs","repos_url":"https://api.github.com/users/hu-weihua/repos","events_url":"https://api.github.com/users/hu-weihua/events{/privacy}","received_events_url":"https://api.github.com/users/hu-weihua/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xcat2/xcat-core/labels/component:xcatprobe","name":"component:xcatprobe","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"zet809","id":8222144,"avatar_url":"https://avatars.githubusercontent.com/u/8222144?v=3","gravatar_id":"","url":"https://api.github.com/users/zet809","html_url":"https://github.com/zet809","followers_url":"https://api.github.com/users/zet809/followers","following_url":"https://api.github.com/users/zet809/following{/other_user}","gists_url":"https://api.github.com/users/zet809/gists{/gist_id}","starred_url":"https://api.github.com/users/zet809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zet809/subscriptions","organizations_url":"https://api.github.com/users/zet809/orgs","repos_url":"https://api.github.com/users/zet809/repos","events_url":"https://api.github.com/users/zet809/events{/privacy}","received_events_url":"https://api.github.com/users/zet809/received_events","type":"User","site_admin":false},"assignees":[{"login":"zet809","id":8222144,"avatar_url":"https://avatars.githubusercontent.com/u/8222144?v=3","gravatar_id":"","url":"https://api.github.com/users/zet809","html_url":"https://github.com/zet809","followers_url":"https://api.github.com/users/zet809/followers","following_url":"https://api.github.com/users/zet809/following{/other_user}","gists_url":"https://api.github.com/users/zet809/gists{/gist_id}","starred_url":"https://api.github.com/users/zet809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zet809/subscriptions","organizations_url":"https://api.github.com/users/zet809/orgs","repos_url":"https://api.github.com/users/zet809/repos","events_url":"https://api.github.com/users/zet809/events{/privacy}","received_events_url":"https://api.github.com/users/zet809/received_events","type":"User","site_admin":false},{"login":"daniceexi","id":10385985,"avatar_url":"https://avatars.githubusercontent.com/u/10385985?v=3","gravatar_id":"","url":"https://api.github.com/users/daniceexi","html_url":"https://github.com/daniceexi","followers_url":"https://api.github.com/users/daniceexi/followers","following_url":"https://api.github.com/users/daniceexi/following{/other_user}","gists_url":"https://api.github.com/users/daniceexi/gists{/gist_id}","starred_url":"https://api.github.com/users/daniceexi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniceexi/subscriptions","organizations_url":"https://api.github.com/users/daniceexi/orgs","repos_url":"https://api.github.com/users/daniceexi/repos","events_url":"https://api.github.com/users/daniceexi/events{/privacy}","received_events_url":"https://api.github.com/users/daniceexi/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/13","html_url":"https://github.com/xcat2/xcat-core/milestones/2.12.1","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/13/labels","id":1730222,"number":13,"title":"2.12.1","description":"Tentative 6/17 release","creator":{"login":"whowutwut","id":10049070,"avatar_url":"https://avatars.githubusercontent.com/u/10049070?v=3","gravatar_id":"","url":"https://api.github.com/users/whowutwut","html_url":"https://github.com/whowutwut","followers_url":"https://api.github.com/users/whowutwut/followers","following_url":"https://api.github.com/users/whowutwut/following{/other_user}","gists_url":"https://api.github.com/users/whowutwut/gists{/gist_id}","starred_url":"https://api.github.com/users/whowutwut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whowutwut/subscriptions","organizations_url":"https://api.github.com/users/whowutwut/orgs","repos_url":"https://api.github.com/users/whowutwut/repos","events_url":"https://api.github.com/users/whowutwut/events{/privacy}","received_events_url":"https://api.github.com/users/whowutwut/received_events","type":"User","site_admin":false},"open_issues":109,"closed_issues":161,"state":"open","created_at":"2016-04-25T19:47:46Z","updated_at":"2016-06-29T09:44:32Z","due_on":"2016-07-07T16:00:00Z","closed_at":null},"comments":4,"created_at":"2016-06-17T02:25:21Z","updated_at":"2016-06-29T09:59:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xcat2/xcat-core/pulls/1324","html_url":"https://github.com/xcat2/xcat-core/pull/1324","diff_url":"https://github.com/xcat2/xcat-core/pull/1324.diff","patch_url":"https://github.com/xcat2/xcat-core/pull/1324.patch"},"body":"This pull request include below changes:\r\n1. Implement discovery probe basic feature\r\n2. enhance xcatporbe main framework\r\n\r\nNote: the function ``dhcp_dynamic_range_check`` has been done by @xuweibj , she will commit this part in another pull request.\r\n\r\nBelow are some real output of discovery, it's maybe helpful for you to review:\r\n\r\n        [root@fs1 probe]# ./xcatprobe  discovery -m\r\n        Start to capture every message during discovery process......\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.153 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.153 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:05 for 192.168.5.153 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:05 for 192.168.5.153 via enP4p1s0f2\r\n        Send DHCPACK on 192.168.5.153 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Via HTTP 192.168.5.153 download /tftpboot/pxelinux.cfg/p/192.168.0.0_16\r\n        Via HTTP 192.168.5.153 download //tftpboot/xcat/genesis.kernel.ppc64\r\n        Via HTTP 192.168.5.153 download //tftpboot/xcat/genesis.fs.ppc64.gz\r\n        Send DHCPACK on 192.168.5.153 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.151 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.151 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.151 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.151 via enP4p1s0f2\r\n        Send DHCPACK on 192.168.5.151 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Via HTTP 192.168.5.151 download /tftpboot/pxelinux.cfg/p/192.168.0.0_16\r\n        Via HTTP 192.168.5.151 download //tftpboot/xcat/genesis.kernel.ppc64\r\n        Via HTTP 192.168.5.151 download //tftpboot/xcat/genesis.fs.ppc64.gz\r\n        Send DHCPACK on 192.168.5.151 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.156 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.156 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:05 for 192.168.5.156 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:05 for 192.168.5.156 via enP4p1s0f2\r\n        Send DHCPACK on 192.168.5.156 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Send DHCPACK on 192.168.5.156 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: Acquired IPv4 address\r\n        on enP5p7s0f0\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: Run getcert 192.168.3.29:3001...\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: Getcert done.\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: Run getdestiny\r\n        192.168.3.29:3001...\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: Getdestiny done.\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.154 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.154 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.154 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.154 via enP4p1s0f2\r\n        Send DHCPACK on 192.168.5.154 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Send DHCPACK on 192.168.5.154 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: The destparameter\r\n        is discover\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: The destiny is\r\n        discover\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: The dest is discover\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: Run dodiscovery...\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Beginning\r\n        node discovery process...\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Waiting for\r\n        nics to get addresses\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Network configuration\r\n        complete, commencing transmit of discovery packets\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Beginning\r\n        echo infomation to discovery packet file...\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Discovery\r\n        packet file is ready.\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Sending the\r\n        discovery packet to xCAT (192.168.3.29:3001)...\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Sleeping 5\r\n        seconds...\r\n        Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Restart...\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.29 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.29 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:05 for 192.168.5.29 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:05 for 192.168.5.29 via enP4p1s0f2\r\n        Send DHCPACK on 192.168.5.29 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Send DHCPACK on 192.168.5.29 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: Acquired IPv4 address\r\n        on enP5p7s0f0\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: Run getcert 192.168.3.29:3001...\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: Getcert done.\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: Run getdestiny\r\n        192.168.3.29:3001...\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: Getdestiny done.\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: The destparameter\r\n        is discover\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: The destiny is\r\n        discover\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: The dest is discover\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: Run dodiscovery...\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Beginning\r\n        node discovery process...\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Waiting for\r\n        nics to get addresses\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Network configuration\r\n        complete, commencing transmit of discovery packets\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Beginning\r\n        echo infomation to discovery packet file...\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Discovery\r\n        packet file is ready.\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Sending the\r\n        discovery packet to xCAT (192.168.3.29:3001)...\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Sleeping 5\r\n        seconds...\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Beginning\r\n        echo infomation to discovery packet file...\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Discovery\r\n        packet file is ready.\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Sending the\r\n        discovery packet to xCAT (192.168.3.29:3001)...\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Sleeping 5\r\n        seconds...\r\n        Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Restart...\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.31 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.31 via enP4p1s0f2\r\n        Send DHCPACK on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Send DHCPACK on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Send DHCPOFFER on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.31 via enP4p1s0f2\r\n        Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.31 via enP4p1s0f2\r\n        Send DHCPACK on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        Via HTTP 192.168.5.31 download /tftpboot/petitboot/c910f05c31\r\n        Via HTTP 192.168.5.31 download /tftpboot/xcat/osimage/ubuntu16.04-ppc64el-install-compute/vmlinuz\r\n        Via HTTP 192.168.5.31 download /tftpboot/xcat/osimage/ubuntu16.04-ppc64el-install-compute/initrd.img\r\n        Send DHCPACK on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        ^C=======================================\r\n        = The summary of discovery:\r\n        =======================================\r\n        [70:e2:84:14:0a:29 (c910f05c31)]\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.151 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.151 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.151 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.151 via enP4p1s0f2\r\n        | Send DHCPACK on 192.168.5.151 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Via HTTP 192.168.5.151 download /tftpboot/pxelinux.cfg/p/192.168.0.0_16\r\n        | Via HTTP 192.168.5.151 download //tftpboot/xcat/genesis.kernel.ppc64\r\n        | Via HTTP 192.168.5.151 download //tftpboot/xcat/genesis.fs.ppc64.gz\r\n        | Send DHCPACK on 192.168.5.151 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.154 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.154 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.154 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.154 via enP4p1s0f2\r\n        | Send DHCPACK on 192.168.5.154 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Send DHCPACK on 192.168.5.154 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: Acquired IPv4\r\n        address on enP5p7s0f0\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: Run getcert 192.168.3.29:3001...\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: Getcert done.\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: Run getdestiny\r\n        192.168.3.29:3001...\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: Getdestiny done.\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: The destparameter\r\n        is discover\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: The destiny is\r\n        discover\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: The dest is discover\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.doxcat: Run dodiscovery...\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Beginning\r\n        node discovery process...\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Waiting\r\n        for nics to get addresses\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Network\r\n        configuration complete, commencing transmit of discovery packets\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Beginning\r\n        echo infomation to discovery packet file...\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Discovery\r\n        packet file is ready.\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Sending\r\n        the discovery packet to xCAT (192.168.3.29:3001)...\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Sleeping\r\n        5 seconds...\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Beginning\r\n        echo infomation to discovery packet file...\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Discovery\r\n        packet file is ready.\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Sending\r\n        the discovery packet to xCAT (192.168.3.29:3001)...\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Sleeping\r\n        5 seconds...\r\n        | Recv from 70:e2:84:14:0a:29(192.168.5.154) : xcat.genesis.dodiscovery: Restart...\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.31 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.31 via enP4p1s0f2\r\n        | Send DHCPACK on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Send DHCPACK on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.31 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:29 for 192.168.5.31 via enP4p1s0f2\r\n        | Send DHCPACK on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        | Via HTTP 192.168.5.31 download /tftpboot/petitboot/c910f05c31\r\n        | Via HTTP 192.168.5.31 download /tftpboot/xcat/osimage/ubuntu16.04-ppc64el-install-compute/vmlinuz\r\n        | Via HTTP 192.168.5.31 download /tftpboot/xcat/osimage/ubuntu16.04-ppc64el-install-compute/initrd.img\r\n        | Send DHCPACK on 192.168.5.31 back to 70:e2:84:14:0a:29 via enP4p1s0f2\r\n        [70:e2:84:14:0a:05 (c910f05c29)]\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.153 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.153 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:05 for 192.168.5.153 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:05 for 192.168.5.153 via enP4p1s0f2\r\n        | Send DHCPACK on 192.168.5.153 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Via HTTP 192.168.5.153 download /tftpboot/pxelinux.cfg/p/192.168.0.0_16\r\n        | Via HTTP 192.168.5.153 download //tftpboot/xcat/genesis.kernel.ppc64\r\n        | Via HTTP 192.168.5.153 download //tftpboot/xcat/genesis.fs.ppc64.gz\r\n        | Send DHCPACK on 192.168.5.153 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.156 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.156 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:05 for 192.168.5.156 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:05 for 192.168.5.156 via enP4p1s0f2\r\n        | Send DHCPACK on 192.168.5.156 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Send DHCPACK on 192.168.5.156 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: Acquired IPv4\r\n        address on enP5p7s0f0\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: Run getcert 192.168.3.29:3001...\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: Getcert done.\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: Run getdestiny\r\n        192.168.3.29:3001...\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: Getdestiny done.\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: The destparameter\r\n        is discover\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: The destiny is\r\n        discover\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: The dest is discover\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.doxcat: Run dodiscovery...\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Beginning\r\n        node discovery process...\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Waiting\r\n        for nics to get addresses\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Network\r\n        configuration complete, commencing transmit of discovery packets\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Beginning\r\n        echo infomation to discovery packet file...\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Discovery\r\n        packet file is ready.\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Sending\r\n        the discovery packet to xCAT (192.168.3.29:3001)...\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Sleeping\r\n        5 seconds...\r\n        | Recv from 70:e2:84:14:0a:05(192.168.5.156) : xcat.genesis.dodiscovery: Restart...\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Receive DHCPDISCOVER from 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.29 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Send DHCPOFFER on 192.168.5.29 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:05 for 192.168.5.29 via enP4p1s0f2\r\n        | Receive DHCPREQUEST from 70:e2:84:14:0a:05 for 192.168.5.29 via enP4p1s0f2\r\n        | Send DHCPACK on 192.168.5.29 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n        | Send DHCPACK on 192.168.5.29 back to 70:e2:84:14:0a:05 via enP4p1s0f2\r\n\r\n        [root@fs1 probe]# ./xcatprobe  discovery -h\r\n        Usage:\r\n        discovery -h\r\n        discovery -t\r\n        discovery -p [-V] [-T <discovery_type>] [-n <node_range>]\r\n        discovery -m\r\n        discovery [-V] [-T <discovery_type>] [-n <node_range>]\r\n\r\n        Description:\r\n         Do probe for discovery process, including pro-check for required configuration and realtime monitor of discovery process.\r\n         If without any option, discovery will do pro-check first, if all checking point pass, then goes to monitor directly.\r\n\r\n         Options:\r\n         -h : Get usage information of discovery.\r\n         -t : To verify if discovery can work, reserve option for probe framework.\r\n         -V : Output more information for debug.\r\n         -p : Do pre-check for disvoery, check whether required configuration have been done ahead.\r\n         -T : The type of discovery, the valid values are mtms,switch.\r\n         -n : The range of predefined node, must used with option -m.\r\n    -m : Do realtime monitor for discovery process.  "},"comment":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/comments/229312434","html_url":"https://github.com/xcat2/xcat-core/pull/1324#issuecomment-229312434","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/1324","id":229312434,"user":{"login":"zet809","id":8222144,"avatar_url":"https://avatars.githubusercontent.com/u/8222144?v=3","gravatar_id":"","url":"https://api.github.com/users/zet809","html_url":"https://github.com/zet809","followers_url":"https://api.github.com/users/zet809/followers","following_url":"https://api.github.com/users/zet809/following{/other_user}","gists_url":"https://api.github.com/users/zet809/gists{/gist_id}","starred_url":"https://api.github.com/users/zet809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zet809/subscriptions","organizations_url":"https://api.github.com/users/zet809/orgs","repos_url":"https://api.github.com/users/zet809/repos","events_url":"https://api.github.com/users/zet809/events{/privacy}","received_events_url":"https://api.github.com/users/zet809/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T09:59:02Z","updated_at":"2016-06-29T09:59:02Z","body":"Looks good to me."}}
{"actor":{"display_login":"zet809"}}