Skip to content

Commit a417135

Browse files
committed
Add DefaultPoolID update support
1 parent 7bd760e commit a417135

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

openstack/loadbalancer/v2/listeners/requests.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ type UpdateOpts struct {
152152
// Human-readable name for the Listener. Does not have to be unique.
153153
Name string `json:"name,omitempty"`
154154

155+
// The ID of the default pool with which the Listener is associated.
156+
DefaultPoolID *string `json:"default_pool_id,omitempty"`
157+
155158
// Human-readable description for the Listener.
156159
Description string `json:"description,omitempty"`
157160

openstack/networking/v2/extensions/lbaas_v2/listeners/requests.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,9 @@ type UpdateOpts struct {
156156
// Human-readable name for the Listener. Does not have to be unique.
157157
Name string `json:"name,omitempty"`
158158

159+
// The ID of the default pool with which the Listener is associated.
160+
DefaultPoolID *string `json:"default_pool_id,omitempty"`
161+
159162
// Human-readable description for the Listener.
160163
Description string `json:"description,omitempty"`
161164

0 commit comments

Comments
 (0)