Merge lp:~rvb/maas/check_valid_inter_network into lp:~maas-committers/maas/trunk
Proposed by
Raphaël Badin
Status: | Merged |
---|---|
Approved by: | Raphaël Badin |
Approved revision: | no longer in the source branch. |
Merged at revision: | 2454 |
Proposed branch: | lp:~rvb/maas/check_valid_inter_network |
Merge into: | lp:~maas-committers/maas/trunk |
Diff against target: |
51 lines (+25/-1) 2 files modified
src/maasserver/api.py (+7/-1) src/maasserver/tests/test_api_nodegroup.py (+18/-0) |
To merge this branch: | bzr merge lp:~rvb/maas/check_valid_inter_network |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | Approve | ||
Review via email: mp+224082@code.launchpad.net |
Commit message
Skip unconfigured interfaces in update_
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
review: approve
On 23/06/14 19:47, Raphaël Badin wrote: nodegroupinterf ace_set. all(): + #
> for interface in cluster.
> Skip unconfigured interfaces. + if interface.network is
> None: + break
Looks good. Is it worth putting this in a query to do it all in one www.enigmail. net/
go? The conditional break is kinda ugly.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://
iEYEARECAAYFAlO n/8cACgkQWhGlTF 8G/Hf0wgCfTNTPA mcesJiCAQDoS3JX 6tZ8 WBxbXjHM/ 70e7FBgc
UYUAnA3y7jw4Whj
=RqOV
-----END PGP SIGNATURE-----