diff --git a/pkg/compute/models/elasticips.go b/pkg/compute/models/elasticips.go index 2056796390..c13e2de40b 100644 --- a/pkg/compute/models/elasticips.go +++ b/pkg/compute/models/elasticips.go @@ -1595,6 +1595,7 @@ func (manager *SElasticipManager) NewEipForVMOnHost(ctx context.Context, userCre // eip.AutoDellocate = tristate.True eip.Bandwidth = bw eip.ChargeType = chargeType + eip.BgpType = args.BgpType eip.AutoDellocate = tristate.NewFromBool(autoDellocate) ownerCred := userCred.(mcclient.IIdentityProvider) if vm != nil {