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
3c3cd4c59e
vpcagent: models: annotate guest with guestnetworks
2021-03-24 20:18:04 +08:00
Yousong Zhou
f7c4e38e18
vpcagent: models: add route tables
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
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
Yousong Zhou
8873c8905e
vpcagent: remove unused code
2020-05-26 17:50:41 +08:00
Yousong Zhou
230f004f36
vpcagent: apihelper: use its own options
2020-05-26 17:50:41 +08:00
Yousong Zhou
3e09d4920b
vpcagent: models: remove now boilerplate code
2020-05-22 11:10:11 +08:00
Yousong Zhou
c7fee7c760
vpcagent: apihelper: add interface IModelSetListOptionProvider
...
All modelsets do not need details at the moment
2020-05-22 11:10:11 +08:00
Yousong Zhou
f5360264fe
vpcagent: models: modelset: details=false for networks
2020-05-21 17:21:03 +08:00
Yousong Zhou
3a51985fcd
vpcagent: models: include wires
2020-05-21 17:21:03 +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
e0349f92b7
vpcagent: apihelper: use IModelSet.IncludeEmulated()
2020-05-21 17:21:03 +08:00
Yousong Zhou
5bf45ad65c
vpcagent: models: modelset: add IncludeEmulated() method
2020-05-21 17:21:03 +08:00
Yousong Zhou
39a19d1c68
vpcagent: apihelper: use IModelSet.IncludeDetails()
2020-05-21 17:21:03 +08:00
Yousong Zhou
2a0cac9d49
vpcagent: models: modelset: add IncludeDetails() method
2020-05-21 17:21:03 +08:00
Yousong Zhou
4d54972a9a
vpcagent: ovnutil: destroy non root obj first
...
To avoid the following error
/* Can't happen because of the database schema. */
ctl_fatal("logical port %s is not part of any logical router",
ctx->argv[1]);
2020-05-15 16:28:17 +08:00