Skip to content

Commit

Permalink
Fix line 45: field env already set in type types.NodeDefinitionWithDe…
Browse files Browse the repository at this point in the history
…precatedFields
  • Loading branch information
sbyrnes committed Jan 31, 2025
1 parent 8dc5160 commit 0997eba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions internal-lab-setup-assets/startup-config/cisco1.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cdp
lldp
!
interface MgmtEth0/RP0/CPU0/0
{{ if .env.CLAB_MGMT_VRF }} vrf {{ .env.CLAB_MGMT_VRF }}{{end}}
{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}}
!
interface Loopback0
ip address 198.51.100.1 255.255.255.255
Expand Down Expand Up @@ -64,7 +64,7 @@ route-policy PERMIT_ALL
end-policy
!
router static
{{ if .env.CLAB_MGMT_VRF }} vrf {{ .env.CLAB_MGMT_VRF }}{{end}}
{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}}
{{- if .MgmtIPv4Gateway }}
address-family ipv4 unicast
0.0.0.0/0 MgmtEth0/RP0/CPU0/0 {{ .MgmtIPv4Gateway }}
Expand Down
4 changes: 2 additions & 2 deletions internal-lab-setup-assets/startup-config/cisco2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cdp
lldp
!
interface MgmtEth0/RP0/CPU0/0
{{ if .env.CLAB_MGMT_VRF }} vrf {{ .env.CLAB_MGMT_VRF }}{{end}}
{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}}
!
interface Loopback0
ip address 198.51.100.2 255.255.255.255
Expand Down Expand Up @@ -64,7 +64,7 @@ route-policy PERMIT_ALL
end-policy
!
router static
{{ if .env.CLAB_MGMT_VRF }} vrf {{ .env.CLAB_MGMT_VRF }}{{end}}
{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}}
{{- if .MgmtIPv4Gateway }}
address-family ipv4 unicast
0.0.0.0/0 MgmtEth0/RP0/CPU0/0 {{ .MgmtIPv4Gateway }}
Expand Down
4 changes: 2 additions & 2 deletions internal-lab-setup-assets/startup-config/cisco3.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ cdp
lldp
!
interface MgmtEth0/RP0/CPU0/0
{{ if .env.CLAB_MGMT_VRF }} vrf {{ .env.CLAB_MGMT_VRF }}{{end}}
{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}}
!
interface Loopback0
ip address 198.51.100.3 255.255.255.255
Expand All @@ -54,7 +54,7 @@ route-policy PERMIT_ALL
end-policy
!
router static
{{ if .env.CLAB_MGMT_VRF }} vrf {{ .env.CLAB_MGMT_VRF }}{{end}}
{{ if .Env.CLAB_MGMT_VRF }} vrf {{ .Env.CLAB_MGMT_VRF }}{{end}}
{{- if .MgmtIPv4Gateway }}
address-family ipv4 unicast
0.0.0.0/0 MgmtEth0/RP0/CPU0/0 {{ .MgmtIPv4Gateway }}
Expand Down

0 comments on commit 0997eba

Please sign in to comment.