Skip to content

Commit 2d50fae

Browse files
authored
fix: Patch the neutron.network.l2_adjacency type (#1476)
The attribute is a boolean, but the code does not have a single hint available about that. Change-Id: I9c8fb00350e13c61ab7f93e67c1b5502a0c9633b Signed-off-by: Artem Goncharov <[email protected]> Changes are triggered by https://review.opendev.org/c/openstack/codegenerator/+/963928
1 parent 150fcd3 commit 2d50fae

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

openstack_types/data/network/v2.27.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15823,7 +15823,7 @@ components:
1582315823
description: |-
1582415824
Indicates whether L2 connectivity is available throughout
1582515825
the `network`.
15826-
type: string
15826+
type: boolean
1582715827
mtu:
1582815828
description: |-
1582915829
The maximum transmission unit (MTU) value to
@@ -16129,7 +16129,7 @@ components:
1612916129
description: |-
1613016130
Indicates whether L2 connectivity is available throughout
1613116131
the `network`.
16132-
type: string
16132+
type: boolean
1613316133
mtu:
1613416134
description: |-
1613516135
The maximum transmission unit (MTU) value to
@@ -16946,7 +16946,7 @@ components:
1694616946
description: |-
1694716947
Indicates whether L2 connectivity is available throughout
1694816948
the `network`.
16949-
type: string
16949+
type: boolean
1695016950
mtu:
1695116951
description: |-
1695216952
The maximum transmission unit (MTU) value to
@@ -17161,7 +17161,7 @@ components:
1716117161
description: |-
1716217162
Indicates whether L2 connectivity is available throughout
1716317163
the `network`.
17164-
type: string
17164+
type: boolean
1716517165
mtu:
1716617166
description: |-
1716717167
The maximum transmission unit (MTU) value to

openstack_types/data/network/v2.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15823,7 +15823,7 @@ components:
1582315823
description: |-
1582415824
Indicates whether L2 connectivity is available throughout
1582515825
the `network`.
15826-
type: string
15826+
type: boolean
1582715827
mtu:
1582815828
description: |-
1582915829
The maximum transmission unit (MTU) value to
@@ -16129,7 +16129,7 @@ components:
1612916129
description: |-
1613016130
Indicates whether L2 connectivity is available throughout
1613116131
the `network`.
16132-
type: string
16132+
type: boolean
1613316133
mtu:
1613416134
description: |-
1613516135
The maximum transmission unit (MTU) value to
@@ -16946,7 +16946,7 @@ components:
1694616946
description: |-
1694716947
Indicates whether L2 connectivity is available throughout
1694816948
the `network`.
16949-
type: string
16949+
type: boolean
1695016950
mtu:
1695116951
description: |-
1695216952
The maximum transmission unit (MTU) value to
@@ -17161,7 +17161,7 @@ components:
1716117161
description: |-
1716217162
Indicates whether L2 connectivity is available throughout
1716317163
the `network`.
17164-
type: string
17164+
type: boolean
1716517165
mtu:
1716617166
description: |-
1716717167
The maximum transmission unit (MTU) value to

openstack_types/src/network/v2/network/response/create.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub struct NetworkResponse {
7777
/// `network`.
7878
#[serde(default)]
7979
#[structable(optional)]
80-
pub l2_adjacency: Option<String>,
80+
pub l2_adjacency: Option<bool>,
8181

8282
/// The maximum transmission unit (MTU) value to address fragmentation.
8383
/// Minimum value is 68 for IPv4, and 1280 for IPv6.

openstack_types/src/network/v2/network/response/get.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub struct NetworkResponse {
7777
/// `network`.
7878
#[serde(default)]
7979
#[structable(optional)]
80-
pub l2_adjacency: Option<String>,
80+
pub l2_adjacency: Option<bool>,
8181

8282
/// The maximum transmission unit (MTU) value to address fragmentation.
8383
/// Minimum value is 68 for IPv4, and 1280 for IPv6.

openstack_types/src/network/v2/network/response/list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub struct NetworkResponse {
7777
/// `network`.
7878
#[serde(default)]
7979
#[structable(optional, wide)]
80-
pub l2_adjacency: Option<String>,
80+
pub l2_adjacency: Option<bool>,
8181

8282
/// The maximum transmission unit (MTU) value to address fragmentation.
8383
/// Minimum value is 68 for IPv4, and 1280 for IPv6.

openstack_types/src/network/v2/network/response/set.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub struct NetworkResponse {
7777
/// `network`.
7878
#[serde(default)]
7979
#[structable(optional)]
80-
pub l2_adjacency: Option<String>,
80+
pub l2_adjacency: Option<bool>,
8181

8282
/// The maximum transmission unit (MTU) value to address fragmentation.
8383
/// Minimum value is 68 for IPv4, and 1280 for IPv6.

0 commit comments

Comments
 (0)