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
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
53f3546125
vpcagent: ovnutil: OvnNbctlArgsDestroy: take into account ACL
2020-05-13 14:14:48 +08:00
Yousong Zhou
9f4daafee2
vpcagent: ovn: secgrouprules_acl
2020-05-13 14:14:48 +08:00
Yousong Zhou
1abdb4f136
vpcagent: models: sort security group rules
2020-05-13 14:14:48 +08:00
Yousong Zhou
7ba46e9289
vpcagent: models: include secgroup and rules
2020-05-13 14:14:48 +08:00
Yousong Zhou
f33a2e1770
vpcagent: apihelper: do not set details=true by default
2020-05-13 14:14:48 +08:00
Yousong Zhou
654845fd49
vpcagent: ovnutil: remove old generated code
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
218df2416c
vpcagent: ignore possible external subnets
2020-05-12 18:05:48 +08:00
Zexi Li
41da2d94b8
Merge pull request #6213 from yousong/bugfix/yousong-vpcagent-route
...
vpcagent: ovn: explicitly include gateway route in classless routes
2020-05-09 18:56:58 +08:00
Yousong Zhou
5caaccd43f
vpcagent: ovn: explicitly include gateway route in classless routes
2020-05-08 16:29:14 +08:00
Yousong Zhou
4496a7bbcb
vpcagent: models: ignore possible external guests
2020-05-08 15:35:23 +08:00
Yousong Zhou
503735ebf5
vpcagent: ad-hoc replacement for db.FindByIndex()
2020-04-27 20:06:47 +08:00
Yousong Zhou
09cc38f962
vpcagent: models: allow guest to have multiple vpc nics
2020-04-27 17:08:21 +08:00
Yousong Zhou
11835889c0
vpcagent: work around nics of pending deleted guest
2020-04-27 16:56:44 +08:00
Yousong Zhou
16ced399a5
vpcagent: fend off non-onecloud-vpc guest nics
2020-04-26 18:52:58 +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
e4ad3f4194
vpcagent: models: include guest, host
2020-04-24 18:32:08 +08:00
Yousong Zhou
7506f3f1ed
vpcagent: resolve ovn db address at args validation time
...
Until we find a reliable way to get k8s svc dns name
2020-02-27 20:00:00 +08:00
Yousong Zhou
a18e246363
vpcagent: ignore external stub guestnetworks
2020-02-05 11:27:41 +08:00
Yousong Zhou
bc999888a2
vpcagent: a vpc agent with ovn driver
2020-01-17 17:48:04 +08:00