pull/28259/head
Dag Wieers 7 years ago committed by GitHub
parent c6efb81707
commit edba563e9a

@ -122,7 +122,7 @@ def main():
# TODO: Investigate for a URI to query objects for a specific tenant
if filter_name is not None:
# Work with a specific object
path = 'api/mo/uni/tn-%(tenant)s/flt-%(filter_name)s.json' % module.params
path = 'api/mo/uni/tn-%s/flt-%s.json' % (tenant, filter_name)
elif state == 'query':
# Query all objects
path = 'api/node/class/vzFilter.json'

@ -24,7 +24,7 @@ requirements:
- ACI Fabric 1.0(3f)+
notes:
- The C(tenant), C(contract), C(subject), and C(filter_name) must exist before using this module in your playbook.
The M(aci_tenant), M(aci_contract), M(aci_contract_subject), and M(aci_filter) modules can be used for these.
- The M(aci_tenant), M(aci_contract), M(aci_contract_subject), and M(aci_filter) modules can be used for these.
options:
contract:
description:
@ -59,7 +59,7 @@ extends_documentation_fragment: aci
# FIXME: Add more, better examples
EXAMPLES = r'''
- aci_subject_bind_filter:
- aci_subject_filter_binding:
hostname: '{{ inventory_hostname }}'
username: '{{ username }}'
password: '{{ password }}'

Loading…
Cancel
Save