Skip to content

Commit ffd3101

Browse files
Sprint4 15 04 2021 (#338)
1 parent 32f6c35 commit ffd3101

File tree

6 files changed

+65
-70
lines changed

6 files changed

+65
-70
lines changed

aci/provider.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func Provider() terraform.ResourceProvider {
186186
"aci_l3out_hsrp_interface_profile": resourceAciL3outHSRPInterfaceProfile(),
187187
"aci_ospf_timers": resourceAciOSPFTimersPolicy(),
188188
"aci_hsrp_interface_policy": resourceAciHSRPInterfacePolicy(),
189-
"aci_route_control_profile": resourceAciRouteControlProfile(),
189+
"aci_bgp_route_control_profile": resourceAciRouteControlProfile(),
190190
"aci_l3out_hsrp_interface_group": resourceAciHSRPGroupProfile(),
191191
"aci_l3out_floating_svi": resourceAciVirtualLogicalInterfaceProfile(),
192192
},
@@ -326,7 +326,7 @@ func Provider() terraform.ResourceProvider {
326326
"aci_l3out_hsrp_interface_profile": dataSourceAciL3outHSRPInterfaceProfile(),
327327
"aci_ospf_timers": dataSourceAciOSPFTimersPolicy(),
328328
"aci_hsrp_interface_policy": dataSourceAciHSRPInterfacePolicy(),
329-
"aci_route_control_profile": dataSourceAciRouteControlProfile(),
329+
"aci_bgp_route_control_profile": dataSourceAciRouteControlProfile(),
330330
"aci_l3out_hsrp_interface_group": dataSourceAciHSRPGroupProfile(),
331331
"aci_l3out_floating_svi": dataSourceAciVirtualLogicalInterfaceProfile(),
332332
},

examples/route_control_profile/main.tf renamed to examples/bgp_route_control_profile/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ provider "aci" {
44
url = ""
55
insecure = true
66
}
7-
resource "aci_route_control_profile" "example" {
7+
resource "aci_bgp_route_control_profile" "example" {
88
parent_dn = aci_tenant.tenentcheck.id
99
name = "one"
1010
annotation = "example"
@@ -13,7 +13,7 @@ resource "aci_route_control_profile" "example" {
1313
route_control_profile_type = "global"
1414
}
1515

16-
resource "aci_route_control_profile" "example" {
16+
resource "aci_bgp_route_control_profile" "example" {
1717
parent_dn = aci_l3_outside.example.id
1818
name = "one"
1919
annotation = "example"

website/aci.erb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,8 @@
351351
<li<%= sidebar_current("docs-aci-data-source-rest") %>>
352352
<a href="/docs/providers/aci/d/rest.html">aci_rest</a>
353353
</li>
354-
<li<%= sidebar_current("docs-aci-data-source-route_control_profile") %>>
355-
<a href="/docs/providers/aci/d/route_control_profile.html">aci_route_control_profile</a>
354+
<li<%= sidebar_current("docs-aci-data-source-bgp_route_control_profile") %>>
355+
<a href="/docs/providers/aci/d/bgp_route_control_profile.html">aci_bgp_route_control_profile</a>
356356
</li>
357357
<li<%= sidebar_current("docs-aci-data-source-service_redirect_policy") %>>
358358
<a href="/docs/providers/aci/d/service_redirect_policy.html">aci_service_redirect_policy</a>
@@ -762,8 +762,8 @@
762762
<li<%= sidebar_current("docs-aci-resource-rest") %>>
763763
<a href="/docs/providers/aci/r/rest.html">aci_rest</a>
764764
</li>
765-
<li<%= sidebar_current("docs-aci-resource-route_control_profile") %>>
766-
<a href="/docs/providers/aci/r/route_control_profile.html">aci_route_control_profile</a>
765+
<li<%= sidebar_current("docs-aci-resource-bgp_route_control_profile") %>>
766+
<a href="/docs/providers/aci/r/bgp_route_control_profile.html">aci_bgp_route_control_profile</a>
767767
</li>
768768
<li<%= sidebar_current("docs-aci-resource-service_redirect_policy") %>>
769769
<a href="/docs/providers/aci/r/service_redirect_policy.html">aci_service_redirect_policy</a>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
layout: "aci"
3+
page_title: "ACI: aci_bgp_route_control_profile"
4+
sidebar_current: "docs-aci-data-source-bgp_route_control_profile"
5+
description: |-
6+
Data source for ACI BGP Route Control Profile
7+
---
8+
9+
# aci_bgp_route_control_profile
10+
11+
Data source for ACI BGP Route Control Profile
12+
13+
## Example Usage
14+
15+
```hcl
16+
data "aci_bgp_route_control_profile" "check" {
17+
parent_dn = aci_tenant.tenentcheck.id
18+
name = "one"
19+
}
20+
21+
data "aci_bgp_route_control_profile" "check" {
22+
parent_dn = aci_l3_outside.example.id
23+
name = "one"
24+
}
25+
```
26+
27+
## Argument Reference
28+
29+
- `parent_dn` - (Required) Distinguished name of parent object.
30+
- `name` - (Required) Name of router control profile object.
31+
32+
## Attribute Reference
33+
34+
- `id` - Attribute id set to the Dn of the router control profile object.
35+
- `annotation` - Annotation for router control profile object.
36+
- `description` - Description for router control profile object.
37+
- `name_alias` - Name alias for router control profile object.
38+
- `route_control_profile_type` - Component type for router control profile object.

website/docs/d/route_control_profile.html.markdown

Lines changed: 0 additions & 40 deletions
This file was deleted.
Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
---
22
layout: "aci"
3-
page_title: "ACI: aci_route_control_profile"
4-
sidebar_current: "docs-aci-resource-route_control_profile"
3+
page_title: "ACI: aci_bgp_route_control_profile"
4+
sidebar_current: "docs-aci-resource-bgp_route_control_profile"
55
description: |-
6-
Manages ACI Route Control Profile
6+
Manages ACI BGP Route Control Profile
77
---
88

9-
# aci_route_control_profile #
10-
Manages ACI Route Control Profile
9+
# aci_bgp_route_control_profile
1110

12-
## Example Usage ##
11+
Manages ACI BGP Route Control Profile
12+
13+
## Example Usage
1314

1415
```hcl
15-
resource "aci_route_control_profile" "example" {
16+
resource "aci_bgp_route_control_profile" "example" {
1617
parent_dn = aci_tenant.tenentcheck.id
1718
name = "one"
1819
annotation = "example"
@@ -21,7 +22,7 @@ resource "aci_route_control_profile" "example" {
2122
route_control_profile_type = "global"
2223
}
2324
24-
resource "aci_route_control_profile" "example" {
25+
resource "aci_bgp_route_control_profile" "example" {
2526
parent_dn = aci_l3_outside.example.id
2627
name = "one"
2728
annotation = "example"
@@ -31,29 +32,25 @@ resource "aci_route_control_profile" "example" {
3132
}
3233
```
3334

35+
## Argument Reference
3436

35-
## Argument Reference ##
36-
37-
* `parent_dn` - (Required) Distinguished name of parent object.
38-
* `name` - (Required) Name of router control profile object.
39-
* `annotation` - (Optional) Annotation for router control profile object.
40-
* `description` - (Optional) Description for router control profile object.
41-
* `name_alias` - (Optional) Name alias for router control profile object.
42-
* `route_control_profile_type` - (Optional) Component type for router control profile object. Allowed values are "combinable" and "global". Default value is "combinable".
43-
44-
37+
- `parent_dn` - (Required) Distinguished name of parent object.
38+
- `name` - (Required) Name of router control profile object.
39+
- `annotation` - (Optional) Annotation for router control profile object.
40+
- `description` - (Optional) Description for router control profile object.
41+
- `name_alias` - (Optional) Name alias for router control profile object.
42+
- `route_control_profile_type` - (Optional) Component type for router control profile object. Allowed values are "combinable" and "global". Default value is "combinable".
4543

4644
## Attribute Reference
4745

4846
The only attribute that this resource exports is the `id`, which is set to the
4947
Dn of the Route Control Profile.
5048

51-
## Importing ##
49+
## Importing
5250

5351
An existing Route Control Profile can be [imported][docs-import] into this resource via its Dn, via the following command:
5452
[docs-import]: https://www.terraform.io/docs/import/index.html
5553

56-
5754
```
58-
terraform import aci_route_control_profile.example <Dn>
59-
```
55+
terraform import aci_bgp_route_control_profile.example <Dn>
56+
```

0 commit comments

Comments
 (0)