Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
provider/maas: Only bridge configured interfaces on maas nodes #6341
Conversation
and others
added some commits
Sep 27, 2016
| } | ||
| } | ||
| -func (s *bridgeConfigSuite) TestBridgeScriptBridgeNameArgumentRequired(c *gc.C) { | ||
| +func (s *bridgeConfigSuite) xxxTestBridgeScriptMatchingNonExistentSpecificIface(c *gc.C) { |
| @@ -1006,7 +1016,7 @@ func (environ *maasEnviron) StartInstance(args environs.StartInstanceParams) ( | ||
| // assigned IP addresses, even when NICs are set to "auto" instead of | ||
| // "static". So instead of selectedNode, which only contains the | ||
| // acquire-time details (no IP addresses for NICs set to "auto" vs | ||
| - // "static"), we use the up-to-date startedNode response to get the | ||
| + // "static"),e we use the up-to-date startedNode response to get the |
| + interfaces []network.InterfaceInfo | ||
| + err error | ||
| + ) | ||
| + if !usingMAAS2 { |
|
I think we should review my branch. :) Largely because that's the one I have been pushing to CI and it doesn't have the xxxTest changes, et al. |
|
In that case, if you haven't already, please update the card with the branch you want reviewed. You can also ping it to me on IRC if you like. |
|
Closing this - superseded by #6342 |
dimitern
closed this
Sep 29, 2016
dimitern
deleted the
dimitern:master-lp1627037-bridge-configured
branch
Sep 29, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dimitern commentedSep 28, 2016
This changes the behavior from "bridge all" to "bridge only configured"
interfaces on MAAS nodes. Tested on 1.9 and 2.0 with various NICs
config, including linked-to-subnet-but-unconfigured, linked-as-auto,
linked-as-static, linked-as-DHCP. All nodes are dual- or quad-NIC ones,
including cases with one or two bonds and various VLAN NICs on top.
QA steps: bootstrap on maas 1.9/2.0, switch controller, add machine(s),
add 2 LXDs on each machine.