Example, Request, Response – HP Intelligent Management Center Licenses User Manual

Page 170

Advertising
background image

telnetParamTemplate sub-elements

Username.

userName

String type.

User password.

userPassword

String type.

Super password.

superPassword

String type.

Authentication mode.

authTypeStr

String type.

Timeout time.

timeout

Long integer type.

Number of retries.

retries

Long integer type.

Port.

port

Long integer type.

Template type.

type

Integer type.

Example

Query Telnet template information with the template ID 1.

Request

GET http://imc_host:8080/imcrs/plat/res/telnet/1
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<telnetParamTemplate>
<id>1</id>
<type>0</type>
<name>default</name>
<authType>5</authType>
<userName/>
<userPassword/>
<superPassword/>
<authTypeStr>No username, no password</authTypeStr>
<timeout>4</timeout>
<retries>1</retries>
<port>23</port>
<version>1</version>
</telnetParamTemplate>

170

Network Resource Management

Advertising