~rogpeppe/golxc/golxc

« back to all changes in this revision

Viewing changes to network.go

  • Committer: Roger Peppe
  • Date: 2014-06-02 13:19:29 UTC
  • Revision ID: roger.peppe@canonical.com-20140602131929-b26s9w99c0bhg4qk
use testing.IsolationSuite

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        return status == "running", nil
54
54
}
55
55
 
56
 
// NetworkAttributes returns the lxc network attributes: 
 
56
// NetworkAttributes returns the lxc network attributes:
57
57
// starting IP address and bridge name.
58
58
func NetworkAttributes() (addr, bridge string, err error) {
59
59
        config, err := ReadConf()