diff --git a/partner_interconnect_attachments.go b/partner_interconnect_attachments.go index 670d4cb..a87c5fb 100644 --- a/partner_interconnect_attachments.go +++ b/partner_interconnect_attachments.go @@ -95,7 +95,7 @@ type PartnerInterconnectAttachmentSetRoutesRequest struct { // BGP represents the BGP configuration of a Partner Interconnect Attachment. type BGP struct { // LocalASN is the local ASN - LocalASN int `json:"local_router_asn,omitempty"` + LocalASN int `json:"local_asn,omitempty"` // LocalRouterIP is the local router IP LocalRouterIP string `json:"local_router_ip,omitempty"` // PeerASN is the peer ASN diff --git a/partner_interconnect_attachments_test.go b/partner_interconnect_attachments_test.go index d2a653b..d104b3d 100644 --- a/partner_interconnect_attachments_test.go +++ b/partner_interconnect_attachments_test.go @@ -50,7 +50,7 @@ var vInterconnectTestJSON = ` "naas_provider":"MEGAPORT", "vpc_ids":["f5a0c5e4-7537-47de-bb8d-46c766f89ffb"], "bgp":{ - "local_router_asn":64532, + "local_asn":64532, "local_router_ip":"169.250.0.1", "peer_router_asn":133937, "peer_router_ip":"169.250.0.6",