Skip to content

Commit

Permalink
Merge pull request #57 from avinetworks/updated_tf
Browse files Browse the repository at this point in the history
Updated terraform with latest gosdk and updated resource
  • Loading branch information
Gaurav Rastogi authored Apr 17, 2020
2 parents 19c9c7a + 5f23fdd commit fda530c
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 61 deletions.
124 changes: 67 additions & 57 deletions avi/resource_avi_rest_dependants.go
Original file line number Diff line number Diff line change
Expand Up @@ -8090,6 +8090,11 @@ func ResourceGslbPoolMemberRuntimeInfoSchema() *schema.Resource {
Optional: true,
Computed: true,
},
"ipv6_value_to_se": {
Type: schema.TypeList,
Optional: true,
Elem: &schema.Schema{Type: schema.TypeInt},
},
"oper_ips": {
Type: schema.TypeList,
Optional: true,
Expand Down Expand Up @@ -9483,6 +9488,58 @@ func ResourceResumeSeGroupParamsSchema() *schema.Resource {
}
}

func ResourceSeIpAddedEventDetailsSchema() *schema.Resource {
return &schema.Resource{
Schema: map[string]*schema.Schema{
"if_name": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"ip": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"linux_name": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"mac": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"mask": {
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"mode": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"network_uuid": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"ns": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"se_ref": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
},
}
}

func ResourceTencentCredentialsSchema() *schema.Resource {
return &schema.Resource{
Schema: map[string]*schema.Schema{
Expand Down Expand Up @@ -15417,33 +15474,6 @@ func ResourceMemoryUsagePerNodeSchema() *schema.Resource {
}
}

func ResourceUpgradeTaskSchema() *schema.Resource {
return &schema.Resource{
Schema: map[string]*schema.Schema{
"duration": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"end_time": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"start_time": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"task": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
},
}
}

func ResourceUpgradeSeGroupParamsSchema() *schema.Resource {
return &schema.Resource{
Schema: map[string]*schema.Schema{
Expand Down Expand Up @@ -20420,6 +20450,11 @@ func ResourceGslbPoolMemberSchema() *schema.Resource {
Optional: true,
Default: 1,
},
"resolve_fqdn_to_v6": {
Type: schema.TypeBool,
Optional: true,
Default: false,
},
"vs_uuid": {
Type: schema.TypeString,
Optional: true,
Expand Down Expand Up @@ -24666,50 +24701,25 @@ func ResourceObjectAccessPolicyRuleSchema() *schema.Resource {
}
}

func ResourceSeIpAddedEventDetailsSchema() *schema.Resource {
func ResourceUpgradeTaskSchema() *schema.Resource {
return &schema.Resource{
Schema: map[string]*schema.Schema{
"if_name": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"ip": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"linux_name": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"mac": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"mask": {
Type: schema.TypeInt,
Optional: true,
Computed: true,
},
"mode": {
"duration": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"network_uuid": {
"end_time": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"ns": {
"start_time": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"se_ref": {
"task": {
Type: schema.TypeString,
Optional: true,
Computed: true,
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module github.com/terraform-providers/terraform-provider-avi
go 1.12

require (
github.com/avinetworks/sdk v0.0.0-20200326192752-b7b1080dda89
github.com/avinetworks/sdk v0.0.0-20200407060102-befb93b0ad06
github.com/hashicorp/terraform v0.12.24
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmV
github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/armon/go-radix v1.0.0 h1:F4z6KzEeeQIMeLFa97iZU6vupzoecKdU5TX24SNppXI=
github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
github.com/avinetworks/sdk v0.0.0-20200326192752-b7b1080dda89 h1:Q57g3RpvstRD3Xj9H817JhBL2KGgsNTwo+ssaZyRIJA=
github.com/avinetworks/sdk v0.0.0-20200326192752-b7b1080dda89/go.mod h1:BcllDeAFx8PtaMrPxvvuCUo7NRS2x6w+3W17WFDu0sk=
github.com/avinetworks/sdk v0.0.0-20200407060102-befb93b0ad06 h1:mv9SZlTRPJ7ZU3tB00b3bSK5NOb/JnPPUwaF6aUm8CE=
github.com/avinetworks/sdk v0.0.0-20200407060102-befb93b0ad06/go.mod h1:BcllDeAFx8PtaMrPxvvuCUo7NRS2x6w+3W17WFDu0sk=
github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM=
github.com/aws/aws-sdk-go v1.25.3 h1:uM16hIw9BotjZKMZlX05SN2EFtaWfi/NonPKIARiBLQ=
github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
Expand Down
1 change: 1 addition & 0 deletions vendor/github.com/avinetworks/sdk/go/session/avisession.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ github.com/apparentlymart/go-cidr/cidr
github.com/apparentlymart/go-textseg/textseg
# github.com/armon/go-radix v1.0.0
github.com/armon/go-radix
# github.com/avinetworks/sdk v0.0.0-20200326192752-b7b1080dda89
# github.com/avinetworks/sdk v0.0.0-20200407060102-befb93b0ad06
github.com/avinetworks/sdk/go/clients
github.com/avinetworks/sdk/go/models
github.com/avinetworks/sdk/go/session
Expand Down

0 comments on commit fda530c

Please sign in to comment.