Merge pull request #12517 from tb365/bugfix/tb-bugfix-102601

cn-southwest-2 default bgp type 5_sbgp
This commit is contained in:
Zexi Li
2021-10-26 19:31:45 +08:00
committed by GitHub
+2
View File
@@ -579,6 +579,8 @@ func (self *SRegion) CreateEIP(eip *cloudprovider.SEip) (cloudprovider.ICloudEIP
eip.BGPType = "5_telcom"
case "cn-north-4", "ap-southeast-1", "ap-southeast-2", "eu-west-0":
eip.BGPType = "5_bgp"
case "cn-southwest-2":
eip.BGPType = "5_sbgp"
default:
eip.BGPType = "5_bgp"
}