f5ltm
Bulk upload configuration parameters to f5ltm
Basic Usage
Installation
git clone https://github.com/lefeck/f5ltm.git
Reading spreadsheet to f5ltm
The following constitutes the bare to read a spreadsheet document.
[email protected] f5ltm % go run main.go -h
Usage of /var/folders/1x/7k2pwl1d5fb9vms2t32fxw4c0000gn/T/go-build2527495293/b001/exe/main:
-f string
Specifies an alternative configuration file. (default "/tmp/test.xlsx")
-host string
Host ip address. (default "192.168.1.1")
-password string
Password to login to the host. (default "admin")
-sheet string
Specifies the table name of the workbook (default "Sheet1")
-user string
Username to login to the host. (default "admin")
[email protected] f5ltm % go run main.go -host 192.168.10.84 -f ./create.xlsx
please input password: **********
virtualserver name Vs_GZGL_APP_18080 create success.
virtualserver name Vs_GZGL_APP_8080 create success.
virtualserver name Vs_GZGL_APP_9000 create success.
virtualserver name Vs_GZGL_APP_9888 create success.