Commit Graph
111 Commits
Author SHA1 Message Date
屈轩 025b5fc289 fix(region): secgroup rule fix (#18414) 2023-10-25 17:49:44 +08:00
Jian QiuandQiu Jian 6a93723d8d fix: vpcagent sync error (#18381)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-23 09:27:23 +08:00
屈轩 b462ef3abe fix(region): dns zone (#17868) 2023-08-29 15:44:20 +08:00
Zexi Li a8e8474425 fix(vpcagent): fetch data from region server defaultly 2023-06-29 20:01:29 +08:00
Zexi Li e0c47dd5df feat(apimap): fetch vpcagent net topo info from DB (#17038) 2023-05-15 14:48:24 +08:00
ioito 3cb7c7cdd8 fix(region): secgroup sync 2023-04-28 13:27:54 +08:00
wanyaoqi 0f821c5242 fix(vpcagent): import ovn package in vpcagent service.go
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-20 09:53:27 +08:00
Qiu Jian e46e68a209 fix: apihelper sync ignore instancegroups without guets 2023-02-26 01:05:41 +08:00
mhf 63c086aa2c fix(notify): 对服务异常添加消息通知 2023-01-16 15:52:03 +08:00
Jian QiuandQiu Jian 21716cefb5 fix: remove mutual dependency of cloudmux on onecloud (#15621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-27 01:21:26 +08:00
Qiu Jian f6c5006079 feature: vpcagent sync handler 2022-11-25 17:36:09 +08:00
屈轩 ecf21f2351 fix(region): refactor lb (#15284) 2022-11-22 12:28:36 +08:00
Jian QiuandQiu Jian fa6b33884a fix: vpc secgroup should deny any ingress traffic be default (#15355)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-16 11:16:58 +08:00
Jian QiuandQiu Jian 13fbbe371a fix: ignore secgroup sync error (#15236)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:05:53 +08:00
wanyaoqi 1570b17eb3 fix: gen copyright
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:52:25 +08:00
QIU Jian 293afd2e69 fix: remove apiversion param from session 2022-08-25 09:43:50 +08:00
Jian QiuandQiu Jian b2674489e9 fix: verbose vpcagent sync error (#14698)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-23 11:21:48 +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 b09109e671 fix(region): huawei routetable 2022-02-09 14:07:09 +08:00
Jian QiuandQiu Jian d66b1c125d fix: test secgroup rules to ovn ACL and recode guest adminSecgroup (#13358)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-29 00:51:17 +08:00
Qiu Jian 8f4243adfd fix: vpcagent nil pointer panic 2022-01-19 19:17:13 +08:00
Jian QiuandQiu Jian a8f3d54259 fix: vpcagent access group panic (#13146)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-10 09:15:42 +08:00
Jian QiuandQiu Jian 9fa6696e3c feature: vip support (#13020)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-02 08:49:32 +08:00
Qiu Jian 09f4097545 fix: vpcagent fail to refresh session token 2021-11-26 01:09:18 +08:00
Qiu Jian ed686cf2e3 fix: fixed on merge Input json 2021-11-10 10:26:58 +08:00
Qiu Jian 307a381482 feature: pass ntp server by DHCP option 2021-11-10 10:26:58 +08:00
Zexi Li 356dccc6fe Merge pull request #12615 from ioito/hotfix/qx-mcclient-modules
fix(common): split mcclient modules by service
2021-11-08 11:04:35 +08:00
Jian QiuandQiu Jian 1b5ec22599 fix: cleanup compile warnings (#12620)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-06 12:29:35 +08:00
Qu Xuan 06dc1c1b87 fix(common): split mcclient modules by service 2021-11-05 19:24:50 +08:00
Qiu Jian 93bceeafdd fix: inter-vm traffic limited by eip bandwidth limit 2021-08-10 00:13:03 +08:00
zhaoxiangchun 8fa4e577dd feat(cloudmon): add cloudmon component 2021-07-16 12:20:52 +08:00
Yousong Zhou c800b240d4 vpcagent: ovn: fix port match condition formation 2021-04-15 16:05:55 +08:00
Zexi Li 9f757bd692 Merge pull request #10497 from yousong/feature/yousong-vpc-route
Feature/yousong vpc route
2021-04-07 21:31:46 +08:00
Yousong Zhou e5a44d2b69 vpcagent: ovn: fix qos for eip upload 2021-03-26 10:27:12 +08:00
Yousong Zhou bf5ef89a95 vpcagent: ovn: add ClaimRoutes 2021-03-24 20:16:19 +08:00
Yousong Zhou 5fd1c309c8 vpcagent: ovn: resolveRoutes from API models 2021-03-24 20:16:19 +08:00
Yousong Zhou 1b2878d699 vpcagent: models: annotate guest with guestnetworks 2021-03-24 20:16:19 +08:00
Yousong Zhou 3b8e4811bc vpcagent: models: add route tables 2021-03-24 20:16:19 +08:00
Yousong Zhou 4c550665fb apihelper: move to yunion.io/x/onecloud/pkg/{vpcagent/,}apihelper 2021-02-23 15:31:44 +08:00
Qu Xuan 7417452ec6 fix(region): support peer secgroup 2021-02-22 16:18:36 +08:00
Yousong Zhou e201573d61 feat(apis): add const VPC_OVN_ENCAP_COST 2020-12-17 21:38:11 +08:00
Yousong Zhou 25cd808840 fix(vpcagent): ovn: stable dns A record value 2020-12-15 10:41:43 +08:00
Yousong Zhou 65220a6f5a feat(vpcagent): export subnet mac gen funcs 2020-12-02 18:04:31 +08:00
Yousong Zhou 929fa87c5f vpcagent: ovn: make aware of sub ips 2020-11-26 21:18:59 +08:00
Yousong Zhou be478c4430 vpcagent: models: join network addresses 2020-11-26 21:18:59 +08:00
Yousong Zhou d96d51603e vpcagent: apihelper: filter by cloud_env=onpremise 2020-11-26 21:18:59 +08:00
Yousong Zhou 9beb3706ed fix(vpcagent): models: guestnetworks: accomodate change_ipaddr
change_ipaddr does detach, then attach of network.  It's not solely an
update of ipaddr, but a combination of deletion then creation.
2020-11-24 21:55:04 +08:00
Yousong Zhou 39f979398b vpcagent: ovn: increase dhcp lease, renew, rebind time 2020-10-09 10:07:18 +08:00
Yousong Zhou 9168284d59 vpcagent: guard against foul eip records 2020-09-07 17:24:08 +08:00
Yousong Zhou ad6b38f68a vpcagent: respect guest src check settings (#7677)
mac   ip    dhcp    ping    xipping    xmacping
  on    on    y       y       n          n
  on    off   y       y       y          n
  off   off   y       y       y          y

external access depends on source routing, changing ip address will
fail that

note dst mac address of reply packet when changing only mac address
with vpc ip remains the same
2020-08-31 16:31:37 +08:00