From 6b94626865dbdaa42e9ed97c29cddec1a5181e20 Mon Sep 17 00:00:00 2001 From: David Edler Date: Thu, 7 Nov 2024 12:33:33 +0100 Subject: [PATCH] docs: fix ovn ipv4/6 address description Signed-off-by: David Edler --- doc/metadata.txt | 4 ++-- lxd/metadata/configuration.json | 4 ++-- lxd/network/driver_ovn.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/metadata.txt b/doc/metadata.txt index cc71a52e0646..864a4f108b3a 100644 --- a/doc/metadata.txt +++ b/doc/metadata.txt @@ -3429,7 +3429,7 @@ Specify a comma-separated list of DNS zone names. ```{config:option} ipv4.address network-ovn-network-conf :condition: "standard mode" :defaultdesc: "initial value on creation: `auto`" -:shortdesc: "IPv4 address for the bridge" +:shortdesc: "IPv4 address for the OVN network" :type: "string" Use CIDR notation. @@ -3470,7 +3470,7 @@ You can set the option to `none` to turn off IPv4, or to `auto` to generate a ne ```{config:option} ipv6.address network-ovn-network-conf :condition: "standard mode" :defaultdesc: "initial value on creation: `auto`" -:shortdesc: "IPv6 address for the bridge" +:shortdesc: "IPv6 address for the OVN network" :type: "string" Use CIDR notation. diff --git a/lxd/metadata/configuration.json b/lxd/metadata/configuration.json index cab699884da7..d149b8242862 100644 --- a/lxd/metadata/configuration.json +++ b/lxd/metadata/configuration.json @@ -3887,7 +3887,7 @@ "condition": "standard mode", "defaultdesc": "initial value on creation: `auto`", "longdesc": "Use CIDR notation.\n\nYou can set the option to `none` to turn off IPv4, or to `auto` to generate a new random unused subnet.", - "shortdesc": "IPv4 address for the bridge", + "shortdesc": "IPv4 address for the OVN network", "type": "string" } }, @@ -3931,7 +3931,7 @@ "condition": "standard mode", "defaultdesc": "initial value on creation: `auto`", "longdesc": "Use CIDR notation.\n\nYou can set the option to `none` to turn off IPv6, or to `auto` to generate a new random unused subnet.", - "shortdesc": "IPv6 address for the bridge", + "shortdesc": "IPv6 address for the OVN network", "type": "string" } }, diff --git a/lxd/network/driver_ovn.go b/lxd/network/driver_ovn.go index 72b56f0dae69..2deb900386b6 100644 --- a/lxd/network/driver_ovn.go +++ b/lxd/network/driver_ovn.go @@ -408,7 +408,7 @@ func (n *ovn) Validate(config map[string]string) error { // type: string // condition: standard mode // defaultdesc: initial value on creation: `auto` - // shortdesc: IPv4 address for the bridge + // shortdesc: IPv4 address for the OVN network "ipv4.address": validate.Optional(func(value string) error { if validate.IsOneOf("none", "auto")(value) == nil { return nil @@ -432,7 +432,7 @@ func (n *ovn) Validate(config map[string]string) error { // type: string // condition: standard mode // defaultdesc: initial value on creation: `auto` - // shortdesc: IPv6 address for the bridge + // shortdesc: IPv6 address for the OVN network "ipv6.address": validate.Optional(func(value string) error { if validate.IsOneOf("none", "auto")(value) == nil { return nil