Skip to content

Commit

Permalink
[ignore] Change construct url based on PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
samiib authored and lhercot committed Mar 14, 2024
1 parent 9ad6c74 commit cfe2d82
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion plugins/modules/aci_fabric_external_routing_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,14 @@ def main():

aci.construct_url(
root_class=dict(
aci_class="fvFabricExtConnP",
aci_rn="tn-infra/fabricExtConnP-{0}".format(fabric_id),
module_object=fabric_id,
target_filter={"id": fabric_id},
),
subclass_1=dict(
aci_class="l3extFabricExtRoutingP",
aci_rn="tn-infra/fabricExtConnP-{0}/fabricExtRoutingP-{1}".format(fabric_id, name),
aci_rn="fabricExtRoutingP-{0}".format(name),
module_object=name,
target_filter={"name": name},
),
Expand Down
8 changes: 7 additions & 1 deletion plugins/modules/aci_fabric_pod_connectivity_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,14 @@ def main():

aci.construct_url(
root_class=dict(
aci_class="fvFabricExtConnP",
aci_rn="tn-infra/fabricExtConnP-{0}".format(fabric_id),
module_object=fabric_id,
target_filter={"id": fabric_id},
),
subclass_1=dict(
aci_class="fvPodConnP",
aci_rn="tn-infra/fabricExtConnP-{0}/podConnP-{1}".format(fabric_id, pod_id),
aci_rn="podConnP-{0}".format(pod_id),
module_object=pod_id,
target_filter={"id": pod_id},
),
Expand Down

0 comments on commit cfe2d82

Please sign in to comment.