Skip to content

Commit abebab6

Browse files
committed
replaced aci_name with respective contract MO name
1 parent 4c45f4f commit abebab6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/modules/aci_node_mgmt_epg_to_contract.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def main():
306306
module.fail_json(msg="the provider_match is only configurable for Provider Contracts")
307307

308308
identifier = contract_type
309-
class_config = {"matchT": provider_match, "prio": priority, aci_name: contract}
309+
class_config = {"matchT": provider_match, "prio": priority, "tnVzBrCPName": contract}
310310

311311
elif epg_type == "out_of_band":
312312

@@ -317,7 +317,7 @@ def main():
317317
module.fail_json(msg="The provider_match argument is not supported for out_of_band Provider contracts")
318318

319319
identifier = "oob_provider"
320-
class_config = {"prio": priority, aci_name: contract}
320+
class_config = {"prio": priority, "tnVzOOBBrCPName": contract}
321321

322322
aci_class = ACI_CLASS_MAPPING[identifier]["class"]
323323
aci_rn = ACI_CLASS_MAPPING[identifier]["rn"]

0 commit comments

Comments
 (0)