func (s *configSuite) TestSetNetworkBridge(c *gc.C) { config := localConfig(c, map[string]interface{}{ "network-bridge": "br0", }) unknownAttrs := config.UnknownAttrs() c.Assert(unknownAttrs["network-bridge"], gc.Equals, "br0") }
func (s *configSuite) TestDefaultNetworkBridge(c *gc.C) { config := minimalConfig(c) unknownAttrs := config.UnknownAttrs() c.Assert(unknownAttrs["network-bridge"], gc.Equals, "lxcbr0") }