-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
706 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "nxos_pim_anycast_rp_peer Data Source - terraform-provider-nxos" | ||
subcategory: "PIM" | ||
description: |- | ||
This data source can read the PIM Anycast RP peer configuration. | ||
API Documentation: pimAcastRPPeer https://pubhub.devnetcloud.com/media/dme-docs-10-2-2/docs/Layer%203/pim:AcastRPPeer/ | ||
--- | ||
|
||
# nxos_pim_anycast_rp_peer (Data Source) | ||
|
||
This data source can read the PIM Anycast RP peer configuration. | ||
|
||
- API Documentation: [pimAcastRPPeer](https://pubhub.devnetcloud.com/media/dme-docs-10-2-2/docs/Layer%203/pim:AcastRPPeer/) | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
data "nxos_pim_anycast_rp_peer" "example" { | ||
vrf_name = "default" | ||
address = "10.1.1.1/32" | ||
rp_set_address = "20.1.1.1/32" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `address` (String) Anycast RP address. | ||
- `rp_set_address` (String) RP set address. | ||
- `vrf_name` (String) VRF name. | ||
|
||
### Optional | ||
|
||
- `device` (String) A device name from the provider configuration. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The distinguished name of the object. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
--- | ||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||
page_title: "nxos_pim_anycast_rp_peer Resource - terraform-provider-nxos" | ||
subcategory: "PIM" | ||
description: |- | ||
This resource can manage the PIM Anycast RP peer configuration. | ||
API Documentation: pimAcastRPPeer https://pubhub.devnetcloud.com/media/dme-docs-10-2-2/docs/Layer%203/pim:AcastRPPeer/ | ||
Parent resources | ||
nxospimanycast_rp https://registry.terraform.io/providers/netascode/nxos/latest/docs/resources/pim_anycast_rp | ||
--- | ||
|
||
# nxos_pim_anycast_rp_peer (Resource) | ||
|
||
This resource can manage the PIM Anycast RP peer configuration. | ||
|
||
- API Documentation: [pimAcastRPPeer](https://pubhub.devnetcloud.com/media/dme-docs-10-2-2/docs/Layer%203/pim:AcastRPPeer/) | ||
|
||
### Parent resources | ||
|
||
- [nxos_pim_anycast_rp](https://registry.terraform.io/providers/netascode/nxos/latest/docs/resources/pim_anycast_rp) | ||
|
||
## Example Usage | ||
|
||
```terraform | ||
resource "nxos_pim_anycast_rp_peer" "example" { | ||
vrf_name = "default" | ||
address = "10.1.1.1/32" | ||
rp_set_address = "20.1.1.1/32" | ||
} | ||
``` | ||
|
||
<!-- schema generated by tfplugindocs --> | ||
## Schema | ||
|
||
### Required | ||
|
||
- `address` (String) Anycast RP address. | ||
- `rp_set_address` (String) RP set address. | ||
- `vrf_name` (String) VRF name. | ||
|
||
### Optional | ||
|
||
- `device` (String) A device name from the provider configuration. | ||
|
||
### Read-Only | ||
|
||
- `id` (String) The distinguished name of the object. | ||
|
||
## Import | ||
|
||
Import is supported using the following syntax: | ||
|
||
```shell | ||
terraform import nxos_pim_anycast_rp_peer.example "sys/pim/inst/dom-[default]/acastrpfunc/peer-[10.1.1.1/32]-peer-[20.1.1.1/32]" | ||
``` |
5 changes: 5 additions & 0 deletions
5
examples/data-sources/nxos_pim_anycast_rp_peer/data-source.tf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
data "nxos_pim_anycast_rp_peer" "example" { | ||
vrf_name = "default" | ||
address = "10.1.1.1/32" | ||
rp_set_address = "20.1.1.1/32" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
terraform import nxos_pim_anycast_rp_peer.example "sys/pim/inst/dom-[default]/acastrpfunc/peer-[10.1.1.1/32]-peer-[20.1.1.1/32]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
resource "nxos_pim_anycast_rp_peer" "example" { | ||
vrf_name = "default" | ||
address = "10.1.1.1/32" | ||
rp_set_address = "20.1.1.1/32" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
name: PIM Anycast RP Peer | ||
class_name: pimAcastRPPeer | ||
dn: sys/pim/inst/dom-[%s]/acastrpfunc/peer-[%s]-peer-[%s] | ||
ds_description: This data source can read the PIM Anycast RP peer configuration. | ||
res_description: This resource can manage the PIM Anycast RP peer configuration. | ||
doc_path: Layer%203/pim:AcastRPPeer/ | ||
doc_category: PIM | ||
parents: | ||
- PIM Anycast RP | ||
attributes: | ||
- nxos_name: name | ||
tf_name: vrf_name | ||
type: String | ||
id: true | ||
reference_only: true | ||
description: 'VRF name.' | ||
example: default | ||
- nxos_name: addr | ||
tf_name: address | ||
type: String | ||
id: true | ||
description: 'Anycast RP address.' | ||
example: 10.1.1.1/32 | ||
- nxos_name: rpSetAddr | ||
tf_name: rp_set_address | ||
type: String | ||
id: true | ||
description: 'RP set address.' | ||
example: 20.1.1.1/32 | ||
test_prerequisites: | ||
- dn: sys/fm/pim | ||
class_name: fmPim | ||
no_delete: true | ||
attributes: | ||
- name: adminSt | ||
value: enabled | ||
- dn: sys/pim | ||
class_name: pimEntity | ||
dependencies: [0] | ||
- dn: sys/pim/inst | ||
class_name: pimInst | ||
dependencies: [1] | ||
- dn: sys/pim/inst/dom-[default] | ||
class_name: pimDom | ||
attributes: | ||
- name: name | ||
value: default | ||
dependencies: [2] | ||
- dn: sys/pim/inst/dom-[default]/acastrpfunc | ||
class_name: pimAcastRPFuncP | ||
dependencies: [3] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.