Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.30. Method: getNetwork

Description

Get the addresses and hostname for a given server.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • int serverId
Returns

The following return values are available for this method:

  • struct - network info
    • string ip - IPv4 address of server
    • string ip6 - IPv6 address of server
    • string hostname - Hostname of server