Never mind no need to check if its right the scrip should just correct. I'm now just doing a +++++++++++++++++ try: dashboard.networks.createNetworkGroupPolicy( networkId=network_id,name="Guest", scheduling={'enabled': False}, bandwidth={"settings":"custom","bandwidthLimits":{"limitUp":25600,"limitDown":25600}}, vlanTagging={'settings': 'custom', 'vlanId': '80'}, firewallAndTrafficShaping={'settings': 'custom', 'trafficShapingRules': [], 'l3FirewallRules': [{'comment': '', 'policy': 'deny', 'protocol': 'any', 'destPort': 'Any', 'destCidr': '10.0.0.0/8'}, {'comment': '', 'policy': 'deny', 'protocol': 'any', 'destPort': 'Any', 'destCidr': '172.168.0.0/16'}, {'comment': '', 'policy': 'deny', 'protocol': 'any', 'destPort': 'Any', 'destCidr': '192.168.0.0/16'}], 'l7FirewallRules': []}, bonjourForwarding= {'settings': 'ignore', 'rules': []} ) except: dashboard.networks.updateNetworkGroupPolicy( groupPolicyId="106", networkId=network_id,name="Guest", scheduling={'enabled': False}, bandwidth={"settings":"custom","bandwidthLimits":{"limitUp":25600,"limitDown":25600}}, vlanTagging={'settings': 'custom', 'vlanId': '80'}, firewallAndTrafficShaping={'settings': 'custom', 'trafficShapingRules': [], 'l3FirewallRules': [{'comment': '', 'policy': 'deny', 'protocol': 'any', 'destPort': 'Any', 'destCidr': '10.0.0.0/8'}, {'comment': '', 'policy': 'deny', 'protocol': 'any', 'destPort': 'Any', 'destCidr': '172.168.0.0/16'}, {'comment': '', 'policy': 'deny', 'protocol': 'any', 'destPort': 'Any', 'destCidr': '192.168.0.0/16'}], 'l7FirewallRules': []}, bonjourForwarding= {'settings': 'ignore', 'rules': []} ) for each GP and adjusting per GP
... View more