Commit Graph

93 Commits

Author SHA1 Message Date
Jian Qiu
dc1c545df4 fix: vpc secgroup should deny any ingress traffic be default (#15357)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-16 11:18:00 +08:00
Jian Qiu
23c44b1579 fix: ignore secgroup sync error (#15238)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:06:17 +08:00
ioito
1b558448a9 fix(region): huawei routetable 2022-02-09 14:07:54 +08:00
Jian Qiu
608178b8bc fix: test secgroup rules to ovn ACL and recode guest adminSecgroup (#13363)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-29 00:51:42 +08:00
Qiu Jian
89f1c296ec fix: vpcagent nil pointer panic 2022-01-20 00:44:53 +08:00
Jian Qiu
5ce9abf5ec fix: vpcagent access group panic (#13147)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-10 09:15:56 +08:00
Jian Qiu
fad8ef451d feature: vip support (#13106)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-02 08:49:18 +08:00
Qiu Jian
93707b972a fix: vpcagent fail to refresh session token 2021-11-26 01:16:29 +08:00
Qiu Jian
6ba2937e48 fix: fixed on merge Input json 2021-11-10 11:53:36 +08:00
Qiu Jian
24825d642a feature: pass ntp server by DHCP option 2021-11-10 11:53:36 +08:00
Jian Qiu
03591ce71b fix: cleanup compile warnings (#12621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-06 12:29:46 +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
Yousong Zhou
500e2edad7 vpcagent: ignore network without wire ids (#7629) 2020-08-25 23:31:32 +08:00
Yousong Zhou
6dc007425c Bugfix/yousong vpc ext (#7585)
* apis: vpcs_ovn: alloc for interconnects

* vpcagent: names: add vpc ext names

* vpcagent: use var hasXxxgw

* vpcagent: add switch and router for ext access

Link: https://github.com/yunionio/onecloud/issues/7583
2020-08-16 23:40:53 +08:00
Yousong Zhou
20f36afdc8 vpcagent: ClaimVpcGuestDnsRecords: guard against pending_deleted guests 2020-07-06 16:20:06 +08:00
Yousong Zhou
97251c7cc9 vpcagent: different direction for l3 and l4 match 2020-06-19 19:42:58 +08:00
Yousong Zhou
ba0e41d995 vpcagent: ovn: claim dnsrecords for all vpcs 2020-06-03 18:48:24 +08:00
Yousong Zhou
583718014c vpcagent: models: include dnsrecords 2020-06-03 18:25:59 +08:00
Yousong Zhou
88095c6d82 vpcagent: ovn: dns records for guest names 2020-06-03 18:25:59 +08:00
Yousong Zhou
d51791396f vpcagent: ovn: mark and sweep dns records 2020-06-03 18:25:59 +08:00
Yousong Zhou
e442e7a259 vpcagent: ovn: apply qos on eip 2020-05-28 15:51:21 +08:00
Yousong Zhou
4b44f21abf vpcagent: ovn: apply guestnetwork bw_limit
For kernel datapath, this requires at least openvswitch 2.10, or linux
4.15
2020-05-28 15:51:21 +08:00
Yousong Zhou
4b299846de vpcagent: ovn: use FindXxxReferrer_yyy 2020-05-28 15:51:21 +08:00
Yousong Zhou
2841e245e2 vpcagent: ovn: set underlay mtu size in config file 2020-05-28 15:51:20 +08:00
Yousong Zhou
83a44ce94c vpcagent: ovn: mix eipgw and distgw 2020-05-28 15:51:20 +08:00
Yousong Zhou
822ba58756 vpcagent: models: include elasticip 2020-05-28 15:51:20 +08:00
Yousong Zhou
22090a3790 vpcagent: ovn: add and use mac.HashVpcHostDistgwMac() 2020-05-28 15:51:20 +08:00
Yousong Zhou
146ab44fbd vpcagent: models: separate Copy() and CopyJoined() 2020-05-26 17:50:41 +08:00
Yousong Zhou
cb27b18052 vpcagent: apihelper: use CopyJoined() 2020-05-26 17:50:41 +08:00
Yousong Zhou
c4b3084896 vpcagent: models: add CopyJoined() 2020-05-26 17:50:41 +08:00