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

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

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

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

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

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

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

Loading…
Cancel
Save