2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

11 Commits

Author SHA1 Message Date
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
chenglch
ef724b0e6f Improve the error message for getadapter command
1. Add allow policy for getadapter
2. enhance the error message for different mgt when running getadapter

partial-issue: #1174
2016-06-14 01:56:19 -04:00
chenglch
ead0c29b3f Fix issue to acess db in getadapter
Previously the database access in getadapter ignore
the group cases, this patch intent to fix it.
2016-03-27 23:38:12 -04:00
chenglch
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
huweihua
bfc5a88ee2 modify sleep bug 2015-11-27 04:40:48 -05:00
huweihua
a04f074c08 fix some bug found by cheng long 2015-11-27 03:47:48 -05:00
huweihua
cac6a5c8af add sleep when waitpid 2015-11-27 03:16:02 -05:00
huweihua
c8685b21ab modify write file error 2015-11-27 03:04:41 -05:00
huweihua
1f19b92529 modify depending on gongjie and chenglong 's comment 2015-11-25 05:19:33 -05:00
huweihua
b30037e485 modify depending on comments 2015-11-24 03:14:35 -05:00
huweihua
98da02d631 used for support getadapters command 2015-11-22 03:38:20 -05:00