From 051136ac8160db372ced2c7c2a72c2a5a47a51c5 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Thu, 21 Jul 2016 11:14:44 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20=20jour=20de=20la=20cr=C3=A9ati?= =?UTF-8?q?on=20des=20r=C3=A9seaux=20L2=20et=20L3.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le type de réseau n'est plus attaché a l'hôte mais au réseau lui même. ref #16784 @1h --- postservice/31-one-netmng | 2 ++ 1 file changed, 2 insertions(+) diff --git a/postservice/31-one-netmng b/postservice/31-one-netmng index 4f366fa..4a2ef90 100755 --- a/postservice/31-one-netmng +++ b/postservice/31-one-netmng @@ -222,6 +222,7 @@ class OneNetworkL3(OneNetwork): fd, tmp_path = mkstemp(prefix='oneVnet-') template = open(tmp_path, 'w') template.write('NAME = "{0}"\n'.format(self.zone)) + template.write('VN_MAD = ovswitch\n') if (update is False): if self.vnet_rg_start and self.vnet_rg_size: template.write('AR=[\n') @@ -262,6 +263,7 @@ class OneNetworkL2(OneNetwork): fd, tmp_path = mkstemp(prefix='oneVnet-') template = open(tmp_path, 'w') template.write('NAME = "{0}"\n'.format(self.zone)) + template.write('VN_MAD = ovswitch\n') if self.tag: template.write('VLAN = yes\n')