mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
ACI Module: Update modules to provide match criteria; allows more complex matching (#33756)
This commit is contained in:
parent
c2b4fd7f1e
commit
c26a528b21
32 changed files with 69 additions and 69 deletions
|
@ -272,19 +272,19 @@ def main():
|
|||
root_class=dict(
|
||||
aci_class='fvTenant',
|
||||
aci_rn='tn-{}'.format(tenant),
|
||||
filter_target='(fvTenant.name, \"{}\")'.format(tenant),
|
||||
filter_target='eq(fvTenant.name, \"{}\")'.format(tenant),
|
||||
module_object=tenant,
|
||||
),
|
||||
subclass_1=dict(
|
||||
aci_class='fvBD',
|
||||
aci_rn='BD-{}'.format(bd),
|
||||
filter_target='(fvBD.name, \"{}\")'.format(bd),
|
||||
filter_target='eq(fvBD.name, \"{}\")'.format(bd),
|
||||
module_object=bd,
|
||||
),
|
||||
subclass_2=dict(
|
||||
aci_class='fvSubnet',
|
||||
aci_rn='subnet-[{}]'.format(gateway),
|
||||
filter_target='(fvSubnet.ip, \"{}\")'.format(gateway),
|
||||
filter_target='eq(fvSubnet.ip, \"{}\")'.format(gateway),
|
||||
module_object=gateway,
|
||||
),
|
||||
child_classes=['fvRsBDSubnetToProfile', 'fvRsNdPfxPol'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue