← Back to team overview

cloud-init-dev team mailing list archive

Re: [Merge] ~i.galic/cloud-init:feax/ephemeral_connectivity into cloud-init:master

 

Review: Needs Information

should we pass connectivity_url from EphemeralDhcp4Network to EphemeralIPv4Network?

Diff comments:

> diff --git a/cloudinit/net/dhcp.py b/cloudinit/net/dhcp.py
> index bdc5799..0db991d 100644
> --- a/cloudinit/net/dhcp.py
> +++ b/cloudinit/net/dhcp.py
> @@ -86,6 +95,8 @@ class EphemeralDHCPv4(object):
>          kwargs = dict([(k, self.lease.get(v)) for k, v in nmap.items()])
>          if not kwargs['broadcast']:
>              kwargs['broadcast'] = bcip(kwargs['prefix_or_mask'], kwargs['ip'])
> +        if self.connectivity_url:
> +            kwargs['connectivity_url'] = self.connectivity_url

should we keep this?

>          ephipv4 = EphemeralIPv4Network(**kwargs)
>          ephipv4.__enter__()
>          self._ephipv4 = ephipv4


-- 
https://code.launchpad.net/~i.galic/cloud-init/+git/cloud-init/+merge/358876
Your team cloud-init commiters is requested to review the proposed merge of ~i.galic/cloud-init:feax/ephemeral_connectivity into cloud-init:master.


References