支持natgateway同步

This commit is contained in:
ioito
2019-06-12 11:49:19 +08:00
parent 2541ebc16c
commit 0d31819208
53 changed files with 2324 additions and 135 deletions
+1 -1
View File
@@ -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 {
+3
View File
@@ -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