Skip to content

Commit

Permalink
refreshing the provider for intersight version 18775 (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvb authored Oct 11, 2024
1 parent 9c3fea6 commit 31ffd8f
Show file tree
Hide file tree
Showing 10,901 changed files with 153,181 additions and 68,303 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Logs

## v1.0.57
* Refreshes the terraform module to be in sync with the latest Cisco Intersight model (build 18775)

## v1.0.56
* Refreshes the terraform module to be in sync with the latest Cisco Intersight model (build 18534)

Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME=intersight
VERSION=1.0.56
VERSION=1.0.57
TEST?=$$(go list ./... |grep -v 'vendor')
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
WEBSITE_REPO=github.com/hashicorp/terraform-website
Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion examples/sample_modules/os_install/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
intersight = {
source = "CiscoDevNet/intersight"
version = "1.0.56"
version = "1.0.57"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/sample_modules/server_configurations/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
intersight = {
source = "CiscoDevNet/intersight"
version = "1.0.56"
version = "1.0.57"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion examples/sample_modules/server_deployment/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
intersight = {
source = "CiscoDevNet/intersight"
version = "1.0.56"
version = "1.0.57"
}
}
}
Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ require (
github.com/oklog/run v1.0.0 // indirect
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
github.com/zclconf/go-cty v1.2.1 // indirect
golang.org/x/net v0.29.0 // indirect
golang.org/x/sys v0.25.0 // indirect
golang.org/x/text v0.18.0 // indirect
golang.org/x/net v0.30.0 // indirect
golang.org/x/sys v0.26.0 // indirect
golang.org/x/text v0.19.0 // indirect
google.golang.org/appengine v1.6.6 // indirect
google.golang.org/genproto v0.0.0-20200825200019-8632dd797987 // indirect
google.golang.org/grpc v1.32.0 // indirect
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/
golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/net v0.29.0 h1:5ORfpBpCs4HzDYoodCDBbwHzdR5UrLBZ3sOnUJmFoHo=
golang.org/x/net v0.29.0/go.mod h1:gLkgy8jTGERgjzMic6DS9+SP0ajcu6Xu3Orq/SpETg0=
golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4=
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
Expand Down Expand Up @@ -374,15 +374,15 @@ golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34=
golang.org/x/sys v0.25.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.18.0 h1:XvMDiNzPAl0jr17s6W9lcaIhGUfUORdGCNsuLmPG224=
golang.org/x/text v0.18.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
golang.org/x/text v0.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
Expand Down
2 changes: 1 addition & 1 deletion intersight/data_source_intersight_access_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ func getAccessPolicySchema() map[string]*schema.Schema {
},
},
"inband_vlan": {
Description: "VLAN to be used for server access over Inband network.",
Description: "VLAN to be used for server access over Inband network. When Inband is enabled, only numbers between 4 to 4093 are allowed.",
Type: schema.TypeInt,
Optional: true,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func getAccessPolicyInventorySchema() map[string]*schema.Schema {
},
},
"inband_vlan": {
Description: "VLAN to be used for server access over Inband network.",
Description: "VLAN to be used for server access over Inband network. When Inband is enabled, only numbers between 4 to 4093 are allowed.",
Type: schema.TypeInt,
Optional: true,
},
Expand Down
88 changes: 88 additions & 0 deletions intersight/data_source_intersight_appliance_cluster_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ func getApplianceClusterInfoSchema() map[string]*schema.Schema {
Type: schema.TypeString,
Optional: true,
},
"installer_version": {
Description: "Installer version used to install on peer node.",
Type: schema.TypeString,
Optional: true,
},
"mod_time": {
Description: "The time when this managed object was last modified.",
Type: schema.TypeString,
Expand Down Expand Up @@ -185,6 +190,41 @@ func getApplianceClusterInfoSchema() map[string]*schema.Schema {
},
},
},
"partition_database": {
Description: "The partition size for /opt/database of this node.",
Type: schema.TypeInt,
Optional: true,
},
"partition_file_cisco": {
Description: "The partition size for /Cisco of this node.",
Type: schema.TypeInt,
Optional: true,
},
"partition_opt_data": {
Description: "The partition size for /opt/cisco/data of this node.",
Type: schema.TypeInt,
Optional: true,
},
"partition_opt_kafka": {
Description: "The partition size for /opt/kafka of this node.",
Type: schema.TypeInt,
Optional: true,
},
"partition_opt_mongo": {
Description: "The partition size for /opt/mongodb of this node.",
Type: schema.TypeInt,
Optional: true,
},
"partition_var_lib_docker": {
Description: "The partition size for /var/lib/docker of this node.",
Type: schema.TypeInt,
Optional: true,
},
"partition_var_log": {
Description: "The partition size for /var of this node.",
Type: schema.TypeInt,
Optional: true,
},
"peerkey": {
Description: "The public key of peer host.",
Type: schema.TypeString,
Expand Down Expand Up @@ -539,6 +579,11 @@ func dataSourceApplianceClusterInfoRead(c context.Context, d *schema.ResourceDat
o.SetHostname(x)
}

if v, ok := d.GetOk("installer_version"); ok {
x := (v.(string))
o.SetInstallerVersion(x)
}

if v, ok := d.GetOk("mod_time"); ok {
x, _ := time.Parse(time.RFC1123, v.(string))
o.SetModTime(x)
Expand Down Expand Up @@ -608,6 +653,41 @@ func dataSourceApplianceClusterInfoRead(c context.Context, d *schema.ResourceDat
}
}

if v, ok := d.GetOkExists("partition_database"); ok {
x := int64(v.(int))
o.SetPartitionDatabase(x)
}

if v, ok := d.GetOkExists("partition_file_cisco"); ok {
x := int64(v.(int))
o.SetPartitionFileCisco(x)
}

if v, ok := d.GetOkExists("partition_opt_data"); ok {
x := int64(v.(int))
o.SetPartitionOptData(x)
}

if v, ok := d.GetOkExists("partition_opt_kafka"); ok {
x := int64(v.(int))
o.SetPartitionOptKafka(x)
}

if v, ok := d.GetOkExists("partition_opt_mongo"); ok {
x := int64(v.(int))
o.SetPartitionOptMongo(x)
}

if v, ok := d.GetOkExists("partition_var_lib_docker"); ok {
x := int64(v.(int))
o.SetPartitionVarLibDocker(x)
}

if v, ok := d.GetOkExists("partition_var_log"); ok {
x := int64(v.(int))
o.SetPartitionVarLog(x)
}

if v, ok := d.GetOk("peerkey"); ok {
x := (v.(string))
o.SetPeerkey(x)
Expand Down Expand Up @@ -834,13 +914,21 @@ func dataSourceApplianceClusterInfoRead(c context.Context, d *schema.ResourceDat
temp["gateway"] = (s.GetGateway())
temp["hostip"] = (s.GetHostip())
temp["hostname"] = (s.GetHostname())
temp["installer_version"] = (s.GetInstallerVersion())

temp["mod_time"] = (s.GetModTime()).String()
temp["moid"] = (s.GetMoid())
temp["object_type"] = (s.GetObjectType())
temp["owners"] = (s.GetOwners())

temp["parent"] = flattenMapMoBaseMoRelationship(s.GetParent(), d)
temp["partition_database"] = (s.GetPartitionDatabase())
temp["partition_file_cisco"] = (s.GetPartitionFileCisco())
temp["partition_opt_data"] = (s.GetPartitionOptData())
temp["partition_opt_kafka"] = (s.GetPartitionOptKafka())
temp["partition_opt_mongo"] = (s.GetPartitionOptMongo())
temp["partition_var_lib_docker"] = (s.GetPartitionVarLibDocker())
temp["partition_var_log"] = (s.GetPartitionVarLog())
temp["peerkey"] = (s.GetPeerkey())

temp["permission_resources"] = flattenListMoBaseMoRelationship(s.GetPermissionResources(), d)
Expand Down
Loading

0 comments on commit 31ffd8f

Please sign in to comment.