MAAS2 implementation of maasEnviron.NetworkInterfaces
MAAS2 implementation of maasEnviron.NetworkInterfaces

Reimplement maasObjectNetworkInterfaces as maas2NetworkInterfaces.

I initially tried to share the big loop that makes InterfaceInfos by
making maasInterface &c conform to the corresponding gomaasapi
interfaces, but that required renaming most of the fields in the
structs (which leaked out into other code) and tied the v1 and v2 code
together too much.

Discarded version here:
https://github.com/babbageclunk/juju/tree/maas2-interfaces-bad-idea

This doesn't build at the moment - it relies on some fields not in the
gomaasapi yet.

waigani/juju,frankban/juju,alesstimec/juju,axw/juju,perrito666/juju,waigani/juju,axw/juju,axw/juju,dooferlad/juju,kat-co/juju,howbazaar/juju,howbazaar/juju,mjs/juju,alesstimec/juju,makyo/juju,kat-co/juju,bac/juju,mjs/juju,dimitern/juju,howbazaar/juju,bz2/juju,bz2/juju,bogdanteleaga/juju,macgreagoir/juju,waigani/juju,dooferlad/juju,macgreagoir/juju,mikemccracken/juju,gabriel-samfira/juju,gabriel-samfira/juju,reedobrien/juju,mjs/juju,mjs/juju,howbazaar/juju,dooferlad/juju,makyo/juju,mikemccracken/juju,dimitern/juju,bac/juju,bz2/juju,axw/juju,bac/juju,AdamIsrael/juju,bz2/juju,dimitern/juju,AdamIsrael/juju,ericsnowcurrently/juju,anastasiamac/juju,ericsnowcurrently/juju,ericsnowcurrently/juju,perrito666/juju,alesstimec/juju,marcmolla/juju,mjs/juju,marcmolla/juju,dooferlad/juju,bogdanteleaga/juju,mjs/juju,bac/juju,anastasiamac/juju,mjs/juju,mikemccracken/juju,kat-co/juju,ericsnowcurrently/juju,gabriel-samfira/juju,alesstimec/juju,frankban/juju,frankban/juju,reedobrien/juju,bac/juju,dimitern/juju,frankban/juju,anastasiamac/juju,reedobrien/juju,marcmolla/juju,macgreagoir/juju,axw/juju,anastasiamac/juju,mikemccracken/juju,reedobrien/juju,mikemccracken/juju,kat-co/juju,macgreagoir/juju,perrito666/juju,perrito666/juju,gabriel-samfira/juju,anastasiamac/juju,macgreagoir/juju,kat-co/juju,reedobrien/juju,ericsnowcurrently/juju,marcmolla/juju,AdamIsrael/juju,AdamIsrael/juju,dooferlad/juju,frankban/juju,bz2/juju,bogdanteleaga/juju,howbazaar/juju,bogdanteleaga/juju,gabriel-samfira/juju,marcmolla/juju,makyo/juju,makyo/juju,perrito666/juju,alesstimec/juju,dimitern/juju,waigani/juju