What are the XML RPC API equivalent for OneFlow REST API?

I want to implement Service Template and Service creation using XML RPC API. How to do it? I went through the XML RPC API doc and was not able to find any method for getting the list of services. Is there a way wherein I can use Openflow REST API programmatically for acheiving the same. Sample code would be helpful

Services and Service Templates are implemented as Documents (custom type). Described in OCA here [1] and in Ruby here [2]. You could also use the oneflow REST API [3]. Personally, I would go for the latter to avoid future breakage in case of low-level changes. If using XML RPC is a hard requirement for you, you should be able to access raw data as described in the first link.

[1] http://docs.opennebula.org/5.4/integration/system_interfaces/api.html#actions-for-document-management
[2] https://github.com/OpenNebula/one/tree/master/src/flow/lib/models
[3] http://docs.opennebula.org/5.4/integration/system_interfaces/appflow_api.html#methods

1 Like

Thanks parak