On 12 September 2016 at 01:02, Ashish Kurian <ashish...@gmail.com> wrote: > Dear Team, > > I am trying to add a gtp-u implementation to ovs. I applied a patch that was > available with me and gave the following ovs-vsctl command. > > sudo ovs-vsctl add-port br0 gtp0 -- set interface gtp0 type=gtp > options:remote_ip=192.168.1.1,local_ip=192.168.1.2,teid_in=1,teid_out=2,arp_reply=true > > I got the error mentioned in the subject. Then I checked the > ovs-vswitchd.log and following is the result. > > 2016-09-12T07:52:59.217Z|00038|bridge|INFO|bridge br0: added interface br0 > on port 65534 > 2016-09-12T07:52:59.217Z|00039|bridge|INFO|bridge br0: using datapath ID > 00002e858541b64f > 2016-09-12T07:52:59.217Z|00040|connmgr|INFO|br0: added service controller > "punix:/var/run/openvswitch/br0.mgmt" > 2016-09-12T07:54:27.515Z|00041|socket_util|ERR|"192.168.1.1,local_ip=192.168.1.2,teid_in=1,teid_out=2,arp_reply=true" > is not a valid IP address > 2016-09-12T07:54:27.515Z|00042|netdev_vport|WARN|gtp0: bad gtp 'remote_ip' > 2016-09-12T07:54:27.515Z|00043|netdev_vport|ERR|gtp0: gtp type requires > valid 'remote_ip' argument > 2016-09-12T07:54:27.515Z|00044|netdev|WARN|gtp0: could not set configuration > (Invalid argument) > > I am not sure from which file ovs looking for the exact configurations. If > you can advice on which all files I should check, then I can look in those > files and identify the reason for the errors.
I would start from where the error is reported and work backwards: ovs $ git grep "requires valid 'remote_ip'" lib/netdev-vport.c: VLOG_ERR("%s: %s type requires valid 'remote_ip' argument", _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss