liwei / go-ovsdb Goto Github PK
View Code? Open in Web Editor NEWA golang package to manipulate OVSDB(implementation of RFC 7047)
License: BSD 2-Clause "Simplified" License
A golang package to manipulate OVSDB(implementation of RFC 7047)
License: BSD 2-Clause "Simplified" License
complete the support of transact operations
go-ovsdb is the low-level go package to manipulate raw ovsdb content.
I'm planning to implement the other two packages(go-ovs and go-ovn) which based on go-ovsdb, operate on a higher level, to manipulate ovs and ovn(northbound) .
To implement this, it's better to employ code generator to generate structs which reflect the table schema, that is the concrete side that user directly interacts with.
With the user -> ovsdb direction operations, go-ovsdb accept a generic parameter(go empty interface) that user can pass the concrete object in.
With the opposite direction operations, go-ovsdb will unmarshal the object into a json.RawMessage, which user can further unmarshal it to proper concrete types.
The current implementation of go-ovsdb should be reviewed and any conflicts with the above requirement need to be fixed.
TODO:
Some OVSDB types(e.g. ovsdb.ID) need validation
We only check the error field of each result to notify error occurred during a transaction, should do a complete check here.
the jsonrpc server side is not needed in our scenario, plan to replace rpc2 with a more simpler jsonrpc client(which can handle server request and notification)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.