-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider switching from ovn-nbctl to ovsdbapp #153
Comments
The OVN northbound DB's workload is not that high, and generally we don't need to parse the output of ovn-nbctl verbosely, the exit code is good enough for most of cases. Also ovn-nbctl has a '--wait' option for avoid keep on polling ovsdb, I'm not sure if it's good enough for you use case. Definitely, compare to OVSDB client, using ovn-nbctl is more heavy and not flexible, but for scalability test, IMO, it's easy to use and good enough. |
@l8huang ACK, this is not a priority for us ATM. We might want to do it in the future to be as efficient in stressing the NB DB as OpenStack/OpenShift who use/will use client libraries for OVSDB. I've opened this issue as a follow up to review discussion for #147, where I suggested that we should avoid parsing free-form output of Feel free to close this issue and I will reopen if needed. |
OK, let's close it for now :) |
Using
ovn-nbctl
to talk to NBDB has drawbacks:ovn-nbctl
, the output format can change,If parsing the output of
ovn-nbctl
becomes too cumbersome, or generating workload with it turns out to be not efficient enough we should consider switching to ovndbapp, a client library for OVSDB used by OpenStack:https://github.com/openstack/ovsdbapp
The text was updated successfully, but these errors were encountered: