X hits on this document

PDF document

February 10, 2006 - page 65 / 238

628 views

0 shares

0 downloads

0 comments

65 / 238

char

* const ports[],

unsigned int

num_ip_addrs,

unsigned int

authtype,

unsigned int

privilege,

void

*username,

unsigned int

username_len,

void

*password,

unsigned int

password_len,

os_handler_t

*handlers,

void

*user_data,

_ _ ipmi con t

**new_con);

53

  • *

    const ip_addrs[],

3.10. SERIAL

int ipmi_ip_setup_con(char

The parameters are:

ip addrs An array of IP addresses. Each IP address must be an address that connects to the exact same management controller. If you need connections to multiple management controllers, you must set up two different connections and use multiple connections in the domain.

ports An array of UDP ports for each IP address. This is defined as 623 in the IPMI spec, but is here for flexibility.

num ip addrs The number of IP addresses and ports.

authtype The authentication type to use for the connection. Table 3.30 describes the different authentication types.

privilege The privilege level to connect at. Table 3.18 describes the different privilege levels.

username The username to connect as. See section 3.11 for details on users.

username len The length of the username. Required because usernames can be binary and contain zeros.

password The password for the user. See section 3.11 for details on users.

password len The length of the password. Required because usernames can be binary and contain zeros.

handlers The OS handler to use for this domain. See section 2.2.2 for more details.

user data This is a field that will be put into the connection data structure of the same name. This is for user use and OpenIPMI will not use it.

new con The new connection is returned in this field.

Once you have a connection, it works like a normal connection as defined in section 3.1.

3.10

Serial

TBD - OpenIPMI does not support serial interfaces, but this needs to be written someday.

Document info
Document views628
Page views628
Page last viewedThu Dec 08 04:35:21 UTC 2016
Pages238
Paragraphs8090
Words85809

Comments