Skip to content

Commit 9e47937

Browse files
akabhaskmdmohan
authored andcommitted
Acceptance cases for fabric module and name changes to fabric modules
1 parent 93d2e3e commit 9e47937

File tree

51 files changed

+327
-1904
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+327
-1904
lines changed

docs/data-sources/vrf_bulk.md renamed to docs/data-sources/vrfs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "ndfc_vrf_bulk Data Source - terraform-provider-ndfc"
3+
page_title: "ndfc_vrfs Data Source - terraform-provider-ndfc"
44
subcategory: ""
55
description: |-
66
77
---
88

9-
# ndfc_vrf_bulk (Data Source)
9+
# ndfc_vrfs (Data Source)
1010

1111

1212

docs/resources/ip_fabric_media.md renamed to docs/resources/fabric_ipfm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "ndfc_ip_fabric_media Resource - terraform-provider-ndfc"
3+
page_title: "ndfc_fabric_ipfm Resource - terraform-provider-ndfc"
44
subcategory: ""
55
description: |-
66
Resource to configure and manage IP Fabric Media
77
---
88

9-
# ndfc_ip_fabric_media (Resource)
9+
# ndfc_fabric_ipfm (Resource)
1010

1111
Resource to configure and manage IP Fabric Media
1212

1313
## Example Usage
1414

