[ovs-discuss] 回复: An error in file ovn-sb.ovsschema
Ben Pfaff
blp at ovn.org
Wed Jun 23 16:43:26 UTC 2021
Thanks, I applied this to OVN master.
On Wed, Jun 23, 2021 at 06:32:10AM +0000, wen yuxuan wrote:
> Sure, it works!
> Coz we are going to create a mount of vm to use ovn load balancer.
>
> ________________________________
> 发件人: Ben Pfaff <blp at ovn.org>
> 发送时间: 2021年6月23日 0:20
> 收件人: wen yuxuan <wen.yuxuan at outlook.com>
> 抄送: bugs at openvswitch.org <bugs at openvswitch.org>
> 主题: Re: [ovs-discuss] An error in file ovn-sb.ovsschema
>
> On Tue, Jun 22, 2021 at 02:59:44AM +0000, wen yuxuan wrote:
> > Hi,
> > I found an error in file ovn-sb.ovsschema recently. The port field of talble Service_Monitor maxInteger is 32767, but this field in code is uint16_t, maximum value is 65535(in function create_or_get_service_mon). When I configure port number over 32767 ovn-nb is broken.
>
> Indeed, I think that the following should be folded in. Can you verify
> that this fixes the problem? By the way, high port numbers like this
> should usually be reserved for ephemeral ports.
>
> diff --git a/ovn-sb.ovsschema b/ovn-sb.ovsschema
> index 205a30a37cee..bbf60781dd72 100644
> --- a/ovn-sb.ovsschema
> +++ b/ovn-sb.ovsschema
> @@ -1,7 +1,7 @@
> {
> "name": "OVN_Southbound",
> - "version": "20.17.0",
> - "cksum": "669123379 26536",
> + "version": "20.18.0",
> + "cksum": "1816525029 26536",
> "tables": {
> "SB_Global": {
> "columns": {
> @@ -452,7 +452,7 @@
> "min": 0, "max": 1}},
> "port": {"type": {"key": {"type": "integer",
> "minInteger": 0,
> - "maxInteger": 32767}}},
> + "maxInteger": 65535}}},
> "logical_port": {"type": "string"},
> "src_mac": {"type": "string"},
> "src_ip": {"type": "string"},
More information about the discuss
mailing list