2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-10 23:30:11 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
e8df039d42 Make getadapter work during discovery process
This patch redesign the original getadapter plugins. Currently,
getadapter do not work as a common command but only a chain command
works during discovery.
2017-07-20 16:03:52 +08:00
c6e663d1fd Use fifo pipe to enhance getadapter
Currently the getadapter implementation store the nics information
in multiple files. This implementaion will store the records in the
database and add the following changes:

1. Add taskstate table to record the getadapter request.
2. Add route_request hook in xcatd to avoid of too much process.
3. Add adapterinfo column to keep the adapter information.
4. Use fifo pipe to send/recv the adapter message and wake up the waiting process.
5. Use alarm signal to handle the timeout event.
2016-01-25 01:53:54 -05:00
b0bf7931ac modify depending on samveen 's comment 2015-11-27 03:02:02 -05:00
1aab9c6227 modify depending on gongjie's comment 2015-11-25 05:25:24 -05:00
acd8570324 modify depending on gongjie's comment 2015-11-24 03:20:10 -05:00
0c74d06835 remove debug info 2015-11-24 01:47:24 -05:00
a381f2ee06 modify depending on gongjie's new comment 2015-11-24 01:44:59 -05:00
cb01dac7ae modify depending on the comment 2015-11-23 23:18:07 -05:00
2729ec1ec9 used for support getadapters command 2015-11-22 03:37:10 -05:00