159f4a2c7c
It is valid for an interface to reference another, otherwise undeclared, interface (i.e. a bond enslaves eth0 without eth0 having its own iface stanza). In order to associate the two interfaces, the undeclared interface needs to be implicitly created so that it can be referenced by the other. This adds the capability to forward-declare interfaces in addition to cleaning up the process a little bit. |
||
---|---|---|
.. | ||
interface_test.go | ||
interface.go | ||
network_test.go | ||
network.go | ||
stanza_test.go | ||
stanza.go |