~ubuntu-branches/ubuntu/trusty/maas/trusty-security

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Greg Lutostanski
  • Date: 2014-08-29 13:27:34 UTC
  • mto: (61.1.4 trusty-proposed)
  • mto: This revision was merged to the branch mainline in revision 62.
  • Revision ID: package-import@ubuntu.com-20140829132734-d47evihju2etdwcy
Tags: upstream-1.5.4+bzr2294
ImportĀ upstreamĀ versionĀ 1.5.4+bzr2294

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
    add_new_dhcp_host_map,
43
43
    add_seamicro15k,
44
44
    add_virsh,
 
45
    enlist_nodes_from_mscm,
45
46
    enlist_nodes_from_ucsm,
46
47
    import_boot_images,
47
48
    report_boot_images,
307
308
        args = (url, username, password)
308
309
        enlist_nodes_from_ucsm.apply_async(queue=self.uuid, args=args)
309
310
 
 
311
    def enlist_nodes_from_mscm(self, host, username, password):
 
312
        """ Add the servers from a Moonshot HP iLO Chassis Manager.
 
313
 
 
314
        :param host: IP address for the MSCM.
 
315
        :param username: username for MSCM.
 
316
        :param password: password for MSCM.
 
317
        """
 
318
        args = (host, username, password)
 
319
        enlist_nodes_from_mscm.apply_async(queue=self.uuid, args=args)
 
320
 
310
321
    def add_dhcp_host_maps(self, new_leases):
311
322
        if len(new_leases) > 0 and len(self.get_managed_interfaces()) > 0:
312
323
            # XXX JeroenVermeulen 2012-08-21, bug=1039362: the DHCP