mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-05-23 04:51:39 +08:00
支持natgateway同步
This commit is contained in:
@@ -151,7 +151,7 @@ func (eip *SEipAddress) GetMode() string {
|
||||
}
|
||||
|
||||
func (eip *SEipAddress) GetAssociationType() string {
|
||||
return "server"
|
||||
return api.EIP_ASSOCIATE_TYPE_SERVER
|
||||
}
|
||||
|
||||
func (eip *SEipAddress) GetAssociationExternalId() string {
|
||||
|
||||
@@ -21,6 +21,7 @@ import (
|
||||
|
||||
api "yunion.io/x/onecloud/pkg/apis/compute"
|
||||
"yunion.io/x/onecloud/pkg/cloudprovider"
|
||||
"yunion.io/x/onecloud/pkg/multicloud"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -31,6 +32,8 @@ const (
|
||||
)
|
||||
|
||||
type SVpc struct {
|
||||
multicloud.SVpc
|
||||
|
||||
region *SRegion
|
||||
|
||||
iwires []cloudprovider.ICloudWire
|
||||
|
||||
Reference in New Issue
Block a user