[ovs-discuss] GRE Tunnel Creation with JSON RPC

Dmita Levy dlevy022 at fiu.edu
Thu Jul 18 01:16:23 UTC 2013


Hello,

I am Undergraduate student doing Open vSwitch and OpenFlow research so
please bare with me as I am still learning. I am trying to add a GRE
tunnel, using JSON RPC, to an install of Open vSwitch - the only options I
have configured are the "manager" option to listen on ptcp: 6632 and one
bridge named "bridge1". I am connecting successfully and sending the
following request:

REQUEST:
{"method":"transact","id":"001","params":["Open_vSwitch",{"op":"insert","table":"Interface","row":{"name":"gre1","type":"gre","options":["map",[["remote_ip","172.16.1.2"],["csum","true"],["key","1"]]]},"uuid-name":"new_iface"},{"op":"insert","table":"Port","row":{"name":"gateway
","interfaces":["set",[["named-uuid","new_iface"]]]},"uuid-name":"new_port"}]}


I get the following response:
{"id":"001","error":null,"result":[{"uuid":["uuid","95ab1d87-5649-49a0-ae58-53efbbcb3757"]},{"uuid":["uuid","aeb7e783-73a3-4717-97e8-7ab629e5ac0c"]}]}

But when I run the ovs-vsctl show command there is no GRE port info listed.
I am not sure what I am doing wrong. I followed this link
https://mailman.stanford.edu/pipermail/openflow-discuss/2010-February/000744.htmlshowing
an example of the correct request and modified it a bit. I also
followed this
http://tools.ietf.org/html/draft-pfaff-ovsdb-proto-02#section-5.2.4 as well
but I'm not sure what I'm missing. I have read the conf.db and I think I
have a good "handle" on that but still know I'm missing something minor..or
possibly major.

Any help or clarification is appreciated. Thanks in advance.

-Dmita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130717/21d0b843/attachment.html>


More information about the discuss mailing list