Skip to content

Commit 860d2f8

Browse files
authored
Merge pull request #38 from teixemf/develop
FIXES #34: documentation: use_platform_slug
2 parents 0c646e7 + 9bc96fd commit 860d2f8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/usage.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,15 @@ nr = InitNornir(
188188
)
189189
```
190190
191-
### Use platform slugs
191+
### Use platform slug
192192
193193
NetBox device/vm's have a platform attribute that indicates the type of operating system that is running on the device. This attribute is directly mappend to the Nornir Host's platform attribute, so that connection plugins understand which driver needs to be used to connect to the device.
194194
195-
By default the name attribute of a NetBox platform is mapped to the Nornir Host's platform. Use platform slugs allows you to use the slug of the NetBox platform instead.
195+
By default the name attribute of a NetBox platform is mapped to the Nornir Host's platform. Use platform slug allows you to use the slug of the NetBox platform instead.
196196
197-
Whether or not you need to enable this option depends on how you defined your platforms in NetBox. Only one of use_platform_slugs and use_platform_napalm_driver can be set as true.
197+
Whether or not you need to enable this option depends on how you defined your platforms in NetBox. Only one of use_platform_slug and use_platform_napalm_driver can be set as true.
198198
199-
| name | use\_platform\_slugs |
199+
| name | use\_platform\_slug |
200200
|-------------|---------------------------------------------------------------------------------|
201201
| type | bool |
202202
| default | False |
@@ -207,7 +207,7 @@ Whether or not you need to enable this option depends on how you defined your pl
207207
208208
Use platform NAPLAM driver works like use platform slugs, but uses the NAPLAM driver attibuted from the NetBox platform instead.
209209
210-
Whether or not you need to enable this option depends on how you defined your platforms in NetBox. Only one of use_platform_slugs and use_platform_napalm_driver can be set as true.
210+
Whether or not you need to enable this option depends on how you defined your platforms in NetBox. Only one of use_platform_slug and use_platform_napalm_driver can be set as true.
211211
212212
| name | use\_platform\_napalm\_driver |
213213
|-------------|---------------------------------------------------------------------------------|

0 commit comments

Comments
 (0)