November 23, 2017
Get firewall report

Important manual pages:
import SoftLayer

# Your SoftLayer API username and key.
USERNAME = 'set me'
API_KEY = 'set me'

# The ip address ID you which to generate the report
ipAddressId = 12597032

# Declare the API client
client = SoftLayer.Client(username=USERNAME, api_key=API_KEY)

    # Getting the report
    result = client['SoftLayer_Network_Subnet_IpAddress'].getTopTenSyslogEventsByProtocolsOneDay(id=ipAddressId)
except SoftLayer.SoftLayerAPIError as e:
    # If there was an error returned from the SoftLayer API then bomb out with the
    # error message.
    print("Unable to get the firewall report faultCode=%s, faultString=%s" % (e.faultCode, e.faultString))


If this article contains any error, or leaves any of your questions unanswered, please help us out by opening up a github issue.
Open an issue