Hi All,
I'm reading the firewall rules from a network and trying to push them to another network, getting error
TypeError: Appliance.updateNetworkApplianceFirewallL3FirewallRules() takes 2 positional arguments but 3 were given
My code is simply below, the fw_rules result in the dict with 1000+ rules
# Reading the rules
fw_rules = dashboard.appliance.getNetworkApplianceFirewallL3FirewallRules(net_id)
# Pushing the rule to another network
response = dashboard.appliance.updateNetworkApplianceFirewallL3FirewallRules(
network_id,fw_rules)