Skip to content

Commit 43847c9

Browse files
committed
Add SCTP and PROXYV2 protocol for octavia pools
1 parent ec3f761 commit 43847c9

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

openstack/loadbalancer/v2/pools/requests.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ const (
7171
ProtocolPROXY Protocol = "PROXY"
7272
ProtocolHTTP Protocol = "HTTP"
7373
ProtocolHTTPS Protocol = "HTTPS"
74+
// Protocol PROXYV2 requires octavia microversion 2.22
75+
ProtocolPROXYV2 Protocol = "PROXYV2"
76+
// Protocol SCTP requires octavia microversion 2.23
77+
ProtocolSCTP Protocol = "SCTP"
7478
)
7579

7680
// CreateOptsBuilder allows extensions to add additional parameters to the
@@ -88,7 +92,8 @@ type CreateOpts struct {
8892
LBMethod LBMethod `json:"lb_algorithm" required:"true"`
8993

9094
// The protocol used by the pool members, you can use either
91-
// ProtocolTCP, ProtocolUDP, ProtocolPROXY, ProtocolHTTP, or ProtocolHTTPS.
95+
// ProtocolTCP, ProtocolUDP, ProtocolPROXY, ProtocolHTTP, ProtocolHTTPS,
96+
// ProtocolSCTP or ProtocolPROXYV2.
9297
Protocol Protocol `json:"protocol" required:"true"`
9398

9499
// The Loadbalancer on which the members of the pool will be associated with.

0 commit comments

Comments
 (0)