Sandro Bonazzola has uploaded a new change for review.

Change subject: network: updated network configuration
......................................................................

network: updated network configuration

updated network configuration for matching new
requirements for vdsm and ovirt-engine.

Change-Id: I17f6df9a8fa5c74b8110d9db593601aad1b7af32
Bug-Url: https://bugzilla.redhat.com/1139687
Signed-off-by: Sandro Bonazzola <[email protected]>
---
M centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/ifcfg-dummy0
M centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt
A centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/route-ovirtmgmt
A centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/rule-ovirtmgmt
4 files changed, 16 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-live refs/changes/61/32861/1

diff --git 
a/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/ifcfg-dummy0 
b/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/ifcfg-dummy0
index 9e8a1d6..f77a268 100644
--- a/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/ifcfg-dummy0
+++ b/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/ifcfg-dummy0
@@ -1,7 +1,7 @@
 DEVICE=dummy0
-BOOTPROTO=none
-ONBOOT=yes
-HOTPLUG=no
-NM_CONTROLLED=no
 BRIDGE=ovirtmgmt
+ONBOOT=yes
+MTU=1500
+NM_CONTROLLED=no
+HOTPLUG=no
 PROMISC=yes
diff --git 
a/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt 
b/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt
index 2ed515c..b32d5e0 100644
--- a/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt
+++ b/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/ifcfg-ovirtmgmt
@@ -1,8 +1,13 @@
 DEVICE=ovirtmgmt
 TYPE=Bridge
-BOOTPROTO=static
-ONBOOT=yes
 DELAY=0
-NM_CONTROLLED=no
+STP=off
+ONBOOT=yes
 IPADDR=10.0.0.1
 NETMASK=255.255.255.0
+GATEWAY=10.0.0.1
+BOOTPROTO=none
+MTU=1500
+DEFROUTE=yes
+NM_CONTROLLED=no
+HOTPLUG=no
diff --git 
a/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/route-ovirtmgmt 
b/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/route-ovirtmgmt
new file mode 100644
index 0000000..78769af
--- /dev/null
+++ b/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/route-ovirtmgmt
@@ -0,0 +1,2 @@
+0.0.0.0/0 via 10.0.0.1 dev ovirtmgmt table 167772161
+10.0.0.0/24 via 10.0.0.1 dev ovirtmgmt table 167772161
diff --git 
a/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/rule-ovirtmgmt 
b/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/rule-ovirtmgmt
new file mode 100644
index 0000000..a05cb8d
--- /dev/null
+++ b/centos/oVirtLiveFiles/root/etc/sysconfig/network-scripts/rule-ovirtmgmt
@@ -0,0 +1,2 @@
+from 10.0.0.0/24 table 167772161
+from all to 10.0.0.0/24 dev ovirtmgmt table 167772161


-- 
To view, visit http://gerrit.ovirt.org/32861
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I17f6df9a8fa5c74b8110d9db593601aad1b7af32
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-live
Gerrit-Branch: ovirt-live-3.5
Gerrit-Owner: Sandro Bonazzola <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to