Now that you've successfully created a Topology file, you'll add parameters to the test cases in your project to run in your specific ACI environment. Well-written test case job files will not hard-code values. Instead, they will use parameters and Topology files to run in different environments.
From your project's Test Cases page:
NOTE: You may need to scroll down to see the Parameter File section.
---
apic:
tenants:
- name: pod03
l3outs:
- name: pod03-l3out1
vrf: pod03-vrf1
external_endpoint_groups:
- name: pod03-ext-epg1
subnets:
- prefix: 0.0.0.0/0
expected_state:
learned_prefixes:
- prefix: 0.0.0.0/0
route_type: external
source_protocol: bgp
administrative_distance: 20
learned_node_ids:
- 1201
- 1202
testdata:
global:
apic_under_test: apic1
Return to the sidebar.
From your project's Test Cases page:
---
apic:
tenants:
- name: pod03
bridge_domains:
- name: pod03-bd1
vrf: pod03-vrf1
subnets:
- ip: 10.1.103.1/24
public: true
l3outs:
- pod03-l3out1
testdata:
global:
apic_under_test: apic1
verify_routes_advertised_by_aci_are_learnt_on_external_l3_nxos_device:
node: L1
l3_nxos_device: n9k-fanout1
subnets:
- tenant: pod03
vrf: pod03-vrf1
bridge_domain: pod03-bd1
bd_subnet: 10.1.103.1/24
scope: public
l3out: pod03-l3out1
internal_subnet: 10.1.103.0/24
internal_ip: 10.1.103.1
source_protocol: bgp
external_vrf: pod03-external
Return to the sidebar.
From your project's Test Cases page:
---
apic:
tenants:
- name: pod03
bridge_domains:
- name: pod03-bd1
subnets:
- ip: 10.1.103.1/24
public: true
l3outs:
- pod03-l3out1
l3outs:
- name: pod03-l3out1
vrf: pod03-vrf1
external_endpoint_groups:
- name: pod03-ext-epg1
subnets:
- prefix: 0.0.0.0/0
contracts:
consumers:
- pod03-contract1
application_profiles:
- name: pod03-ap1
endpoint_groups:
- name: pod03-epg1
bridge_domain: pod03-bd1
contracts:
providers:
- pod03-contract1
testdata:
global:
apic_under_test: apic1
verify_default_gateway:
device: n9k-fanout1
device_vrf: pod03-external
node: L1
l3outs:
- next_hop: [192.168.103.1, 192.168.103.3]
host_ip: 10.1.103.1
endpoint_group: pod03-epg1
application_profile: pod03-ap1
tenant: pod03
contract: pod03-contract1
bridge_domain: pod03-bd1
bd_subnet: 10.1.103.1/24
scope: public
l3out: pod03-l3out1
vrf: pod03-vrf1
l3out_prefix: 0.0.0.0/0
external_epg: pod03-ext-epg1
external_epg_contract: pod03-contract1
Return to the sidebar.
From your project's Test Cases page:
FANOUT: n9k-fanout1
spirent_config_file: /tmp/LABATO-2205-user03.xml
streamblocks:
- pod03_1103-103
- pod03_103-1103
INTERFACE: 1/25
EXPECTED_FAILURE_CONVERGENCE: 50
EXPECTED_RECOVERY_CONVERGENCE: 1
FAILURE_EVENT_FILE_NAME: vPC-Member-Link-Failure.csv
RECOVERY_EVENT_FILE_NAME: vPC-Member-Link-Recovery.csv
Return to the sidebar.
Continue to the next section to create the Job File and parameters for the last test case in your project.