Skip to content

Commit

Permalink
Adding CreateVlanIpRange and UpdateVlanIpRange to getRawValues
Browse files Browse the repository at this point in the history
  • Loading branch information
poddm committed Nov 28, 2023
1 parent 6ee754d commit dc562d7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cloudstack/VLANService.go
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,10 @@ func (s *VLANService) CreateVlanIpRange(p *CreateVlanIpRangeParams) (*CreateVlan
return nil, err
}

if resp, err = getRawValue(resp); err != nil {
return nil, err
}

var r CreateVlanIpRangeResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
Expand Down Expand Up @@ -1772,6 +1776,10 @@ func (s *VLANService) UpdateVlanIpRange(p *UpdateVlanIpRangeParams) (*UpdateVlan
return nil, err
}

if resp, err = getRawValue(resp); err != nil {
return nil, err
}

var r UpdateVlanIpRangeResponse
if err := json.Unmarshal(resp, &r); err != nil {
return nil, err
Expand Down
2 changes: 2 additions & 0 deletions generate/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -1718,10 +1718,12 @@ func (s *service) generateNewAPICallFunc(a *API) {
"CreateNetwork",
"CreateStoragePool",
"CreateNetworkOffering",
"CreateVlanIpRange",
"UpdateNetworkOffering",
"UpdateServiceOffering",
"UpdateConfiguration",
"UpdateCluster",
"UpdateVlanIpRange",
"CreatePod",
"CreateSSHKeyPair",
"CreateSecurityGroup",
Expand Down

0 comments on commit dc562d7

Please sign in to comment.