On 19.12.2018 20:53, Ben Pfaff wrote: > On Wed, Dec 19, 2018 at 08:28:39PM +0300, Ilya Maximets wrote: >> Hi Ben. >> I faced one issue that ovs-vsctl could not recognize IPv6 address >> and put it into database. >> >> Could be reproduced like this: >> >> $ make sandbox >> $ ovs-vsctl add-br br0 -- set bridge br0 datapath_type=dummy >> $ ovs-vsctl set Bridge br0 sflow=@sf -- --id=@sf create sflow agent=[::1] >> ovs-vsctl: [::1]: unexpected ":" parsing set of up to 1 strings >> $ ovs-vsctl set Bridge br0 sflow=@sf -- --id=@sf create sflow agent=::1 >> ovs-vsctl: ::1: unexpected ":" parsing set of up to 1 strings >> $ ovs-vsctl set Bridge br0 sflow=@sf -- --id=@sf create sflow >> agent=2001:0db8:11a3:09d7:1f34:8a2e:07a0:765d >> >> >> ovs-vsctl: 2001:0db8:11a3:09d7:1f34:8a2e:07a0:765d: unexpected ":" parsing >> set of up to 1 strings >> >> Could you, please, take a look ? > > : needs to be quoted because ovs-vsctl treats it as a special character > due to column:key=value syntax, e.g.: > > ovs-vsctl set Bridge br0 sflow=@sf -- --id=@sf create sflow > agent='"2001:0db8:11a3:09d7:1f34:8a2e:07a0:765d"'
Hmm. Thanks. _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
