Skip to content

Commit

Permalink
Remove configuration when attributes are removed from resources
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Sep 14, 2023
1 parent 9a781e4 commit bf8305d
Show file tree
Hide file tree
Showing 188 changed files with 5,347 additions and 863 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Add `iosxr_router_hsrp_interface_address_family_ipv6_group_v2` resource and data source
- Add `route_reflector_client` attribute to `iosxr_router_bgp_neighbor_address_family` and `iosxr_router_bgp_neighbor_group` resource and data source
- Add `communities` attributes to `iosxr_snmp_server` resource and data source
- When removing attributes from a resource (or setting them to `null`) which were previously set, the corresponding configuration will be removed from the device

## 0.2.5

Expand Down
1 change: 1 addition & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ description: |-
- Add `iosxr_router_hsrp_interface_address_family_ipv6_group_v2` resource and data source
- Add `route_reflector_client` attribute to `iosxr_router_bgp_neighbor_address_family` and `iosxr_router_bgp_neighbor_group` resource and data source
- Add `communities` attributes to `iosxr_snmp_server` resource and data source
- When removing attributes from a resource (or setting them to `null`) which were previously set, the corresponding configuration will be removed from the device

## 0.2.5

Expand Down
52 changes: 38 additions & 14 deletions gen/templates/model.go

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

2 changes: 1 addition & 1 deletion gen/templates/resource.go

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

3 changes: 3 additions & 0 deletions internal/provider/model_iosxr_as_path_set.go

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

3 changes: 3 additions & 0 deletions internal/provider/model_iosxr_banner.go

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

103 changes: 95 additions & 8 deletions internal/provider/model_iosxr_bfd.go

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

6 changes: 6 additions & 0 deletions internal/provider/model_iosxr_bgp_as_format.go

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

15 changes: 15 additions & 0 deletions internal/provider/model_iosxr_cdp.go

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

18 changes: 18 additions & 0 deletions internal/provider/model_iosxr_class_map_qos.go

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

3 changes: 3 additions & 0 deletions internal/provider/model_iosxr_community_set.go

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

Loading

0 comments on commit bf8305d

Please sign in to comment.