diff --git a/api/s2s_vpn/v1alpha1/s2s_vpn_sdk.go b/api/s2s_vpn/v1alpha1/s2s_vpn_sdk.go index 617b011d..a7941dcc 100644 --- a/api/s2s_vpn/v1alpha1/s2s_vpn_sdk.go +++ b/api/s2s_vpn/v1alpha1/s2s_vpn_sdk.go @@ -611,6 +611,8 @@ type BgpSession struct { RoutingPolicyID string `json:"routing_policy_id"` PrivateIP scw.IPNet `json:"private_ip"` + + PeerPrivateIP scw.IPNet `json:"peer_private_ip"` } // ConnectionCipher: connection cipher. @@ -638,6 +640,10 @@ type VpnGatewayPublicConfig struct { // CreateConnectionRequestBgpConfig: create connection request bgp config. type CreateConnectionRequestBgpConfig struct { RoutingPolicyID string `json:"routing_policy_id"` + + PrivateIP *scw.IPNet `json:"private_ip"` + + PeerPrivateIP *scw.IPNet `json:"peer_private_ip"` } // Connection: connection.