Skip to content

Commit 5bf21f1

Browse files
authored
Add bgp vpnv4 and vpnv6 af resources (#386)
1 parent 516e2b9 commit 5bf21f1

24 files changed

+2427
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ website/vendor
3737
*.winfile eol=crlf
3838

3939
gen/full_definitions
40+
test-epic-*.tf
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "iosxe_bgp_address_family_vpnv4 Data Source - terraform-provider-iosxe"
4+
subcategory: "BGP"
5+
description: |-
6+
This data source can read the BGP Address Family VPNv4 configuration.
7+
---
8+
9+
# iosxe_bgp_address_family_vpnv4 (Data Source)
10+
11+
This data source can read the BGP Address Family VPNv4 configuration.
12+
13+
## Example Usage
14+
15+
```terraform
16+
data "iosxe_bgp_address_family_vpnv4" "example" {
17+
asn = "65000"
18+
af_name = "unicast"
19+
}
20+
```
21+
22+
<!-- schema generated by tfplugindocs -->
23+
## Schema
24+
25+
### Required
26+
27+
- `af_name` (String)
28+
- `asn` (String)
29+
30+
### Optional
31+
32+
- `device` (String) A device name from the provider configuration.
33+
34+
### Read-Only
35+
36+
- `id` (String) The path of the retrieved object.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "iosxe_bgp_address_family_vpnv6 Data Source - terraform-provider-iosxe"
4+
subcategory: "BGP"
5+
description: |-
6+
This data source can read the BGP Address Family VPNv6 configuration.
7+
---
8+
9+
# iosxe_bgp_address_family_vpnv6 (Data Source)
10+
11+
This data source can read the BGP Address Family VPNv6 configuration.
12+
13+
## Example Usage
14+
15+
```terraform
16+
data "iosxe_bgp_address_family_vpnv6" "example" {
17+
asn = "65000"
18+
af_name = "unicast"
19+
}
20+
```
21+
22+
<!-- schema generated by tfplugindocs -->
23+
## Schema
24+
25+
### Required
26+
27+
- `af_name` (String)
28+
- `asn` (String)
29+
30+
### Optional
31+
32+
- `device` (String) A device name from the provider configuration.
33+
34+
### Read-Only
35+
36+
- `id` (String) The path of the retrieved object.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "iosxe_bgp_address_family_vpnv4 Resource - terraform-provider-iosxe"
4+
subcategory: "BGP"
5+
description: |-
6+
This resource can manage the BGP Address Family VPNv4 configuration.
7+
---
8+
9+
# iosxe_bgp_address_family_vpnv4 (Resource)
10+
11+
This resource can manage the BGP Address Family VPNv4 configuration.
12+
13+
## Example Usage
14+
15+
```terraform
16+
resource "iosxe_bgp_address_family_vpnv4" "example" {
17+
asn = "65000"
18+
af_name = "unicast"
19+
}
20+
```
21+
22+
<!-- schema generated by tfplugindocs -->
23+
## Schema
24+
25+
### Required
26+
27+
- `af_name` (String) - Choices: `flowspec`, `multicast`, `unicast`
28+
- `asn` (String)
29+
30+
### Optional
31+
32+
- `delete_mode` (String) Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is `all`.
33+
- Choices: `all`, `attributes`
34+
- `device` (String) A device name from the provider configuration.
35+
36+
### Read-Only
37+
38+
- `id` (String) The path of the object.
39+
40+
## Import
41+
42+
Import is supported using the following syntax:
43+
44+
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
45+
46+
```shell
47+
terraform import iosxe_bgp_address_family_vpnv4.example "<asn>,<af_name>"
48+
```
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
# generated by https://github.com/hashicorp/terraform-plugin-docs
3+
page_title: "iosxe_bgp_address_family_vpnv6 Resource - terraform-provider-iosxe"
4+
subcategory: "BGP"
5+
description: |-
6+
This resource can manage the BGP Address Family VPNv6 configuration.
7+
---
8+
9+
# iosxe_bgp_address_family_vpnv6 (Resource)
10+
11+
This resource can manage the BGP Address Family VPNv6 configuration.
12+
13+
## Example Usage
14+
15+
```terraform
16+
resource "iosxe_bgp_address_family_vpnv6" "example" {
17+
asn = "65000"
18+
af_name = "unicast"
19+
}
20+
```
21+
22+
<!-- schema generated by tfplugindocs -->
23+
## Schema
24+
25+
### Required
26+
27+
- `af_name` (String) - Choices: `flowspec`, `multicast`, `unicast`
28+
- `asn` (String)
29+
30+
### Optional
31+
32+
- `delete_mode` (String) Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is `all`.
33+
- Choices: `all`, `attributes`
34+
- `device` (String) A device name from the provider configuration.
35+
36+
### Read-Only
37+
38+
- `id` (String) The path of the object.
39+
40+
## Import
41+
42+
Import is supported using the following syntax:
43+
44+
The [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import) can be used, for example:
45+
46+
```shell
47+
terraform import iosxe_bgp_address_family_vpnv6.example "<asn>,<af_name>"
48+
```
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
data "iosxe_bgp_address_family_vpnv4" "example" {
2+
asn = "65000"
3+
af_name = "unicast"
4+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
data "iosxe_bgp_address_family_vpnv6" "example" {
2+
asn = "65000"
3+
af_name = "unicast"
4+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
terraform import iosxe_bgp_address_family_vpnv4.example "<asn>,<af_name>"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
resource "iosxe_bgp_address_family_vpnv4" "example" {
2+
asn = "65000"
3+
af_name = "unicast"
4+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
terraform import iosxe_bgp_address_family_vpnv6.example "<asn>,<af_name>"

0 commit comments

Comments
 (0)