fix typos in network modules (#62320)

* fix typos in network modules
pull/62445/head
Andrey Klychkov 5 years ago committed by Alicia Cozine
parent aa673400da
commit f11429a80d

@ -100,7 +100,7 @@ options:
aliases: [ policy_group_name ]
interface_type:
description:
- The type of interface for the static EPG deployement.
- The type of interface for the static EPG deployment.
type: str
choices: [ breakout, fex, port_channel, switch_port, vpc ]
default: switch_port
@ -327,7 +327,7 @@ def main():
interface_type = module.params['interface_type']
state = module.params['state']
# Build child_configs dyanmically
# Build child_configs dynamically
child_configs = [dict(
infraPortBlk=dict(
attributes=dict(

@ -41,7 +41,7 @@ options:
mask:
description:
- The subnet mask for the Subnet.
- This is the number assocated with CIDR notation.
- This is the number associated with CIDR notation.
- For IPv4 addresses, accepted values range between C(0) and C(32).
- For IPv6 addresses, accepted Values range between C(0) and C(128).
type: int
@ -62,7 +62,7 @@ options:
type: str
route_profile_l3_out:
description:
- The L3 Out that contains the assocated Route Profile.
- The L3 Out that contains the associated Route Profile.
type: str
scope:
description:
@ -82,7 +82,7 @@ options:
description:
- Determines the Subnet's Control State.
- The C(querier_ip) option is used to treat the gateway_ip as an IGMP querier source IP.
- The C(nd_ra) option is used to treate the gateway_ip address as a Neighbor Discovery Router Advertisement Prefix.
- The C(nd_ra) option is used to treat the gateway_ip address as a Neighbor Discovery Router Advertisement Prefix.
- The C(no_gw) option is used to remove default gateway functionality from the gateway address.
- The APIC defaults to C(nd_ra) when unset during creation.
type: str
@ -382,7 +382,7 @@ def main():
gateway = module.params['gateway']
mask = module.params['mask']
if mask is not None and mask not in range(0, 129):
# TODO: split checkes between IPv4 and IPv6 Addresses
# TODO: split checks between IPv4 and IPv6 Addresses
module.fail_json(msg='Valid Subnet Masks are 0 to 32 for IPv4 Addresses and 0 to 128 for IPv6 addresses')
if gateway is not None:
gateway = '{0}/{1}'.format(gateway, str(mask))

@ -48,7 +48,7 @@ options:
choices: [ unknown, vlan, vxlan ]
multicast_address:
description:
- The muticast IP address to use for the virtual switch.
- The multicast IP address to use for the virtual switch.
type: str
state:
description:

@ -54,9 +54,9 @@ options:
type: int
encap_mode:
description:
- The ecapsulataion method to be used.
- The encapsulation method to be used.
- The APIC defaults to C(auto) when unset during creation.
- If vxlan is slected, switching_mode must be "AVE".
- If vxlan is selected, switching_mode must be "AVE".
type: str
choices: [ auto, vlan, vxlan ]
switching_mode:
@ -337,7 +337,7 @@ def main():
if encap in range(1, 4097):
encap = 'vlan-{0}'.format(encap)
else:
module.fail_json(msg='Valid VLAN assigments are from 1 to 4096')
module.fail_json(msg='Valid VLAN assignments are from 1 to 4096')
encap_mode = module.params['encap_mode']
switching_mode = module.params['switching_mode']
epg = module.params['epg']
@ -347,7 +347,7 @@ def main():
if primary_encap in range(1, 4097):
primary_encap = 'vlan-{0}'.format(primary_encap)
else:
module.fail_json(msg='Valid VLAN assigments are from 1 to 4096')
module.fail_json(msg='Valid VLAN assignments are from 1 to 4096')
resolution_immediacy = module.params['resolution_immediacy']
state = module.params['state']
tenant = module.params['tenant']

@ -58,7 +58,7 @@ options:
- This set the hour of execution
minute:
description:
- This sets the minute of execution, used in conjuntion with hour
- This sets the minute of execution, used in conjunction with hour
day:
description:
- This sets the day when execution will take place

@ -32,7 +32,7 @@ options:
required: true
version:
description:
- The version of the firmware assoicated with this policy. This value is very import as well as constructing
- The version of the firmware associated with this policy. This value is very import as well as constructing
- it correctly. The syntax for this field is n9000-xx.x. If you look at the firmware repository using the UI
- each version will have a "Full Version" column, this is the value you need to use. So, if the Full Version
- is 13.1(1i), the value for this field would be n9000-13.1(1i)

@ -109,7 +109,7 @@ options:
description:
- The interval between LSA retransmissions.
- The retransmit interval occurs while the router is waiting for an acknowledgement from the neighbor router that it received the LSA.
- If no acknowlegment is received at the end of the interval, then the LSA is resent.
- If no acknowledgment is received at the end of the interval, then the LSA is resent.
- Accepted values range between C(1) and C(65535).
- The APIC defaults to C(5) when unset during creation.
type: int

@ -186,7 +186,7 @@ from ansible.module_utils.network.aci.aci import ACIModule, aci_argument_spec
def main():
argument_spec = aci_argument_spec()
argument_spec.update(
tenant=dict(type='str', aliases=['tenant_name']), # Not required for quering all objects
tenant=dict(type='str', aliases=['tenant_name']), # Not required for querying all objects
rtp=dict(type='str', aliases=['name', 'rtp_name']), # Not required for querying all objects
description=dict(type='str', aliases=['descr']),
tag=dict(type='int'),

@ -50,7 +50,7 @@ options:
type: raw
src:
description:
- Name of the absolute path of the filname that includes the body
- Name of the absolute path of the filename that includes the body
of the HTTP request being sent to the ACI fabric.
- If you require a templated payload, use the C(content) parameter
together with the C(template) lookup plugin, or use M(template).
@ -107,7 +107,7 @@ EXAMPLES = r'''
fvTenant:
attributes:
name: Sales
descr: Sales departement
descr: Sales department
delegate_to: localhost
- name: Add a tenant using a JSON string
@ -123,7 +123,7 @@ EXAMPLES = r'''
"fvTenant": {
"attributes": {
"name": "Sales",
"descr": "Sales departement"
"descr": "Sales department"
}
}
}

@ -56,7 +56,7 @@ options:
aliases: [ primary_vlan, primary_vlan_id ]
deploy_immediacy:
description:
- The Deployement Immediacy of Static EPG on PC, VPC or Interface.
- The Deployment Immediacy of Static EPG on PC, VPC or Interface.
- The APIC defaults to C(lazy) when unset during creation.
type: str
choices: [ immediate, lazy ]
@ -72,7 +72,7 @@ options:
aliases: [ interface_mode_name, mode ]
interface_type:
description:
- The type of interface for the static EPG deployement.
- The type of interface for the static EPG deployment.
type: str
choices: [ fex, port_channel, switch_port, vpc ]
default: switch_port

@ -66,7 +66,7 @@ options:
type: int
description:
description:
- Description for the End point rentention policy.
- Description for the End point retention policy.
type: str
aliases: [ descr ]
state:

@ -15,7 +15,7 @@ DOCUMENTATION = r'''
module: aci_tenant_span_src_group_to_dst_group
short_description: Bind SPAN source groups to destination groups (span:SpanLbl)
description:
- Bind SPAN source groups to associated destinaton groups on Cisco ACI fabrics.
- Bind SPAN source groups to associated destination groups on Cisco ACI fabrics.
version_added: '2.4'
options:
description:

@ -105,7 +105,7 @@ options:
type: str
enhanced_lagpolicy_dn:
description:
- Distingushied name of EPG lagpolicy. This attribute can only be used with vmmDomain domain association.
- Distinguished name of EPG lagpolicy. This attribute can only be used with vmmDomain domain association.
type: str
state:
description:
@ -328,7 +328,7 @@ def main():
microSegVlan = dict(vlanType=micro_seg_vlan_type, vlan=micro_seg_vlan)
vmmDomainProperties['microSegVlan'] = microSegVlan
elif not micro_seg_vlan_type and micro_seg_vlan:
mso.fail_json(msg="micro_seg_vlan_type is required when micro_seg_vlan is provied.")
mso.fail_json(msg="micro_seg_vlan_type is required when micro_seg_vlan is provided.")
elif micro_seg_vlan_type and not micro_seg_vlan:
mso.fail_json(msg="micro_seg_vlan is required when micro_seg_vlan_type is provided.")
@ -336,7 +336,7 @@ def main():
portEncapVlan = dict(vlanType=port_encap_vlan_type, vlan=port_encap_vlan)
vmmDomainProperties['portEncapVlan'] = portEncapVlan
elif not port_encap_vlan_type and port_encap_vlan:
mso.fail_json(msg="port_encap_vlan_type is required when port_encap_vlan is provied.")
mso.fail_json(msg="port_encap_vlan_type is required when port_encap_vlan is provided.")
elif port_encap_vlan_type and not port_encap_vlan:
mso.fail_json(msg="port_encap_vlan is required when port_encap_vlan_type is provided.")
@ -355,9 +355,9 @@ def main():
epgLagPol = dict(enhancedLagPol=enhancedLagPol)
vmmDomainProperties['epgLagPol'] = epgLagPol
elif not enhanced_lagpolicy_name and enhanced_lagpolicy_dn:
mso.fail_json(msg="enhanced_lagpolicy_name is required when enhanced_lagpolicy_dn is provied.")
mso.fail_json(msg="enhanced_lagpolicy_name is required when enhanced_lagpolicy_dn is provided.")
elif enhanced_lagpolicy_name and not enhanced_lagpolicy_dn:
mso.fail_json(msg="enhanced_lagpolicy_dn is required when enhanced_lagpolicy_name is provied.")
mso.fail_json(msg="enhanced_lagpolicy_dn is required when enhanced_lagpolicy_name is provided.")
payload = dict(
dn=domain_dn,

@ -131,7 +131,7 @@ options:
choices: [ enforced, unenforced ]
intersite_multicaste_source:
description:
- Whether intersite multicase source is enabled.
- Whether intersite multicast source is enabled.
- When not specified, this parameter defaults to C(no).
type: bool
preferred_group:

@ -79,7 +79,7 @@ options:
against the contents of source. There are times when it is not
desirable to have the task get the current running-config for
every task in a playbook. The I(config) argument allows the
implementer to pass in the configuruation to use as the base
implementer to pass in the configuration to use as the base
config for comparison.
"""

@ -69,7 +69,7 @@ options:
apdex_rum_threshold:
description:
- If a client is able to load a page in less than the satisfactory latency threshold, the pageload is considered satisfied.
- It is considered tolerated if it is greater than satisfied but less than the tolerated latency multiplied by satisifed latency.
- It is considered tolerated if it is greater than satisfied but less than the tolerated latency multiplied by satisfied latency.
- Greater than this number and the client's request is considered frustrated.
- A pageload includes the time for dns lookup, download of all http objects, and page render time.
- Allowed values are 1-30000.
@ -128,7 +128,7 @@ options:
- Default value when not specified in API or module is interpreted by Avi Controller as 50.
conn_lossy_zero_win_size_event_threshold:
description:
- A client connection is considered lossy when percentage of times a packet could not be trasmitted due to tcp zero window is above this threshold.
- A client connection is considered lossy when percentage of times a packet could not be transmitted due to tcp zero window is above this threshold.
- Allowed values are 0-100.
- Default value when not specified in API or module is interpreted by Avi Controller as 2.
conn_server_lossy_ooo_threshold:
@ -148,7 +148,7 @@ options:
- Default value when not specified in API or module is interpreted by Avi Controller as 50.
conn_server_lossy_zero_win_size_event_threshold:
description:
- A server connection is considered lossy when percentage of times a packet could not be trasmitted due to tcp zero window is above this threshold.
- A server connection is considered lossy when percentage of times a packet could not be transmitted due to tcp zero window is above this threshold.
- Allowed values are 0-100.
- Default value when not specified in API or module is interpreted by Avi Controller as 2.
description:

@ -200,7 +200,7 @@ EXAMPLES = """
username: "{{ username }}"
password: "{{ password }}"
controller: "{{ controller }}"
# On basis of cluster leader uuid dns_configs is set for that perticular leader cluster
# On basis of cluster leader uuid dns_configs is set for that particular leader cluster
leader_cluster_uuid: "cluster-84aa795f-8f09-42bb-97a4-5103f4a53da9"
name: "test-gslb"
avi_api_update_method: patch
@ -228,7 +228,7 @@ EXAMPLES = """
username: "{{ username }}"
password: "{{ password }}"
controller: "{{ controller }}"
# On basis of cluster leader uuid dns_configs is set for that perticular leader cluster
# On basis of cluster leader uuid dns_configs is set for that particular leader cluster
leader_cluster_uuid: "cluster-84aa795f-8f09-42bb-97a4-5103f4a53da9"
name: "test-gslb"
avi_api_update_method: patch

@ -76,7 +76,7 @@ options:
autoscale_launch_config_ref:
description:
- If configured then avi will trigger orchestration of pool server creation and deletion.
- It is only supported for container clouds like mesos, opensift, kubernates, docker etc.
- It is only supported for container clouds like mesos, openshift, kubernetes, docker, etc.
- It is a reference to an object of type autoscalelaunchconfig.
autoscale_networks:
description:
@ -105,7 +105,7 @@ options:
- It is a reference to an object of type cloud.
conn_pool_properties:
description:
- Connnection pool properties.
- Connection pool properties.
- Field introduced in 18.2.1.
version_added: "2.9"
connection_ramp_duration:
@ -213,7 +213,7 @@ options:
- Http header name to be used for the hash key.
lb_algorithm_core_nonaffinity:
description:
- Degree of non-affinity for core afffinity based server selection.
- Degree of non-affinity for core affinity based server selection.
- Allowed values are 1-65535.
- Field introduced in 17.1.3.
- Default value when not specified in API or module is interpreted by Avi Controller as 2.
@ -367,7 +367,7 @@ options:
description:
- Virtual routing context that the pool is bound to.
- This is used to provide the isolation of the set of networks the pool is attached to.
- The pool inherits the virtual routing conext of the virtual service, and this field is used only internally, and is set by pb-transform.
- The pool inherits the virtual routing context of the virtual service, and this field is used only internally, and is set by pb-transform.
- It is a reference to an object of type vrfcontext.
extends_documentation_fragment:
- avi

@ -417,7 +417,7 @@ options:
- Instance/flavor name for se instance.
iptables:
description:
- Iptable rules.
- Iptables rules.
least_load_core_selection:
description:
- Select core with least load for new flow.
@ -925,7 +925,7 @@ options:
waf_learning_memory:
description:
- Amount of memory reserved on se for waf learning.
- This can be atmost 5% of se memory.
- Cannot exceed 5% of se memory.
- Field deprecated in 18.2.3.
- Field introduced in 18.1.2.
- Default value when not specified in API or module is interpreted by Avi Controller as 0.

@ -306,7 +306,7 @@ options:
version_added: "2.4"
performance_limits:
description:
- Optional settings that determine performance limits like max connections or bandwdith etc.
- Optional settings that determine performance limits like max connections or bandwidth etc.
pool_group_ref:
description:
- The pool group is an object that contains pools.

@ -54,7 +54,7 @@ options:
type: str
destination:
description:
- Destionation object of the access rule.
- Destination object of the access rule.
type: str
action:
description:

@ -77,7 +77,7 @@ options:
choices: ['Inactive', 'Ask', 'Prevent', 'Detect']
indicator:
description:
- The indicator whose action is to be overriden.
- The indicator whose action is to be overridden.
type: str
ips_settings:
description:

@ -1116,7 +1116,7 @@ class AaaServer(object):
xml = self.netconf_set_config(module=module, conf_str=conf_str)
if "<ok/>" not in xml:
module.fail_json(msg='Error: Delete authorization domian failed.')
module.fail_json(msg='Error: Delete authorization domain failed.')
cmds = []
cmd = "undo authorization-scheme"

@ -34,10 +34,10 @@ notes:
- The relevant configurations will be deleted if DLDP is disabled using enable=disable.
- When using auth_mode=none, it will restore the default DLDP authentication mode. By default,
DLDP packets are not authenticated.
- By default, the working mode of DLDP is enhance, so you are advised to use work_mode=enhance to restore defualt
- By default, the working mode of DLDP is enhance, so you are advised to use work_mode=enhance to restore default
DLDP working mode.
- The default interval for sending Advertisement packets is 5 seconds, so you are advised to use time_interval=5 to
restore defualt DLDP interval.
restore default DLDP interval.
options:
enable:
description:
@ -125,7 +125,7 @@ proposed:
"work_mode": "normal"
}
existing:
description: k/v pairs of existing global DLDP configration
description: k/v pairs of existing global DLDP configuration
returned: always
type: dict
sample: {
@ -135,7 +135,7 @@ existing:
"work_mode": "enhance"
}
end_state:
description: k/v pairs of global DLDP configration after module execution
description: k/v pairs of global DLDP configuration after module execution
returned: always
type: dict
sample: {
@ -204,14 +204,14 @@ CE_NC_MERGE_DLDP_GLOBAL_CONFIG_TAIL = """
class Dldp(object):
"""Manage global dldp configration"""
"""Manage global dldp configuration"""
def __init__(self, argument_spec):
self.spec = argument_spec
self.module = None
self.init_module()
# DLDP global configration info
# DLDP global configuration info
self.enable = self.module.params['enable'] or None
self.work_mode = self.module.params['work_mode'] or None
self.internal = self.module.params['time_interval'] or None
@ -324,7 +324,7 @@ class Dldp(object):
topo = root.find("dldp/dldpSys")
if not topo:
self.module.fail_json(
msg="Error: Get current DLDP configration failed.")
msg="Error: Get current DLDP configuration failed.")
for eles in topo:
if eles.tag in ["dldpEnable", "dldpInterval", "dldpWorkMode", "dldpAuthMode"]:

@ -32,7 +32,7 @@ author:
- Zhou Zhijin (@QijunPan)
notes:
- If C(state=present, enable=disable), interface DLDP enable will be turned off and
related interface DLDP confuration will be cleared.
related interface DLDP configuration will be cleared.
- If C(state=absent), only local_mac is supported to configure.
options:
interface:
@ -106,7 +106,7 @@ EXAMPLES = '''
reset: enable
provider: "{{ cli }}"
- name: "Unconfigure interface DLDP local mac addreess when C(state=absent)"
- name: "Unconfigure interface DLDP local mac address when C(state=absent)"
ce_dldp_interface:
interface: 40GE2/0/1
state: absent
@ -127,7 +127,7 @@ proposed:
"reset": "enable"
}
existing:
description: k/v pairs of existing interface DLDP configration
description: k/v pairs of existing interface DLDP configuration
returned: always
type: dict
sample: {
@ -138,7 +138,7 @@ existing:
"reset": "disable"
}
end_state:
description: k/v pairs of interface DLDP configration after module execution
description: k/v pairs of interface DLDP configuration after module execution
returned: always
type: dict
sample: {
@ -309,14 +309,14 @@ def get_interface_type(interface):
class DldpInterface(object):
"""Manage interface dldp configration"""
"""Manage interface dldp configuration"""
def __init__(self, argument_spec):
self.spec = argument_spec
self.module = None
self.init_module()
# DLDP interface configration info
# DLDP interface configuration info
self.interface = self.module.params['interface']
self.enable = self.module.params['enable'] or None
self.reset = self.module.params['reset'] or None
@ -457,7 +457,7 @@ class DldpInterface(object):
topo = root.find("dldp/dldpInterfaces/dldpInterface")
if topo is None:
self.module.fail_json(
msg="Error: Get current DLDP configration failed.")
msg="Error: Get current DLDP configuration failed.")
for eles in topo:
if eles.tag in ["dldpEnable", "dldpCompatibleEnable", "dldpLocalMac"]:
if not eles.text:
@ -561,7 +561,7 @@ class DldpInterface(object):
reset=self.reset, state=self.state)
def get_update_cmd(self):
"""Get updatede commands"""
"""Get updated commands"""
if self.same_conf:
return
@ -624,7 +624,7 @@ class DldpInterface(object):
self.module.exit_json(**self.results)
def work(self):
"""Excute task"""
"""Execute task"""
self.dldp_intf_conf = self.get_dldp_intf_exist_config()
self.check_params()

@ -399,7 +399,7 @@ class EthTrunk(object):
return False
def get_mode_xml_str(self):
"""trunk mode netconf xml fromat string"""
"""trunk mode netconf xml format string"""
return MODE_CLI2XML.get(self.mode)

@ -424,7 +424,7 @@ def is_valid_value(vrf_targe_value):
class EvpnBd(object):
"""Manange evpn instance in BD view"""
"""Manage evpn instance in BD view"""
def __init__(self, argument_spec, ):
self.spec = argument_spec
@ -953,19 +953,19 @@ class EvpnBd(object):
for ele in self.vpn_target_import:
if ele not in self.evpn_info['vpn_target_import'] and ele not in self.evpn_info['vpn_target_both']:
self.module.fail_json(
msg='Error: VPN target import attribute value %s doesnot exist.' % ele)
msg='Error: VPN target import attribute value %s does not exist.' % ele)
if self.vpn_target_export:
for ele in self.vpn_target_export:
if ele not in self.evpn_info['vpn_target_export'] and ele not in self.evpn_info['vpn_target_both']:
self.module.fail_json(
msg='Error: VPN target export attribute value %s doesnot exist.' % ele)
msg='Error: VPN target export attribute value %s does not exist.' % ele)
if self.vpn_target_both:
for ele in self.vpn_target_both:
if ele not in self.evpn_info['vpn_target_both']:
self.module.fail_json(
msg='Error: VPN target export and import attribute value %s doesnot exist.' % ele)
msg='Error: VPN target export and import attribute value %s does not exist.' % ele)
def check_params(self):
"""Check all input params"""
@ -990,7 +990,7 @@ class EvpnBd(object):
if self.route_distinguisher:
if not self.evpn_info['route_distinguisher']:
self.module.fail_json(
msg='Error: Route distinguisher doesnot have been configured.')
msg='Error: Route distinguisher has not been configured.')
else:
if self.route_distinguisher != self.evpn_info['route_distinguisher']:
self.module.fail_json(
@ -1014,7 +1014,7 @@ class EvpnBd(object):
msg='Error: The vxlan vni is not configured or the bridge domain id is invalid.')
def work(self):
"""Excute task"""
"""Execute task"""
self.get_evpn_instance_info()
self.process_input_params()

@ -182,7 +182,7 @@ def is_config_exist(cmp_cfg, test_cfg):
class EvpnBgpRr(object):
"""Manange RR in BGP-EVPN address family view"""
"""Manage RR in BGP-EVPN address family view"""
def __init__(self, argument_spec):
self.spec = argument_spec
@ -462,7 +462,7 @@ class EvpnBgpRr(object):
"""Check all input params"""
if self.cur_config['bgp_exist'] == 'false':
self.module.fail_json(msg="Error: BGP view doesnot exist.")
self.module.fail_json(msg="Error: BGP view does not exist.")
if self.bgp_instance:
if len(self.bgp_instance) < 1 or len(self.bgp_instance) > 31:
@ -491,7 +491,7 @@ class EvpnBgpRr(object):
msg='Error: Ip address cannot be configured as group-name.')
def work(self):
"""Excute task"""
"""Execute task"""
self.get_current_config()
self.check_params()

@ -107,7 +107,7 @@ from ansible.module_utils.network.cloudengine.ce import ce_argument_spec
class EvpnGlobal(object):
"""Manange global configuration of EVPN"""
"""Manage global configuration of EVPN"""
def __init__(self, argument_spec, ):
self.spec = argument_spec
@ -150,7 +150,7 @@ class EvpnGlobal(object):
self.updates_cmd.append(cmd) # show updates result
def get_evpn_global_info(self):
""" get current EVPN global configration"""
""" get current EVPN global configuration"""
self.global_info['evpnOverLay'] = 'disable'
flags = list()
@ -196,7 +196,7 @@ class EvpnGlobal(object):
return False
def config_evnp_global(self):
""" set global EVPN configration"""
""" set global EVPN configuration"""
if not self.conf_exist:
if self.overlay_enable == 'enable':
self.cli_add_command('evpn-overlay enable')
@ -208,7 +208,7 @@ class EvpnGlobal(object):
self.changed = True
def work(self):
"""excute task"""
"""execute task"""
self.get_evpn_global_info()
self.get_existing()
self.get_proposed()

@ -335,7 +335,7 @@ class FileCopy(object):
return False
def work(self):
"""Excute task """
"""Execute task """
if not HAS_SCP:
self.module.fail_json(

@ -754,7 +754,7 @@ class MlagInterface(object):
self.changed = True
def set_mlag_interface(self):
"""set mlag interface atrribute info"""
"""set mlag interface attribute info"""
if self.is_mlag_interface_info_change():
mlag_port = "Eth-Trunk"
@ -768,7 +768,7 @@ class MlagInterface(object):
recv_xml = set_nc_config(self.module, conf_str)
if "<ok/>" not in recv_xml:
self.module.fail_json(
msg='Error: set mlag interface atrribute info failed.')
msg='Error: set mlag interface attribute info failed.')
self.updates_cmd.append("interface %s" % mlag_port)
if self.mlag_priority_id:
@ -815,7 +815,7 @@ class MlagInterface(object):
recv_xml = set_nc_config(self.module, conf_str)
if "<ok/>" not in recv_xml:
self.module.fail_json(
msg='Error: set mlag interface atrribute info failed.')
msg='Error: set mlag interface attribute info failed.')
if self.mlag_priority_id:
self.updates_cmd.append(

@ -46,7 +46,7 @@ options:
and 1536 to 12288 for ToR switches.
jumbo_min:
description:
- Non-jumbo frame size threshod. The default value is 1518.
- Non-jumbo frame size threshold. The default value is 1518.
The value is an integer that ranges from 1518 to jumbo_max, in bytes.
state:
description:

@ -216,7 +216,7 @@ def is_config_exist(cmp_cfg, test_cfg):
class NetstreamExport(object):
"""Manange NetStream export"""
"""Manage NetStream export"""
def __init__(self, argument_spec):
self.spec = argument_spec
@ -519,7 +519,7 @@ class NetstreamExport(object):
self.config_nets_export_ip_ver()
def work(self):
"""excute task"""
"""execute task"""
self.check_params()
self.get_proposed()

@ -250,7 +250,7 @@ class Ntp(object):
self.mutually_exclusive = [('server', 'peer')]
self.init_module()
# ntp configration info
# ntp configuration info
self.server = self.module.params['server'] or None
self.peer = self.module.params['peer'] or None
self.key_id = self.module.params['key_id']
@ -362,7 +362,7 @@ class Ntp(object):
if self.vpn_name:
if (len(self.vpn_name) < 1) or (len(self.vpn_name) > 31):
self.module.fail_json(
msg='Error: VPN name length is beetween 1 and 31.')
msg='Error: VPN name length is between 1 and 31.')
if self.address:
self.check_ipaddr_validate()
@ -579,7 +579,7 @@ class Ntp(object):
self.updates_cmd.append(cli_str)
def work(self):
"""Excute task"""
"""Execute task"""
self.get_existing()
self.get_proposed()

@ -207,7 +207,7 @@ class NtpAuth(object):
self.module = None
self.init_module()
# ntp_auth configration info
# ntp_auth configuration info
self.key_id = self.module.params['key_id']
self.password = self.module.params['auth_pwd'] or None
self.auth_mode = self.module.params['auth_mode'] or None
@ -483,7 +483,7 @@ class NtpAuth(object):
self.module.exit_json(**self.results)
def work(self):
"""Excute task"""
"""Execute task"""
self.get_existing()
self.get_proposed()

@ -147,7 +147,7 @@ from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.network.cloudengine.ce import get_nc_config, set_nc_config, ce_argument_spec
# get snmp commutiny
# get snmp community
CE_GET_SNMP_COMMUNITY_HEADER = """
<filter type="subtree">
<snmp xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0">
@ -162,7 +162,7 @@ CE_GET_SNMP_COMMUNITY_TAIL = """
</snmp>
</filter>
"""
# merge snmp commutiny
# merge snmp community
CE_MERGE_SNMP_COMMUNITY_HEADER = """
<config>
<snmp xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0">
@ -177,7 +177,7 @@ CE_MERGE_SNMP_COMMUNITY_TAIL = """
</snmp>
</config>
"""
# create snmp commutiny
# create snmp community
CE_CREATE_SNMP_COMMUNITY_HEADER = """
<config>
<snmp xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0">
@ -192,7 +192,7 @@ CE_CREATE_SNMP_COMMUNITY_TAIL = """
</snmp>
</config>
"""
# delete snmp commutiny
# delete snmp community
CE_DELETE_SNMP_COMMUNITY_HEADER = """
<config>
<snmp xmlns="http://www.huawei.com/netconf/vrp" content-version="1.0" format-version="1.0">

@ -579,7 +579,7 @@ class Stp(object):
cmds = list()
# cofig stp global
# config stp global
if self.stp_mode:
if self.stp_mode != self.cur_cfg["stp_mode"]:
cmd = "stp mode %s" % self.stp_mode

@ -858,7 +858,7 @@ class SwitchPort(object):
if not self.is_l2switchport():
self.module.fail_json(
msg='Error: Interface is not layer2 swtich port.')
msg='Error: Interface is not layer2 switch port.')
if self.state == "unconfigured":
if any([self.mode, self.default_vlan, self.pvid_vlan, self.trunk_vlans, self.untagged_vlans, self.tagged_vlans]):
self.module.fail_json(

@ -160,7 +160,7 @@ def build_config_xml(xmlstr):
class Vrf(object):
"""Manange vpn instance"""
"""Manage vpn instance"""
def __init__(self, argument_spec, ):
self.spec = argument_spec

@ -260,7 +260,7 @@ def get_interface_type(interface):
class VrfInterface(object):
"""Manange vpn instance"""
"""Manage vpn instance"""
def __init__(self, argument_spec):
self.spec = argument_spec
@ -483,7 +483,7 @@ class VrfInterface(object):
self.changed = True
def work(self):
"""excute task"""
"""execute task"""
self.get_intf_conf_info()
self.check_params()

@ -816,7 +816,7 @@ class Vrrp(object):
recv_xml = set_nc_config(self.module, conf_str)
if "<ok/>" not in recv_xml:
self.module.fail_json(
msg='Error: set vrrp global atrribute info failed.')
msg='Error: set vrrp global attribute info failed.')
if self.gratuitous_arp_interval:
self.updates_cmd.append(
@ -860,7 +860,7 @@ class Vrrp(object):
recv_xml = set_nc_config(self.module, conf_str)
if "<ok/>" not in recv_xml:
self.module.fail_json(
msg='Error: set vrrp global atrribute info failed.')
msg='Error: set vrrp global attribute info failed.')
if self.gratuitous_arp_interval:
self.updates_cmd.append("undo vrrp gratuitous-arp interval")
@ -912,7 +912,7 @@ class Vrrp(object):
recv_xml = set_nc_config(self.module, conf_str)
if "<ok/>" not in recv_xml:
self.module.fail_json(
msg='Error: set vrrp group atrribute info failed.')
msg='Error: set vrrp group attribute info failed.')
if self.interface and self.vrid:
self.updates_cmd.append("interface %s" % self.interface)
if self.vrrp_type == "admin":
@ -1021,7 +1021,7 @@ class Vrrp(object):
recv_xml = set_nc_config(self.module, conf_str)
if "<ok/>" not in recv_xml:
self.module.fail_json(
msg='Error: set vrrp global atrribute info failed.')
msg='Error: set vrrp global attribute info failed.')
if self.interface and self.vrid:
self.updates_cmd.append("interface %s" % self.interface)
if self.vrrp_type == "admin":

@ -79,7 +79,7 @@ EXAMPLES = '''
tasks:
- name: Create a papping between a VLAN and a BD
- name: Create a mapping between a VLAN and a BD
ce_vxlan_vap:
bridge_domain_id: 100
bind_vlan_id: 99

@ -151,7 +151,7 @@ msg:
description: Success or failure message
returned: always
type: str
sample: "Config file tranferred to server"
sample: "Config file transferred to server"
'''
import sys
@ -171,7 +171,7 @@ from ansible.module_utils.basic import AnsibleModule
from collections import defaultdict
# Utility Method to back up the running config or start up copnfig
# Utility Method to back up the running config or start up config
# This method supports only SCP or SFTP or FTP or TFTP
# Tuning of timeout parameter is pending
def doConfigBackUp(module, prompt, answer):
@ -266,7 +266,7 @@ def main():
# Logic to check when changes occur or not
errorMsg = cnos.checkOutputForError(output)
if(errorMsg is None):
module.exit_json(changed=True, msg="Config file tranferred to server")
module.exit_json(changed=True, msg="Config file transferred to server")
else:
module.fail_json(msg=errorMsg)

@ -125,7 +125,7 @@ options:
backdoor,route-map, Name of the route map ]
bgpArg8:
description:
- This is an overloaded bgp eigth argument. Usage of this argument
- This is an overloaded bgp eight argument. Usage of this argument
can be found is the User Guide referenced above.
required: No
default: Null

@ -116,7 +116,7 @@ msg:
description: Success or failure message
returned: always
type: str
sample: "Image file tranferred to device"
sample: "Image file transferred to device"
'''
import sys
@ -231,7 +231,7 @@ def main():
# Logic to check when changes occur or not
errorMsg = cnos.checkOutputForError(output)
if(errorMsg is None):
module.exit_json(changed=True, msg="Image file tranferred to device")
module.exit_json(changed=True, msg="Image file transferred to device")
else:
module.fail_json(msg=errorMsg)

@ -152,7 +152,7 @@ msg:
description: Success or failure message
returned: always
type: str
sample: "Config file tranferred to Device"
sample: "Config file transferred to Device"
'''
import sys
@ -172,7 +172,7 @@ from ansible.module_utils.basic import AnsibleModule
from collections import defaultdict
# Utility Method to rollback the running config or start up copnfig
# Utility Method to rollback the running config or start up config
# This method supports only SCP or SFTP or FTP or TFTP
def doConfigRollBack(module, prompt, answer):
host = module.params['host']
@ -275,7 +275,7 @@ def main():
# need to add logic to check when changes occur or not
errorMsg = cnos.checkOutputForError(output)
if(errorMsg is None):
module.exit_json(changed=True, msg="Config file tranferred to Device")
module.exit_json(changed=True, msg="Config file transferred to Device")
else:
module.fail_json(msg=errorMsg)

@ -396,7 +396,7 @@ def main():
flags = ['all'] if module.params['defaults'] else []
connection = get_connection(module)
# Refuse to diff_against: session if essions are disabled
# Refuse to diff_against: session if sessions are disabled
if module.params['diff_against'] == 'session' and not connection.supports_sessions:
module.fail_json(msg="Cannot diff against sessions when sessions are disabled. Please change diff_against to another value")

@ -39,7 +39,7 @@ DOCUMENTATION = """
---
module: exos_lldp_global
version_added: 2.9
short_description: Configure and manage Link Layer Discovery Protocol(LLDP) attribures on EXOS platforms.
short_description: Configure and manage Link Layer Discovery Protocol(LLDP) attributes on EXOS platforms.
description: This module configures and manages the Link Layer Discovery Protocol(LLDP) attributes on Extreme Networks EXOS platforms.
author: Ujwal Komarla (@ujwalkomarla)
notes:

@ -445,7 +445,7 @@ class ModuleManager(object):
# This deals with cases where you're comparing a passphrase.
#
# Passphrases will always cause an idepotent operation to register
# Passphrases will always cause an idempotent operation to register
# a change. Therefore, by specifying "force", you are instructing
# the module to **not** ignore the passphrase.
#

@ -77,7 +77,7 @@ options:
latency_threshold:
description:
- Specifies the latency threshold for automatic heavy URL detection.
- The accepted range is between 0 and 4294967295 miliseconds inclusive.
- The accepted range is between 0 and 4294967295 milliseconds inclusive.
type: int
exclude:
description:

@ -17,7 +17,7 @@ DOCUMENTATION = r'''
module: bigip_device_certificate
short_description: Manage self-signed device certificates
description:
- Module used to create and/or renew self-signed defice certificates for BIG-IP.
- Module used to create and/or renew self-signed device certificates for BIG-IP.
version_added: 2.9
options:
days_valid:

@ -1932,37 +1932,37 @@ gtm_pools:
type: int
qos_lcs:
description:
- Weight assign to the Link Capacity performance factor when load balacing option
- Weight assign to the Link Capacity performance factor when load balancing option
is QoS.
returned: queried
type: int
qos_packet_rate:
description:
- Weight assign to the Packet Rate performance factor when load balacing option
- Weight assign to the Packet Rate performance factor when load balancing option
is QoS.
returned: queried
type: int
qos_rtt:
description:
- Weight assign to the Round Trip Time performance factor when load balacing option
- Weight assign to the Round Trip Time performance factor when load balancing option
is QoS.
returned: queried
type: int
qos_topology:
description:
- Weight assign to the Topology performance factor when load balacing option
- Weight assign to the Topology performance factor when load balancing option
is QoS.
returned: queried
type: int
qos_vs_capacity:
description:
- Weight assign to the Virtual Server performance factor when load balacing option
- Weight assign to the Virtual Server performance factor when load balancing option
is QoS.
returned: queried
type: int
qos_vs_score:
description:
- Weight assign to the Virtual Server Score performance factor when load balacing
- Weight assign to the Virtual Server Score performance factor when load balancing
option is QoS.
returned: queried
type: int
@ -6070,7 +6070,7 @@ udp_profiles:
description:
- The Quality of Service level that the system assigns to
UDP packets when sending them to clients.
- May be either numberic, or the value C(pass-through).
- May be either numeric, or the value C(pass-through).
returned: queried
type: str
sample: pass-through

@ -254,7 +254,7 @@ fallback_lb_method:
type: str
sample: fewest-hops
fallback_ip:
description: New fallback IP used when load balacing using the C(fallback_ip) method.
description: New fallback IP used when load balancing using the C(fallback_ip) method.
returned: changed
type: str
sample: 10.10.10.10

@ -27,7 +27,7 @@ options:
and you intend to use this module in a C(role), it is recommended that you use
the C({{ role_path }}) variable. An example is provided in the C(EXAMPLES) section.
- When C(state) is C(absent), it is not necessary for the package to exist on the
Ansible controller. If the full path to the package is provided, the fileame will
Ansible controller. If the full path to the package is provided, the filename will
specifically be cherry picked from it to properly remove the package.
type: path
state:

@ -198,7 +198,7 @@ EXAMPLES = r'''
- type: http_uri
path_starts_with: /HomePage/
- name: Remove all rules and confitions from the rule
- name: Remove all rules and conditions from the rule
bigip_policy_rule:
policy: Policy-Foo
name: rule1

@ -335,7 +335,7 @@ class ModuleParameters(Parameters):
if 0 <= self._values['syn_rto_base'] <= 5000:
return self._values['syn_rto_base']
raise F5ModuleError(
"Valid 'syn_rto_base' must be in range 0 - 5000 miliseconds."
"Valid 'syn_rto_base' must be in range 0 - 5000 milliseconds."
)

@ -85,7 +85,7 @@ options:
level provided that there are sufficient resources on the device (such
as physical RAM) to support the provisioned module.
- When C(absent), de-provision the module.
- C(absent), is not a relevent option to C(mgmt) module as module can not be de-provisioned.
- C(absent), is not a relevant option to C(mgmt) module as module can not be de-provisioned.
type: str
choices:
- present

@ -38,7 +38,7 @@ options:
value:
description:
- Address value, based on type.
If type=fqdn, somthing like www.google.com.
If type=fqdn, something like www.google.com.
If type=ipmask, you can use simple ip (192.168.0.1), ip+mask (192.168.0.1 255.255.255.0) or CIDR (192.168.0.1/32).
start_ip:
description:

@ -121,7 +121,7 @@ EXAMPLES = '''
gather_subset:
- fact: 'system_status_select'
- name: gather all pysical interfaces status facts
- name: gather all physical interfaces status facts
fortios_facts:
host: "{{ host }}"
username: "{{ username }}"
@ -130,7 +130,7 @@ EXAMPLES = '''
gather_subset:
- fact: 'system_interface_select'
- name: gather gather all pysical and vlan interfaces status facts
- name: gather gather all physical and vlan interfaces status facts
fortios_facts:
host: "{{ host }}"
username: "{{ username }}"

@ -183,7 +183,7 @@ options:
type: int
op:
description:
- Comparision operater.
- Comparison operator.
type: str
choices:
- none

@ -24,7 +24,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = '''
---
module: fortios_report_theme
short_description: Report themes configuratio in Fortinet's FortiOS and FortiGate.
short_description: Report themes configuration in Fortinet's FortiOS and FortiGate.
description:
- This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the
user to set and modify report feature and theme category.

@ -161,8 +161,8 @@ options:
type: str
server_list:
description:
- Additional severs that the FortiGate can use for updates (for AV, IPS, updates) and ratings (for web filter and antispam ratings)
servers.
- Additional servers that the FortiGate can use for updates (for AV, IPS, updates) and ratings (for web filter and antispam ratings)
servers.
type: list
suboptions:
addr_type:

@ -120,8 +120,8 @@ options:
suboptions:
custom_service:
description:
- Only sessions using these custom services are synchronized. Use source and destination port ranges to define these custome
services.
- Only sessions using these custom services are synchronized. Use source and destination port ranges to define these custom
services.
type: list
suboptions:
dst_port_range:

@ -153,7 +153,7 @@ options:
type: int
renew_interval:
description:
- Time before lifetime expiraton to send NMMO HA re-registration (5 - 60).
- Time before lifetime expiration to send NMMO HA re-registration (5 - 60).
type: int
roaming_interface:
description:
@ -168,7 +168,7 @@ options:
- enable
tunnel_mode:
description:
- NEMO tunnnel mode (GRE tunnel).
- NEMO tunnel mode (GRE tunnel).
type: str
choices:
- gre

@ -209,7 +209,7 @@ options:
type: int
member:
description:
- Names of users, peers, LDAP severs, or RADIUS servers to add to the user group.
- Names of users, peers, LDAP servers, or RADIUS servers to add to the user group.
type: list
suboptions:
name:

@ -227,7 +227,7 @@ options:
type: int
rsso_endpoint_attribute:
description:
- RADIUS attributes used to extract the user end point identifer from the RADIUS Start record.
- RADIUS attributes used to extract the user end point identifier from the RADIUS Start record.
type: str
choices:
- User-Name

@ -101,7 +101,7 @@ options:
type: str
status:
description:
- "Access Point's (AP's) status: rogue, accepted, or supressed."
- "Access Point's (AP's) status: rogue, accepted, or suppressed."
type: str
choices:
- rogue

@ -24,7 +24,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
DOCUMENTATION = '''
---
module: fortios_wireless_controller_bonjour_profile
short_description: Configure Bonjour profiles. Bonjour is Apple's zero configuration networking protocol. Bonjour profiles allow APs and FortiAPs to connnect
short_description: Configure Bonjour profiles. Bonjour is Apple's zero configuration networking protocol. Bonjour profiles allow APs and FortiAPs to connect
to networks using Bonjour in Fortinet's FortiOS and FortiGate.
description:
- This module is able to configure a FortiGate or FortiOS (FOS) device by allowing the
@ -83,7 +83,7 @@ options:
- absent
wireless_controller_bonjour_profile:
description:
- Configure Bonjour profiles. Bonjour is Apple's zero configuration networking protocol. Bonjour profiles allow APs and FortiAPs to connnect to
- Configure Bonjour profiles. Bonjour is Apple's zero configuration networking protocol. Bonjour profiles allow APs and FortiAPs to connect to
networks using Bonjour.
default: null
type: dict
@ -146,7 +146,7 @@ EXAMPLES = '''
vdom: "root"
ssl_verify: "False"
tasks:
- name: Configure Bonjour profiles. Bonjour is Apple's zero configuration networking protocol. Bonjour profiles allow APs and FortiAPs to connnect to
- name: Configure Bonjour profiles. Bonjour is Apple's zero configuration networking protocol. Bonjour profiles allow APs and FortiAPs to connect to
networks using Bonjour.
fortios_wireless_controller_bonjour_profile:
host: "{{ host }}"

@ -52,7 +52,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden,
Module will use environment variable value(default:True), unless it is overridden,
by specifying it as module parameter.
type: bool
default: yes

@ -184,7 +184,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
- Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
- Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
power:
description:
@ -215,7 +215,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
- Module will use environment variable value(default:True), unless it is overriden,
- Module will use environment variable value(default:True), unless it is overridden,
by specifying it as module parameter.
default: yes
type: bool

@ -104,7 +104,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
state:
description:
@ -116,7 +116,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
default: yes
"""

@ -51,7 +51,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
default: yes
aggregate:
@ -85,7 +85,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
purge:
description:

@ -40,7 +40,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
default: yes
state:

@ -87,7 +87,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
state:
description:
@ -98,7 +98,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
default: yes
"""

@ -158,7 +158,7 @@ def parse_ping(ping_stats):
"""
Function used to parse the statistical information from the ping response.
Example: "Success rate is 100 percent (5/5), round-trip min/avg/max=40/51/55 ms."
Returns the percent of packet loss, recieved packets, transmitted packets, and RTT dict.
Returns the percent of packet loss, received packets, transmitted packets, and RTT dict.
"""
if ping_stats.startswith('Success'):
rate_re = re.compile(r"^\w+\s+\w+\s+\w+\s+(?P<pct>\d+)\s+\w+\s+\((?P<rx>\d+)/(?P<tx>\d+)\)")

@ -67,7 +67,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
purge:
description:
@ -83,7 +83,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
default: yes
"""

@ -54,7 +54,7 @@ options:
suboptions:
type:
description:
- specifiy the type of the server
- specify the type of the server
type: str
choices: ['radius','tacacs']
hostname:
@ -101,7 +101,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
default: yes
"""

@ -79,7 +79,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
name:
description:
@ -135,7 +135,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
default: yes
"""

@ -91,7 +91,7 @@ options:
suboptions:
type:
description:
- Specifiy the type of spanning-tree
- Specify the type of spanning-tree
type: str
default: 802-1w
choices: ['802-1w','rstp']
@ -166,7 +166,7 @@ options:
suboptions:
type:
description:
- Specifiy the type of spanning-tree
- Specify the type of spanning-tree
type: str
default: 802-1w
choices: ['802-1w','rstp']
@ -189,7 +189,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
associated_interfaces:
description:
@ -217,7 +217,7 @@ options:
check_running_config:
description:
- Check running configuration. This can be set as environment variable.
Module will use environment variable value(default:True), unless it is overriden, by specifying it as module parameter.
Module will use environment variable value(default:True), unless it is overridden, by specifying it as module parameter.
type: bool
default: yes
"""

@ -42,7 +42,7 @@ options:
aliases: ['tunnel_type']
local_address:
description:
- Literat IP address or hostname corresponding to the tunnel source.
- Literal IP address or hostname corresponding to the tunnel source.
required: false
aliases: [ "local" ]
remote_address:

@ -29,7 +29,7 @@ options:
aliases: [nic]
protocol:
description:
- Specifies the procotol for which we want to manage properties.
- Specifies the protocol for which we want to manage properties.
required: true
property:
description:

@ -24,7 +24,7 @@ author: Adam Števko (@xen0l)
options:
protocol:
description:
- Specifies the procotol for which we want to manage properties.
- Specifies the protocol for which we want to manage properties.
required: true
property:
description:

@ -386,7 +386,7 @@ return_rowid:
type: list
sample: [1, 3]
download:
description: Configuraton database and meta data
description: Configuration database and meta data
returned: when C(download) is yes and success
type: complex
contains:

@ -365,12 +365,12 @@ before:
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
after:
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
commands:
description: The set of commands pushed to the remote device
returned: always

@ -323,12 +323,12 @@ before:
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: The configuration returned will always be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
after:
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: The configuration returned will always be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
commands:
description: The set of commands pushed to the remote device
returned: always

@ -403,12 +403,12 @@ before:
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
after:
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
commands:
description: The set of commands pushed to the remote device
returned: always

@ -351,12 +351,12 @@ before:
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
after:
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
commands:
description: The set of commands pushed to the remote device
returned: always

@ -217,12 +217,12 @@ before:
description: The configuration as structured data prior to module invocation.
returned: always
type: dict
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
after:
description: The configuration as structured data after module completion.
returned: when changed
type: dict
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
commands:
description: The set of commands pushed to the remote device
returned: always

@ -41,7 +41,7 @@ options:
- md5 NTP authentication key of tye 7.
key_id:
description:
- auth_key id. Datat type string
- auth_key id. Data type string
state:
description:
- Manage the state of the resource.

@ -185,7 +185,7 @@ def parse_ping(ping_stats):
"""
Function used to parse the statistical information from the ping response.
Example: "Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/8 ms"
Returns the percent of packet loss, recieved packets, transmitted packets, and RTT dict.
Returns the percent of packet loss, received packets, transmitted packets, and RTT dict.
"""
rate_re = re.compile(r"^\w+\s+\w+\s+\w+\s+(?P<pct>\d+)\s+\w+\s+\((?P<rx>\d+)/(?P<tx>\d+)\)")
rtt_re = re.compile(r".*,\s+\S+\s+\S+\s+=\s+(?P<min>\d+)/(?P<avg>\d+)/(?P<max>\d+)\s+\w+\s*$|.*\s*$")

@ -326,12 +326,12 @@ before:
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
after:
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
commands:
description: The set of commands pushed to the remote device
returned: always

@ -390,12 +390,12 @@ before:
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
after:
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
commands:
description: The set of commands pushed to the remote device
returned: always

@ -384,12 +384,12 @@ before:
description: The configuration as structured data prior to module invocation.
returned: always
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
after:
description: The configuration as structured data after module completion.
returned: when changed
type: list
sample: The configuration returned will alwys be in the same format of the paramters above.
sample: The configuration returned will always be in the same format of the parameters above.
commands:
description: The set of commands pushed to the remote device
returned: always

@ -348,7 +348,7 @@ EXAMPLES = """
#
#
- name: Overridde all interface LACP configuration with provided configuration
- name: Override all interface LACP configuration with provided configuration
iosxr_lacp_interfaces:
config:
- name: Bundle-Ether12

@ -74,7 +74,7 @@ options:
- Configures the groups for the username in the device running
configuration. The argument accepts a list of group names.
This argument does not check if the group has been configured
on the device. It is similar to the aggregrate command for
on the device. It is similar to the aggregate command for
usernames, but lets you configure multiple groups for the user(s).
purge:
description:

@ -80,7 +80,7 @@ options:
description: List of Interfaces definitions.
state:
description:
- State of the Interface configuration, C(up) idicates present and
- State of the Interface configuration, C(up) indicates present and
operationally up and C(down) indicates present and operationally C(down)
default: present
choices: ['present', 'absent', 'up', 'down']

@ -34,8 +34,8 @@ options:
all, hardware, config, and interfaces. Can specify a list of
values to include a larger subset. Values can also be used
with an initial C(M(!)) to specify that a specific subset should
not be collected. To maintain backward compatbility old style facts
can be retrieved by explicilty adding C(ofacts) to value, this reqires
not be collected. To maintain backward compatibility old style facts
can be retrieved by explicitly adding C(ofacts) to value, this requires
junos-eznc to be installed as a prerequisite. Valid value of gather_subset
are default, hardware, config, interfaces, ofacts. If C(ofacts) is present in the
list it fetches the old style facts (fact keys without 'ansible_' prefix) and it requires

@ -182,7 +182,7 @@ EXAMPLES = """
# }
# Using overriden
# Using overridden
# Before state:
# -------------
@ -212,7 +212,7 @@ EXAMPLES = """
mtu: 2800
- name: ge-0/0/3
description: 'Configured by Ansible-3'
state: overriden
state: overridden
# After state:
# ------------

@ -271,7 +271,7 @@ EXAMPLES = """
# }
# }
# ge-0/0/2 {
# description "L3 interface whith ipv6";
# description "L3 interface with ipv6";
# unit 0 {
# family inet6 {
# address 2001:db8:3000::/64;

@ -27,7 +27,7 @@ options:
src:
description:
- The C(src) argument takes a single path, or a list of paths to be
transfered. The argument C(recursive) must be C(true) to transfer
transferred. The argument C(recursive) must be C(true) to transfer
directories.
required: true
dest:

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save