Skip to content

Commit

Permalink
Merge pull request #2932 from vmware/jenkins_sync_eng_go
Browse files Browse the repository at this point in the history
Auto updated assets for go models and clients eng
  • Loading branch information
mkhachane authored May 2, 2024
2 parents b810ec8 + 4df1918 commit b0d6ec9
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion go/models/c_c_vnic_info.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go/models/se_hm_event_gslb_pool_member_details.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go/models/se_hm_event_server_details.go

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions go/models/se_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ type SeList struct {
// Management IPv6 address of SE. Field introduced in 20.1.3. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
MgmtIp6 *IPAddr `json:"mgmt_ip6,omitempty"`

// VIP Route is revoked as pool went down. Field introduced in 30.2.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
RouteRevokedPoolDown *bool `json:"route_revoked_pool_down,omitempty"`

// This flag is set when a VS is actively scaling out to this SE. Field introduced in 18.1.5, 18.2.1. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ScaleoutInProgress *bool `json:"scaleout_in_progress,omitempty"`

Expand Down
2 changes: 1 addition & 1 deletion go/models/server_auto_scale_failed_info.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go/models/server_auto_scale_in_complete_info.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go/models/server_auto_scale_in_info.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go/models/server_auto_scale_out_complete_info.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion go/models/server_auto_scale_out_info.go

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions go/models/vip_se_assigned.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ type VipSeAssigned struct {
// It is a reference to an object of type ServiceEngine. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Ref *string `json:"ref,omitempty"`

// VIP Route is revoked as pool went down. Field introduced in 30.2.1. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
RouteRevokedPoolDown *bool `json:"route_revoked_pool_down,omitempty"`

// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ScaleinInProgress *bool `json:"scalein_in_progress,omitempty"`

Expand Down
7 changes: 4 additions & 3 deletions go/session/avisession.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import (
"net"
"net/http"
"net/http/httputil"
"net/url"
"os"
"reflect"
"regexp"
Expand Down Expand Up @@ -1505,11 +1506,11 @@ func (avisess *AviSession) GetUri(obj string, options ...ApiOptionsParams) (stri
return "", errors.New("Name not specified")
}

uri := "api/" + obj + "?name=" + opts.name
uri := "api/" + obj + "?name=" + url.QueryEscape(opts.name)
if opts.cloud != "" {
uri = uri + "&cloud=" + opts.cloud
uri = uri + "&cloud=" + url.QueryEscape(opts.cloud)
} else if opts.cloudUUID != "" {
uri = uri + "&cloud_ref.uuid=" + opts.cloudUUID
uri = uri + "&cloud_ref.uuid=" + url.QueryEscape(opts.cloudUUID)
}
if opts.skipDefault {
uri = uri + "&skip_default=true"
Expand Down

0 comments on commit b0d6ec9

Please sign in to comment.