def edit_standard_fwl_rules(self, firewall_id, rules):
        """Edit the rules for standard firewall.

        :param integer firewall_id: the instance ID of the standard firewall
        :param dict rules: the rules to be pushed on the firewall
        """

        rule_svc = self.client['Network_Firewall_Update_Request']
        template = {'networkComponentFirewallId': firewall_id, 'rules': rules}

        return rule_svc.createObject(template)
def edit_standard_fwl_rules ( self , firewall_id , rules ) : rule_svc = self . client [ 'Network_Firewall_Update_Request' ] template = { 'networkComponentFirewallId' : firewall_id , 'rules' : rules } return rule_svc . createObject ( template )
Edit the rules for standard firewall.

        :param integer firewall_id: the instance ID of the standard firewall
        :param dict rules: the rules to be pushed on the firewall