Fix MSO examples (#62839)

Fix reported issues with the examples.
pull/62986/head
Dag Wieers 5 years ago committed by Alicia Cozine
parent 40c40a9653
commit 2f0f076b71

@ -63,7 +63,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Remove a site from a schema
mso_schema:
mso_schema_site:
host: mso_host
username: admin
password: SomeSecretPassword
@ -74,7 +74,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Query a schema site
mso_schema:
mso_schema_site:
host: mso_host
username: admin
password: SomeSecretPassword
@ -86,7 +86,7 @@ EXAMPLES = r'''
register: query_result
- name: Query all schema sites
mso_schema:
mso_schema_site:
host: mso_host
username: admin
password: SomeSecretPassword

@ -126,7 +126,7 @@ extends_documentation_fragment: mso
EXAMPLES = r'''
- name: Add a new static leaf to a site EPG
mso_schema_template_anp_epg_domain:
mso_schema_site_anp_epg_domain:
host: mso_host
username: admin
password: SomeSecretPassword
@ -143,7 +143,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Remove a static leaf from a site EPG
mso_schema_template_anp_epg_domain:
mso_schema_site_anp_epg_domain:
host: mso_host
username: admin
password: SomeSecretPassword
@ -160,7 +160,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Query a specific site EPG static leaf
mso_schema_template_anp_epg_domain:
mso_schema_site_anp_epg_domain:
host: mso_host
username: admin
password: SomeSecretPassword
@ -176,7 +176,7 @@ EXAMPLES = r'''
register: query_result
- name: Query all site EPG static leafs
mso_schema_template_anp_epg_domain:
mso_schema_site_anp_epg_domain:
host: mso_host
username: admin
password: SomeSecretPassword

@ -76,7 +76,7 @@ extends_documentation_fragment: mso
EXAMPLES = r'''
- name: Add a new static leaf to a site EPG
mso_schema_template_anp_epg_staticleaf:
mso_schema_site_anp_epg_staticleaf:
host: mso_host
username: admin
password: SomeSecretPassword
@ -91,7 +91,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Remove a static leaf from a site EPG
mso_schema_template_anp_epg_staticleaf:
mso_schema_site_anp_epg_staticleaf:
host: mso_host
username: admin
password: SomeSecretPassword
@ -105,7 +105,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Query a specific site EPG static leaf
mso_schema_template_anp_epg_staticleaf:
mso_schema_site_anp_epg_staticleaf:
host: mso_host
username: admin
password: SomeSecretPassword
@ -120,7 +120,7 @@ EXAMPLES = r'''
register: query_result
- name: Query all site EPG static leafs
mso_schema_template_anp_epg_staticleaf:
mso_schema_site_anp_epg_staticleaf:
host: mso_host
username: admin
password: SomeSecretPassword

@ -100,7 +100,7 @@ extends_documentation_fragment: mso
EXAMPLES = r'''
- name: Add a new static port to a site EPG
mso_schema_template_anp_epg_staticport:
mso_schema_site_anp_epg_staticport:
host: mso_host
username: admin
password: SomeSecretPassword
@ -119,7 +119,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Remove a static port from a site EPG
mso_schema_template_anp_epg_staticport:
mso_schema_site_anp_epg_staticport:
host: mso_host
username: admin
password: SomeSecretPassword
@ -136,7 +136,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Query a specific site EPG static port
mso_schema_template_anp_epg_staticport:
mso_schema_site_anp_epg_staticport:
host: mso_host
username: admin
password: SomeSecretPassword
@ -154,7 +154,7 @@ EXAMPLES = r'''
register: query_result
- name: Query all site EPG static ports
mso_schema_template_anp_epg_staticport:
mso_schema_site_anp_epg_staticport:
host: mso_host
username: admin
password: SomeSecretPassword

@ -73,8 +73,8 @@ EXAMPLES = r'''
state: present
delegate_to: localhost
- name: Remove a site VRF
mso_schema_site_vrf:
- name: Remove a site BD
mso_schema_site_bd:
host: mso_host
username: admin
password: SomeSecretPassword
@ -85,8 +85,8 @@ EXAMPLES = r'''
state: absent
delegate_to: localhost
- name: Query a specific site VRF
mso_schema_site_vrf:
- name: Query a specific site BD
mso_schema_site_bd:
host: mso_host
username: admin
password: SomeSecretPassword
@ -98,8 +98,8 @@ EXAMPLES = r'''
delegate_to: localhost
register: query_result
- name: Query all site VRFs
mso_schema_site_vrf:
- name: Query all site BDs
mso_schema_site_bd:
host: mso_host
username: admin
password: SomeSecretPassword

@ -64,7 +64,7 @@ extends_documentation_fragment: mso
EXAMPLES = r'''
- name: Add a new site BD l3out
mso_schema_site_bd:
mso_schema_site_bd_l3out:
host: mso_host
username: admin
password: SomeSecretPassword
@ -77,7 +77,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Remove a site BD l3out
mso_schema_site_vrf:
mso_schema_site_bd_l3out:
host: mso_host
username: admin
password: SomeSecretPassword
@ -90,7 +90,7 @@ EXAMPLES = r'''
delegate_to: localhost
- name: Query a specific site BD l3out
mso_schema_site_vrf:
mso_schema_site_bd_l3out:
host: mso_host
username: admin
password: SomeSecretPassword
@ -104,7 +104,7 @@ EXAMPLES = r'''
register: query_result
- name: Query all site BD l3outs
mso_schema_site_vrf:
mso_schema_site_bd_l3out:
host: mso_host
username: admin
password: SomeSecretPassword

@ -92,8 +92,8 @@ EXAMPLES = r'''
state: present
delegate_to: localhost
- name: Remove a site VRF region CIDR
mso_schema_template_vrf_region_cidr:
- name: Remove a site VRF region CIDR subnet
mso_schema_site_vrf_region_cidr_subnet:
host: mso_host
username: admin
password: SomeSecretPassword
@ -107,8 +107,8 @@ EXAMPLES = r'''
state: absent
delegate_to: localhost
- name: Query a specific site VRF region CIDR
mso_schema_template_vrf_region_cidr:
- name: Query a specific site VRF region CIDR subnet
mso_schema_site_vrf_region_cidr_subnet:
host: mso_host
username: admin
password: SomeSecretPassword
@ -123,8 +123,8 @@ EXAMPLES = r'''
delegate_to: localhost
register: query_result
- name: Query all site VRF region CIDR
mso_schema_template_vrf_region_cidr:
- name: Query all site VRF region CIDR subnet
mso_schema_site_vrf_region_cidr_subnet:
host: mso_host
username: admin
password: SomeSecretPassword

Loading…
Cancel
Save