Giter Site home page Giter Site logo

Comments (3)

kedark3 avatar kedark3 commented on September 21, 2024

@dsesami can you provide an example of this? That'll help clarify the idea.

from broker.

dsesami avatar dsesami commented on September 21, 2024

@kedark3 sure.

Let's say that someone using this system has an in-house method of procuring VMs. They likely have a bash script where they pass in parameters to allocate a VM and do other basic operations. They also use broker to manage VMs, though, so they'd like to not have to jump between different kinds of workflows to get a VM. So they simply define how to get a VM from that provider with some kind of basic templating, plug it in once, and can then use broker for all their providers.

I assume we'd start out with fully-featured provider support (which is what ansible_tower.py is doing I think in the providers folder, correct me if I'm wrong) but then having that custom support even if it's limited to more basic operations could be handy.

from broker.

JacobCallahan avatar JacobCallahan commented on September 21, 2024

@dsesami you could theoretically do that now. Create a provider (called whatever you think is most appropriate (I'm not good at names!!)) that accepts parameters from the VMBroker class, uses that to call your script (subprocess?), and pulls the information from that output to eventually construct a Host object for broker.

Definitely do-able, but would likely be pretty focused on how your script operates.

broker is not liable for damages caused by external scripts

from broker.

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.