2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

69 Commits

Author SHA1 Message Date
WangXiaoPeng
98add47637 Issue 588: fix the issue that def command cannot display the value correctly when it has = inside 2016-01-13 21:03:16 -05:00
wangxiaopeng
af02dbd3ba Add rest api doc to ReadTheDoc in rst format. 2016-01-04 06:52:21 -05:00
bybai
faf05c6753 set default scan_methord nmap 2015-08-11 03:06:27 -04:00
bybai
2fa4742127 update vitals restapi 2015-08-11 02:56:42 -04:00
bybai
3dd90a0faa update bmcdiscover restapi 2015-08-11 02:53:22 -04:00
bybai
d3e1ab3cd4 update bmcdiscover related rest api 2015-08-11 02:45:24 -04:00
bybai
9199cda4d9 defect#66 rest api for vitals all return 500 Internal Server Error 2015-08-10 22:45:10 -04:00
amy0701
24f4e5b3c2 add ENV and raw command support for nodeshell. 2015-07-08 04:14:27 -04:00
zhaoertao
b2d0ef4d87 provide mknb <arch> [-c] RESTAPI 2015-07-02 04:01:56 -04:00
amy0701
0b85d95bfb add rest api to get BMC ip address source 2015-06-26 01:29:55 -04:00
amy0701
1d1e7db8c9 add restapi for changing node name. 2015-05-25 02:32:35 -04:00
amy0701
e2204267e6 add rest api for bmcdiscover to check bmc user and password for teamsun. 2015-05-22 06:01:13 -04:00
WangXiaoPeng
4a91c526c3 defect 4671: fix the issue that restapi cannot set attribute which name is password 2015-05-20 02:54:48 -04:00
ertaozh
2409539774 fix bug for PUT and POST attributwes of serviceprocessor object in RESTAPI 2015-05-18 04:58:22 -04:00
ertaozh
8cdde37902 fix bug that REST will return error message if no objection defined 2015-05-18 01:49:26 -04:00
ertaozh
6041cea621 the RESTAPI for supporting to add/modify user/password for BMC with rspconfig 2015-05-15 06:40:27 -04:00
WangXiaoPeng
47725c06ae restapi, fix the issue that cannot set attribute which name is password 2015-05-14 02:33:20 -04:00
amy0701
6a8343d27d rest api for bmcdiscover 2015-05-13 03:10:25 -04:00
WangXiaoPeng
21204f4dde fix the issue that POST - /networks does not work. and fix the ssl connection failure on ubuntu 2015-03-26 07:15:23 -04:00
daniceexi
f3ba9ab3eb fix the specific format in the doc of restapi which causes the getxcatdocs (pandoc) cannot generate doc for REST_API_Reference 2014-12-14 08:40:21 -05:00
daniceexi
50a441209b Code drop for supporting KVM/VMware based virtualization in rest api interface 2014-10-23 08:17:16 -04:00
daniceexi
899428db2c defect 4178,4179: pass the [all] parameter to inventory and vitals resource, this is must have for ppc node; make the return code of rinv and rvitals always to be 0 so that rest api could handle the return message which has both success and failure. 2014-06-30 13:00:28 -04:00
daniceexi
ef3f29352f update the doc part in xcatws.cgi for GET action against nodes/networks/osimages/policy to use keyword ALLRESOURCES 2014-06-04 06:18:07 -04:00
daniceexi
1925650c96 defect 4151:restapi: add error message if using incorrect authorize keys/passwd 2014-06-03 07:32:30 -04:00
daniceexi
b78515b8bc REST API: support keyword ALLRESOURCES for GET nodes,networks,osimage,policy 2014-06-03 05:03:04 -04:00
Bruce Potter
6dabd85bfe fixed bug in xcatws.cgi handling attr values with = in it 2014-05-29 16:08:54 -04:00
daniceexi
8da129f633 xcatws.cgi: fix the output when slpnodes resource has no output; fix the output message for nodestat resource 2014-05-27 07:47:39 -04:00
daniceexi
14b8749111 add handling for the error happens in table resource operation 2014-04-23 06:12:07 -04:00
daniceexi
08d73347c8 split table src to multiple ones; replace xcatws.cgi with the content from restapi.pl 2014-04-22 14:22:19 -04:00
Bruce Potter
681ec3c968 finished test driver for node resource 2014-02-26 19:34:16 -05:00
Bruce Potter
b77b8e7c7d got node list of xcatws.cgi also working with new json structure 2014-02-23 16:00:37 -05:00
Bruce Potter
e251f0a2cf example rest apis working with new json structure 2014-02-23 04:13:15 -05:00
Bruce Potter
80d4cf913b curl working for xcatws.cgi put and some reorg of code 2014-02-09 15:43:37 -05:00
Bruce Potter
dd8096b39f 1st put works with json dict 2014-02-03 15:58:15 -05:00
baiyuan
2825e469fe fix Undefined subroutine &JSON::decode_json called at /opt/xcat/ws/xcatws.cgi line 168 2014-01-27 23:36:01 -05:00
jbjohnso
18f0040778 Restore xcatws understanding of existing code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 19:08:49 +00:00
phamt
9c7b61f341 Updated REST-API to support more xCAT commands and more z/VM options.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-19 16:16:51 +00:00
jbjohnso
8bc4dd7476 Have xCAT WS support credentials via header rather than uri
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15180 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-14 19:19:19 +00:00
jbjohnso
496393222f Fix more instances of namespace for JSON functions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 21:02:09 +00:00
jbjohnso
133551dd07 Some fixes for WS PUT operations
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14867 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 21:21:05 +00:00
jbjohnso
5ecab2d703 Repair JSON in web service (to_json is not imported to namespace on 'require', could do import, but just doing JSON:: to be clearer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-11 20:52:46 +00:00
xq2005
24d81c3019 change version and json dependence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13897 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 07:43:12 +00:00
xq2005
ece9baa5a4 change version and json dependence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13896 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 07:25:01 +00:00
xq2005
9110102e1e change version and json dependence
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13895 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 07:18:39 +00:00
bp-sawyers
a18348883d Eliminated hard requires for SOAP::Lite and JSON
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-22 16:20:24 +00:00
cjhardee
c30c73c726 Allowed the put data to be passed in the query string for table puts and patches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 15:01:58 +00:00
jbjohnso
8d93c5ec4a Fixes for xcatws
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-06 21:04:24 +00:00
xq2005
9ee701ca4a fix the problem for json return format with imbedded list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 14:03:30 +00:00
xq2005
3203501826 add the REST API of gettab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 09:16:06 +00:00
xq2005
95d5f9db58 add REST API for capture image
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 07:54:21 +00:00