Skip to content

Commit ef388da

Browse files
akabhaskmdmohan
authored andcommitted
Adding missing documentation for terraform import for fabric resources
1 parent 241cc7c commit ef388da

File tree

15 files changed

+95
-0
lines changed

15 files changed

+95
-0
lines changed

docs/resources/fabric_ipfm.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,13 @@ resource "ndfc_fabric_ipfm" "test_resource_fabric_ipfm_1" {
168168
- `rp_ip_range_internal` (String) Internal RP IP Range
169169
- `spine_count` (Number) Spine Count
170170
- `upgrade_from_version` (String) Upgrade From Version
171+
172+
## Import
173+
174+
Import is supported using the following syntax:
175+
176+
```shell
177+
# Format of ID used for import:
178+
# Name of the fabric you would want to import for this resource
179+
terraform import ndfc_fabric_ipfm.test_resource_fabric_ipfm IP_FABRIC_MEDIA
180+
```

docs/resources/fabric_lan_classic.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,13 @@ resource "ndfc_fabric_lan_classic" "test_resource_fabric_lan_classic_1" {
169169
- `mgmt_v6prefix` (Number) Switch Mgmt IPv6 Subnet Prefix (Min:64, Max:126)
170170
- `mgmt_v6prefix_internal` (Number) Internal Management IPv6 Prefix
171171
- `pm_enable_prev` (Boolean) Previous state of Enable Performance Monitoring
172+
173+
## Import
174+
175+
Import is supported using the following syntax:
176+
177+
```shell
178+
# Format of ID used for import:
179+
# Name of the fabric you would want to import for this resource
180+
terraform import ndfc_fabric_lan_classic.test_resource_fabric_lan_classic TF_FABRIC_LAN_CLASSIC
181+
```

docs/resources/fabric_msite_ext_net.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,13 @@ resource "ndfc_fabric_msite_ext_net" "test_resource_fabric_msite_ext_net_1" {
178178
- `pm_enable_prev` (Boolean) Previous state of Enable Performance Monitoring
179179
- `pnp_enable_internal` (Boolean) Internal PnP Enable
180180
- `premso_parent_fabric` (String) Pre-MSO Parent Fabric
181+
182+
## Import
183+
184+
Import is supported using the following syntax:
185+
186+
```shell
187+
# Format of ID used for import:
188+
# Name of the fabric you would want to import for this resource
189+
terraform import ndfc_fabric_msite_ext_net.test_resource_fabric_msite_ext_net TF_FABRIC_MSITE_EXT_NET
190+
```

docs/resources/fabric_vxlan_evpn.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,3 +486,13 @@ resource "ndfc_fabric_vxlan_evpn" "test_resource_fabric_vxlan_evpn_1" {
486486
- `unnum_dhcp_end_internal` (String) Internal Unnumbered DHCP End Address
487487
- `unnum_dhcp_start_internal` (String) Internal Unnumbered DHCP Start Address
488488
- `upgrade_from_version` (String) Upgrade from Version
489+
490+
## Import
491+
492+
Import is supported using the following syntax:
493+
494+
```shell
495+
# Format of ID used for import:
496+
# Name of the fabric you would want to import for this resource
497+
terraform import ndfc_fabric_vxlan_evpn.test_resource_fabric_vxlan_evpn TF_FABRIC_VXLAN_EVPN
498+
```

docs/resources/fabric_vxlan_msd.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,3 +118,13 @@ resource "ndfc_fabric_vxlan_msd" "test_resource_fabric_vxlan_msd_1" {
118118
- `sgt_preprov_recalc_status` (String) Recalculation status for Security Groups Pre-provision
119119
- `sgt_preprovision_prev` (Boolean) Previous state of Security Groups Pre-provision
120120
- `sgt_recalc_status` (String) Recalculation status for Security Groups
121+
122+
## Import
123+
124+
Import is supported using the following syntax:
125+
126+
```shell
127+
# Format of ID used for import:
128+
# Name of the fabric you would want to import for this resource
129+
terraform import ndfc_fabric_vxlan_msd.test_resource_fabric_vxlan_msd TF_FABRIC_VXLAN_MSD
130+
```
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
# Format of ID used for import:
3+
# Name of the fabric you would want to import for this resource
4+
terraform import ndfc_fabric_ipfm.test_resource_fabric_ipfm IP_FABRIC_MEDIA
5+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
# Format of ID used for import:
3+
# Name of the fabric you would want to import for this resource
4+
terraform import ndfc_fabric_lan_classic.test_resource_fabric_lan_classic TF_FABRIC_LAN_CLASSIC
5+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
# Format of ID used for import:
3+
# Name of the fabric you would want to import for this resource
4+
terraform import ndfc_fabric_msite_ext_net.test_resource_fabric_msite_ext_net TF_FABRIC_MSITE_EXT_NET
5+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
# Format of ID used for import:
3+
# Name of the fabric you would want to import for this resource
4+
terraform import ndfc_fabric_vxlan_evpn.test_resource_fabric_vxlan_evpn TF_FABRIC_VXLAN_EVPN
5+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
# Format of ID used for import:
3+
# Name of the fabric you would want to import for this resource
4+
terraform import ndfc_fabric_vxlan_msd.test_resource_fabric_vxlan_msd TF_FABRIC_VXLAN_MSD
5+

0 commit comments

Comments
 (0)