mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-22 22:11:44 -07:00
Aci build url (#33017)
* ACI Buid URL: Refactor how ACI modules dynamically build proper URL. * Remove MIM URl from update * fix missing comma
This commit is contained in:
parent
e50f931cf3
commit
429af90027
32 changed files with 732 additions and 185 deletions
|
@ -108,7 +108,14 @@ def main():
|
|||
state = module.params['state']
|
||||
|
||||
aci = ACIModule(module)
|
||||
aci.construct_url(root_class="aep")
|
||||
aci.construct_url(
|
||||
root_class=dict(
|
||||
aci_class='infraAttEntityP',
|
||||
aci_rn='infra/attentp-{}'.format(aep),
|
||||
filter_target='(infraAttEntityP.name, "{}")'.format(aep),
|
||||
module_object=aep,
|
||||
),
|
||||
)
|
||||
aci.get_existing()
|
||||
|
||||
if state == 'present':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue