Commit c09ba731 authored by Alexander Detsch's avatar Alexander Detsch 🐘
Browse files

Merge branch 'fix/manpage' into 'master'

add-aruba-ap.1: Add missing information about options --serialnumber and --model

Closes #2

See merge request !1
parents 3b3e607f 4086cc2b
...@@ -179,14 +179,26 @@ Use the ...@@ -179,14 +179,26 @@ Use the
as token to connect to the Netbox API. as token to connect to the Netbox API.
The key has to be created in the Netbox web frontend before executing the script. The key has to be created in the Netbox web frontend before executing the script.
.TP .TP
.B --type \c .B --serialnumber \c
.I ap-type .I serial-number
Set the AP type to Set the AP's serial number to
.I ap-type .I serial-number
in Netbox. in Netbox.
The AP type is provided as slug due to the fact that AP type labels might change more frequently in Netbox. Update the AP location in the Wiki by searching for the line containing
.I serial-number
as the AP's serial number.
.TP
.B --model \c
.I ap-model
Set the AP model to
.I ap-model
in Netbox.
The AP model is provided as slug due to the fact that AP type labels might change more frequently in Netbox.
Usually, this is one of Usually, this is one of
.BR ap-205h ", " ap-303 ", and " iap-315 . .BR ap-205h ", " ap-303 ", " iap-315 ", ap-515, " etc.
See the list of device types in Netbox for a complete list of available types.
This option has been introduced in favor of the old option
.BR --type .
.TP .TP
.B --ip \c .B --ip \c
.I IP-address .I IP-address
...@@ -368,8 +380,9 @@ add_aruba_ap.py \\ ...@@ -368,8 +380,9 @@ add_aruba_ap.py \\
--mmpass switchpass \\ --mmpass switchpass \\
--mmgroup fem-ap-group-ng \\ --mmgroup fem-ap-group-ng \\
--mmproxy socks5h://localhost:8080 \\ --mmproxy socks5h://localhost:8080 \\
--type ap-205h \\ --model ap-205h \\
--nbapikey mykey \\ --nbapikey mykey \\
--serialnumber DN12345678 \\
--wikiuser nex \\ --wikiuser nex \\
--wikipassword testtesttest \\ --wikipassword testtesttest \\
--location 02-04-1 --location 02-04-1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment