May 4, 2017


Get Virtual Console Virtual Guest
Retrieve the IP, username, and password needed to access the KVM console for a Virtual Guest.

"""
@author Ryan Tiffany
"""

import SoftLayer
from pprint import pprint as pp

client = SoftLayer.Client()

mask = "mask[consoleIpAddressRecord[ipAddress[ipAddress],port],operatingSystem[passwords]]"

getDetails = client['SoftLayer_Virtual_Guest'].getObject(mask=mask,id=31678643)
pp(getDetails)

Feedback?

We would love to hear it
Open an issue

/python/getKvmDetails/