~bjornt/maas:network-config-spike

Last commit made on 2017-08-16
Get this branch:
git clone -b network-config-spike https://git.launchpad.net/~bjornt/maas
Only Björn Tillenius can upload to this branch. If you are Björn Tillenius please log in for upload directions.

Branch merges

Branch information

Name:
network-config-spike
Repository:
lp:~bjornt/maas

Recent commits

729d8e2... by Björn Tillenius

Merge branch 'master' into network-config-spike

cc372f1... by Lee Trager

Update Script form to accept new fields and process embedded YAML.

The Script form can now accept and validate the hardware_type, parallel, and
packages fields. An embedded YAML configuration file may be embedded into the
script. The embedded YAML may set all script form fields in addition to the
results and paramater fields which may only be set in the YAML.

0b4ada3... by Mike Pontillo

Send topology hints to update_interfaces()

 * Add code to convert topology hints to a compact JSON format.
 * Start beaconing as soon as interfaces are known; don't
   wait for interface monitoring settings. This means
   beaconing will happen on all interfaces, all the time.
   (Without regard for network discovery settings.)
 * Fix bug that caused update_interfaces() to be called
   with create_fabrics=True when it should have been False.
 * Wait for beaconing to complete before updating interfaces.
 * Drive-by fix for incorrect line in .gitignore which
   erroneously covered django16_south_maas19.tar.gz.

135bd1b... by Lee Trager

Add additional metadata fields to the Script and ScriptResult models to support results and parameters.

The Script model now allows scripts to define what hardware the script is for, if the script can run in parallel, what results the script will produce, what parameters are accepted by the script, and what packages need to be installed before a script is run.

The ScriptResult model now stores what parameters should be passed to the
script.

dc1df66... 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

d91e381... by Björn Tillenius

Allow both devices and machines to be switches.

3addb05... by Björn Tillenius

Typo.