~ubuntu-branches/ubuntu/raring/maas/raring-proposed

« back to all changes in this revision

Viewing changes to src/maasserver/models/nodegroup.py

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez, Chris Van Hook, Steve Langasek, Andres Rodriguez
  • Date: 2013-03-20 13:08:04 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20130320130804-ngvuxq6zg75h0ljr
Tags: 1.3+bzr1461+dfsg-0ubuntu1
* This is a new upstream bugfixs releases only. It includes:
  - Fix detection of non-existant ipmi device in nested kvm (LP: #1064527)
  - Fix IPMI User creation. (LP: #1119696)
  - Assign nodes to the correct nodegroup. (LP: #1148016)
  - Fix to provide useful error reporting for power management (LP: #1155175)

[ Chris Van Hook ]
* debian/patches/99-fix-ipmi-stat-lp1086160.patch: Fix ipmi power command
  to correctly use --stat. (LP: #1086160)

[ Steve Langasek ]
* Add missing dependency on iproute to maas-region-controller, for use of
  /sbin/ip in postinst.

[ Andres Rodriguez ]
* debian/patches/99-fix-maas-fpi.patch: Fix FPI, otherwise nodes have the
  risk of not being installed at all.
* debian/control: Depends on apache2 for maas-cluster-controller
* debian/maas-cluster-controller.install: Install maas-cluster-http.conf
* debian/maas-cluster-controller.{postinst,postrm}: Handle symlink and
  removal of maas-cluster-http.conf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
            self.api_key = api_token.key
205
205
        return super(NodeGroup, self).save(*args, **kwargs)
206
206
 
 
207
    def get_any_interface(self):
 
208
        for interface in self.nodegroupinterface_set.all():
 
209
            return interface
 
210
        return None
 
211
 
207
212
    def get_managed_interface(self):
208
213
        """Return the interface for which MAAS managed the DHCP service.
209
214