On Fri, Aug 29, 2014 at 7:41 PM, Pankaj Thorat <thorat.pank...@gmail.com> wrote:
> Hi,
>
> I am new to openvswitch. I wanted to enable BFD for that i added
> <code>true</code>line to in vswitchd/vswitch.xml.
I don't know why you are editing the schema file to enable a run-time
configuration. Please go through some basic OVS tutorials.

The workflow should be something like this:

Assume you have machine0 with eth1 having IP 192.168.1.1 and machine2
with eth1 having IP 192.168.1.2

On machine0 that has ovs-vswitchd and ovsdb-server running as daemons:
* Create a bridge:
  ovs-vsctl add-br br0
* Add a port to this bridge (in this case, I am adding a GRE tunnel as
a port with a remote end point of 192.168.1.2)
  ovs-vsctl add-port br0 gre0 -- set interface gre0 type=gre
options:remote_ip:192.168.1.2

* Enable bfd on that tunnel
  ovs-vsctl set interface gre0 bfd:enable=true

Now repeat the same on machine2. You will have bfd traffic going between them.


>
> <column name="bfd" key="enable" type='{"type": "boolean"}'>
>         <code>true</code>
>           True to enable BFD on this <ref table="Interface"/>.
>         </column>
>
> After doing the changes i restarted mininet and opendaylight but when i
> checked the interface table using command  ovs-vsctl list interface its
> still showing
>
> _uuid               : 47a11ec7-f924-4498-84d4-f95832acec83
> admin_state         : up
> bfd                 : {}
> bfd_status          : {}
> cfm_fault           : []
>
>
> Thanks,
> Pankaj
>
> _______________________________________________
> discuss mailing list
> discuss@openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to