Commit Graph
32 Commits
Author SHA1 Message Date
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
rainzm 51e75c48f8 fix(cloudproxy): keep the proxy endpoint project and server consistent 2021-05-06 16:33:52 +08:00
Yousong Zhou 8ab1db998f mcclient: models: Server: add fields for eip and nics 2021-02-23 15:29:12 +08:00
Yousong Zhou 7f982d5b29 lbagent: fend off unexpected resources just in case
As resource we do not know whether they are bad, but surely we know
they are not what we expect
2020-04-22 18:46:18 +08:00
yunion-ci-robot 682361acb8 Merge pull request #4256 from yousong/feature/yousong-vpc
Feature/yousong vpc
2020-01-19 11:47:11 +08:00
Yousong Zhou 5b0f36dbcb mcclient: models: map to db models 2020-01-17 17:41:06 +08:00
Yousong Zhou c1dacdda12 lbagent: tunable tune.http.maxhdr 2020-01-15 12:14:27 +08:00
Yousong Zhou a468ffedbf lbagent: support accessing backend with tls 2020-01-15 12:14:27 +08:00
Yousong Zhou dfee0713e9 lbagent: support http redirect 2020-01-10 21:33:12 +08:00
Yousong Zhou 30f800bf36 lbclusters: 初次支持 2019-06-28 15:31:21 +00:00
Jian Qiu 92b90cdbe0 fix: protect projects with resources in any services (#1337) 2019-06-21 09:09:27 +08:00
Yousong Zhou 36954218d5 mcclient: models: 添加ansibleplaybooks 2019-06-20 09:03:01 +00:00
Qiu Jian af47a803a6 fix: cloud-region/zone add domain&scope filter 2019-06-14 18:14:48 +08:00
Yousong Zhou e65f5e802f mcclient: models: 添加SshKeypair 2019-06-12 08:16:56 +00:00
Yousong Zhou 966694389c ansibleserver: as a separate service 2019-06-10 15:39:05 +00:00
Yousong Zhou d3f4518967 lb: 添加PROXY协议支持
默认关闭(off),支持v1, v2, v2-ssl, v2-ssl-cn

可分别在listener, backend上控制

 - 若listener.send_proxy不为off,以listener.backend_proxy为准
 - 若listener.send_proxy为off,以backend.send_proxy为准
2019-05-30 13:06:07 +00:00
屈轩 5b9dac9fc7 Hotfix/qx lb manager (#327)
* 设置lb manager_id

* 公有云真删除model
2019-04-13 21:37:09 +08:00
Qiu Jian 004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Yousong Zhou 33f568717b lbagent: report ip, ha_state, version 2019-03-15 12:11:22 +00:00
Yousong Zhou 8016a27abf lbagent: telegraf: add params influx_db_output_unsafe_ssl 2019-03-12 03:39:20 +00:00
屈轩 409b376ebd 修正udp,tcp后端服务器组id异常 2019-01-25 15:00:45 +08:00
屈轩 2df78f917f 添加region driver 2019-01-25 14:54:27 +08:00
屈轩 616ce78302 LB 返回参数更新 2018-12-15 14:28:02 +08:00
周有松 f1e5d6d99e Automatic merge from release/2.3.0 -> release/2.4.0
* commit '979d28217bb2fdc0929ea1d4c5c587b3728f4735':
  loadbalancercertificates: 变更Certificate字段为list:"user"
  loadbalancercertificates: 变更证书fingerprint字段名和格式
2018-12-15 13:57:13 +08:00
Yousong Zhou 40ed5bc5a6 loadbalancercertificates: 变更证书fingerprint字段名和格式 2018-12-15 04:47:36 +00:00
邱剑 2f325530ef Automatic merge from release/2.3.0 -> release/2.4.0
* commit 'ec71bc2fe99668a49fa2cc1b92413798cf6bec4a':
  loadbalancers: 增加rps限速支持
  loadbalancers: 清理监听选项名
  loadbalancers: 移除Bandwidth字段
2018-12-12 15:32:47 +08:00
Yousong Zhou 5564929e34 loadbalancers: 增加rps限速支持 2018-12-12 03:44:30 +00:00
Yousong Zhou 93e1e7799e loadbalancers: 清理监听选项名 2018-12-11 14:32:27 +00:00
Yousong Zhou 58aca9ea9e loadbalancers: 移除Bandwidth字段
未在使用,且名称太泛,不便于日后扩展维护
2018-12-11 14:32:27 +00:00
Qiu Jian 965e84ea36 update 2018-12-07 02:57:58 +08:00
Yousong Zhou 719a4686ce lbagent: add telegraf support 2018-10-27 09:40:38 +00:00
Yousong Zhou af6946ebb5 loadbalancer: initial version 2018-09-30 08:37:37 +00:00