Skip to content

Commit e2677fe

Browse files
author
Kevin McDonald
committed
Updates edit_dedicated_fwl_rules doc block
1 parent c0ec9f7 commit e2677fe

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

SoftLayer/managers/firewall.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ def edit_dedicated_fwl_rules(self, firewall_id, rules):
243243
"""Edit the rules for dedicated firewall.
244244
245245
:param integer firewall_id: the instance ID of the dedicated firewall
246-
:param dict rules: the rules to be pushed on the firewall
246+
:param list rules: the rules to be pushed on the firewall as defined by
247+
SoftLayer_Network_Firewall_Update_Request_Rule
247248
"""
248249

249250
mask = ('mask[networkVlan[firewallInterfaces'
@@ -255,6 +256,7 @@ def edit_dedicated_fwl_rules(self, firewall_id, rules):
255256
for fwl1 in network_vlan['firewallInterfaces']:
256257
if fwl1['name'] == 'inside':
257258
continue
259+
258260
for control_list in fwl1['firewallContextAccessControlLists']:
259261
if control_list['direction'] == 'out':
260262
continue

0 commit comments

Comments
 (0)