Closed rpollard00 closed 2 years ago
Closing this as the new version that released just after I posted this resolved the issue.
That's right, @rpollard00! We fixed the issue in 1.7.0b1. Please refer to our release notes for 1.7.0b1 for info on the new parameters in the YAML. https://github.com/CloudGenix/cloudgenix_config/blob/master/release_notes/170b1.md
I've been attempting to find a way to decouple a bypass pair during the run of do_site.py.
I did a pull_site on an Site that I want to use as a template for deploying additional sites. In our configuration we uncouple the wan 3lan 3 bypass pair to use lan 3 as a dhcp server. YAML configuration pulled with pull_site.py has no configuration for the bypasspair wan 3lan 3. It has individual configuration for lan 3, and wan 3.
A default configured ION3000 has wan 3lan 3 coupled, so would expect do_site targeting said device to successfully decouple said bypasspair given the YAML template made from the above configuration.
It looks to me like when there's no provided wan 3lan 3 configuration, that it attempts to set a default configuration, but there is an issue in the default configuration that sets "type" to "port", which is invalid for a bypasspair. Would expect, based on tracing GUI behavior of decoupling that it would HTTP DELETE to the bypasspair endpoint, which looks to be what decouples the interfaces.
Receive this error:
Easy to Reproduce
Verbose 2 output... Verbose 3 crashes: (scrubbed sensitive info):