Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.30. getNetwork

Name
getNetwork
Description
Get the addresses and hostname for a given server.
Parameters
  • string sessionKey
  • int serverId
Return Value
  • struct - network info
    • string ip - IPv4 address of server
    • string ip6 - IPv6 address of server
    • string hostname - Hostname of server