SoftLayer.firewall

Firewall Manager/helpers

copyright:
  1. 2013, SoftLayer Technologies, Inc. All rights reserved.
license:

MIT, see LICENSE for more details.

class SoftLayer.managers.firewall.FirewallManager(client)[source]

Manages firewalls.

Parameters:client (SoftLayer.API.Client) – the API client instance
client = None

A valid SoftLayer.API.Client object that will be used for all actions.

get_firewalls()[source]

Returns a list of all firewalls on the account.

Returns:A list of firewalls on the current account.
SoftLayer.managers.firewall.has_firewall(vlan)[source]

Helper to determine whether or not a VLAN has a firewall.

Parameters:vlan (dict) – A dictionary representing a VLAN
Returns:True if the VLAN has a firewall, false if it doesn’t.

Project Versions

Previous topic

SoftLayer.dns

Next topic

SoftLayer.hardware

This Page