How do I know which is "interface: '8'"? I am sure I can guess but it would be nice if it reported the name vs a number that is not obvious.
http://192.168.1.1/admin/#settings/routing/wan-policies
I know how to fix it so that is not the problem. Just give us a better name for the offending interface please.
Thanks
http://192.168.1.1/admin/#settings/routing/wan-policies
I know how to fix it so that is not the problem. Just give us a better name for the offending interface please.
Thanks
Code:
Traceback (most recent call last): File "/usr/bin/sync-settings", line 379, in validate_settings sync.managers.validate_settings(settings_file) File "/usr/lib/python3.6/site-packages/sync/managers.py", line 37, in validate_settings manager.validate_settings(settings_file) File "/usr/lib/python3.6/site-packages/sync/openwrt/route_manager.py", line 156, in validate_settings raise Exception(invRPStr) Exception: CONFIRM: [{"affectedType": "policy", "affectedValue": {"balance_algorithm": "WEIGHTED", "best_of_metric": "LOWEST_JITTER", "criteria": [], "description": "msnbc", "enabled": true, "interfaces": [{"interfaceId": 8, "weight": 100}, {"interfaceId": 9, "weight": 100}, {"interfaceId": 12, "weight": 100}, {"interfaceId": 16, "weight": 100}, {"interfaceId": 17, "weight": 100}], "policyId": 7, "type": "BEST_OF"}, "invalidReasonType": "interface", "invalidReasonValue": 8}, {"affectedType": "policy", "affectedValue": {"balance_algorithm": "WEIGHTED", "best_of_metric": "LOWEST_JITTER", "criteria": [], "description": "msnbc", "enabled": true, "interfaces": [{"interfaceId": 8, "weight": 100}, {"interfaceId": 9, "weight": 100}, {"interfaceId": 12, "weight": 100}, {"interfaceId": 16, "weight": 100}, {"interfaceId": 17, "weight": 100}], "policyId": 7, "type": "BEST_OF"}, "invalidReasonType": "interface", "invalidReasonValue": 9}, {"affectedType": "policy", "affectedValue": {"balance_algorithm": "WEIGHTED", "best_of_metric": "LOWEST_JITTER", "criteria": [], "description": "msnbc", "enabled": true, "interfaces": [{"interfaceId": 8, "weight": 100}, {"interfaceId": 9, "weight": 100}, {"interfaceId": 12, "weight": 100}, {"interfaceId": 16, "weight": 100}, {"interfaceId": 17, "weight": 100}], "policyId": 7, "type": "BEST_OF"}, "invalidReasonType": "interface", "invalidReasonValue": 17}]
Comment