Skip to content

Instantly share code, notes, and snippets.

@yoshi314
Created September 10, 2015 08:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoshi314/52ff7ee8a7d3aa036f37 to your computer and use it in GitHub Desktop.
Save yoshi314/52ff7ee8a7d3aa036f37 to your computer and use it in GitHub Desktop.
reset_rib output
hpilo_cli -dd -l admin -p sekrit 192.168.190.72 reset_rib
Connecting to 192.168.190.72 port 443
Connecting to 192.168.190.72 port 443
Sending XML request, 132 bytes
POST /ribcl HTTP/1.1
Host: localhost
Content-Length: 52
Connection: Close
<?xml version="1.0"?>
<RIBCL VERSION="2.0"></RIBCL>
Received 170 bytes
HTTP/1.1 404 Not Found
Content-Type:text/html
<HTML><HEAD><TITLE>Remote Insight</TITLE></HEAD><BODY>
<H1>Request Error</H1>
HTTP/1.1 404 Not Found
</BODY></HTML>
Connecting to 192.168.190.72 port 443
Connecting to 192.168.190.72 port 443
Sending XML request, 187 bytes
<?xml version="1.0"?>
<RIBCL
VERSION="2.0"
>
<LOGIN
PASSWORD="********"
USER_LOGIN="admin"
>
<RIB_INFO
MODE="write"
>
<RESET_RIB
/>
</RIB_INFO>
</LOGIN>
</RIBCL>
Received 1205 bytes
<?xml version="1.0"?>
<RIBCL VERSION="2.22"/>
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
</RIBCL>
<?xml version="1.0"?>
<RIBCL VERSION="2.22"/>
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
<INFORM>Scripting utility should be updated to the latest version.</INFORM>
</RIBCL>
<?xml version="1.0"?>
<RIBCL VERSION="2.22"/>
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
</RIBCL>
<?xml version="1.0"?>
<RIBCL VERSION="2.22"/>
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
</RIBCL>
<?xml version="1.0"?>
<RIBCL VERSION="2.22"/>
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
<INFORM>Integrated Lights-Out will reset at the end of the script.</INFORM>
</RIBCL>
<?xml version="1.0"?>
<RIBCL VERSION="2.22"/>
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
</RIBCL>
<?xml version="1.0"?>
<RIBCL VERSION="2.22"/>
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
</RIBCL>
<?xml version="1.0"?>
<RIBCL VERSION="2.22"/>
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
</RIBCL>
<?xml version="1.0"?>
<RIBCL VERSION="2.22"/>
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
</RIBCL>
>>> my_ilo.reset_rib()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment