mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-10-30 18:23:35 +08:00
支持natgateway同步
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ func (self *SEipAddress) GetMode() string {
|
||||
|
||||
func (self *SEipAddress) GetAssociationType() string {
|
||||
// todo : ?
|
||||
return "server"
|
||||
return api.EIP_ASSOCIATE_TYPE_SERVER
|
||||
}
|
||||
|
||||
func (self *SEipAddress) GetAssociationExternalId() string {
|
||||
|
||||
@@ -25,6 +25,7 @@ import (
|
||||
"yunion.io/x/pkg/util/secrules"
|
||||
|
||||
"yunion.io/x/onecloud/pkg/cloudprovider"
|
||||
"yunion.io/x/onecloud/pkg/multicloud"
|
||||
)
|
||||
|
||||
type SUserCIDRs struct {
|
||||
@@ -32,6 +33,8 @@ type SUserCIDRs struct {
|
||||
}
|
||||
|
||||
type SVpc struct {
|
||||
multicloud.SVpc
|
||||
|
||||
region *SRegion
|
||||
|
||||
iwires []cloudprovider.ICloudWire
|
||||
|
||||
Reference in New Issue
Block a user