Skip to content

Commit

Permalink
[ignore] Remove dupplicates from constant.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gmicol authored and lhercot committed Jan 23, 2024
1 parent a1932a4 commit 39cf1d9
Showing 1 changed file with 0 additions and 61 deletions.
61 changes: 0 additions & 61 deletions plugins/module_utils/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,67 +189,6 @@
"unspecified": "unspecified",
}

MATCH_TARGET_COS_MAPPING = {
"background": "0",
"best_effort": "1",
"excellent_effort": "2",
"critical_applications": "3",
"video": "4",
"voice": "5",
"internetwork_control": "6",
"network_control": "7",
"unspecified": "unspecified",
}

ACI_CLASS_MAPPING = dict(
consumer={
"class": "fvRsCons",
"rn": "rscons-",
"name": "tnVzBrCPName",
},
provider={
"class": "fvRsProv",
"rn": "rsprov-",
"name": "tnVzBrCPName",
},
taboo={
"class": "fvRsProtBy",
"rn": "rsprotBy-",
"name": "tnVzTabooName",
},
interface={
"class": "fvRsConsIf",
"rn": "rsconsIf-",
"name": "tnVzCPIfName",
},
intra_epg={
"class": "fvRsIntraEpg",
"rn": "rsintraEpg-",
"name": "tnVzBrCPName",
},
)

PROVIDER_MATCH_MAPPING = dict(
all="All",
at_least_one="AtleastOne",
at_most_one="AtmostOne",
none="None",
)

CONTRACT_LABEL_MAPPING = dict(
consumer="vzConsLbl",
provider="vzProvLbl",
)

SUBJ_LABEL_MAPPING = dict(
consumer="vzConsSubjLbl",
provider="vzProvSubjLbl",
)

MATCH_ACTION_RULE_SET_METRIC_TYPE_MAPPING = {"ospf_type_1": "ospf-type1", "ospf_type_2": "ospf-type2", "": ""}

MATCH_EIGRP_INTERFACE_POLICY_DELAY_UNIT_MAPPING = dict(picoseconds="pico", tens_of_microseconds="tens-of-micro")

MATCH_PIM_INTERFACE_POLICY_CONTROL_STATE_MAPPING = dict(multicast_domain_boundary="border", strict_rfc_compliant="strict-rfc-compliant", passive="passive")

MATCH_PIM_INTERFACE_POLICY_AUTHENTICATION_TYPE_MAPPING = dict(none="none", md5_hmac="ah-md5")

0 comments on commit 39cf1d9

Please sign in to comment.