← Back to team overview

cloud-init team mailing list archive

Re: Azure Networking Support in cloud-init

 

On Wed, Jan 10, 2018 at 7:29 AM, Robert Schweikert <rjschwei@xxxxxxxx>
wrote:

> On 01/09/2018 06:31 PM, Sushant Sharma (AZURE) wrote:
> > Hi cloud-init members,
> >
> > We would like to discuss with you our proposal to add a network module
> in cloud-init to support various networking
> > scenarios in Azure.
> > To begin with, we would like to support move of a virtual machine (VM)
> from one network to another in Azure.
> > As such, it will listen for media disconnect/connect (via netlink) and
> issues a re-DHCP when required (this design is
> > based on how azure moves VM from one network to another).
> > Over time, we plan to support more advance networking scenarios in
> Azure. Please let us know your thoughts before we
> > work on adding the module.
>
> Makes me wonder if we shouldn't leave most of this to udev rules and the
> creation of a separate executable that can be called to from udev to
> handle generation of ifcfg-XXX rules. Basically the same idea we deploy
> in [1]. Or udev could call cloud-init --mode netconfig. The later
> approach would still make it easy for people to disbale network
> configuration via cloud-init if they care to do so, while that would be
> a bit more challenging with the first appraoch. Anyway going down the
> path of setting up udev rules may also afford the opportunity to be more
> targeted.
>
> Anyway, I think there is a more general solution in here that can also
> provide a good basis for handling multiple network interfaces in a
> dynamic way at the same time.


Robert,

Thanks for bringing this up.  I'd like to continue discussing how we can
leverage
hotplug and network config in the short term for enabling a few dynamic
configuration
use-cases that are handled by hotplug.

We've got a document here up for comment:

https://hackmd.io/MzCsBYBMEMHYCMC0AOS4BmjwAYCM3F54A2JGZAY3gCYBTaSYa2IA?both




> Later,
> Robert
>
> [1] https://github.com/SUSE/Enceladus/tree/master/cloud-netconfig
>
> --
> Robert Schweikert                   MAY THE SOURCE BE WITH YOU
> Distinguished Architect                       LINUX
> Team Lead Public Cloud
> rjschwei@xxxxxxxx
> IRC: robjo
>
>
> --
> Mailing list: https://launchpad.net/~cloud-init
> Post to     : cloud-init@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~cloud-init
> More help   : https://help.launchpad.net/ListHelp
>
>

References