45 Commits
Author SHA1 Message Date
Yousong Zhou 840273c189 vpcagent: ovn: fix port match condition formation 2021-04-15 16:08:34 +08:00
Zexi Li 5fc53aef9c Merge pull request #10498 from yousong/automated-cherry-pick-of-#10497-upstream-release-3.7
Automated cherry pick of #10497: [rfc] Feature/yousong vpc route
2021-04-07 21:32:53 +08:00
Yousong Zhou eee6e59b88 vpcagent: ovn: fix qos for eip upload 2021-03-26 10:27:54 +08:00
Yousong Zhou 0a929ed335 vpcagent: ovn: add ClaimRoutes 2021-03-24 20:18:04 +08:00
Yousong Zhou 2ec4a1cec7 vpcagent: ovn: resolveRoutes from API models 2021-03-24 20:18:04 +08:00
Yousong Zhou 98fcdb2be5 apihelper: move to yunion.io/x/onecloud/pkg/{vpcagent/,}apihelper 2021-02-23 15:34:23 +08:00
Qu Xuan 73fe4866d7 fix(region): support peer secgroup 2021-02-22 20:41:37 +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 39f979398b vpcagent: ovn: increase dhcp lease, renew, rebind time 2020-10-09 10:07:18 +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 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 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 22090a3790 vpcagent: ovn: add and use mac.HashVpcHostDistgwMac() 2020-05-28 15:51:20 +08:00
Yousong Zhou 230f004f36 vpcagent: apihelper: use its own options 2020-05-26 17:50:41 +08:00
Yousong Zhou 5fdd534f74 vpcagent: ovn: preparation: skip default vpc 2020-05-21 17:21:03 +08:00
Yousong Zhou a7a3beae27 vpcagent: ovn: preparation: use network.Vpc.Id 2020-05-21 17:21:03 +08:00
Yousong Zhou 6d788e052a vpcagent: ovn: cmp: generate clean args in a single batch 2020-05-15 16:28:17 +08:00
Yousong Zhou 4962bdc7e1 vpcagent: ovn: use db.FindOneMatchByAnyIndex 2020-05-13 14:14:49 +08:00
Yousong Zhou 579641a268 vpcagent: ovn: configure acl for lport 2020-05-13 14:14:49 +08:00
Yousong Zhou 9f4daafee2 vpcagent: ovn: secgrouprules_acl 2020-05-13 14:14:48 +08:00
Yousong Zhou cae9594da9 vpcagent: ovn: use yunion.io/x/ovsdb 2020-05-13 14:14:48 +08:00
Yousong Zhou 5caaccd43f vpcagent: ovn: explicitly include gateway route in classless routes 2020-05-08 16:29:14 +08:00
Yousong Zhou 503735ebf5 vpcagent: ad-hoc replacement for db.FindByIndex() 2020-04-27 20:06:47 +08:00
Yousong Zhou 11835889c0 vpcagent: work around nics of pending deleted guest 2020-04-27 16:56:44 +08:00
Yousong Zhou d2c0ba4d5a vpcagent: ovn: use network.GuestDns when available 2020-04-24 18:32:09 +08:00
Yousong Zhou 05c38c8130 vpcagent: ovn: manage static routes 2020-04-24 18:32:08 +08:00
Yousong Zhou 0578d6c498 vpcagent: ovn: guestnetwork: guard against empty dhcpopt 2020-04-24 18:32:08 +08:00
Yousong Zhou 1c50ffb216 vpcagent: ovn: rename subnet, guestnetwork ovn obj names 2020-04-24 18:32:08 +08:00
Yousong Zhou 38354229b8 vpcagent: ovn: use cmp() when claimVpc 2020-04-24 18:32:08 +08:00
Yousong Zhou d8e419cfae vpcagent: ovn: use cmp() 2020-04-24 18:32:08 +08:00
Yousong Zhou 4d3eba9bac vpcagent: add cmp() for search and pre-cleanup 2020-04-24 18:32:08 +08:00
Yousong Zhou e6bb3397d1 vpcagent: ovn: make host ls when claimVpc 2020-04-24 18:32:08 +08:00
Yousong Zhou bc999888a2 vpcagent: a vpc agent with ovn driver 2020-01-17 17:48:04 +08:00