Skip to content

Commit

Permalink
Add router static vrf resources (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
shebang42 authored Mar 21, 2024
1 parent 44a12ff commit 358f275
Show file tree
Hide file tree
Showing 53 changed files with 13,892 additions and 0 deletions.
137 changes: 137 additions & 0 deletions docs/data-sources/router_static_vrf_ipv4_multicast.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "iosxr_router_static_vrf_ipv4_multicast Data Source - terraform-provider-iosxr"
subcategory: "Routing"
description: |-
This data source can read the Router Static VRF IPv4 Multicast configuration.
---

# iosxr_router_static_vrf_ipv4_multicast (Data Source)

This data source can read the Router Static VRF IPv4 Multicast configuration.

## Example Usage

```terraform
data "iosxr_router_static_vrf_ipv4_multicast" "example" {
vrf_name = "VRF2"
prefix_address = "100.0.1.0"
prefix_length = 24
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `prefix_address` (String) Destination prefix
- `prefix_length` (Number) Destination prefix length
- `vrf_name` (String) VRF Static route configuration subcommands

### Optional

- `device` (String) A device name from the provider configuration.

### Read-Only

- `id` (String) The path of the retrieved object.
- `nexthop_addresses` (Attributes List) Forwarding router's address (see [below for nested schema](#nestedatt--nexthop_addresses))
- `nexthop_interface_addresses` (Attributes List) Forwarding interface (see [below for nested schema](#nestedatt--nexthop_interface_addresses))
- `nexthop_interfaces` (Attributes List) Forwarding interface (see [below for nested schema](#nestedatt--nexthop_interfaces))
- `vrfs` (Attributes List) Destination VRF (see [below for nested schema](#nestedatt--vrfs))

<a id="nestedatt--nexthop_addresses"></a>
### Nested Schema for `nexthop_addresses`

Read-Only:

- `address` (String) Forwarding router's address
- `description` (String) description of the static route
- `distance_metric` (Number) Distance metric for this route
- `metric` (Number) Set metric for this route
- `permanent` (Boolean) Permanent route
- `tag` (Number) Set tag for this route
- `track` (String) Enable object tracking for static route


<a id="nestedatt--nexthop_interface_addresses"></a>
### Nested Schema for `nexthop_interface_addresses`

Read-Only:

- `address` (String) Forwarding router's address
- `description` (String) description of the static route
- `distance_metric` (Number) Distance metric for this route
- `interface_name` (String) Forwarding interface
- `metric` (Number) Set metric for this route
- `permanent` (Boolean) Permanent route
- `tag` (Number) Set tag for this route
- `track` (String) Enable object tracking for static route


<a id="nestedatt--nexthop_interfaces"></a>
### Nested Schema for `nexthop_interfaces`

Read-Only:

- `description` (String) description of the static route
- `distance_metric` (Number) Distance metric for this route
- `interface_name` (String) Forwarding interface
- `metric` (Number) Set metric for this route
- `permanent` (Boolean) Permanent route
- `tag` (Number) Set tag for this route
- `track` (String) Enable object tracking for static route


<a id="nestedatt--vrfs"></a>
### Nested Schema for `vrfs`

Read-Only:

- `nexthop_addresses` (Attributes List) Forwarding router's address (see [below for nested schema](#nestedatt--vrfs--nexthop_addresses))
- `nexthop_interface_addresses` (Attributes List) Forwarding interface (see [below for nested schema](#nestedatt--vrfs--nexthop_interface_addresses))
- `nexthop_interfaces` (Attributes List) Forwarding interface (see [below for nested schema](#nestedatt--vrfs--nexthop_interfaces))
- `vrf_name` (String) Destination VRF

<a id="nestedatt--vrfs--nexthop_addresses"></a>
### Nested Schema for `vrfs.nexthop_addresses`

Read-Only:

- `address` (String) Forwarding router's address
- `description` (String) description of the static route
- `distance_metric` (Number) Distance metric for this route
- `metric` (Number) Set metric for this route
- `permanent` (Boolean) Permanent route
- `tag` (Number) Set tag for this route
- `track` (String) Enable object tracking for static route


<a id="nestedatt--vrfs--nexthop_interface_addresses"></a>
### Nested Schema for `vrfs.nexthop_interface_addresses`

Read-Only:

- `address` (String) Forwarding router's address
- `description` (String) description of the static route
- `distance_metric` (Number) Distance metric for this route
- `interface_name` (String) Forwarding interface
- `metric` (Number) Set metric for this route
- `permanent` (Boolean) Permanent route
- `tag` (Number) Set tag for this route
- `track` (String) Enable object tracking for static route


<a id="nestedatt--vrfs--nexthop_interfaces"></a>
### Nested Schema for `vrfs.nexthop_interfaces`

Read-Only:

- `description` (String) description of the static route
- `distance_metric` (Number) Distance metric for this route
- `interface_name` (String) Forwarding interface
- `metric` (Number) Set metric for this route
- `permanent` (Boolean) Permanent route
- `tag` (Number) Set tag for this route
- `track` (String) Enable object tracking for static route
137 changes: 137 additions & 0 deletions docs/data-sources/router_static_vrf_ipv4_unicast.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "iosxr_router_static_vrf_ipv4_unicast Data Source - terraform-provider-iosxr"
subcategory: "Routing"
description: |-
This data source can read the Router Static VRF IPv4 Unicast configuration.
---

# iosxr_router_static_vrf_ipv4_unicast (Data Source)

This data source can read the Router Static VRF IPv4 Unicast configuration.

## Example Usage

```terraform
data "iosxr_router_static_vrf_ipv4_unicast" "example" {
vrf_name = "VRF2"
prefix_address = "100.0.1.0"
prefix_length = 24
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `prefix_address` (String) Destination prefix
- `prefix_length` (Number) Destination prefix length
- `vrf_name` (String) VRF Static route configuration subcommands

### Optional

- `device` (String) A device name from the provider configuration.

### Read-Only

- `id` (String) The path of the retrieved object.
- `nexthop_addresses` (Attributes List) Forwarding router's address (see [below for nested schema](#nestedatt--nexthop_addresses))
- `nexthop_interface_addresses` (Attributes List) Forwarding interface (see [below for nested schema](#nestedatt--nexthop_interface_addresses))
- `nexthop_interfaces` (Attributes List) Forwarding interface (see [below for nested schema](#nestedatt--nexthop_interfaces))
- `vrfs` (Attributes List) Destination VRF (see [below for nested schema](#nestedatt--vrfs))

<a id="nestedatt--nexthop_addresses"></a>
### Nested Schema for `nexthop_addresses`

Read-Only:

- `address` (String) Forwarding router's address
- `description` (String) description of the static route
- `distance_metric` (Number) Distance metric for this route
- `metric` (Number) Set metric for this route
- `permanent` (Boolean) Permanent route
- `tag` (Number) Set tag for this route
- `track` (String) Enable object tracking for static route


<a id="nestedatt--nexthop_interface_addresses"></a>
### Nested Schema for `nexthop_interface_addresses`

Read-Only:

- `address` (String) Forwarding router's address
- `description` (String) description of the static route
- `distance_metric` (Number) Distance metric for this route
- `interface_name` (String) Forwarding interface
- `metric` (Number) Set metric for this route
- `permanent` (Boolean) Permanent route
- `tag` (Number) Set tag for this route
- `track` (String) Enable object tracking for static route


<a id="nestedatt--nexthop_interfaces"></a>
### Nested Schema for `nexthop_interfaces`

Read-Only:

- `description` (String) description of the static route
- `distance_metric` (Number) Distance metric for this route
- `interface_name` (String) Forwarding interface
- `metric` (Number) Set metric for this route
- `permanent` (Boolean) Permanent route
- `tag` (Number) Set tag for this route
- `track` (String) Enable object tracking for static route


<a id="nestedatt--vrfs"></a>
### Nested Schema for `vrfs`

Read-Only:

- `nexthop_addresses` (Attributes List) Forwarding router's address (see [below for nested schema](#nestedatt--vrfs--nexthop_addresses))
- `nexthop_interface_addresses` (Attributes List) Forwarding interface (see [below for nested schema](#nestedatt--vrfs--nexthop_interface_addresses))
- `nexthop_interfaces` (Attributes List) Forwarding interface (see [below for nested schema](#nestedatt--vrfs--nexthop_interfaces))
- `vrf_name` (String) Destination VRF

<a id="nestedatt--vrfs--nexthop_addresses"></a>
### Nested Schema for `vrfs.nexthop_addresses`

Read-Only:

- `address` (String) Forwarding router's address
- `description` (String) description of the static route
- `distance_metric` (Number) Distance metric for this route
- `metric` (Number) Set metric for this route
- `permanent` (Boolean) Permanent route
- `tag` (Number) Set tag for this route
- `track` (String) Enable object tracking for static route


<a id="nestedatt--vrfs--nexthop_interface_addresses"></a>
### Nested Schema for `vrfs.nexthop_interface_addresses`

Read-Only:

- `address` (String) Forwarding router's address
- `description` (String) description of the static route
- `distance_metric` (Number) Distance metric for this route
- `interface_name` (String) Forwarding interface
- `metric` (Number) Set metric for this route
- `permanent` (Boolean) Permanent route
- `tag` (Number) Set tag for this route
- `track` (String) Enable object tracking for static route


<a id="nestedatt--vrfs--nexthop_interfaces"></a>
### Nested Schema for `vrfs.nexthop_interfaces`

Read-Only:

- `description` (String) description of the static route
- `distance_metric` (Number) Distance metric for this route
- `interface_name` (String) Forwarding interface
- `metric` (Number) Set metric for this route
- `permanent` (Boolean) Permanent route
- `tag` (Number) Set tag for this route
- `track` (String) Enable object tracking for static route
Loading

0 comments on commit 358f275

Please sign in to comment.