Skip to content

Commit

Permalink
Changed Transit_Peer_Network to TransitNetwork
Browse files Browse the repository at this point in the history
  • Loading branch information
admin committed Aug 12, 2024
1 parent 6887ffe commit 2c3d907
Show file tree
Hide file tree
Showing 19 changed files with 26 additions and 928 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.1.11 (unreleased)

- BREAKING CHANGE: Renamed `catalystcenter_peer_transit_network` to `catalystcenter_transit_network` resource to use `/dna/intent/api/v1/sda/transitNetworks` API endpoint, this resource now only works with Catalyst Center version 2.3.7.6+

## 0.1.10

- Add `catalystcenter_fabric_l2_handoff` resource and data source
Expand Down
42 changes: 0 additions & 42 deletions docs/data-sources/transit_peer_network.md

This file was deleted.

4 changes: 4 additions & 0 deletions docs/guides/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ description: |-

# Changelog

## 0.1.11 (unreleased)

- BREAKING CHANGE: Renamed `catalystcenter_peer_transit_network` to `catalystcenter_transit_network` resource to use `/dna/intent/api/v1/sda/transitNetworks` API endpoint, this resource now only works with Catalyst Center version 2.3.7.6+

## 0.1.10

- Add `catalystcenter_fabric_l2_handoff` resource and data source
Expand Down
58 changes: 0 additions & 58 deletions docs/resources/transit_peer_network.md

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 4 additions & 4 deletions gen/definitions/fabric_l3_handoff_ip_transit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ attributes:
mandatory: true
description: ID of the transit network of the layer 3 handoff ip transit
example: d71c847b-e9c2-4f13-928c-223372b72b06
test_value: catalystcenter_transit_peer_network.test.id
test_value: catalystcenter_transit_network.test.id
- model_name: interfaceName
data_path: '0'
requires_replace: true
Expand Down Expand Up @@ -117,9 +117,9 @@ test_prerequisites: |
authentication_profile_name = "No Authentication"
depends_on = [catalystcenter_area.test]
}
resource "catalystcenter_transit_peer_network" "test" {
transit_peer_network_name = "TRANSIT_1"
transit_peer_network_type = "ip_transit"
resource "catalystcenter_transit_network" "test" {
name = "TRANSIT_1"
type = "IP_BASED_TRANSIT"
routing_protocol_name = "BGP"
autonomous_system_number = "65010"
}
56 changes: 0 additions & 56 deletions gen/definitions/transit_peer_network.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ resource "catalystcenter_fabric_site" "test" {
authentication_profile_name = "No Authentication"
depends_on = [catalystcenter_area.test]
}
resource "catalystcenter_transit_peer_network" "test" {
transit_peer_network_name = "TRANSIT_1"
transit_peer_network_type = "ip_transit"
resource "catalystcenter_transit_network" "test" {
name = "TRANSIT_1"
type = "IP_BASED_TRANSIT"
routing_protocol_name = "BGP"
autonomous_system_number = "65010"
}
Expand All @@ -81,7 +81,7 @@ func testAccDataSourceCcFabricL3HandoffIPTransitConfig() string {
config := `resource "catalystcenter_fabric_l3_handoff_ip_transit" "test" {` + "\n"
config += ` network_device_id = "5e6f7b3a-2b0b-4a7d-8b1c-0d4b1cd5e1b1"` + "\n"
config += ` fabric_id = catalystcenter_fabric_site.test.id` + "\n"
config += ` transit_network_id = catalystcenter_transit_peer_network.test.id` + "\n"
config += ` transit_network_id = catalystcenter_transit_network.test.id` + "\n"
config += ` interface_name = "TenGigabitEthernet1/0/2"` + "\n"
config += ` virtual_network_name = "SDA_VN1"` + "\n"
config += ` vlan_id = 205` + "\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func testAccDataSourceCcTransitNetworkConfig() string {
config += `
data "catalystcenter_transit_network" "test" {
name = "TRANSIT_1"
depends_on = [catalystcenter_transit_network.test]
}
`
return config
Expand Down
139 changes: 0 additions & 139 deletions internal/provider/data_source_catalystcenter_transit_peer_network.go

This file was deleted.

Loading

0 comments on commit 2c3d907

Please sign in to comment.