github.com/geofffranks/garden-linux@v0.0.0-20160715111146-26c893169cfa/network/configure_linux.go (about)

     1  package network
     2  
     3  import "code.cloudfoundry.org/lager"
     4  
     5  import "code.cloudfoundry.org/garden-linux/network/devices"
     6  
     7  func NewConfigurer(log lager.Logger) Configurer {
     8  	return &NetworkConfigurer{
     9  		Hostname: newHostname(),
    10  		Link:     devices.Link{},
    11  		Bridge:   devices.Bridge{},
    12  		Veth:     devices.VethCreator{},
    13  		Logger:   log,
    14  	}
    15  }