-
-
Notifications
You must be signed in to change notification settings - Fork 225
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
Switch OVN/OVS command line calls to libovsdb #255
Comments
Hello! I am Abhi, a student for UT Austin. As a part of my final project in virtualization, I was interested in looking into this issue. I see that you have assigned this already to yourself, but if you need anyone to help out on it, I would be happy to do so! |
Hey there, This one is one of those issues that can be worked on by multiple people in parallel so long as we don't work on the exact same function at the same time :) Basically there are a whole bunch of functions under The way I've handled this work so far is by picking a function that's currently using
Then send that as a pull request and pick the next function to port, rinse repeat until we're done with all of them :) Feel free to go for the easier ones if a function doesn't seem obvious to map to the structs and actions within the new client logic, just leave them and I can pick them up later. |
Hi, I am also working with Abhiram on all the issues for this project. We implemented the CreateLogicalRouter function based on the implementation of the CreateLogicalSwitch function. I created a Draft PR at #750. Let me know if any additional changes need to be made Additionally, could I be assigned to all the issues that Abhiram is as well? |
Thanks, I'll take a look shortly! I've assigned you to this issue. GitHub only lets me assign issues to people who commented on the issue so you're going to need to post a comment on the other issues so I can assign you there too. |
Thanks, I've left a comment on the other issues accordingly. |
Hello, we added some more functions in. CreateLogicalRouterSNAT seemed more involved and required sifting through some documentation to add code in, so please let us know if anything does not look right. We created the draft PR at #809 |
Hey I saw in #812 that you combined deleteLogicalRouter for DNATSNAT and SNAT rules, should I do the same for the CreateLogicalRouter? |
Yeah, |
@Abhiram824 @DhruvNistala hello, do you still intend to send more changes for this issue or should I clear the assignee field? |
Hi, we were still intending on working on the issue |
Sounds good! |
Awesome and btw I am out of town rn but will pick things back up in a week |
I'm working on replacing LogicalRouterRouteAdd. If the route is a discard route do I set the NextHop to be "discard" or do I need to store this information in the "options" field. |
According to documentation, that goes into NextHop |
I've been porting some of those functions over the past few days, we're now down to just 32 calls left and I've got a batch of 8 or so in progress, slowly getting there :) |
Closes lxc#255 Signed-off-by: Stéphane Graber <[email protected]>
Closes #255 Signed-off-by: Stéphane Graber <[email protected]> Sponsored-by: Luizalabs (https://luizalabs.com)
The OVN project maintains a Go package to access the databases, it's available at https://github.com/ovn-org/libovsdb
We should slowly transition our various calls to ovn-nbctl/ovn-sbctl to using libovsdb instead, if only to not be dependent on a specific version of the OVN tooling and to also allow for more efficient and race-free interactions with OVN.
The text was updated successfully, but these errors were encountered: