name: Teardown
testcases:
- name: delete_connection_profile
  steps:
  - type: pf_api_connection_profile_delete
    id: '{{.wired_dot1x_eap_tls_pki.profiles.wired.id}}'

- name: delete_source
  steps:
  - type: pf_api_source_delete
    id: '{{.wired_dot1x_eap_tls_pki.sources.ad_user.name}}'

- name: disable_ocsp
  steps:
  - type: pf_api_radiusd_tls_profile_patch
    id: 'tls-common'
    ocsp_id: "default"

- name: delete_ocsp_profile
  steps:
  - type: pf_api_radiusd_ocsp_profile_delete
    id: '{{.wired_dot1x_eap_tls_pki.ocsp.id}}'
