Re: [ovs-discuss] Installing VM on KVM hypervisor in Ubuntu 14.04 with OVS bridge

2015-10-31 Thread Ramana Reddy
Hi Scott, After using --network=network:br0 , its working. Here is the actual command: $sudo virt-install --connect qemu:///system --force --name VM2 --ram=1024 --vcpus=1 --disk path=/var/lib/libvirt/images/VM2.img,size=8,format=qcow2 --cdrom=/home/ramanar/Downloads/ubuntu-14.04.3-server-amd64.i

Re: [ovs-discuss] Installing VM on KVM hypervisor in Ubuntu 14.04 with OVS bridge

2015-10-06 Thread Ramana Reddy
After modifications also, I got the same error: ERRORError in network device parameters: Unknown network type br0 I am using Ubuntu 14.04 (64-bit) and libvirt 1.2.2 and OVS 2.4.0 May be I will try from scratch and let you know. On Tue, Oct 6, 2015 at 12:56 AM, Scott Lowe wrote: > Please s

Re: [ovs-discuss] Installing VM on KVM hypervisor in Ubuntu 14.04 with OVS bridge

2015-10-05 Thread Ramana Reddy
I got the following error after trying this command: $sudo virt-install --connect qemu:///system --force --name VM2 --ram=1024 --vcpus=1 --disk path=/var/lib/libvirt/images/VM2.img,size=8,format=qcow2 --cdrom=/home/ramanar/Downloads/ubuntu-14.04.3-server-amd64.iso --vnc --os-variant=ubuntutrusty -

Re: [ovs-discuss] Installing VM on KVM hypervisor in Ubuntu 14.04 with OVS bridge

2015-10-05 Thread Ramana Reddy
Hi Scott, I followed your blog mentioned in the url. I tried the following steps: Create a br0.xml file: br0 $sudo virsh net-define br0.xml Network br0 defined from br0.xml $sudo virsh net-start br0 Network br0 started $sudo virsh net-list --all Name State Au

Re: [ovs-discuss] Installing VM on KVM hypervisor in Ubuntu 14.04 with OVS bridge

2015-10-05 Thread Ramana Reddy
On Mon, Oct 5, 2015 at 9:38 PM, Gurucharan Shetty wrote: > On Mon, Oct 5, 2015 at 1:03 AM, Ramana Reddy wrote: > > Hi all, > > > > I installed a VM in NAT mode using virt-manager and edited the xml file > as > > per the > > instructions given in this link: > > > > > http://git.openvswitch.org/c

Re: [ovs-discuss] Installing VM on KVM hypervisor in Ubuntu 14.04 with OVS bridge

2015-10-05 Thread Scott Lowe
Please see my responses inline, prefixed by [SL]. Ramana Reddy wrote: > I got the following error after trying this command: > > $sudo virt-install --connect qemu:///system --force --name VM2 --ram=1024 > --vcpus=1 --disk path=/var/lib/libvirt/images/VM2.img,size=8,format=qcow2 > --cdrom=/ho

Re: [ovs-discuss] Installing VM on KVM hypervisor in Ubuntu 14.04 with OVS bridge

2015-10-05 Thread Scott Lowe
Please see my responses inline, prefixed by [SL]. Ramana Reddy wrote: > Hi Scott, > > I followed your blog mentioned in the url. I tried the following steps: > > Create a br0.xml file: > > br0 > > > > > > $sudo virsh net-define br0.xml > Network br0 defined from br0.xml > > $sud

Re: [ovs-discuss] Installing VM on KVM hypervisor in Ubuntu 14.04 with OVS bridge

2015-10-05 Thread Gurucharan Shetty
All of your output looks correct. The next thing to do is to show your entire vm xml file. Also, ovs runs as root. So your need to start your vm as a root. On Mon, Oct 5, 2015 at 9:56 AM, Ramana Reddy wrote: > > > On Mon, Oct 5, 2015 at 9:38 PM, Gurucharan Shetty > wrote: >> >> On Mon, Oct 5, 20

Re: [ovs-discuss] Installing VM on KVM hypervisor in Ubuntu 14.04 with OVS bridge

2015-10-05 Thread Scott Lowe
Please see my response below. Ramana Reddy wrote: > Hi all, > > I installed a VM in NAT mode using virt-manager and edited the xml file as > per the > instructions given in this link: > > http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.Libvirt;hb=HEAD > >

Re: [ovs-discuss] Installing VM on KVM hypervisor in Ubuntu 14.04 with OVS bridge

2015-10-05 Thread Gurucharan Shetty
On Mon, Oct 5, 2015 at 1:03 AM, Ramana Reddy wrote: > Hi all, > > I installed a VM in NAT mode using virt-manager and edited the xml file as > per the > instructions given in this link: > > http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.Libvirt;hb=HEAD > > Basi

[ovs-discuss] Installing VM on KVM hypervisor in Ubuntu 14.04 with OVS bridge

2015-10-05 Thread Ramana Reddy
Hi all, I installed a VM in NAT mode using virt-manager and edited the xml file as per the instructions given in this link: http://git.openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.Libvirt;hb=HEAD Basically It tells the following modofications: And change it to someth