File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -767,7 +767,7 @@ Parameters
767767
768768 Layer-2 routing domain the vlan belongs to
769769
770- If you have \ :emphasis: `vlan `\ with same number in different routing domains it need to be set on desired value
770+ If you have \ :emphasis: `vlan `\ with same number in different routing domains it needs to be set on desired value
771771
772772
773773 .. rst-class :: ansible-option-line
Original file line number Diff line number Diff line change 7171 required: false
7272 default: default
7373 vrf:
74- description: VRF which the sunet should belongs to
74+ description: VRF which the subnet should belongs to
7575 type: str
7676 required: false
7777 parent:
@@ -236,7 +236,7 @@ def main():
236236
237237 if 'cidr' in module_params :
238238 if '/' not in module_params ['cidr' ]:
239- module .fail_json (msg = 'missing prefix lenght in "cidr". Need <ipaddr>/<prefix_lenght >.' )
239+ module .fail_json (msg = 'missing prefix lenght in "cidr". Need <ipaddr>/<prefix_length >.' )
240240 else :
241241 IPNetwork = None
242242 if '.' in module_params ['cidr' ] and ':' not in module_params ['cidr' ]:
@@ -246,7 +246,7 @@ def main():
246246 IPNetwork = ipaddress .IPv6Network
247247 module_params ['mask' ] = str (IPNetwork (u'%s' % (module_params ['cidr' ])).prefixlen )
248248 else :
249- module .fail_json (msg = 'wrong formated "cidr". Need <ipaddr>/<prefix_lenght >.' )
249+ module .fail_json (msg = 'wrong formatted "cidr". Need <ipaddr>/<prefix_length >.' )
250250 module_params ['subnet' ] = str (IPNetwork (u'%s' % (module_params ['cidr' ])).network_address )
251251 del module_params ['cidr' ]
252252
You can’t perform that action at this time.
0 commit comments