Giter Club home page Giter Club logo

Comments (1)

mgogoulos avatar mgogoulos commented on May 25, 2024

Hi Jaykah,

if you setup your own instance of mist.io inside the VPN, this will be the machine that probes the nodes. So if it can reach them, it will be able to establish ssh connections as well.

Regarding the ability to provide the network while deploying nodes, it is something we are looking at. We only recently added Azure support and it is not fully featured yet. We do have however on our short term schedule the listing of networks, plus the ability to specify the network name, and deploy the VMs there.

If you are in the mood of contributing, please have a look at files src/mist/io/views.py and methods.py

On create_machine (view.py) you would specify the network id. Then on _create_machine_azure (methods.py) you'll also pass this id. The last function calls create_node on src/libcloud/libcloud/compute/drivers/azure.py (which is the driver for Azure). There you can pass the network id as ex_virtual_network=None on the function's arguments, and set ex_virtual_network instead of the last argument None, on AzureXmlSerializer.virtual_machine_deployment_to_xml. This is the place for the network to be specified, according to Azure API's documentation, on http://msdn.microsoft.com/en-us/library/azure/jj157194.aspx. You would still need to specify the region (location on mist.io's terminology) if I understand well, because it is needed for the storage creation and some other things needed while deploying any Azure node.

You can give it a try, but as I've written this is already on our short term dev, so it will soon be implemented both on mist.io's backend and the UI.

Best regards,
Markos

from mist-ce.

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.