Skip to content

Commit

Permalink
Update changelog and tweak attribute names
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Nov 24, 2023
1 parent 5703cbd commit 0ec2ddb
Show file tree
Hide file tree
Showing 12 changed files with 115 additions and 120 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Add `prefix_sid_strict_spf` and `prefix_sid_algorithm` attributes to `iosxr_router_ospf_area_interface` resource and data source
- Add `segment_routing_mpls` and `segment_routing_sr_prefer` attributes to `iosxr_router_ospf` resource and data source
- Add `v3_sha_encryption` and `v3_aes_encryption` attributes to `iosxr_snmp_server` resource and data source
- Add `fast_reroute_per_prefix` and `fast_reroute_per_prefix_ti_lfa` attributes to `iosxr_router_isis_interface_address_family` resource and data source

## 0.3.1

Expand Down
8 changes: 4 additions & 4 deletions docs/data-sources/router_isis_interface_address_family.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ data "iosxr_router_isis_interface_address_family" "example" {
### Read-Only

- `advertise_prefix_route_policy` (String) Filter routes based on a route policy
- `fast_reroute_computation_per_prefix_computation` (Boolean) Prefix dependent computation
- `fast_reroute_per_prefix` (Attributes List) Enable EPCFRR LFA for one level only (see [below for nested schema](#nestedatt--fast_reroute_per_prefix))
- `fast_reroute_per_prefix` (Boolean) Prefix dependent computation
- `fast_reroute_per_prefix_levels` (Attributes List) Enable EPCFRR LFA for one level only (see [below for nested schema](#nestedatt--fast_reroute_per_prefix_levels))
- `fast_reroute_per_prefix_ti_lfa` (Boolean) Enable TI LFA computation
- `id` (String) The path of the retrieved object.
- `metric` (Number) Default metric
Expand All @@ -51,8 +51,8 @@ data "iosxr_router_isis_interface_address_family" "example" {
- `prefix_sid_strict_spf_absolute` (Number) Specify the absolute value of Prefix Segement ID
- `tag` (Number) Set interface tag

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

Read-Only:

Expand Down
1 change: 1 addition & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ description: |-
- Add `prefix_sid_strict_spf` and `prefix_sid_algorithm` attributes to `iosxr_router_ospf_area_interface` resource and data source
- Add `segment_routing_mpls` and `segment_routing_sr_prefer` attributes to `iosxr_router_ospf` resource and data source
- Add `v3_sha_encryption` and `v3_aes_encryption` attributes to `iosxr_snmp_server` resource and data source
- Add `fast_reroute_per_prefix` and `fast_reroute_per_prefix_ti_lfa` attributes to `iosxr_router_isis_interface_address_family` resource and data source

## 0.3.1

Expand Down
22 changes: 11 additions & 11 deletions docs/resources/router_isis_interface_address_family.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ This resource can manage the Router ISIS Interface Address Family configuration.

```terraform
resource "iosxr_router_isis_interface_address_family" "example" {
process_id = "P1"
interface_name = "GigabitEthernet0/0/0/1"
af_name = "ipv4"
saf_name = "unicast"
fast_reroute_computation_per_prefix_computation = true
fast_reroute_per_prefix_ti_lfa = true
fast_reroute_per_prefix = [
process_id = "P1"
interface_name = "GigabitEthernet0/0/0/1"
af_name = "ipv4"
saf_name = "unicast"
fast_reroute_per_prefix = true
fast_reroute_per_prefix_ti_lfa = true
fast_reroute_per_prefix_levels = [
{
level_id = 1
ti_lfa = true
Expand Down Expand Up @@ -56,8 +56,8 @@ resource "iosxr_router_isis_interface_address_family" "example" {
- `delete_mode` (String) Configure behavior when deleting/destroying the resource. Either delete the entire object (YANG container) being managed, or only delete the individual resource attributes configured explicitly and leave everything else as-is. Default value is `all`.
- Choices: `all`, `attributes`
- `device` (String) A device name from the provider configuration.
- `fast_reroute_computation_per_prefix_computation` (Boolean) Prefix dependent computation
- `fast_reroute_per_prefix` (Attributes List) Enable EPCFRR LFA for one level only (see [below for nested schema](#nestedatt--fast_reroute_per_prefix))
- `fast_reroute_per_prefix` (Boolean) Prefix dependent computation
- `fast_reroute_per_prefix_levels` (Attributes List) Enable EPCFRR LFA for one level only (see [below for nested schema](#nestedatt--fast_reroute_per_prefix_levels))
- `fast_reroute_per_prefix_ti_lfa` (Boolean) Enable TI LFA computation
- `metric` (Number) Default metric
- Range: `1`-`16777214`
Expand All @@ -77,8 +77,8 @@ resource "iosxr_router_isis_interface_address_family" "example" {

- `id` (String) The path of the object.

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

Required:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
resource "iosxr_router_isis_interface_address_family" "example" {
process_id = "P1"
interface_name = "GigabitEthernet0/0/0/1"
af_name = "ipv4"
saf_name = "unicast"
fast_reroute_computation_per_prefix_computation = true
fast_reroute_per_prefix_ti_lfa = true
fast_reroute_per_prefix = [
process_id = "P1"
interface_name = "GigabitEthernet0/0/0/1"
af_name = "ipv4"
saf_name = "unicast"
fast_reroute_per_prefix = true
fast_reroute_per_prefix_ti_lfa = true
fast_reroute_per_prefix_levels = [
{
level_id = 1
ti_lfa = true
Expand Down
12 changes: 2 additions & 10 deletions gen/definitions/router_isis_interface_address_family.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,13 @@ attributes:
- yang_name: saf-name
example: unicast
- yang_name: fast-reroute/computation/per-prefix-computation
tf_name: fast_reroute_per_prefix
example: true
- yang_name: fast-reroute/per-prefix/per-prefix/ti-lfa
tf_name: fast_reroute_per_prefix_ti_lfa
example: true

# - yang_name: fast-reroute/computation/levels/level
# tf_name: fast_reroute_per_prefix
# type: List
# attributes:
# - yang_name: level-id
# id: true
# example: 2

- yang_name: fast-reroute/per-prefix/per-prefix/levels/level
tf_name: fast_reroute_per_prefix
tf_name: fast_reroute_per_prefix_levels
type: List
attributes:
- yang_name: level-id
Expand Down

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

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

Loading

0 comments on commit 0ec2ddb

Please sign in to comment.