You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by leandrogbreve September 6, 2024
Hi everyone,
It's my first time posting, and I wasn't able to find any related topics about this. So I apologize in advance if it's duplicated.
I can set a gateway as default by making a PATCH request to /routing/gateway/default with a body like:
{ "defaultgw4": "WAN2GW", "apply": true }
However, if I send the name of an existing and valid gateway group (image below):
It returns:
{ "code": 404, "status": "not found", "response_id": "FOREIGN_MODEL_FIELD_VALUE_NOT_FOUND", "message": "Field 'defaultgw4' could not locate 'Routing Gateway' object with 'name' set to 'FAILOVER_LINK1_LINK2'", "data": [] }
I haven't seen in the docs anything regarding not being able to set a gateway group as default, so that is my question: isn't it possible to set a gateway group as default?
Thanks!
Leandro.
The text was updated successfully, but these errors were encountered:
The DefaultGateway model is currently only looking for RoutingGateways, when it should ideally also be looking for RoutingGatewayGroups.
Discussed in #557
Originally posted by leandrogbreve September 6, 2024
Hi everyone,
It's my first time posting, and I wasn't able to find any related topics about this. So I apologize in advance if it's duplicated.
I can set a gateway as default by making a PATCH request to /routing/gateway/default with a body like:
{ "defaultgw4": "WAN2GW", "apply": true }
However, if I send the name of an existing and valid gateway group (image below):
It returns:
{ "code": 404, "status": "not found", "response_id": "FOREIGN_MODEL_FIELD_VALUE_NOT_FOUND", "message": "Field 'defaultgw4' could not locate 'Routing Gateway' object with 'name' set to 'FAILOVER_LINK1_LINK2'", "data": [] }
I haven't seen in the docs anything regarding not being able to set a gateway group as default, so that is my question: isn't it possible to set a gateway group as default?
Thanks!
Leandro.
The text was updated successfully, but these errors were encountered: