Skip to content

Commit

Permalink
Docs: Fix ovn ipv4/6 address description (#14414)
Browse files Browse the repository at this point in the history
# Done
- fix OVN ipv4/6 address description, this was wrongly referencing a
"bridge"
  • Loading branch information
tomponline authored Nov 7, 2024
2 parents f0c1055 + 6b94626 commit 5c0f573
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions doc/metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions lxd/metadata/configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
Expand Down Expand Up @@ -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"
}
},
Expand Down
4 changes: 2 additions & 2 deletions lxd/network/driver_ovn.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5c0f573

Please sign in to comment.