2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 10:40:24 +00:00
chenglch 231d934732 Define some attributes as array type in rest api ver 1.0
Split attribute with comma is not a standard way, this commit
bumped REST version to 1.0 to deal with these attributes in
array type.

```
curl -X GET -k 'http://10.5.101.10/xcatws/nodes/restnode1?userName=root&userPW=cluster'
{"restnode1":{"serialspeed":"115200","nicips.ib1":"10.0.0.100|fd55::214:5eff:fe15:849b","nicnetworks.ib0":"IB00","nicnetworks.ib1":"IB01","cons":"ipmi","postscripts":"syslog,remoteshell,syncfiles,hello,world2","nicips.ib0":"10.10.100.9","groups":"conpute,staticconsolegroup","postbootscripts":"otherpkgs","nictypes.ib0":"Infiniband","nicips.ib2":"10.0.0.103|10.0.0.104"}}

 curl -X GET -k 'http://10.5.101.10/xcatws/nodes/restnode1?userName=root&userPW=cluster&ver=1.0'
{"restnode1":{"nicnetworks.ib0":"IB00","nicnetworks.ib1":"IB01","cons":"ipmi","postscripts":["syslog","remoteshell","syncfiles","hello","world2"],"nicips.ib0":["10.10.100.9"],"nicips.ib2":["10.0.0.103","10.0.0.104"],"groups":["conpute","staticconsolegroup"],"postbootscripts":["otherpkgs"],"serialspeed":"115200","nicips.ib1":["10.0.0.100","fd55::214:5eff:fe15:849b"],"nictypes.ib0":"Infiniband"}}

```
2018-01-29 11:19:09 +08:00
2018-01-19 00:00:03 -05:00
2017-03-14 11:27:56 -04:00
2018-01-19 00:00:03 -05:00
2018-01-22 00:02:51 -05:00
2017-12-18 14:21:25 +08:00
2018-01-18 21:39:38 -05:00
2017-12-18 14:19:11 +08:00

xCAT
----

xCAT is a toolkit for the deployment and administration of clusters.

Documentation
-------------

xCAT documentation is available at: http://xcat-docs.readthedocs.io/en/latest/

|docs_latest| |docs_2139| |docs_2138| |docs_2137| |docs_2136| |docs_2135| |docs_2134| |docs_2133| |docs_2132| |docs_2131| |docs_2130| |docs_212|

Open Source License
-------------------

xCAT is made available as open source software under the EPL license:
http://www.opensource.org/licenses/eclipse-1.0.php

Developers
----------

Developers and prospective contributors are encouraged to read the `Developers Guide <http://xcat-docs.readthedocs.io/en/latest/developers/>`_
In particular the `GitHub <http://xcat-docs.readthedocs.io/en/latest/developers/github/>`_ related subsection.

.. |docs_2139| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.9
    :alt: 2.13.9 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.9/

.. |docs_2138| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.8
    :alt: 2.13.8 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.8/

.. |docs_2137| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.7
    :alt: 2.13.7 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.7/
    
.. |docs_2136| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.6
    :alt: 2.13.6 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.6/

.. |docs_2135| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.5
    :alt: 2.13.5 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.5/

.. |docs_2134| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.4
    :alt: 2.13.4 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.4/

.. |docs_2133| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.3
    :alt: 2.13.3 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.3/
    
.. |docs_2132| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.2
    :alt: 2.13.2 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.2/

.. |docs_2131| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.1
    :alt: 2.13.1 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.1/

.. |docs_2130| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.13.0
    :alt: 2.13.0 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.13.0/
    
.. |docs_212| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.12
    :alt: 2.12 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.12/
        
.. |docs_211| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=2.11
    :alt: 2.11 documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/2.11/
    
.. |docs_latest| image:: https://readthedocs.org/projects/xcat-docs/badge/?version=latest
    :alt: Latest documentation status
    :scale: 100%
    :target: http://xcat-docs.readthedocs.io/en/latest/
Description
No description provided
Readme EPL-1.0 230 MiB
Languages
Perl 78.5%
Shell 11.4%
JavaScript 7.1%
Python 1.8%
PHP 0.4%
Other 0.4%