~mattrae/maas:master

Last commit made on 2017-08-15
Get this branch:
git clone -b master https://git.launchpad.net/~mattrae/maas
Only Matt Rae can upload to this branch. If you are Matt Rae please log in for upload directions.

Branch merges

Branch information

Name:
master
Repository:
lp:~mattrae/maas

Recent commits

19da035... by Matt Rae

LP: #1708052 -- Quick erase doesn't remove md superblock

Increase write to 2 MB to beginning of the disk so software raid superblock are wiped.

6ffe84b... by Blake Rouse

LP: #1707971 - Only expose the source address for each subnet on a region controller.

c2aed30... by Mike Pontillo

Add get_source_address() utility function

 * Performs a route lookup in order to determine the best local
   source address for a particular destination.

80aa09c... by Mike Pontillo

Derive topology hints from received beacons

 * Refactor beacon receive path to use ReceivedBeacon namedtuple to
   better organize received data.
 * Add TopologyHint namedtuple to organize what we can infer about the
   network topology based on received beacons.
 * Send multicast advertisements on all interfaces whenever a
   solicitation is received, as long as at least five seconds have
   elapsed since the last multicast advertisement.
 * Add topology hints for the following conditions:
   - Own beacon received (on either the same or a different interface)
   - Same beacon received on two interfaces
   - Received multicast beacon can be used to identify a remote network
   - Received unicast beacon can be used to verify L3 connectivity

c4c8d2a... by Mike Pontillo

Exclude interface data from rack refresh

This ensures that the NetworksMonitoringService is solely responsible
for interface updates.

855760a... by Mike Pontillo

Fix race conditions with update_interfaces()

 * Add database locking for update_interfaces().
   This fixes race conditions that can cause conflicting database
   updates when UpdateInterfaces is called outside the context
   of a rack registration, such as when a rack concurrently makes
   a new connection to a region.
 * Remove RPC call to UpdateInterfaces during rack registration.
   (Make the NetworksMonitoringService solely responsible for this.)
 * Add test to ensure UpdateInterfaces is called as soon as possible when
   the NetworksMonitoringService starts up. (Twisted actually ensures this
   for any TimerService, but we want to test for it because the interface
   update needs to happen as soon as possible after registration.)

b571b27... by =?utf-8?q?Danilo_=C5=A0egan?= <email address hidden>

Fix a few deprecation warnings that show up with Django 1.11:
 - URL patterns need not start with a slash, so where we want to support multiple slashes (metadataserver), work-around that warning
 - Do not use individual TEMPLATE_* settings in development settings file
 - Do not import from django.core.urlresolvers but introduce our temporary maasserver.utils.django_urls instead.

2513c9b... by Graham Bancroft

LP: #1682490 - Fix interface tag display on small screens.

9fcdfb3... by Andres Rodriguez

Do not pre-fill hostname when adding a device from dashboard if unknown

6aa2adf... by Andres Rodriguez

Minor UI fixes for discovery.

Change 'Device Discovery' for 'Network Discovery'.
Use 'unknown' as hostname for all devices without a discovered hostname.