Skip to content

Commit

Permalink
Fix test prerequisites
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Jun 6, 2024
1 parent c86eb36 commit ae178a4
Show file tree
Hide file tree
Showing 24 changed files with 237 additions and 52 deletions.
2 changes: 2 additions & 0 deletions gen/definitions/physical_interface_vrf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@ test_prerequisites:
attributes:
- name: id
value: eth1/10
- name: layer
value: Layer3
7 changes: 7 additions & 0 deletions gen/definitions/pim_interface.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ attributes:
default_value: false
example: true
test_prerequisites:
- dn: sys/intf/phys-[eth1/10]
class_name: l1PhysIf
attributes:
- name: id
value: eth1/10
- name: layer
value: Layer3
- dn: sys/fm/pim
class_name: fmPim
no_delete: true
Expand Down
8 changes: 8 additions & 0 deletions gen/definitions/subinterface.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,11 @@ attributes:
max_int: 9216
default_value: 1500
example: 1500
test_prerequisites:
- dn: sys/intf/phys-[eth1/10]
class_name: l1PhysIf
attributes:
- name: id
value: eth1/10
- name: layer
value: Layer3
7 changes: 7 additions & 0 deletions gen/definitions/subinterface_vrf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ attributes:
description: 'DN of VRF. For example: `sys/inst-VRF1`.'
example: sys/inst-VRF123
test_prerequisites:
- dn: sys/intf/phys-[eth1/10]
class_name: l1PhysIf
attributes:
- name: id
value: eth1/10
- name: layer
value: Layer3
- dn: sys/intf/encrtd-[eth1/10.124]
class_name: l3EncRtdIf
attributes:
Expand Down
6 changes: 6 additions & 0 deletions gen/definitions/vrf_route_target.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ attributes:
description: 'Route Target in NX-OS DME format.'
example: route-target:as2-nn2:2:2
test_prerequisites:
- dn: sys/fm/bgp
class_name: fmBgp
no_delete: true
attributes:
- name: adminSt
value: enabled
- dn: sys/inst-[VRF1]
class_name: l3Inst
attributes:
Expand Down
6 changes: 6 additions & 0 deletions gen/definitions/vrf_route_target_address_family.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ attributes:
- l2vpn-evpn
example: ipv4-ucast
test_prerequisites:
- dn: sys/fm/bgp
class_name: fmBgp
no_delete: true
attributes:
- name: adminSt
value: enabled
- dn: sys/inst-[VRF1]
class_name: l3Inst
attributes:
Expand Down
6 changes: 6 additions & 0 deletions gen/definitions/vrf_route_target_direction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ attributes:
- export
example: import
test_prerequisites:
- dn: sys/fm/bgp
class_name: fmBgp
no_delete: true
attributes:
- name: adminSt
value: enabled
- dn: sys/inst-[VRF1]
class_name: l3Inst
attributes:
Expand Down
6 changes: 6 additions & 0 deletions gen/definitions/vrf_routing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ attributes:
default_value: 'unknown:unknown:0:0'
example: 'rd:unknown:0:0'
test_prerequisites:
- dn: sys/fm/bgp
class_name: fmBgp
no_delete: true
attributes:
- name: adminSt
value: enabled
- dn: sys/inst-[VRF1]
class_name: l3Inst
attributes:
Expand Down

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

17 changes: 13 additions & 4 deletions internal/provider/data_source_nxos_pim_interface_test.go

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

15 changes: 14 additions & 1 deletion internal/provider/data_source_nxos_subinterface_test.go

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

11 changes: 10 additions & 1 deletion internal/provider/data_source_nxos_subinterface_vrf_test.go

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.

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

21 changes: 15 additions & 6 deletions internal/provider/data_source_nxos_vrf_route_target_test.go

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

Loading

0 comments on commit ae178a4

Please sign in to comment.