ansible / ansible.builtin / v2.9.13 / module / mso_schema_template_bd Manage Bridge Domains (BDs) in schema templates | "added in version" 2.8 of ansible.builtin" Authors: Dag Wieers (@dagwieers) preview | supported by communityansible.builtin.mso_schema_template_bd (v2.9.13) — module
pip
Install with pip install ansible==2.9.13
Manage BDs in schema templates on Cisco ACI Multi-Site.
- name: Add a new BD mso_schema_template_bd: host: mso_host username: admin password: SomeSecretPassword schema: Schema 1 template: Template 1 bd: BD 1 vrf: name: VRF1 state: present delegate_to: localhost
- name: Remove an BD mso_schema_template_bd: host: mso_host username: admin password: SomeSecretPassword schema: Schema 1 template: Template 1 bd: BD1 state: absent delegate_to: localhost
- name: Query a specific BDs mso_schema_template_bd: host: mso_host username: admin password: SomeSecretPassword schema: Schema 1 template: Template 1 bd: BD1 state: query delegate_to: localhost register: query_result
- name: Query all BDs mso_schema_template_bd: host: mso_host username: admin password: SomeSecretPassword schema: Schema 1 template: Template 1 state: query delegate_to: localhost register: query_result
bd: aliases: - name description: - The name of the BD to manage. type: str vrf: description: - The VRF associated to this BD. This is required only when creating a new BD. suboptions: name: description: - The name of the VRF to associate with. required: true type: str type: dict host: aliases: - hostname description: - IP Address or hostname of the ACI Multi Site Orchestrator host. required: true type: str port: description: - Port number to be used for the REST connection. - The default value depends on parameter `use_ssl`. type: int state: choices: - absent - present - query default: present description: - Use C(present) or C(absent) for adding or removing. - Use C(query) for listing an object or multiple objects. type: str schema: description: - The name of the schema. required: true type: str subnets: description: - The subnets associated to this BD. suboptions: description: description: - The description of this subnet. type: str ip: description: - The IP range in CIDR notation. required: true type: str no_default_gateway: description: - Whether this subnet has a default gateway. type: bool scope: choices: - private - public description: - The scope of the subnet. type: str shared: description: - Whether this subnet is shared between VRFs. type: bool type: list timeout: default: 30 description: - The socket level timeout in seconds. type: int use_ssl: default: true description: - If C(no), an HTTP connection will be used instead of the default HTTPS connection. type: bool password: description: - The password to use for authentication. - This option is mutual exclusive with C(private_key). If C(private_key) is provided too, it will be used instead. required: true type: str template: description: - The name of the template. required: true type: str username: default: admin description: - The username to use for authentication. type: str use_proxy: default: true description: - If C(no), it will not use a proxy, even if one is defined in an environment variable on the target hosts. type: bool display_name: description: - The name as displayed on the MSO web interface. type: str login_domain: description: - The login domain name to use for authentication. - The default value is Local. type: str output_level: choices: - debug - info - normal default: normal description: - Influence the output of this ACI module. - C(normal) means the standard output, incl. C(current) dict - C(info) adds informational output, incl. C(previous), C(proposed) and C(sent) dicts - C(debug) adds debugging output, incl. C(filter_string), C(method), C(response), C(status) and C(url) information type: str layer2_stretch: description: - Whether to enable L2 stretch. type: bool validate_certs: default: true description: - If C(no), SSL certificates will not be validated. - This should only set to C(no) when used on personally controlled sites using self-signed certificates. type: bool layer3_multicast: description: - Whether to enable L3 multicast. type: bool intersite_bum_traffic: description: - Whether to allow intersite BUM traffic. type: bool layer2_unknown_unicast: choices: - flood - proxy description: - Layer2 unknown unicast. type: str optimize_wan_bandwidth: description: - Whether to optimize WAN bandwidth. type: bool