1
// Copyright 2015 Canonical Ltd.
2
// Licensed under the AGPLv3, see LICENCE file for details.
7
"github.com/juju/juju/container"
8
"github.com/juju/juju/instance"
11
// DefaultNetworkBridge returns the correct network device name for the
12
// given container type. If there isn't a correct name or the type is
13
// unknown then an empty string is returned.
14
func DefaultNetworkBridge(cType instance.ContainerType) string {
17
return container.DefaultLxcBridge
19
return container.DefaultKvmBridge