You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
Terraform Version
v1.3.5
NDFC version
V 12.1.1e
Affected Resource(s)
dcnm_interface
Terraform Configuration Files
# Copy-paste your Terraform configurations here - for large Terraform configs,# please use a service like Dropbox and share a link to the ZIP file. For# security, you can also encrypt the files using our GPG public key: https://keybase.io/hashicorp
resource "dcnm_interface" "RtrIntf" {
policy = "int_routed_host_11_1"
type = "ethernet"
name = "Ethernet1/18"
fabric_name = "Demo1"
switch_name_1 = "ev-leaf1"
the interface should be configured as a L3 interface with IP address assigned
Actual Behavior
I get the following error:
dcnm_interface.RtrIntf: Creating...
│ Error: Ethernet interface can only be modified
│
│ with dcnm_interface.RtrIntf,
│ on dothings.tf line 47, in resource "dcnm_interface" "RtrIntf":
│ 47: resource "dcnm_interface" "RtrIntf" {
There's appears to be an issue with any configuration of an ethernet interface. If I attempt to just change the MTU or Ethernet speed and keep the physical interface as a L2 interface, I have a similar error:
resource "dcnm_interface" "chgPol" {
policy = "int_trunk_host"
type = "ethernet"
name = "Ethernet1/18"
switch_name_1 = "ev-leaf1"
fabric_name = "Demo1"
mtu = "jumbo"
ethernet_speed = "10Gb"
deploy = false
}
-- output---
dcnm_interface.chgPol: Creating...
╷
│ Error: Ethernet interface can only be modified
│
│ with dcnm_interface.chgPol,
│ on l3.tf line 14, in resource "dcnm_interface" "chgPol":
│ 14: resource "dcnm_interface" "chgPol" {
Steps to Reproduce
Happens all times when I run the script
terraform apply
Important Factoids
I can configure this in the GUI without issue
References
#0000
The text was updated successfully, but these errors were encountered:
carello
changed the title
NDFC - Creating L3 Physical Interface fails
NDFC - Creating L3 Physical Ethernet Interface fails (or changing an Ethernet interface)
Nov 26, 2022
carello
changed the title
NDFC - Creating L3 Physical Ethernet Interface fails (or changing an Ethernet interface)
NDFC - Creating L3 Physical Ethernet Interface fails (or changing a type= Ethernet interface)
Nov 26, 2022
Community Note
Terraform Version
v1.3.5
NDFC version
Affected Resource(s)
Terraform Configuration Files
resource "dcnm_interface" "RtrIntf" {
policy = "int_routed_host_11_1"
type = "ethernet"
name = "Ethernet1/18"
fabric_name = "Demo1"
switch_name_1 = "ev-leaf1"
vrf = "chetVRF1"
ipv4 = "11.12.13.1"
ipv4_prefix = "24"
description = "to WAN"
}
Debug Output
https://gist.github.com/carello/3bc31bf06346e3de02257b9b35cdbae5
Panic Output
Expected Behavior
the interface should be configured as a L3 interface with IP address assigned
Actual Behavior
I get the following error:
dcnm_interface.RtrIntf: Creating...
│ Error: Ethernet interface can only be modified
│
│ with dcnm_interface.RtrIntf,
│ on dothings.tf line 47, in resource "dcnm_interface" "RtrIntf":
│ 47: resource "dcnm_interface" "RtrIntf" {
There's appears to be an issue with any configuration of an ethernet interface. If I attempt to just change the MTU or Ethernet speed and keep the physical interface as a L2 interface, I have a similar error:
resource "dcnm_interface" "chgPol" {
policy = "int_trunk_host"
type = "ethernet"
name = "Ethernet1/18"
switch_name_1 = "ev-leaf1"
fabric_name = "Demo1"
mtu = "jumbo"
ethernet_speed = "10Gb"
deploy = false
}
-- output---
dcnm_interface.chgPol: Creating...
╷
│ Error: Ethernet interface can only be modified
│
│ with dcnm_interface.chgPol,
│ on l3.tf line 14, in resource "dcnm_interface" "chgPol":
│ 14: resource "dcnm_interface" "chgPol" {
Steps to Reproduce
Happens all times when I run the script
terraform apply
Important Factoids
I can configure this in the GUI without issue
References
The text was updated successfully, but these errors were encountered: