Convert to reduced list of known types (#50010)

This commit is contained in:
Dag Wieers
2018-12-18 22:25:30 +01:00
committed by Jordan Borean
parent fcd1486b51
commit 05c6ff79f9
908 changed files with 4822 additions and 4821 deletions

View File

@@ -96,7 +96,7 @@ RETURN = """
diff.prepared:
description: Configuration difference before and after applying change.
returned: when configuration is changed and diff option is enabled.
type: string
type: str
sample: >
[edit system login]
+ message \"this is my login banner\";

View File

@@ -199,7 +199,7 @@ RETURN = """
backup_path:
description: The full path to the backup file
returned: when backup is yes
type: string
type: str
sample: /playbooks/ansible/backup/config.2016-07-16@22:28:34
"""
import re

View File

@@ -180,7 +180,7 @@ RETURN = """
diff.prepared:
description: Configuration difference before and after applying change.
returned: when configuration is changed and diff option is enabled.
type: string
type: str
sample: >
[edit interfaces]
+ ge-0/0/1 {

View File

@@ -124,7 +124,7 @@ RETURN = """
diff:
description: Configuration difference before and after applying change.
returned: when configuration is changed and diff option is enabled.
type: string
type: str
sample: >
[edit interfaces]
+ ge-0/0/1 {

View File

@@ -93,7 +93,7 @@ RETURN = """
diff:
description: Configuration difference before and after applying change.
returned: when configuration is changed and diff option is enabled.
type: string
type: str
sample: >
[edit interfaces ge-0/0/1 unit 0 family inet]
+ address 192.0.2.1/32;

View File

@@ -136,7 +136,7 @@ RETURN = """
diff:
description: Configuration difference before and after applying change.
returned: when configuration is changed and diff option is enabled.
type: string
type: str
sample: >
[edit interfaces]
+ ge-0/0/6 {

View File

@@ -89,7 +89,7 @@ RETURN = """
diff.prepared:
description: Configuration difference before and after applying change.
returned: when configuration is changed and diff option is enabled.
type: string
type: str
sample: >
[edit]
+ protocols {

View File

@@ -88,7 +88,7 @@ RETURN = """
diff.prepared:
description: Configuration difference before and after applying change.
returned: when configuration is changed and diff option is enabled.
type: string
type: str
sample: >
[edit protocols lldp]
+ interface ge-0/0/5;

View File

@@ -127,7 +127,7 @@ RETURN = """
diff.prepared:
description: Configuration difference before and after applying change.
returned: when configuration is changed and diff option is enabled.
type: string
type: str
sample: >
[edit system syslog]
+ [edit system syslog]

View File

@@ -83,11 +83,11 @@ RETURN = """
xml:
description: The xml return string from the rpc request.
returned: always
type: string
type: str
output:
description: The rpc rely converted to the output format.
returned: always
type: string
type: str
output_lines:
description: The text output split into lines for readability.
returned: always

View File

@@ -120,7 +120,7 @@ RETURN = """
diff.prepared:
description: Configuration difference before and after applying change.
returned: when configuration is changed and diff option is enabled.
type: string
type: str
sample: >
[edit routing-options static]
route 2.2.2.0/24 { ... }

View File

@@ -96,7 +96,7 @@ RETURN = """
diff.prepared:
description: Configuration difference before and after applying change.
returned: when configuration is changed and diff option is enabled.
type: string
type: str
sample: >
[edit system]
+ host-name test;

View File

@@ -138,7 +138,7 @@ RETURN = """
diff.prepared:
description: Configuration difference before and after applying change.
returned: when configuration is changed and diff option is enabled.
type: string
type: str
sample: >
[edit system login]
+ user test-user {

View File

@@ -113,7 +113,7 @@ RETURN = """
diff.prepared:
description: Configuration difference before and after applying change.
returned: when configuration is changed and diff option is enabled.
type: string
type: str
sample: >
[edit vlans]
+ test-vlan-1 {

View File

@@ -155,7 +155,7 @@ RETURN = """
diff.prepared:
description: Configuration difference before and after applying change.
returned: when configuration is changed and diff option is enabled.
type: string
type: str
sample: >
[edit routing-instances]
+ test-1 {