Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@ provider "iosxr" {

### Optional

- `batch_max_size` (Number) Maximum size of a batch. This can also be set as the IOSXR_BATCH_MAX_SIZE environment variable. Defaults to `10`.
- `batch_timeout` (Number) Timeout for batching in milliseconds. This can also be set as the IOSXR_BATCH_TIMEOUT environment variable. Defaults to `100`.
- `ca_certificate` (String) TLS CA certificate content. This can also be set as the IOSXR_CA_CERTIFICATE environment variable.
- `certificate` (String) TLS certificate content. This can also be set as the IOSXR_CERTIFICATE environment variable.
- `devices` (Attributes List) This can be used to manage a list of devices from a single provider. All devices must use the same credentials. Each resource and data source has an optional attribute named `device`, which can then select a device by its name from this list. (see [below for nested schema](#nestedatt--devices))
- `enable_batching` (Boolean) Enable batching of gNMI set requests. This can also be set as the IOSXR_ENABLE_BATCHING environment variable. Defaults to `true`.
- `host` (String) IP or name of the Cisco IOS-XR device. Optionally a port can be added with `:12345`. The default port is `57400`. This can also be set as the IOSXR_HOST environment variable. If no `host` is provided, the `host` of the first device from the `devices` list is being used.
- `key` (String) TLS private key content. This can also be set as the IOSXR_KEY environment variable.
- `password` (String, Sensitive) Password for the IOS-XR device. This can also be set as the IOSXR_PASSWORD environment variable.
Expand Down
59 changes: 59 additions & 0 deletions gen/templates/provider.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 8 additions & 6 deletions gen/templates/resource.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading