Skip to content

Commit

Permalink
guestnetworks: add EipId field
Browse files Browse the repository at this point in the history
  • Loading branch information
yousong committed May 28, 2020
1 parent 3254646 commit ff6e3e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/apis/compute/zz_generated.model.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pkg/compute/models/guestnetworks.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ type SGuestnetwork struct {

// IPv4映射地址,当子网属于私有云vpc的时候分配,用于访问外网
MappedIpAddr string `width:"16" charset:"ascii" nullable:"true" list:"user"`

// 网卡关联的Eip实例
EipId string `width:"36" charset:"ascii" nullable:"true" list:"user"`
}

func (manager *SGuestnetworkManager) GetSlaveFieldName() string {
Expand Down

0 comments on commit ff6e3e2

Please sign in to comment.