From 8ff0c90d87d27b8e43d184e8f1150e0f1a4360c7 Mon Sep 17 00:00:00 2001 From: MegaportPhilipBrowne Date: Mon, 23 Sep 2024 11:56:36 -0400 Subject: [PATCH] fix: csp config for ibm --- vxc_types.go | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/vxc_types.go b/vxc_types.go index 09d8edf..1f39da9 100644 --- a/vxc_types.go +++ b/vxc_types.go @@ -576,9 +576,16 @@ type CSPConnectionTransit struct { // CSPConnectionIBM represents the configuration of a CSP connection for IBM Cloud Direct Link. type CSPConnectionIBM struct { CSPConnectionConfig - ConnectType string `json:"connectType"` - ResourceName string `json:"resource_name"` - ResourceType string `json:"resource_type"` + ConnectType string `json:"connectType"` + ResourceName string `json:"resource_name"` + ResourceType string `json:"resource_type"` + CSPName string `json:"csp_name"` + Bandwidth int `json:"bandwidth"` + AccountID string `json:"account_id"` + CustomerASN int `json:"customer_asn"` + ProviderIPAddress string `json:"provider_ip_address"` + CustomerIPAddress string `json:"customer_ip_address"` + Bandwidths []int `json:"bandwidths"` } // CSPConnectionOther represents the configuration of a CSP connection for any other CSP that is not presently defined.