Merge lp:~hduran-8/juju-core/add_network_check_on_specified_machine into lp:~go-bot/juju-core/trunk
Status: | Work in progress |
---|---|
Proposed branch: | lp:~hduran-8/juju-core/add_network_check_on_specified_machine |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
301 lines (+147/-2) 13 files modified
cmd/juju/deploy.go (+2/-1) environs/interface.go (+4/-0) juju/deploy.go (+21/-0) provider/azure/environ.go (+5/-0) provider/dummy/environs.go (+5/-0) provider/ec2/ec2.go (+5/-0) provider/joyent/environ.go (+5/-0) provider/local/environ.go (+5/-0) provider/maas/environ.go (+44/-1) provider/maas/environ_whitebox_test.go (+21/-0) provider/manual/environ.go (+5/-0) provider/openstack/provider.go (+5/-0) state/apiserver/client/client.go (+20/-0) |
To merge this branch: | bzr merge lp:~hduran-8/juju-core/add_network_check_on_specified_machine |
Related bugs: | |
Related blueprints: |
Support MaaS VLANs in Juju
(Essential)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+214463@code.launchpad.net |
Description of the change
Added --not/network compat verification for --to
I added ValidateNetwork
This method checks if te requested networks are
available in the instance selected with --to
and if the excluded networks are not in conflict
with already existing ones.
I added this to the Environ interface and mocked
the method in all the available providers.
This method is only required when SupportNetworks
from EnvironCapability is true
Unmerged revisions
- 2549. By Horacio Durán
-
Ran GoFmt on files
- 2548. By Horacio Durán
-
Fixed ValidateNetwork
sForInstance after testing and added tests - 2547. By Horacio Durán
-
Finished implementing ValidateNetwork
sForInstance in environs, still missing tests - 2546. By Horacio Durán
-
Added most of the required methods to check if requested methods are possible
on the requierd environ - 2545. By Horacio Durán
-
Did a base implementtion for checking netowrk compatibility on --to
Reviewers: mp+214463_ code.launchpad. net,
Message:
Please take a look.
Description:
Added --not/network compat verification for --to
I added ValidateNetwork sForInstance to Environ
This method checks if te requested networks are
available in the instance selected with --to
and if the excluded networks are not in conflict
with already existing ones.
I added this to the Environ interface and mocked
the method in all the available providers.
This method is only required when SupportNetworks
from EnvironCapability is true
https:/ /code.launchpad .net/~hduran- 8/juju- core/add_ network_ check_on_ specified_ machine/ +merge/ 214463
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/84880045/
Affected files (+149, -2 lines): interface. go azure/environ. go dummy/environs. go joyent/ environ. go local/environ. go maas/environ. go maas/environ_ whitebox_ test.go manual/ environ. go openstack/ provider. go /client/ client. go
A [revision details]
M cmd/juju/deploy.go
M environs/
M juju/deploy.go
M provider/
M provider/
M provider/ec2/ec2.go
M provider/
M provider/
M provider/
M provider/
M provider/
M provider/
M state/apiserver