On Mon, Mar 18, 2019 at 1:45 PM Vasiliy Tolstov wrote:
> Hi. I'm try to modify/write/improve golang ovn binding. And i'm stuck
> at dhcpv4_options in logical_switch_port.
> As i see its is weak reference, i think that it is string, but as i
> see in returned results via libovsdb it is OvsSet type (array of
> strings). Does it right?
>
>
I think it is array of string.
When I run the below command,
ovn-nbctl set logical_switch_port
dhcpv4_options="DHCP_OPTIONS_ROW_UUID".
the jsonrpc transaction message is
- 2019-03-18T10:28:19.568Z|00168|jsonrpc|DBG|unix#8: received request,
method="transact",
params=["OVN_Northbound",{"where":[["_uuid","==",["uuid","073f65c4-7736-4268-8e39-c3c4b992c7f7"]]],"table":"Logical_Switch_Port","op":"update","row":{"dhcpv4_options":["uuid","073f65c4-7736-4268-8e39-c3c4b992c7f7"]}},{"comment":"ovs-nbctl:
ovn-nbctl set logical_switch_port sw0-port1
dhcpv4_options=073f65c4-7736-4268-8e39-c3c4b992c7f7","op":"comment"}], id=4
Thanks
Numan
--
> Vasiliy Tolstov,
> e-mail: v.tols...@selfip.ru
> ___
> dev mailing list
> d...@openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev