Created by Horacio Durán on 2014-04-03 and last modified on 2014-04-07
Get this branch:
bzr branch lp:~hduran-8/juju-core/add_network_check_on_specified_machine
Only Horacio Durán can upload to this branch. If you are Horacio Durán please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Horacio Durán

Recent revisions

2549. By Horacio Durán on 2014-04-07

Ran GoFmt on files

2548. By Horacio Durán on 2014-04-07

Fixed ValidateNetworksForInstance after testing and added tests

2547. By Horacio Durán on 2014-04-04

Finished implementing ValidateNetworksForInstance in environs, still missing tests

2546. By Horacio Durán on 2014-04-03

Added most of the required methods to check if requested methods are possible
on the requierd environ

2545. By Horacio Durán on 2014-04-03

Did a base implementtion for checking netowrk compatibility on --to

2544. By Andrew Wilkins on 2014-04-02

[r=axwalk],[bug=1300889] Disable --keyFile in mongo upstart config

We can't enable this yet, because shared-secret
isn't written until after Mongo is started. This
will change when EnsureMongoServer is landed.

(FWIW I did test this with local, and it worked.
I don't yet understand why - it shouldn't be any
different to cloud providers. I suspect there's
a race here with upstart restarting Mongo, and
the machine agnet writing the shared-secret.)

Fixes lp:1300889


2543. By Michael Foord on 2014-04-02

[r=mfoord] agent/agent: add StateServingInfo to config

Add StateServingInfo and SetStateServingInfo
to configInternal, along with related changes
to flow the information through (including
marshalling and unmarshalling).


2542. By Roger Peppe on 2014-04-02

[r=rogpeppe] worker/apiaddressupdater: fix test


2541. By Curtis Hovey on 2014-04-02

[r=jameinel] Merge 1.18 branch into trunk

This doesn't bring any actual content changes, just fixes the branch ancestry.

2540. By Dimiter Naydenov on 2014-04-02

[r=dimitern] provisioner: Start instances with networks

Provisioner worker is made aware of networks specified
for a machine and passes them to the providers when
starting instances. This involves a few extra things:
 * cloudinit.MachineConfig now has IncludeNetworks and
   ExcludeNetworks params and they can be set using
 * StartInstanceParams.Networks dropped and now networks
   are specified via SIP.MachineConfig;
 * provisioner gets specified machine networks and
   passes them through StartInstanceParams.MachineConfig
   to the providers;
 * all providers except maas changed to return an error
   in StartInstance() when networks are specified (using

All changes are unit-tested and live-tested on MaaS.

Next steps: get list of networks from the provider,
setup cloudinit scripts to configure the networks
(failing with unknown ones) and update the machine
with the actually installed networks, so they can be
shown in status.



Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.