A list of network interfaces supported by a server is held by the interfaces node of the response XML packet. The node has the following structure:

image 37043

  • The interface node is required. It contains the name of a particular network interface. Data type: netInterfacesType (plesk_common.xsd).

A response packet received from server can look as follows:

<packet>
    <server>
        <get>
            <result>
                <status>ok</status>
                <interfaces>
                    <interface>eth0</interface>
                </interfaces>
            </result>
        </get>
    </server>
</packet>