Merge branch '2.4.2/16275-use-mac-in-l2-networks'
This commit is contained in:
commit
b05b853fcb
|
@ -274,6 +274,10 @@ class OneNetworkL2(OneNetwork):
|
||||||
if self.net_size:
|
if self.net_size:
|
||||||
template.write("AR=[\n")
|
template.write("AR=[\n")
|
||||||
template.write(' TYPE = "ETHER",\n')
|
template.write(' TYPE = "ETHER",\n')
|
||||||
|
|
||||||
|
if self.first_mac:
|
||||||
|
template.write(' MAC = "{0}",\n'.format(self.first_mac))
|
||||||
|
|
||||||
template.write(' SIZE = "{0}"\n'.format(self.net_size))
|
template.write(' SIZE = "{0}"\n'.format(self.net_size))
|
||||||
template.write("]\n")
|
template.write("]\n")
|
||||||
template.close()
|
template.close()
|
||||||
|
|
Loading…
Reference in New Issue