REST API for OVS Info (bridge/bond/etc)

  • 17 January 2017
  • 8 replies
  • 1838 views

Badge +5
I was looking to access information about Acropolis's OVS via the v2.0 API, but didn't find any applicable endpoints in the Swagger docs. It looks like the attached Prism screenshot is using the v1/groups endpoint to populate this screen. Is this something I should consider using as well? It looks like the UI uses this endpoint a lot.


8 replies

Userlevel 7
Badge +30
I'm guessing based on where you work, you're actually looking for the network insertion API, which is part of the v3 API.

v3 was going to GA with 5.0, but we held most of it back, for a few reasons, most of which is that we planned some late breaking changes that we didn't get to finalize before the 5.0 launch.

You wont find v3 in the normal API explorer, we hid it at the last moment.

If you are indeed looking for the networking chaining/insertion API's, drop me an email at jon@nutanix.com and I'll get you connected with the right group internally to give you the 411.

Jon
Userlevel 7
Badge +35
Hey @regana - we did not hear back from you - how did things work out? need some additional help? If you can share with the community that would help others 👍
Badge +5
We are currently using the v1/groups API. I've heard that new API endpoints are coming that will expose Bridge/Bond configuration from OVS, but not sure if they're part of v3 or the next version of the API?
Userlevel 7
Badge +35
@regana have you seen http://developer.nutanix.com/ - might help shed some light on the topic. Thanks
Badge +5
@aluciani Yes I've seen that. Are there management API's in there for bridges and bonds? I don't see any, but maybe I'm missing something?
Userlevel 7
Badge +30
Its coming @regana but it aint done yet
Any response here? @Jon I know this is an old post and I have looked through the API docs for v3 is this still being held back? Given the nature of our environment we have the need to configure bridges/bonds at host build/deployment and automating the ssh commands is causing issues.
We have the same need. I cannot find anything in REST API explorer or docs that describes the bridge configuration especially around LACP, load distribution etc. The Prism GUI can show this but I don't understand how - as I went through all requests it made and the responses don't include this info...

Reply