GithubHelp home page GithubHelp logo

Comments (3)

christian7007 avatar christian7007 commented on August 25, 2024 1

Yes, as @treywelsh said is not that easy to include service management inside GOCA as OneFlow is a separate component interfaced via REST API not XML-RPC.

If you are working on that @treywelsh, don't hesitate to contact me and we can discuss how to include this in GOCA.

from terraform-provider-opennebula.

treywelsh avatar treywelsh commented on August 25, 2024

Hi,

Thank you for your issue :)

No, for now there is nothing implemented to manages services in the OpenNebula provider.

As far as I know, we didn't planned to add this soon. Maybe later @jaypif ?

Technically, to better understand the work to to do, I took a look at the part of the OpenNebula API that manage the services.
I did a bit of reverse, so please @christian7007 don't hesistate to correct me if I misunderstood something.

Services are not a "basic" resources like host, VM, user etc.
It would require a bit more of work to implement the ability of managing services via the provider, than for other resources, at least because we don't have anything implemented to manage them.

In brief, services does not have dedicated XML-RPC API methods, and don't have any related code in Goca (Go bindings on top of XML-RPC API).
Services lives on top of the document API (with document ID 100 and 101), and they have their data stored in json format.

See the official documentation of the XML-RPC API for ONE 5.10
See service documentation

I suppose that at least, it miss some code to help us to manage services as:

  • data mapping:
    • json structures to (un)marshal the service content
    • role states
  • some methods that use document calls

from terraform-provider-opennebula.

knfoo avatar knfoo commented on August 25, 2024

OK

Thank you for the detailed answer.

from terraform-provider-opennebula.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.