1515
```terraform
16-
resource "ndfc_ip_fabric_media" "test_resource_ip_fabric_media_1" {
16+
resource "ndfc_fabric_ipfm" "test_resource_fabric_ipfm_1" {
1717
fabric_name = "IP_FABRIC_MEDIA"
1818
aaa_remote_ip_enabled = false
1919
bootstrap_enable = false

docs/resources/lan_classic_fabric.md renamed to docs/resources/fabric_lan_classic.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "ndfc_lan_classic_fabric Resource - terraform-provider-ndfc"
3+
page_title: "ndfc_fabric_lan_classic Resource - terraform-provider-ndfc"
44
subcategory: ""
55
description: |-
66
Resource to configure and manage a LAN Classic Fabric
77
---
88

9-
# ndfc_lan_classic_fabric (Resource)
9+
# ndfc_fabric_lan_classic (Resource)
1010

1111
Resource to configure and manage a LAN Classic Fabric
1212

1313
## Example Usage
1414

1515
```terraform
16-
resource "ndfc_lan_classic_fabric" "test_resource_lan_classic_fabric_1" {
16+
resource "ndfc_fabric_lan_classic" "test_resource_fabric_lan_classic_1" {
1717
fabric_name = "TF_FABRIC_LAN_CLASSIC"
1818
aaa_remote_ip_enabled = false
1919
bootstrap_multisubnet = "#Scope_Start_IP, Scope_End_IP, Scope_Default_Gateway, Scope_Subnet_Prefix"

docs/resources/intersite_network_fabric.md renamed to docs/resources/fabric_msite_ext_net.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "ndfc_intersite_network_fabric Resource - terraform-provider-ndfc"
3+
page_title: "ndfc_fabric_msite_ext_net Resource - terraform-provider-ndfc"
44
subcategory: ""
55
description: |-
6-
Resource to configure an Inter-Site Network Fabric
6+
Resource to configure an Multi-Site Network Fabric
77
---
88

9-
# ndfc_intersite_network_fabric (Resource)
9+
# ndfc_fabric_msite_ext_net (Resource)
1010

11-
Resource to configure an Inter-Site Network Fabric
11+
Resource to configure an Multi-Site Network Fabric
1212

1313
## Example Usage
1414

1515
```terraform
16-
resource "ndfc_intersite_network_fabric" "test_resource_intersite_network_fabric_1" {
16+
resource "ndfc_fabric_msite_ext_net" "test_resource_fabric_msite_ext_net_1" {
1717
fabric_name = "TF_FABRIC_ISN"
1818
aaa_remote_ip_enabled = false
1919
bootstrap_multisubnet = "#Scope_Start_IP, Scope_End_IP, Scope_Default_Gateway, Scope_Subnet_Prefix"

docs/resources/vxlan_evpn_fabric.md renamed to docs/resources/fabric_vxlan_evpn.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "ndfc_vxlan_evpn_fabric Resource - terraform-provider-ndfc"
3+
page_title: "ndfc_fabric_vxlan_evpn Resource - terraform-provider-ndfc"
44
subcategory: ""
55
description: |-
66
Resource to configure and manage a VXLAN EVPN Fabric
77
---
88

9-
# ndfc_vxlan_evpn_fabric (Resource)
9+
# ndfc_fabric_vxlan_evpn (Resource)
1010

1111
Resource to configure and manage a VXLAN EVPN Fabric
1212

1313
## Example Usage
1414

1515
```terraform
16-
resource "ndfc_vxlan_evpn_fabric" "test_resource_vxlan_evpn_fabric_1" {
16+
resource "ndfc_fabric_vxlan_evpn" "test_resource_fabric_vxlan_evpn_1" {
1717
fabric_name = "TF_FABRIC_VXLAN_EVPN"
1818
aaa_remote_ip_enabled = false
1919
advertise_pip_bgp = false
@@ -94,6 +94,7 @@ resource "ndfc_vxlan_evpn_fabric" "test_resource_vxlan_evpn_fabric_1" {
9494
per_vrf_loopback_auto_provision = false
9595
pim_hello_auth_enable = false
9696
pm_enable = false
97+
enable_rt_intf_stats = false
9798
power_redundancy_mode = "ps-redundant"
9899
replication_mode = "Multicast"
99100
route_map_sequence_number_range = "1-65534"
@@ -200,6 +201,7 @@ resource "ndfc_vxlan_evpn_fabric" "test_resource_vxlan_evpn_fabric_1" {
200201
- `enable_pbr` (Boolean) When ESR option is ePBR, enable ePBR will enable pbr, sla sender and epbr features on the switch
201202
- `enable_pvlan` (Boolean) Enable PVLAN on switches except spines and super spines
202203
- `enable_realtime_backup` (Boolean) Backup hourly only if there is any config deployment since last backup
204+
- `enable_rt_intf_stats` (Boolean) Valid for NX-OS only
203205
- `enable_scheduled_backup` (Boolean) Backup at the specified time
204206
- `enable_tenant_dhcp` (Boolean) No description available
205207
- `enable_trm` (Boolean) For Overlay Multicast Support In VXLAN Fabrics

docs/resources/vxlan_msd_fabric.md renamed to docs/resources/fabric_vxlan_msd.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
# generated by https://github.com/hashicorp/terraform-plugin-docs
3-
page_title: "ndfc_vxlan_msd_fabric Resource - terraform-provider-ndfc"
3+
page_title: "ndfc_fabric_vxlan_msd Resource - terraform-provider-ndfc"
44
subcategory: ""
55
description: |-
66
Resource to configure and manage a VXLAN MSD Fabric
77
---
88

9-
# ndfc_vxlan_msd_fabric (Resource)
9+
# ndfc_fabric_vxlan_msd (Resource)
1010

1111
Resource to configure and manage a VXLAN MSD Fabric
1212

1313
## Example Usage
1414

1515
```terraform
16-
resource "ndfc_vxlan_msd_fabric" "test_resource_vxlan_msd_fabric_1" {
16+
resource "ndfc_fabric_vxlan_msd" "test_resource_fabric_vxlan_msd_1" {
1717
fabric_name = "TF_FABRIC_VXLAN_MSD"
1818
anycast_gw_mac = "2020.0000.00aa"
1919
bgw_routing_tag = 54321

examples/resources/ndfc_ip_fabric_media/resource.tf renamed to examples/resources/ndfc_fabric_ipfm/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
resource "ndfc_ip_fabric_media" "test_resource_ip_fabric_media_1" {
2+
resource "ndfc_fabric_ipfm" "test_resource_fabric_ipfm_1" {
33
fabric_name = "IP_FABRIC_MEDIA"
44
aaa_remote_ip_enabled = false
55
bootstrap_enable = false

examples/resources/ndfc_lan_classic_fabric/resource.tf renamed to examples/resources/ndfc_fabric_lan_classic/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
resource "ndfc_lan_classic_fabric" "test_resource_lan_classic_fabric_1" {
2+
resource "ndfc_fabric_lan_classic" "test_resource_fabric_lan_classic_1" {
33
fabric_name = "TF_FABRIC_LAN_CLASSIC"
44
aaa_remote_ip_enabled = false
55
bootstrap_multisubnet = "#Scope_Start_IP, Scope_End_IP, Scope_Default_Gateway, Scope_Subnet_Prefix"

examples/resources/ndfc_intersite_network_fabric/resource.tf renamed to examples/resources/ndfc_fabric_msite_ext_net/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
resource "ndfc_intersite_network_fabric" "test_resource_intersite_network_fabric_1" {
2+
resource "ndfc_fabric_msite_ext_net" "test_resource_fabric_msite_ext_net_1" {
33
fabric_name = "TF_FABRIC_ISN"
44
aaa_remote_ip_enabled = false
55
bootstrap_multisubnet = "#Scope_Start_IP, Scope_End_IP, Scope_Default_Gateway, Scope_Subnet_Prefix"

examples/resources/ndfc_vxlan_evpn_fabric/resource.tf renamed to examples/resources/ndfc_fabric_vxlan_evpn/resource.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
resource "ndfc_vxlan_evpn_fabric" "test_resource_vxlan_evpn_fabric_1" {
2+
resource "ndfc_fabric_vxlan_evpn" "test_resource_fabric_vxlan_evpn_1" {
33
fabric_name = "TF_FABRIC_VXLAN_EVPN"
44
aaa_remote_ip_enabled = false
55
advertise_pip_bgp = false
@@ -80,6 +80,7 @@ resource "ndfc_vxlan_evpn_fabric" "test_resource_vxlan_evpn_fabric_1" {
8080
per_vrf_loopback_auto_provision = false
8181
pim_hello_auth_enable = false
8282
pm_enable = false
83+
enable_rt_intf_stats = false
8384
power_redundancy_mode = "ps-redundant"
8485
replication_mode = "Multicast"
8586
route_map_sequence_number_range = "1-65534"

0 commit comments

Comments
 (0)