@@ -16,6 +16,12 @@ resource "aci_application_epg" "inherit_epg" {
1616
1717}
1818
19+ // Creation of Monitoring policy
20+ resource "aci_monitoring_policy" "rest_mon_epg_pol" {
21+ tenant_dn = aci_tenant. tenant_for_epg . id
22+ name = " testpol"
23+ }
24+
1925resource "aci_application_epg" "demoepg" {
2026 application_profile_dn = aci_application_profile. app_profile_for_epg . id
2127 name = " tf_test_epg"
@@ -27,15 +33,15 @@ resource "aci_application_epg" "demoepg" {
2733 pc_enf_pref = " unenforced"
2834 pref_gr_memb = " exclude"
2935 prio = " unspecified"
30- relation_fv_rs_bd = aci_bridge_domain. bd_for_rel . id # Relation to fvBD class. Cardinality - N_TO_ONE.
31- relation_fv_rs_cust_qos_pol = aci_rest. rest_qos_custom_pol . id # Relation to qosCustomPol class. Cardinality - N_TO_ONE.
32- relation_fv_rs_prov = [aci_contract . rs_prov_contract . id ] # Relation to vzBrCP class. Cardinality - N_TO_M.
33- relation_fv_rs_cons_if = [aci_rest . rest_vz_cons_if . id ] # Relation to vzCPIf class. Cardinality - N_TO_M.
34- relation_fv_rs_sec_inherited = [aci_application_epg . inherit_epg . id ] # Relation to fvEPg class. Cardinality - N_TO_M.
35- relation_fv_rs_dpp_pol = aci_rest. rest_qos_dpp_pol . id # Relation to qosDppPol class. Cardinality - N_TO_ONE.ye
36- relation_fv_rs_cons = [aci_contract . rs_cons_contract . id ] # Relation to vzBrCP class. Cardinality - N_TO_M.
37- relation_fv_rs_trust_ctrl = aci_rest. rest_trust_ctrl_pol . id # Relation to fhsTrustCtrlPol class. Cardinality - N_TO_ONE.
38- relation_fv_rs_prot_by = [aci_rest . rest_taboo_con . id ] # Relation to vzTaboo class. Cardinality - N_TO_M.
39- relation_fv_rs_aepg_mon_pol = aci_rest . rest_mon_epg_pol . id # Relation to monEPGPol class. Cardinality - N_TO_ONE.
40- relation_fv_rs_intra_epg = [aci_contract . intra_epg_contract . id ] # Relation to vzBrCP class. Cardinality - N_TO_M.
36+ relation_fv_rs_bd = aci_bridge_domain. bd_for_rel . id # Relation to Bridge Domain
37+ relation_fv_rs_cust_qos_pol = aci_rest. rest_qos_custom_pol . id # Relation to Custom Quality of Service - QoS traffic policy
38+ relation_fv_rs_prov = [aci_contract . rs_prov_contract . id ] # Relation to Provided Contract
39+ relation_fv_rs_cons_if = [aci_imported_contract . rest_vz_cons_if . id ] # Relation to Imported Contract
40+ relation_fv_rs_sec_inherited = [aci_application_epg . inherit_epg . id ] # Relation to inherit security configuration from another EPG
41+ relation_fv_rs_dpp_pol = aci_rest. rest_qos_dpp_pol . id # Relation to Data Plane Policing
42+ relation_fv_rs_cons = [aci_contract . rs_cons_contract . id ] # Relation to Consumed Contract
43+ relation_fv_rs_trust_ctrl = aci_rest. rest_trust_ctrl_pol . id # Relation to First Hop Security trust control
44+ relation_fv_rs_prot_by = [aci_taboo_contract . rest_taboo_con . id ] # Relation to vzTaboo Taboo Contract
45+ relation_fv_rs_aepg_mon_pol = aci_monitoring_policy . rest_mon_epg_pol . id # Relation to Monitoring policy
46+ relation_fv_rs_intra_epg = [aci_contract . intra_epg_contract . id ] # Relation to Intra EPG Contract
4147}
0 commit comments