Commit Graph

26 Commits

Author SHA1 Message Date
Zexi Li
0e2c520ecd feat(misc): use cloudmux package (#15254) 2022-10-28 19:53:03 +08:00
Yousong Zhou
37fc897a11 Feature/yousong vpc elb (#11423)
* regiondrivers: kvm: lb: make "network" an optional argument

* loadbalancernetworks: add MacAddr field for lb with eip

* apis: compute: add LOADBALANCER to EIP_ASSOCIATE_VALID_TYPES

* regiondrivers: fix typo RequestAssociat{,e}Eip

* regiondrivers: kvm: RequestAssociatEip: standalone func for each type

* regiondrivers: kvm: RequestAssociateEip: support loadbalancer

* tasks: EipAssociateTask: add support for loadbalancer

* tasks: EipAssociateTask: allow using name for referring to instance

* elasticips: PerformAssociate: validate loadbalancer condition

* tasks: EipDissociateTask: support non-managed loadbalancer

* loadbalancers: add StartSyncstatus method for EipAssociateTask

* regiondrivers: kvm: allow creation of vpc lb

* loadbalanceragents: add timestamp fields for network objects

* climc: eips: add associate type loadbalancer

* mcclient: loadbalancernetworks: add Mac_Addr column

* vpcagent: models: add loadbalancernetworks

* vpcagent: ovn: route back vpc cidr block instead of all rest

* vpcagent: ovn: add ClaimLoadbalancerNetwork()

* mcclient: models: add LoadbalancerNetwork

* mcclient: models: add Network

* lbagent: models: use IBaseManager to accomodate joint manager

* lbagent: models: add {,Loadbalancer}Networks

* lbagent: models: export a few fields

* lbagent: models: add fields for vpc lb models

* iproute2: add NewAddressEx constructor

* lbagent: add worker for vpc lb

* vendor: add github.com/coreos/go-iptables

* lbagent: apihelper: use ovn worker

* lbagent: models: use pkg/compute/models

* mcclient: models: remove lb models

* lbagent: api: use pkg/apihelper

* vpcagent: models: add lblisteners and lbacls

* vpcagent: ovn: add lbacl support
2022-05-06 23:22:50 +08:00
ioito
4bcf2cf99b fix(region): ctx lock panic 2022-04-07 14:54:29 +08:00
Jian Qiu
d1a270baaa fix: not using MarshalAll for output jsonobject (#13156)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-10 09:53:30 +08:00
Jian Qiu
9fa6696e3c feature: vip support (#13020)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-02 08:49:32 +08:00
TangBin
c50c47d653 fix(region): ctyun delete server bugfix
6642
2020-12-18 09:39:00 +08:00
Qiu Jian
0466b2c805 fix: do not lock guest after lock eip, to prevent possible dead lock 2020-10-19 11:42:28 +08:00
Jian Qiu
ba292dfedc fix: use json to store task error message (#7351)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-30 10:34:32 +08:00
Yousong Zhou
74920a37e1 tasks: onecloud: support disassociate eip 2020-05-28 15:51:20 +08:00
Yousong Zhou
02ea7b4628 tasks: EipDissociateTask: lock associated model 2020-05-28 15:39:06 +08:00
tangbin
cdba3af5e8 eip dissociate bugfixC 2020-02-11 19:23:19 +08:00
Rain
a3397588bb fix: eip display info will contains 'associate_name' even if
associate_type is not vm; eip-dissociate will add log to eip now;
eip-dissociate for natgateway will check if natgatway has nat rules with
this eip.
2019-10-25 15:02:26 +08:00
Qiu Jian
bd7a42fe22 fix: server create eip quota check error 2019-07-27 19:43:26 +08:00
ioito
93d1096c2a 修正拼写错误 2019-04-17 14:27:23 +08:00
ioito
6a7136f2cc 添加eip相关日志记录 2019-04-17 14:01:58 +08:00
Qiu Jian
da57161fd0 fix: move all consts in compute/models to apis/compute 2019-04-17 09:23:19 +08:00
Qiu Jian
004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Qiu Jian
c9a6bfa9e0 改进:1. 创建主机时可以绑定指定eip,或者新建eip并且绑定。2.
取消绑定eip时候可以自动删除eip
2019-01-23 12:26:48 +08:00
邱剑
ee9c48d3ef Merge pull request #670 in YUNIONIO/onecloud from ~QUXUAN/onecloud:hotfix/qx-eip-dissociate to release/2.1.0
* commit '4a1ad108e466f94d91dbae210104d4c107ec3b5d':
  避免删除机器时,云端eip已经删除时,无限删除失败
2018-12-05 14:37:39 +08:00
屈轩
4a1ad108e4 避免删除机器时,云端eip已经删除时,无限删除失败 2018-12-05 13:31:16 +08:00
屈轩
80478ca92c 避免eip关联主机或解绑失败后,不能再次操作 2018-12-01 11:23:43 +08:00
Qiu Jian
c2111bcc6e 修正:eip操作失败后没有正确恢复状态 2018-09-17 09:16:49 +08:00
Qiu Jian
d9e401249e adjust import order 2018-09-15 12:40:32 +08:00
Qiu Jian
ee8e8bc2b5 增加eip操作的状态变化 2018-09-15 12:31:27 +08:00
Qiu Jian
7c795f7975 修正:1. 阿里云主机镜像正确设置Platform后,可以正确初始化密码和蜜钥
2.
系统启动默认创建default安全组,主机默认安全组设置为default。defalt安全组默认出入都开放
2018-09-06 15:10:55 +08:00
Qiu Jian
f4f2d8fb97 浮动IP支持 2018-09-04 23:04:29 +08:00